Skip to content

Commit 3716f65

Browse files
committed
Formating, updates
1 parent a5db129 commit 3716f65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+699
-512
lines changed

.editorconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

11-
[*.{xml,config,settings,yml}]
11+
[*.{xml,config,settings,yml,nuspec}]
1212
indent_style = space
1313
indent_size = 2
1414

@@ -78,13 +78,13 @@ csharp_space_between_parentheses = false
7878
csharp_preserve_single_line_statements = true
7979
csharp_preserve_single_line_blocks = true
8080

81-
dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
82-
dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
81+
dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
82+
dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
8383
dotnet_naming_rule.async_methods_end_in_async.severity = suggestion
8484

85-
dotnet_naming_symbols.any_async_methods.applicable_kinds = method
85+
dotnet_naming_symbols.any_async_methods.applicable_kinds = method
8686
dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
87-
dotnet_naming_symbols.any_async_methods.required_modifiers = async
87+
dotnet_naming_symbols.any_async_methods.required_modifiers = async
8888

8989
dotnet_naming_style.end_in_async.required_suffix = Async
90-
dotnet_naming_style.end_in_async.capitalization = pascal_case
90+
dotnet_naming_style.end_in_async.capitalization = pascal_case

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: build
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [ master ]
66
pull_request:
7-
branches: [master]
7+
branches: [ master ]
88

99
jobs:
1010
build:

.nuke/build.schema.json

