Skip to content

Commit 7954b87

Browse files
Merge pull request #267 from q2ebanking/netstandard2.0
Updated target framework for all packages to be .NET Standard 2.0 only
2 parents a681ae1 + 5d420f4 commit 7954b87

File tree

15 files changed

+127
-101
lines changed

15 files changed

+127
-101
lines changed

Boa.Constrictor.Example/Boa.Constrictor.Example.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net7.0</TargetFramework>
5-
<Version>3.1.0</Version>
5+
<Version>4.0.0</Version>
66
<Authors>Pandy Knight and the PrecisionLender SETs</Authors>
77
<Company>Q2</Company>
88
<Title>Boa.Constrictor.Example</Title>

Boa.Constrictor.Example/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ Versioning is performed purely for tracking changes.
2121
(none)
2222

2323

24+
## [4.0.0] - 2023-05-29
25+
26+
### Changed
27+
28+
- Removed targets for `net5.0` and `net7.0`
29+
- Now targets only `netstandard2.0`
30+
31+
2432
## [3.1.0] - 2023-05-28
2533

2634
### Changed

Boa.Constrictor.RestSharp/Boa.Constrictor.RestSharp.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0;net7.0;netstandard2.0</TargetFrameworks>
5-
<Version>3.2.0</Version>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<Version>4.0.0</Version>
66
<Authors>Pandy Knight and the PrecisionLender SETs</Authors>
77
<Company>Q2</Company>
88
<Title>Boa.Constrictor.RestSharp</Title>
@@ -31,7 +31,7 @@
3131
</ItemGroup>
3232

3333
<ItemGroup Condition="'$(Configuration)' == 'Release'">
34-
<PackageReference Include="Boa.Constrictor.Screenplay" Version="3.1.0" />
34+
<PackageReference Include="Boa.Constrictor.Screenplay" Version="4.0.0" />
3535
</ItemGroup>
3636

3737
<ItemGroup Condition="'$(Configuration)' == 'Debug'">

Boa.Constrictor.RestSharp/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
(none)
2121

2222

23+
## [4.0.0] - 2023-05-29
24+
25+
### Changed
26+
27+
- Removed targets for `net5.0` and `net7.0`
28+
- Now targets only `netstandard2.0`
29+
30+
2331
## [3.2.0] - 2023-05-25
2432

2533
- Updated RestSharp to 110.2.0

Boa.Constrictor.Screenplay/Boa.Constrictor.Screenplay.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0;net7.0;netstandard2.0</TargetFrameworks>
5-
<Version>3.1.0</Version>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<Version>4.0.0</Version>
66
<Authors>Pandy Knight and the PrecisionLender SETs</Authors>
77
<Company>Q2</Company>
88
<Title>Boa.Constrictor.Screenplay</Title>

Boa.Constrictor.Screenplay/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
(none)
2121

2222

23+
## [4.0.0] - 2023-05-29
24+
25+
### Changed
26+
27+
- Removed targets for `net5.0` and `net7.0`
28+
- Now targets only `netstandard2.0`
29+
30+
2331
## [3.1.0] - 2023-05-24
2432

2533
### Changed

Boa.Constrictor.Selenium/Boa.Constrictor.Selenium.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0;net7.0;netstandard2.0</TargetFrameworks>
5-
<Version>3.1.0-alpha3</Version>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<Version>4.0.0</Version>
66
<Authors>Pandy Knight and the PrecisionLender SETs</Authors>
77
<Company>Q2</Company>
88
<Title>Boa.Constrictor.Selenium</Title>
@@ -32,7 +32,7 @@
3232
</ItemGroup>
3333

3434
<ItemGroup Condition="'$(Configuration)' == 'Release'">
35-
<PackageReference Include="Boa.Constrictor.Screenplay" Version="3.1.0" />
35+
<PackageReference Include="Boa.Constrictor.Screenplay" Version="4.0.0" />
3636
</ItemGroup>
3737

3838
<ItemGroup Condition="'$(Configuration)' == 'Debug'">

Boa.Constrictor.Selenium/CHANGELOG.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
(none)
2121

2222

23-
## [3.1.0-alpha3] - 2023-05-25
24-
25-
### Changed
26-
27-
- Added automatic waiting to `SwitchFrame`
28-
29-
30-
## [3.1.0-alpha2] - 2023-05-24
31-
32-
### Changed
33-
34-
- Updated `Boa.Constrictor.Screenplay` version to `3.1.0`
35-
36-
37-
## [3.1.0-alpha1] - 2023-01-27
23+
## [4.0.0] - 2023-05-29
3824

3925
### Added
4026

41-
- Added `SwitchFrame` and `PerformInFrame` Tasks
27+
- Added `SwitchFrame` Task with automatic waiting
28+
- Addd commented code for a potential `PerformInFrame` Task
29+
- This one is currently exhibiting flaky errors
30+
- We must investigate further before releasing it officially
4231

4332
### Changed
4433

4534
- Changed the internal strategy for finding elements with locators
4635
- Removed the `Query` property from `IWebLocator`
4736
- Added the `FindElement(s)` methods to `IWebLocator`
37+
- Removed targets for `net5.0` and `net7.0`
38+
- Now targets only `netstandard2.0`
4839

4940

5041
## [3.0.3] - 2022-12-13
Lines changed: 60 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,74 @@
1-
using System;
2-
using Boa.Constrictor.Screenplay;
1+
// using Boa.Constrictor.Screenplay;
32

