standard 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +4 -14
- data/CHANGELOG.md +6 -2
- data/Gemfile.lock +5 -5
- data/README.md +6 -4
- data/config/base.yml +1 -1
- data/lib/standard/runners/help.rb +1 -0
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 764cbd7e439405207a9615e094793d0311451b38884480e0435c026ec538d767
|
|
4
|
+
data.tar.gz: 548fac40c4f515d8482c38d6ecc20a6e4b1b7fa7080d196072f6460dbea78fb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 959716284532e5dc4ec59322100d0a8e5cd579b17691a8ae25f55f5999315a7d782fd6763419e72d9970af00c4b622ac96be0f0df2adb7ceecb860d672f9d52d
|
|
7
|
+
data.tar.gz: c996374b1a126c7b4f7a82ab87d1534b1f425856c9cd4d85f7e4adc977344f211ac1bffb96913c945e7bdc931c100f71467f152d4032444545e07a46b1ee52b5
|
data/.github/workflows/test.yml
CHANGED
|
@@ -2,9 +2,9 @@ name: Tests
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches: [
|
|
5
|
+
branches: [ main ]
|
|
6
6
|
pull_request:
|
|
7
|
-
branches: [
|
|
7
|
+
branches: [ main ]
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
test:
|
|
@@ -22,16 +22,6 @@ jobs:
|
|
|
22
22
|
uses: ruby/setup-ruby@v1
|
|
23
23
|
with:
|
|
24
24
|
ruby-version: ${{ matrix.ruby-version }}
|
|
25
|
-
|
|
26
|
-
uses: actions/cache@v1
|
|
27
|
-
with:
|
|
28
|
-
path: vendor/bundle
|
|
29
|
-
key: bundle-user-ruby-${{ matrix.os }}-${{matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
|
|
30
|
-
restore-keys: |
|
|
31
|
-
bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby-version }}-
|
|
32
|
-
- name: Install dependencies
|
|
33
|
-
run: |
|
|
34
|
-
bundle config path vendor/bundle
|
|
35
|
-
bundle install --jobs 4 --retry 3
|
|
25
|
+
bundler-cache: true
|
|
36
26
|
- name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
|
|
37
|
-
run: bundle exec rake
|
|
27
|
+
run: bundle config unset deployment && bundle exec rake
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
* Update rubocop from 1.14.0 to [1.17.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.17.0)
|
|
6
|
+
|
|
3
7
|
## 1.1.1
|
|
4
8
|
|
|
5
9
|
* Update rubocop from 1.13.0 to [1.14.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.14.0)
|
|
6
|
-
* Update rubocop-performance from 1.11.
|
|
10
|
+
* Update rubocop-performance from 1.11.1 to [1.11.2](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.2)
|
|
7
11
|
|
|
8
12
|
## 1.1.0
|
|
9
13
|
|
|
@@ -28,7 +32,7 @@
|
|
|
28
32
|
|
|
29
33
|
* Workaround RuboCop's CLI from erroring when it detects a cop named
|
|
30
34
|
BlockDelimiters by renaming it to BlockSingleLineBraces
|
|
31
|
-
([#271](https://github.com/testdouble/standard/issues/271)
|
|
35
|
+
([#271](https://github.com/testdouble/standard/issues/271))
|
|
32
36
|
|
|
33
37
|
## 1.0.3
|
|
34
38
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (1.1.
|
|
5
|
-
rubocop (= 1.
|
|
4
|
+
standard (1.1.2)
|
|
5
|
+
rubocop (= 1.17.0)
|
|
6
6
|
rubocop-performance (= 1.11.2)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
@@ -24,16 +24,16 @@ GEM
|
|
|
24
24
|
rake (13.0.3)
|
|
25
25
|
regexp_parser (2.1.1)
|
|
26
26
|
rexml (3.2.5)
|
|
27
|
-
rubocop (1.
|
|
27
|
+
rubocop (1.17.0)
|
|
28
28
|
parallel (~> 1.10)
|
|
29
29
|
parser (>= 3.0.0.0)
|
|
30
30
|
rainbow (>= 2.2.2, < 4.0)
|
|
31
31
|
regexp_parser (>= 1.8, < 3.0)
|
|
32
32
|
rexml
|
|
33
|
-
rubocop-ast (>= 1.
|
|
33
|
+
rubocop-ast (>= 1.7.0, < 2.0)
|
|
34
34
|
ruby-progressbar (~> 1.7)
|
|
35
35
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
36
|
-
rubocop-ast (1.
|
|
36
|
+
rubocop-ast (1.7.0)
|
|
37
37
|
parser (>= 3.0.1.1)
|
|
38
38
|
rubocop-performance (1.11.2)
|
|
39
39
|
rubocop (>= 1.7.0, < 2.0)
|
data/README.md
CHANGED
|
@@ -212,10 +212,11 @@ if you've used StandardJS.)
|
|
|
212
212
|
* [Renuo](https://www.renuo.ch/)
|
|
213
213
|
* [JetThoughts](https://www.jetthoughts.com/)
|
|
214
214
|
* [Oyster](https://www.oysterhr.com/)
|
|
215
|
+
* [Podia](https://www.podia.com/)
|
|
215
216
|
* And that's about it so far!
|
|
216
217
|
|
|
217
218
|
If your team starts using Standard, [send a pull
|
|
218
|
-
request](https://github.com/testdouble/standard/edit/
|
|
219
|
+
request](https://github.com/testdouble/standard/edit/main/README.md) to let us
|
|
219
220
|
know!
|
|
220
221
|
|
|
221
222
|
## Is there a readme badge?
|
|
@@ -273,7 +274,7 @@ ignore:
|
|
|
273
274
|
```
|
|
274
275
|
|
|
275
276
|
You can see the files Standard ignores by default
|
|
276
|
-
[here](https://github.com/testdouble/standard/blob/
|
|
277
|
+
[here](https://github.com/testdouble/standard/blob/main/lib/standard/creates_config_store/configures_ignored_paths.rb#L3-L13)
|
|
277
278
|
|
|
278
279
|
## How do I hide a certain warning?
|
|
279
280
|
|
|
@@ -356,7 +357,7 @@ ruby_version: 1.8.7
|
|
|
356
357
|
```
|
|
357
358
|
|
|
358
359
|
See
|
|
359
|
-
[testdouble/suture](https://github.com/testdouble/suture/blob/
|
|
360
|
+
[testdouble/suture](https://github.com/testdouble/suture/blob/main/.standard.yml)
|
|
360
361
|
for an example.
|
|
361
362
|
|
|
362
363
|
It's a little confusing to consider, but the targeted Ruby version for linting
|
|
@@ -367,7 +368,7 @@ the runtime, RuboCop may behave in surprising or inconsistent ways.
|
|
|
367
368
|
|
|
368
369
|
If you are targeting a Ruby older than 2.3 and run into an issue, check out
|
|
369
370
|
Standard's [version-specific RuboCop
|
|
370
|
-
configurations](https://github.com/testdouble/standard/tree/
|
|
371
|
+
configurations](https://github.com/testdouble/standard/tree/main/config) and
|
|
371
372
|
consider helping out by submitting a pull request if you find a rule that won't
|
|
372
373
|
work for older Rubies.
|
|
373
374
|
|
|
@@ -424,6 +425,7 @@ from editor plugins:
|
|
|
424
425
|
* [Pronto](https://github.com/julianrubisch/pronto-standardrb)
|
|
425
426
|
* [Spring](https://github.com/lakim/spring-commands-standard)
|
|
426
427
|
* [Guard](https://github.com/JodyVanden/guard-standardrb)
|
|
428
|
+
* [Danger](https://github.com/ashfurrow/danger-rubocop/)
|
|
427
429
|
|
|
428
430
|
## Contributing
|
|
429
431
|
|
data/config/base.yml
CHANGED
|
@@ -12,6 +12,7 @@ module Standard
|
|
|
12
12
|
--fix Automatically fix failures where possible
|
|
13
13
|
--no-fix Do not automatically fix failures
|
|
14
14
|
--format <name> Format output with any RuboCop formatter (e.g. "json")
|
|
15
|
+
--generate-todo Create a .standard_todo.yml that lists all the files that contain errors
|
|
15
16
|
-v, --version Print the version of Standard
|
|
16
17
|
-h, --help Print this message
|
|
17
18
|
FILE Files to lint [default: ./]
|
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
|
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
20
|
spec.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
-
spec.add_dependency "rubocop", "1.
|
|
22
|
+
spec.add_dependency "rubocop", "1.17.0"
|
|
23
23
|
spec.add_dependency "rubocop-performance", "1.11.2"
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
19
|
+
version: 1.17.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
26
|
+
version: 1.17.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rubocop-performance
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|