Lines changed: 150 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,153 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"title": "Build Schema",
4-
"$ref": "#/definitions/build",
5-
"definitions": {
6-
"build": {
7-
"type": "object",
8-
"properties": {
9-
"Configuration": {
10-
"type": "string",
11-
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)"
12-
},
13-
"Continue": {
14-
"type": "boolean",
15-
"description": "Indicates to continue a previously failed build attempt"
16-
},
17-
"CoverletDiag": {
18-
"type": "boolean",
19-
"description": "Enable coverlet diagnostics (log.*.txt)"
20-
},
21-
"Help": {
22-
"type": "boolean",
23-
"description": "Shows the help text for this build assembly"
24-
},
25-
"Host": {
26-
"type": "string",
27-
"description": "Host for execution. Default is 'automatic'",
28-
"enum": [
29-
"AppVeyor",
30-
"AzurePipelines",
31-
"Bamboo",
32-
"Bitrise",
33-
"GitHubActions",
34-
"GitLab",
35-
"Jenkins",
36-
"SpaceAutomation",
37-
"TeamCity",
38-
"Terminal",
39-
"TravisCI"
40-
]
41-
},
42-
"IsCiBuild": {
43-
"type": "boolean",
44-
"description": "Is CI Build (AppVeyor)"
45-
},
46-
"IsPushTag": {
47-
"type": "boolean",
48-
"description": "Push built NuGet package"
49-
},
50-
"NoLogo": {
51-
"type": "boolean",
52-
"description": "Disables displaying the NUKE logo"
53-
},
54-
"NuGetApiKey": {
55-
"type": "string",
56-
"description": "NuGet API Key"
57-
},
58-
"NuGetSource": {
59-
"type": "string",
60-
"description": "NuGet Source"
61-
},
62-
"Plan": {
63-
"type": "boolean",
64-
"description": "Shows the execution plan (HTML)"
65-
},
66-
"Profile": {
67-
"type": "array",
68-
"description": "Defines the profiles to load",
69-
"items": {
70-
"type": "string"
71-
}
72-
},
73-
"Root": {
74-
"type": "string",
75-
"description": "Root directory during build execution"
76-
},
77-
"Skip": {
78-
"type": "array",
79-
"description": "List of targets to be skipped. Empty list skips all dependencies",
80-
"items": {
81-
"type": "string",
82-
"enum": [
83-
"CiBuild",
84-
"Clean",
85-
"Compile",
86-
"Coverage",
87-
"Package",
88-
"Push",
89-
"Restore",
90-
"Sonar",
91-
"SonarBegin",
92-
"SonarEnd",
93-
"Test"
94-
]
95-
}
96-
},
97-
"Solution": {
98-
"type": "string",
99-
"description": "Path to a solution file that is automatically loaded"
100-
},
101-
"SonarLogin": {
102-
"type": "string",
103-
"description": "The SonarQube login token"
104-
},
105-
"SonarOrganization": {
106-
"type": "string",
107-
"description": "The SonarQube organization"
108-
},
109-
"SonarServer": {
110-
"type": "string",
111-
"description": "The SonarQube server"
112-
},
113-
"Target": {
114-
"type": "array",
115-
"description": "List of targets to be invoked. Default is '{default_target}'",
116-
"items": {
117-
"type": "string",
118-
"enum": [
119-
"CiBuild",
120-
"Clean",
121-
"Compile",
122-
"Coverage",
123-
"Package",
124-
"Push",
125-
"Restore",
126-
"Sonar",
127-
"SonarBegin",
128-
"SonarEnd",
129-
"Test"
130-
]
131-
}
132-
},
133-
"Verbosity": {
134-
"type": "string",
135-
"description": "Logging verbosity during build execution. Default is 'Normal'",
136-
"enum": [
137-
"Minimal",
138-
"Normal",
139-
"Quiet",
140-
"Verbose"
141-
]
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "Build Schema",
4+
"$ref": "#/definitions/build",
5+
"definitions": {
6+
"build": {
7+
"type": "object",
8+
"properties": {
9+
"Configuration": {
10+
"type": "string",
11+
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)"
12+
},
13+
"Continue": {
14+
"type": "boolean",
15+
"description": "Indicates to continue a previously failed build attempt"
16+
},
17+
"CoverletDiag": {
18+
"type": "boolean",
19+
"description": "Enable coverlet diagnostics (log.*.txt)"
20+
},
21+
"Help": {
22+
"type": "boolean",
23+
"description": "Shows the help text for this build assembly"
24+
},
25+
"Host": {
26+
"type": "string",
27+
"description": "Host for execution. Default is 'automatic'",
28+
"enum": [
29+
"AppVeyor",
30+
"AzurePipelines",
31+
"Bamboo",
32+
"Bitrise",
33+
"GitHubActions",
34+
"GitLab",
35+
"Jenkins",
36+
"Rider",
37+
"SpaceAutomation",
38+
"TeamCity",
39+
"Terminal",
40+
"TravisCI",
41+
"VisualStudio",
42+
"VSCode"
43+
]
44+
},
45+
"IsCiBuild": {
46+
"type": "boolean",
47+
"description": "Is CI Build (AppVeyor)"
48+
},
49+
"IsPushTag": {
50+
"type": "boolean",
51+
"description": "Push built NuGet package"
52+
},
53+
"NoLogo": {
54+
"type": "boolean",
55+
"description": "Disables displaying the NUKE logo"
56+
},
57+
"NuGetApiKey": {
58+
"type": "string",
59+
"description": "NuGet API Key"
60+
},
61+
"NuGetSource": {
62+
"type": "string",
63+
"description": "NuGet Source"
64+
},
65+
"Partition": {
66+
"type": "string",
67+
"description": "Partition to use on CI"
68+
},
69+
"Plan": {
70+
"type": "boolean",
71+
"description": "Shows the execution plan (HTML)"
72+
},
73+
"Profile": {
74+
"type": "array",
75+
"description": "Defines the profiles to load",
76+
"items": {
77+
"type": "string"
78+
}
79+
},
80+
"Root": {
81+
"type": "string",
82+
"description": "Root directory during build execution"
83+
},
84+
"Skip": {
85+
"type": "array",
86+
"description": "List of targets to be skipped. Empty list skips all dependencies",
87+
"items": {
88+
"type": "string",
89+
"enum": [
90+
"CiBuild",
91+
"Clean",
92+
"Compile",
93+
"Coverage",
94+
"Package",
95+
"Push",
96+
"Restore",
97+
"Sonar",
98+
"SonarBegin",
99+
"SonarEnd",
100+
"Test"
101+
]
102+
}
103+
},
104+
"Solution": {
105+
"type": "string",
106+
"description": "Path to a solution file that is automatically loaded"
107+
},
108+
"SonarLogin": {
109+
"type": "string",
110+
"description": "The SonarQube login token"
111+
},
112+
"SonarOrganization": {
113+
"type": "string",
114+
"description": "The SonarQube organization"
115+
},
116+
"SonarServer": {
117+
"type": "string",
118+
"description": "The SonarQube server"
119+
},
120+
"Target": {
121+
"type": "array",
122+
"description": "List of targets to be invoked. Default is '{default_target}'",
123+
"items": {
124+
"type": "string",
125+
"enum": [
126+
"CiBuild",
127+
"Clean",
128+
"Compile",
129+
"Coverage",
130+
"Package",
131+
"Push",
132+
"Restore",
133+
"Sonar",
134+
"SonarBegin",
135+
"SonarEnd",
136+
"Test"
137+
]
138+
}
139+
},
140+
"Verbosity": {
141+
"type": "string",
142+
"description": "Logging verbosity during build execution. Default is 'Normal'",
143+
"enum": [
144+
"Minimal",
145+
"Normal",
146+
"Quiet",
147+
"Verbose"
148+
]
149+
}
150+
}
142151
}
143-
}
144152
}
145-
}
146-
}
153+
}