4-
namespace Boa.Constrictor.Selenium
5-
{
6-
/// <summary>
7-
/// Performs a list of tasks within a frame then switches to DefaultContent.
8-
/// </summary>
9-
public class PerformInFrame : ITask
10-
{
11-
#region Constructors
3+
// namespace Boa.Constrictor.Selenium
4+
// {
5+
// /// <summary>
6+
// /// Performs a list of tasks within a frame then switches to DefaultContent.
7+
// /// </summary>
8+
// public class PerformInFrame : ITask
9+
// {
10+
// #region Constructors
1211

13-
/// <summary>
14-
/// Private constructor.
15-
/// (Use static builder methods to construct.)
16-
/// </summary>
17-
/// <param name="locator">The locator.</param>
18-
/// <param name="tasks">The Task list.</param>
19-
private PerformInFrame(IWebLocator locator, ITask[] tasks)
20-
{
21-
Locator = locator;
22-
Tasks = tasks;
23-
}
12+
// /// <summary>
13+
// /// Private constructor.
14+
// /// (Use static builder methods to construct.)
15+
// /// </summary>
16+
// /// <param name="locator">The locator.</param>
17+
// /// <param name="tasks">The Task list.</param>
18+
// private PerformInFrame(IWebLocator locator, ITask[] tasks)
19+
// {
20+
// Locator = locator;
21+
// Tasks = tasks;
22+
// }
2423

25-
#endregion
24+
// #endregion
2625

27-
#region Properties
26+
// #region Properties
2827

29-
/// <summary>
30-
/// The locator.
31-
/// </summary>
32-
private IWebLocator Locator { get; }
28+
// /// <summary>
29+
// /// The locator.
30+
// /// </summary>
31+
// private IWebLocator Locator { get; }
3332

34-
/// <summary>
35-
/// The Task list.
36-
/// </summary>
37-
private ITask[] Tasks { get; }
33+
// /// <summary>
34+
// /// The Task list.
35+
// /// </summary>
36+
// private ITask[] Tasks { get; }
3837

39-
#endregion
38+
// #endregion
4039

41-
#region Builder Methods
40+
// #region Builder Methods
4241

43-
/// <summary>
44-
/// Builder method.
45-
/// </summary>
46-
/// <param name="locator">The locator.</param>
47-
/// <param name="tasks">The Task list.</param>
48-
public static PerformInFrame At(IWebLocator locator, params ITask[] tasks) =>
49-
new PerformInFrame(locator, tasks);
42+
// /// <summary>
43+
// /// Builder method.
44+
// /// </summary>
45+
// /// <param name="locator">The locator.</param>
46+
// /// <param name="tasks">The Task list.</param>
47+
// public static PerformInFrame At(IWebLocator locator, params ITask[] tasks) =>
48+
// new PerformInFrame(locator, tasks);
5049

51-
#endregion
50+
// #endregion
5251

53-
#region Methods
52+
// #region Methods
5453

55-
/// <summary>
56-
/// Runs the Tasks in the order given by the list.
57-
/// </summary>
58-
/// <param name="actor">The Screenplay Actor.</param>
59-
public void PerformAs(IActor actor)
60-
{
61-
actor.AttemptsTo(SwitchFrame.To(Locator));
62-
actor.AttemptsTo(RunTasks.InOrder(Tasks));
63-
actor.AttemptsTo(SwitchFrame.ToDefaultContent());
64-
}
54+
// /// <summary>
55+
// /// Runs the Tasks in the order given by the list.
56+
// /// </summary>
57+
// /// <param name="actor">The Screenplay Actor.</param>
58+
// public void PerformAs(IActor actor)
59+
// {
60+
// actor.AttemptsTo(SwitchFrame.To(Locator));
61+
// actor.AttemptsTo(RunTasks.InOrder(Tasks));
62+
// actor.AttemptsTo(SwitchFrame.ToDefaultContent());
63+
// }
6564

66-
/// <summary>
67-
/// Returns a description of the Task.
68-
/// </summary>
69-
/// <returns></returns>
70-
public override string ToString() =>
71-
$"run Tasks within the frame '{Locator.Description}'";
65+
// /// <summary>
66+
// /// Returns a description of the Task.
67+
// /// </summary>
68+
// /// <returns></returns>
69+
// public override string ToString() =>
70+
// $"run Tasks within the frame '{Locator.Description}'";
7271

73-
#endregion
74-
}
75-
}
72+
// #endregion
73+
// }
74+
// }

Boa.Constrictor.Xunit/Boa.Constrictor.Xunit.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0;net7.0;netstandard2.0</TargetFrameworks>
5-
<Version>3.1.0</Version>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<Version>4.0.0</Version>
66
<Authors>Keith Tremorin, Pandy Knight, and the PrecisionLender SETs</Authors>
77
<Company>Q2</Company>
88
<Title>Boa.Constrictor.Xunit</Title>
@@ -31,7 +31,7 @@
3131
</ItemGroup>
3232

3333
<ItemGroup Condition="'$(Configuration)' == 'Release'">
34-
<PackageReference Include="Boa.Constrictor.Screenplay" Version="3.1.0" />
34+
<PackageReference Include="Boa.Constrictor.Screenplay" Version="4.0.0" />
3535
</ItemGroup>
3636

3737
<ItemGroup Condition="'$(Configuration)' == 'Debug'">

0 commit comments

Comments
 (0)