standard-mkv 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/test.yml +27 -0
- data/.gitignore +9 -0
- data/.standard.yml +4 -0
- data/CHANGELOG.md +304 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +64 -0
- data/LICENSE.txt +25 -0
- data/README.md +451 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config/base.yml +1205 -0
- data/config/ruby-1.8.yml +7 -0
- data/config/ruby-1.9.yml +7 -0
- data/config/ruby-2.2.yml +5 -0
- data/config/ruby-2.3.yml +1 -0
- data/config/ruby-2.4.yml +4 -0
- data/config/ruby-2.5.yml +7 -0
- data/config/ruby-2.7.yml +7 -0
- data/docs/RELEASE.md +42 -0
- data/exe/standardrb +7 -0
- data/lib/standard/builds_config.rb +36 -0
- data/lib/standard/cli.rb +17 -0
- data/lib/standard/cop/block_single_line_braces.rb +96 -0
- data/lib/standard/creates_config_store/assigns_rubocop_yaml.rb +34 -0
- data/lib/standard/creates_config_store/configures_ignored_paths.rb +45 -0
- data/lib/standard/creates_config_store/sets_target_ruby_version.rb +25 -0
- data/lib/standard/creates_config_store.rb +23 -0
- data/lib/standard/detects_fixability.rb +16 -0
- data/lib/standard/file_finder.rb +13 -0
- data/lib/standard/formatter.rb +90 -0
- data/lib/standard/loads_runner.rb +9 -0
- data/lib/standard/loads_yaml_config.rb +59 -0
- data/lib/standard/merges_settings.rb +68 -0
- data/lib/standard/parses_cli_option.rb +21 -0
- data/lib/standard/railtie.rb +11 -0
- data/lib/standard/rake.rb +26 -0
- data/lib/standard/rubocop/ext.rb +16 -0
- data/lib/standard/runners/genignore.rb +44 -0
- data/lib/standard/runners/help.rb +45 -0
- data/lib/standard/runners/rubocop.rb +19 -0
- data/lib/standard/runners/version.rb +9 -0
- data/lib/standard/version.rb +3 -0
- data/lib/standard.rb +13 -0
- data/standard.gemspec +24 -0
- metadata +118 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 99811686e6f74bb015ec91461b1ea2a2597388de1ea26ac42c834d65b49eb749
|
4
|
+
data.tar.gz: 8be16beef8ec91b37ded8fd99da83958f87b8b86059e1ea4d7cbcc5c1c2b1651
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4f8a90bad0777c3b81c0dd19b1ee42f864229228f76e9a61c69fa83671ad780c9e2562a8331194fb4d1bddfa5f68f502e9e25c5a79d3d4fc862dfb85bfb6d227
|
7
|
+
data.tar.gz: 46f39653ba735674543188cb463adf0d53fed341f81ee645016a3e5ed7f97ece208afbaea476f9da26747b27269b3f12819523e3f07a931d9ec30f052ade8e65
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ main ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
os: [ ubuntu-latest ]
|
15
|
+
ruby-version: [2.5, 2.7, 3.0]
|
16
|
+
|
17
|
+
runs-on: ${{ matrix.os }}
|
18
|
+
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v2
|
21
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby-version }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
|
27
|
+
run: bundle config unset deployment && bundle exec rake
|
data/.gitignore
ADDED
data/.standard.yml
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,304 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 1.3.0
|
4
|
+
|
5
|
+
* Update rubocop from 1.19.1 to [1.20.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.20.0)
|
6
|
+
|
7
|
+
## 1.2.0
|
8
|
+
|
9
|
+
* Update rubocop from 1.18.4 to [1.19.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.19.1)
|
10
|
+
* Update rubocop-performance from 1.11.4 to [1.11.5](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.5)
|
11
|
+
|
12
|
+
## 1.1.7
|
13
|
+
|
14
|
+
* Fix an issue with nested generated todos being ignored
|
15
|
+
[#311](https://github.com/testdouble/standard/pull/311)
|
16
|
+
|
17
|
+
## 1.1.6
|
18
|
+
|
19
|
+
* Update rubocop from 1.18.3 to [1.18.4](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.4)
|
20
|
+
|
21
|
+
## 1.1.5
|
22
|
+
|
23
|
+
* Update rubocop from 1.18.2 to [1.18.3](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.3)
|
24
|
+
* Update rubocop-performance from 1.11.3 to [1.11.4](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.4)
|
25
|
+
* Disabled `Performance/DeletePrefix` because it was marked as unsafe.
|
26
|
+
|
27
|
+
## 1.1.4
|
28
|
+
|
29
|
+
* Update rubocop from 1.18.1 to [1.18.2](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.2)
|
30
|
+
* Update rubocop-performance from 1.11.2 to [1.11.3](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.3)
|
31
|
+
|
32
|
+
## 1.1.3
|
33
|
+
|
34
|
+
* Update rubocop from 1.17.0 to [1.18.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.1)
|
35
|
+
|
36
|
+
## 1.1.2
|
37
|
+
|
38
|
+
* Update rubocop from 1.14.0 to [1.17.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.17.0)
|
39
|
+
|
40
|
+
## 1.1.1
|
41
|
+
|
42
|
+
* Update rubocop from 1.13.0 to [1.14.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.14.0)
|
43
|
+
* Update rubocop-performance from 1.11.1 to [1.11.2](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.2)
|
44
|
+
|
45
|
+
## 1.1.0
|
46
|
+
|
47
|
+
* Update rubocop from 1.12.1 to [1.13.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.13.0)
|
48
|
+
* Update rubocop-performance from 1.9.2 to [1.11.1](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.1)
|
49
|
+
* Enabled the following rules:
|
50
|
+
* [`Performance/RedundantSplitRegexpArgument`](https://github.com/rubocop/rubocop-performance/pull/190)
|
51
|
+
* [`Style/IfWithBooleanLiteralBranches`](https://github.com/rubocop-hq/rubocop/pull/9396)
|
52
|
+
* [`Lint/TripleQuotes`](https://github.com/rubocop-hq/rubocop/pull/9402)
|
53
|
+
* [`Lint/SymbolConversion`](https://github.com/rubocop/rubocop/pull/9362)
|
54
|
+
* [`Lint/OrAssignmentToConstant`](https://github.com/rubocop-hq/rubocop/pull/9363)
|
55
|
+
* [`Lint/NumberedParameterAssignment`](https://github.com/rubocop-hq/rubocop/pull/9326)
|
56
|
+
* [`Style/HashConversion`](https://github.com/rubocop-hq/rubocop/pull/9478)
|
57
|
+
* [`Gemspec/DateAssignment`](https://github.com/rubocop-hq/rubocop/pull/9496)
|
58
|
+
* [`Style/StringChars`](https://github.com/rubocop/rubocop/pull/9615)
|
59
|
+
|
60
|
+
## 1.0.5
|
61
|
+
|
62
|
+
* Update rubocop from 1.11.0 to [1.12.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.12.1)
|
63
|
+
|
64
|
+
## 1.0.4
|
65
|
+
|
66
|
+
* Workaround RuboCop's CLI from erroring when it detects a cop named
|
67
|
+
BlockDelimiters by renaming it to BlockSingleLineBraces
|
68
|
+
([#271](https://github.com/testdouble/standard/issues/271))
|
69
|
+
|
70
|
+
## 1.0.3
|
71
|
+
|
72
|
+
* Fix an exit code bug introduced in 1.0.2
|
73
|
+
([#272](https://github.com/testdouble/standard/pull/272)
|
74
|
+
|
75
|
+
## 1.0.2
|
76
|
+
|
77
|
+
* Preserve RuboCop's CLI exit codes
|
78
|
+
([#270](https://github.com/testdouble/standard/pull/270)) by
|
79
|
+
[@nicksieger](https://github.com/nicksieger)
|
80
|
+
|
81
|
+
## 1.0.1
|
82
|
+
|
83
|
+
* Update rubocop from 1.10.0 to [1.11.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.11.0)
|
84
|
+
* Update rubocop-performance from 1.9.2 to [1.10.1](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.10.1)
|
85
|
+
|
86
|
+
## 1.0.0
|
87
|
+
|
88
|
+
* Relax multi-line block rules, moving away from enforcing semantic blocks to
|
89
|
+
instead allowing code to adhere to whatever multi-line format the author deems
|
90
|
+
best [#263](https://github.com/testdouble/standard/pull/263)
|
91
|
+
* Allow a `standard:disable` comment directive in addition to `rubocop:disable`
|
92
|
+
[#186](https://github.com/testdouble/standard/pull/186)
|
93
|
+
* Remove the banner text that standard outputs after failure
|
94
|
+
[#264](https://github.com/testdouble/standard/pull/264)
|
95
|
+
|
96
|
+
## 0.13.0
|
97
|
+
|
98
|
+
* Update rubocop from 1.7.0 to [1.10.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.10.0) enabling:
|
99
|
+
* [`Lint/AmbiguousAssignment`](https://github.com/rubocop-hq/rubocop/issues/9223)
|
100
|
+
* [`Style/HashExcept`](https://github.com/rubocop-hq/rubocop/pull/9283)
|
101
|
+
* [`Lint/DeprecatedConstants`](https://github.com/rubocop-hq/rubocop/pull/9324)
|
102
|
+
|
103
|
+
## 0.12.0
|
104
|
+
|
105
|
+
* Update rubocop from 1.7.0 to [1.8.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.8.1)
|
106
|
+
* Enabled [`Style/SlicingWithRange`](https://github.com/testdouble/standard/issues/175)
|
107
|
+
|
108
|
+
## 0.11.0
|
109
|
+
|
110
|
+
* Update rubocop-performance from 1.9.1 to [1.9.2](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.9.2)
|
111
|
+
* Update rubocop from 1.4.2 to [1.7.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.7.0)
|
112
|
+
* Changed `Style/NegatedIf` to `postfix`
|
113
|
+
|
114
|
+
## 0.10.2
|
115
|
+
|
116
|
+
* Remove
|
117
|
+
[`Lint/DuplicateBranch`](https://github.com/testdouble/standard/pull/228)
|
118
|
+
|
119
|
+
## 0.10.1
|
120
|
+
|
121
|
+
* Remove [`Performance/ArraySemiInfiniteRangeSlice`](https://github.com/testdouble/standard/pull/225#discussion_r532678908)
|
122
|
+
|
123
|
+
## 0.10.0
|
124
|
+
|
125
|
+
* Update rubocop-performance from 1.8.1 to [1.9.1](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.9.1) enabling:
|
126
|
+
* [`Performance/BlockGivenWithExplicitBlock`](https://github.com/rubocop-hq/rubocop-performance/pull/173)
|
127
|
+
* [`Performance/ConstantRegexp`](https://github.com/rubocop-hq/rubocop-performance/pull/174)
|
128
|
+
* [`Performance/ArraySemiInfiniteRangeSlice`](https://github.com/rubocop-hq/rubocop-performance/pull/175)
|
129
|
+
* Update rubocop from 1.2.0 to [1.4.2](https://github.com/rubocop-hq/rubocop/releases/tag/v1.4.2) enabling:
|
130
|
+
* [`Style/NilLambda`](https://github.com/rubocop-hq/rubocop/pull/9020)
|
131
|
+
* [`Lint/DuplicateBranch`](https://github.com/rubocop-hq/rubocop/pull/8404)
|
132
|
+
|
133
|
+
## 0.9.0
|
134
|
+
|
135
|
+
* Update rubocop from 1.0.0 to [1.2.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.2.0) enabling:
|
136
|
+
* [`Lint/DuplicateRegexpCharacterClassElement`](https://github.com/rubocop-hq/rubocop/pull/8896)
|
137
|
+
* [`Style/ArgumentsForwarding`](https://github.com/rubocop-hq/rubocop/pull/7646)
|
138
|
+
* Don't find offense in `Style/SemanticBlocks` when a top-level `rescue` is used
|
139
|
+
in a `do`/`end` functional block, fixing
|
140
|
+
[#205](https://github.com/testdouble/standard/issues/205)
|
141
|
+
|
142
|
+
## 0.8.1
|
143
|
+
|
144
|
+
* Make it match semver
|
145
|
+
|
146
|
+
## 0.8
|
147
|
+
|
148
|
+
* Update rubocop from 0.93.1 to [1.0.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.0.0)
|
149
|
+
* Update rubocop from 0.92 to
|
150
|
+
[0.93](https://github.com/rubocop-hq/rubocop/releases/tag/v0.93) to
|
151
|
+
[0.93.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.93.1) enabling:
|
152
|
+
* [`Style/ClassEqualityComparison`](https://github.com/rubocop-hq/rubocop/pull/8833)
|
153
|
+
* Disable `Performance/Sum` because #208 and the lack of actual auto-correcting is also causing more trouble
|
154
|
+
|
155
|
+
## 0.7
|
156
|
+
|
157
|
+
* Update rubocop from 0.91.1 to
|
158
|
+
[0.92](https://github.com/rubocop-hq/rubocop/releases/tag/v0.92)
|
159
|
+
|
160
|
+
## 0.6.2
|
161
|
+
|
162
|
+
* Update rubocop from 0.91 to
|
163
|
+
[0.91.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.91.1)
|
164
|
+
* Update rubocop-performance from 1.8.0 to 1.8.1:
|
165
|
+
* Enable `Performance/Sum`
|
166
|
+
|
167
|
+
## 0.6.1
|
168
|
+
|
169
|
+
* Update Rubocop from
|
170
|
+
[0.90](https://github.com/rubocop-hq/rubocop/releases/tag/v0.90.0)
|
171
|
+
to
|
172
|
+
[0.91](https://github.com/rubocop-hq/rubocop/releases/tag/v0.91.0),
|
173
|
+
enabling:
|
174
|
+
* [`Lint/UselessTimes`](https://github.com/rubocop-hq/rubocop/pull/8702)
|
175
|
+
* [`Layout/BeginEndAlignment`](https://github.com/rubocop-hq/rubocop/pull/8628)
|
176
|
+
* [`Lint/ConstantDefinitionInBlock`](https://github.com/rubocop-hq/rubocop/pull/8707)
|
177
|
+
* [`Lint/IdentityComparison`](https://github.com/rubocop-hq/rubocop/pull/8699/)
|
178
|
+
re-enabling after bug fixes:
|
179
|
+
* [`Bundler/DuplicatedGem`](https://github.com/rubocop-hq/rubocop/pull/8666)
|
180
|
+
* [`Naming/BinaryOperatorParameterName`](https://github.com/rubocop-hq/rubocop/issues/8664)
|
181
|
+
|
182
|
+
## 0.6.0
|
183
|
+
|
184
|
+
* Update Rubocop from
|
185
|
+
[0.89.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.89.1)
|
186
|
+
to
|
187
|
+
[0.90](https://github.com/rubocop-hq/rubocop/releases/tag/v0.90.0),
|
188
|
+
enabling:
|
189
|
+
* [`Style/KeywordParametersOrder`](https://github.com/rubocop-hq/rubocop/pull/8563)
|
190
|
+
* [`Lint/DuplicateRequire`](https://github.com/rubocop-hq/rubocop/pull/8474)
|
191
|
+
* [`Lint/TrailingCommaInAttributeDeclaration`](https://github.com/rubocop-hq/rubocop/pull/8549)
|
192
|
+
* Update [`Style/Alias` to prefer `alias_method`](https://github.com/testdouble/standard/pull/196)
|
193
|
+
* Update rubocop-performance from 1.7.1 to 1.8.0:
|
194
|
+
* Plan to enable [`Performance/Sum`](https://github.com/rubocop-hq/rubocop-performance/pull/137) in the future, but there is currently a bug in the implementation
|
195
|
+
* Add `ruby-2.3.yml` to add support for 2.3.
|
196
|
+
|
197
|
+
## 0.5.2
|
198
|
+
|
199
|
+
* Turned off `Lint/MissingSuper`, because it effectively bans a common idiom in
|
200
|
+
Sorbet ([#195](https://github.com/testdouble/standard/issues/195)) and might
|
201
|
+
be a bit too heavy-handed/opinionated for cases where a class is designed
|
202
|
+
intentionally to not run its parent's initializer (like abstract superclasses
|
203
|
+
more generally)
|
204
|
+
|
205
|
+
## 0.5.1
|
206
|
+
|
207
|
+
* Enabled `Style/MultilineWhenThen`
|
208
|
+
|
209
|
+
## 0.5.0
|
210
|
+
|
211
|
+
* Update Rubocop from
|
212
|
+
[0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01)
|
213
|
+
to
|
214
|
+
[0.89.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.89.1),
|
215
|
+
enabling:
|
216
|
+
* `Lint/BinaryOperatorWithIdenticalOperands`
|
217
|
+
* `Lint/DuplicateElsifCondition`
|
218
|
+
* `Lint/DuplicateRescueException`
|
219
|
+
* `Lint/FloatComparison`
|
220
|
+
* `Lint/MissingSuper`
|
221
|
+
* `Lint/OutOfRangeRegexpRef`
|
222
|
+
* `Lint/RedundantRequireStatement`
|
223
|
+
* `Lint/RedundantSplatExpansion`
|
224
|
+
* `Lint/SafeNavigationWithEmpty`
|
225
|
+
* `Lint/SelfAssignment`
|
226
|
+
* `Lint/TopLevelReturnWithArgument`
|
227
|
+
* `Style/GlobalStdStream`
|
228
|
+
* `Style/RedundantAssignment`
|
229
|
+
* `Style/RedundantFetchBlock`
|
230
|
+
* `Style/RedundantFileExtensionInRequire`
|
231
|
+
* Update rubocop-performance from 1.6.0 to 1.7.1, enabling:
|
232
|
+
* `Performance/BigDecimalWithNumericArgument`
|
233
|
+
* `Performance/RedundantSortBlock`
|
234
|
+
* `Performance/RedundantStringChars`
|
235
|
+
* `Performance/ReverseFirst`
|
236
|
+
* `Performance/SortReverse`
|
237
|
+
* `Performance/Squeeze`
|
238
|
+
|
239
|
+
## 0.4.7
|
240
|
+
|
241
|
+
* Update Rubocop from
|
242
|
+
[0.83.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0830-2020-05-11)
|
243
|
+
to
|
244
|
+
[0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01), notably:
|
245
|
+
|
246
|
+
* Enable
|
247
|
+
[Lint/MixedRegexpCaptureTypes](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintmixedregexpcapturetypes)
|
248
|
+
* Enable
|
249
|
+
[Lint/DeprecatedOpenSSLConstant](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintdeprecatedopensslconstant)
|
250
|
+
* Enable
|
251
|
+
[Style/RedundantRegexpCharacterClass](https://github.com/rubocop-hq/rubocop/pull/8055)
|
252
|
+
* Enable
|
253
|
+
[Style/RedundantRegexpEscape](https://github.com/rubocop-hq/rubocop/pull/7908)
|
254
|
+
* Update rubocop-performance to
|
255
|
+
[1.6.0](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md#160-2020-05-22),
|
256
|
+
enabling:
|
257
|
+
* [Performance/BindCall](https://github.com/rubocop-hq/rubocop-performance/issues/77)
|
258
|
+
* [Performance/DeletePrefix](https://github.com/rubocop-hq/rubocop-performance/pull/105)
|
259
|
+
* [Performance/DeleteSuffix](https://github.com/rubocop-hq/rubocop-performance/pull/105)
|
260
|
+
|
261
|
+
|
262
|
+
## 0.4.6
|
263
|
+
|
264
|
+
* Disable `Naming/BinaryOperatorParameterName` because (when non-ascii method
|
265
|
+
names are used), it incorrectly identifies them as being `+()` operator
|
266
|
+
overrides (overly aggressive)
|
267
|
+
|
268
|
+
## 0.4.5
|
269
|
+
|
270
|
+
* Disable `Naming/AsciiIdentifiers` for the same reason as mentioned below in
|
271
|
+
0.4.4 (specifically to allow programs written in non-Latin languages to define
|
272
|
+
identifiers)
|
273
|
+
|
274
|
+
## 0.4.4
|
275
|
+
|
276
|
+
* Disable `Naming/MethodName` cop. While `snake_case` is the conventional way to
|
277
|
+
name a Ruby method, the cop is too restrictive in that it also prevents
|
278
|
+
non-ASCII characters from being included in method names
|
279
|
+
|
280
|
+
## 0.4.3
|
281
|
+
|
282
|
+
* Improve output of the todo feature
|
283
|
+
|
284
|
+
## 0.4.2
|
285
|
+
|
286
|
+
* Track Rubocop
|
287
|
+
[0.83.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0830-2020-05-11)
|
288
|
+
* Update our default to allow trailing whitespace in heredocs
|
289
|
+
* Disable auto-correct for a cop that changed `:true` to `true`, as that's not
|
290
|
+
safe
|
291
|
+
* Allow comments in empty `when` blocks
|
292
|
+
|
293
|
+
|
294
|
+
## 0.4.1
|
295
|
+
|
296
|
+
* add given/given! as `{}` friendly blocks [#172](https://github.com/testdouble/standard/pull/172)
|
297
|
+
|
298
|
+
## 0.4.0
|
299
|
+
|
300
|
+
* Add `--todo` mode for incremental adoption of Standard to a project ([PR](https://github.com/testdouble/standard/pull/155) by [@mrbiggred](https://github.com/mrbiggred))
|
301
|
+
|
302
|
+
## 0.3.0
|
303
|
+
|
304
|
+
* Update Standard to track Rubocop 0.82.0 ([commit](https://github.com/testdouble/standard/commit/d663ea62d519c659087ad606bfed031c6303ff20))
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
standard (1.3.0)
|
5
|
+
rubocop (= 1.20.0)
|
6
|
+
rubocop-performance (= 1.11.5)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ast (2.4.2)
|
12
|
+
coderay (1.1.3)
|
13
|
+
docile (1.4.0)
|
14
|
+
gimme (0.5.0)
|
15
|
+
method_source (1.0.0)
|
16
|
+
minitest (5.14.4)
|
17
|
+
parallel (1.20.1)
|
18
|
+
parser (3.0.2.0)
|
19
|
+
ast (~> 2.4.1)
|
20
|
+
pry (0.14.1)
|
21
|
+
coderay (~> 1.1)
|
22
|
+
method_source (~> 1.0)
|
23
|
+
rainbow (3.0.0)
|
24
|
+
rake (13.0.6)
|
25
|
+
regexp_parser (2.1.1)
|
26
|
+
rexml (3.2.5)
|
27
|
+
rubocop (1.20.0)
|
28
|
+
parallel (~> 1.10)
|
29
|
+
parser (>= 3.0.0.0)
|
30
|
+
rainbow (>= 2.2.2, < 4.0)
|
31
|
+
regexp_parser (>= 1.8, < 3.0)
|
32
|
+
rexml
|
33
|
+
rubocop-ast (>= 1.9.1, < 2.0)
|
34
|
+
ruby-progressbar (~> 1.7)
|
35
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
36
|
+
rubocop-ast (1.11.0)
|
37
|
+
parser (>= 3.0.1.1)
|
38
|
+
rubocop-performance (1.11.5)
|
39
|
+
rubocop (>= 1.7.0, < 2.0)
|
40
|
+
rubocop-ast (>= 0.4.0)
|
41
|
+
ruby-progressbar (1.11.0)
|
42
|
+
simplecov (0.21.2)
|
43
|
+
docile (~> 1.1)
|
44
|
+
simplecov-html (~> 0.11)
|
45
|
+
simplecov_json_formatter (~> 0.1)
|
46
|
+
simplecov-html (0.12.3)
|
47
|
+
simplecov_json_formatter (0.1.3)
|
48
|
+
unicode-display_width (2.0.0)
|
49
|
+
|
50
|
+
PLATFORMS
|
51
|
+
ruby
|
52
|
+
x86_64-darwin-20
|
53
|
+
|
54
|
+
DEPENDENCIES
|
55
|
+
bundler
|
56
|
+
gimme
|
57
|
+
minitest (~> 5.0)
|
58
|
+
pry
|
59
|
+
rake (~> 13.0)
|
60
|
+
simplecov
|
61
|
+
standard!
|
62
|
+
|
63
|
+
BUNDLED WITH
|
64
|
+
2.2.22
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
Copyright (c) 2019 Test Double, LLC
|
2
|
+
|
3
|
+
Portions of these files Copyright (c) 2012-18 Bozhidar Batsov:
|
4
|
+
- config/base.yml
|
5
|
+
- lib/standard/cop/block_single_line_braces.rb
|
6
|
+
- test/cop_invoker.rb
|
7
|
+
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
a copy of this software and associated documentation files (the
|
10
|
+
"Software"), to deal in the Software without restriction, including
|
11
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
the following conditions:
|
15
|
+
|
16
|
+
The above copyright notice and this permission notice shall be
|
17
|
+
included in all copies or substantial portions of the Software.
|
18
|
+
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|