.nuke/parameters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "./build.schema.json",
3-
"Solution": "FluentAssertions.Autofac.sln"
4-
}
2+
"$schema": "./build.schema.json",
3+
"Solution": "FluentAssertions.Autofac.sln"
4+
}

CONTRIBUTING.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
We love contributions. To get started contributing you might need:
44

5-
- [Get started with git](http://rogerdudler.github.io/git-guide)
6-
- [How to create a pull request](https://help.github.com/articles/using-pull-requests)
7-
- [An issue to work on](https://github.com/fluentassertions/FluentAssertions.Autofac/labels/up-for-grabs) - We are on [Up for grabs](http://up-for-grabs.net/), our up for grabs issues are tagged `up-for-grabs`
8-
- An understanding of how [we write tests](#writing-tests)
5+
- [Get started with git](http://rogerdudler.github.io/git-guide)
6+
- [How to create a pull request](https://help.github.com/articles/using-pull-requests)
7+
- [An issue to work on](https://github.com/fluentassertions/FluentAssertions.Autofac/labels/up-for-grabs) - We are
8+
on [Up for grabs](http://up-for-grabs.net/), our up for grabs issues are tagged `up-for-grabs`
9+
- An understanding of how [we write tests](#writing-tests)
910

1011
Once you know how to create a pull request and have an issue to work on, just post a comment saying you will work on it.
1112
If you end up not being able to complete the task, please post another comment so others can pick it up.
@@ -14,13 +15,14 @@ Issues are also welcome, [failing tests](#writing-tests) are even more welcome.
1415

1516
## Contribution Guidelines
1617

17-
- Try to use feature branches rather than developing on master
18-
- Please include tests covering the change
19-
- The docs are now stored in the repository under the `Docs` folder, please include documentation updates with your PR
18+
- Try to use feature branches rather than developing on master
19+
- Please include tests covering the change
20+
- The docs are now stored in the repository under the `Docs` folder, please include documentation updates with your PR
2021

2122
## Writing Tests
2223

23-
It is easy to write tests in `FluentAssertions.Autofac`. Test fixtures are located directly beside the code in classes ending with `_Should.cs`.
24+
It is easy to write tests in `FluentAssertions.Autofac`. Test fixtures are located directly beside the code in classes
25+
ending with `_Should.cs`.
2426

2527
### 1. Find appropriate fixture
2628

FluentAssertions.Autofac.Tests/BuilderWrapperAssertions_Should.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Autofac;
22
using Xunit;
3-
using Module = Autofac.Module;
43

54
namespace FluentAssertions.Autofac
65
{
@@ -48,6 +47,8 @@ protected override void Load(ContainerBuilder builder)
4847
}
4948

5049
// ReSharper disable once MemberCanBePrivate.Global
51-
public class SampleModule2 : Module { }
50+
public class SampleModule2 : Module
51+
{
52+
}
5253
}
5354
}

0 commit comments

Comments
 (0)