standard 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cadec5ec4b18495f9b40de15918a208bc92d4dfa8e439b320cda48ebf1277de
4
- data.tar.gz: 5988cd9b3550fa1643275570496f43c2f386415b58188c442297e509d27ea40d
3
+ metadata.gz: 8e36f4f1ee4469b120c342114edfa1c13bcf274a3ffa284270dd1073ae18e59e
4
+ data.tar.gz: fcf9ced42b9ead731855ded83be22b21dc6834ffb4691c4a135d3d7930b642e2
5
5
  SHA512:
6
- metadata.gz: 12dde0c129d137d3494035d18ca038d6afd790d7c1cc1cecd0e7cbeb7b5eb943ffb269286546ea0dedca942c18748cc979e75e66830902768c8c46392c8fdcbe
7
- data.tar.gz: a280e52124690d46e017f4a35cc868855ab9e64f4fa6c81116c8e67fa113143868fce0e530ac8258f07a2cbd53132deae9b5a954a25c6a0fb3350d741e989f1e
6
+ metadata.gz: bcaeeb627fe5d10f10dfecea5ae64d7366a20c11cf07d5e899b188f3939629ab84a07ab445e286e82c860a0c479e3f5c21a2897d5420ac8e3fa06527d92e6493
7
+ data.tar.gz: b9b5ad19932484145a3fce2f2b9cb44e480bddeaedc6f806390776730d7c51d5f2a1902ad4a4d9c8b469e2002e1f6ed061b9fab22312bcf7c383ed14b7c97790
@@ -12,7 +12,7 @@ jobs:
12
12
  strategy:
13
13
  matrix:
14
14
  os: [ ubuntu-latest ]
15
- ruby-version: [2.5, 2.7, 3.0]
15
+ ruby-version: [2.5, 2.6, 2.7, 3.0]
16
16
 
17
17
  runs-on: ${{ matrix.os }}
18
18
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ * Remove
6
+ [`Style/NegatedIf`](https://github.com/TODO)
7
+
8
+ ## 1.4.0
9
+
10
+ * Update rubocop from 1.19.1 to [1.22.3](https://github.com/rubocop-hq/rubocop/releases/tag/v1.22.3)
11
+
3
12
  ## 1.3.0
4
13
 
5
14
  * Update rubocop from 1.19.1 to [1.20.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.20.0)
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.3.0)
5
- rubocop (= 1.20.0)
4
+ standard (1.4.0)
5
+ rubocop (= 1.22.3)
6
6
  rubocop-performance (= 1.11.5)
7
7
 
8
8
  GEM
@@ -14,7 +14,7 @@ GEM
14
14
  gimme (0.5.0)
15
15
  method_source (1.0.0)
16
16
  minitest (5.14.4)
17
- parallel (1.20.1)
17
+ parallel (1.21.0)
18
18
  parser (3.0.2.0)
19
19
  ast (~> 2.4.1)
20
20
  pry (0.14.1)
@@ -24,16 +24,16 @@ GEM
24
24
  rake (13.0.6)
25
25
  regexp_parser (2.1.1)
26
26
  rexml (3.2.5)
27
- rubocop (1.20.0)
27
+ rubocop (1.22.3)
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.9.1, < 2.0)
33
+ rubocop-ast (>= 1.12.0, < 2.0)
34
34
  ruby-progressbar (~> 1.7)
35
35
  unicode-display_width (>= 1.4.0, < 3.0)
36
- rubocop-ast (1.11.0)
36
+ rubocop-ast (1.12.0)
37
37
  parser (>= 3.0.1.1)
38
38
  rubocop-performance (1.11.5)
39
39
  rubocop (>= 1.7.0, < 2.0)
@@ -45,7 +45,7 @@ GEM
45
45
  simplecov_json_formatter (~> 0.1)
46
46
  simplecov-html (0.12.3)
47
47
  simplecov_json_formatter (0.1.3)
48
- unicode-display_width (2.0.0)
48
+ unicode-display_width (2.1.0)
49
49
 
50
50
  PLATFORMS
51
51
  ruby
data/README.md CHANGED
@@ -190,6 +190,22 @@ community conventions higher than personal style. This might not make sense for
190
190
  place for newbies. Setting up clear, automated contributor expectations makes a
191
191
  project healthier.
192
192
 
193
+ ## Usage via rubocop
194
+
195
+ If you only want to use the rules and not the cli (to keep current IDE/tooling/workflow support).
196
+ It needs to repeat `AllCops` because of a [rubocop issue](https://github.com/rubocop/rubocop/issues/10175).
197
+ Change your `.rubocop.yml` to:
198
+
199
+ ```yaml
200
+ require: standard
201
+
202
+ inherit_gem:
203
+ standard: config/base.yml
204
+
205
+ AllCops:
206
+ DisabledByDefault: true
207
+ ```
208
+
193
209
  ## Who uses Ruby Standard Style?
194
210
 
195
211
  (This section will not [look very
@@ -214,6 +230,9 @@ if you've used StandardJS.)
214
230
  * [Oyster](https://www.oysterhr.com/)
215
231
  * [Podia](https://www.podia.com/)
216
232
  * [RubyCI](https://ruby.ci)
233
+ * [thoughtbot](https://thoughtbot.com/)
234
+ * [Planet Argon](https://www.planetargon.com/)
235
+ * [Brave Software](https://github.com/brave-intl/publishers)
217
236
  * And that's about it so far!
218
237
 
219
238
  If your team starts using Standard, [send a pull
data/Rakefile CHANGED
@@ -4,8 +4,6 @@ require_relative "lib/standard/rake"
4
4
 
5
5
  Rake::TestTask.new(:test) do |t|
6
6
  t.warning = false
7
- t.libs << "test"
8
- t.libs << "lib"
9
7
  t.test_files = FileList["test/**/*_test.rb"]
10
8
  end
11
9