standard 0.7 → 0.8

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: 14026854b2cf5526ea4da24fe417dbe375ce35b8be9d372719685adb2962e3a7
4
- data.tar.gz: 2ca105c020fcf869476e9791214ba47385e6cf3c4c86f4882a06ed8944a42ac3
3
+ metadata.gz: ddc5f21fa56e0cfd19fdf8b2f01279fc826339bbf6a39827f5b73be0539ce3c9
4
+ data.tar.gz: 790f30c32430850dff1fb569d1d33376d8144b2200762f5b464890c12134ca42
5
5
  SHA512:
6
- metadata.gz: 6c669d9ad8fe1add7fcefa8c27d8cac76a256d42cd116323d9fd4c5c96180d233e2b68e56588e44d0e879d1af628f50270766755c232342e89566989dea9193b
7
- data.tar.gz: bf99598e81dc303d00bd3a8a3bafc8bcabb7fdb67e5bc3836b6b43f2760910435f725ea60afa0a67a10558765102fbd1d8cb08833e530947cae5a59eb6496526
6
+ metadata.gz: af7356613aad2ddd35dde15f06f8a1d605118db55152def62d67f7d2a8c579a045ad630c4e1372988cfed5cd861be44d95206d3b7ffd9e31355cebc566f0dd29
7
+ data.tar.gz: fae119db320556d7ddcf3512ac8cc6ccf1e366b74fe43c111da524447fe66732b801cd9f085642128de77b58fd16886ffee29307e580d0f65fccd2ab914e8265
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8
4
+
5
+ * Update rubocop from 0.93.1 to [1.0.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.0.0)
6
+ * Update rubocop from 0.92 to
7
+ [0.93](https://github.com/rubocop-hq/rubocop/releases/tag/v0.93) to
8
+ [0.93.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.93.1) enabling:
9
+ * [`Style/ClassEqualityComparison`](https://github.com/rubocop-hq/rubocop/pull/8833)
10
+ * Disable `Performance/Sum` because #208 and the lack of actual auto-correcting is also causing more trouble
11
+
3
12
  ## 0.7
4
13
 
5
14
  * Update rubocop from 0.91.1 to
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.7)
5
- rubocop (= 0.92)
4
+ standard (0.8)
5
+ rubocop (= 1.0.0)
6
6
  rubocop-performance (= 1.8.1)
7
7
 
8
8
  GEM
@@ -15,25 +15,25 @@ GEM
15
15
  method_source (1.0.0)
16
16
  minitest (5.14.2)
17
17
  parallel (1.19.2)
18
- parser (2.7.1.5)
18
+ parser (2.7.2.0)
19
19
  ast (~> 2.4.1)
20
20
  pry (0.13.1)
21
21
  coderay (~> 1.1)
22
22
  method_source (~> 1.0)
23
23
  rainbow (3.0.0)
24
24
  rake (13.0.1)
25
- regexp_parser (1.8.0)
25
+ regexp_parser (1.8.2)
26
26
  rexml (3.2.4)
27
- rubocop (0.92.0)
27
+ rubocop (1.0.0)
28
28
  parallel (~> 1.10)
29
29
  parser (>= 2.7.1.5)
30
30
  rainbow (>= 2.2.2, < 4.0)
31
- regexp_parser (>= 1.7)
31
+ regexp_parser (>= 1.8)
32
32
  rexml
33
- rubocop-ast (>= 0.5.0)
33
+ rubocop-ast (>= 0.6.0)
34
34
  ruby-progressbar (~> 1.7)
35
35
  unicode-display_width (>= 1.4.0, < 2.0)
36
- rubocop-ast (0.5.0)
36
+ rubocop-ast (1.0.0)
37
37
  parser (>= 2.7.1.5)
38
38
  rubocop-performance (1.8.1)
39
39
  rubocop (>= 0.87.0)
data/README.md CHANGED
@@ -384,6 +384,7 @@ Maybe! Start by searching the repository to see if there's an existing issue ope
384
384
  the tool you're interested in. That aside, here are other known integrations aside
385
385
  from editor plugins:
386
386
 
387
+ * [Code Climate](https://github.com/testdouble/standard/wiki/CI:-Code-Climate)
387
388
  * [Pronto](https://github.com/julianrubisch/pronto-standardrb)
388
389
  * [Spring](https://github.com/lakim/spring-commands-standard)
389
390
  * [Guard](https://github.com/JodyVanden/guard-standardrb)
@@ -701,10 +701,6 @@ Performance/StartWith:
701
701
  Performance/StringReplacement:
702
702
  Enabled: true
703
703
 
704
- Performance/Sum:
705
- Enabled: true
706
- AutoCorrect: true
707
-
708
704
  Performance/UnfreezeString:
709
705
  Enabled: true
710
706
 
@@ -793,6 +789,9 @@ Style/ClassCheck:
793
789
  Enabled: true
794
790
  EnforcedStyle: is_a?
795
791
 
792
+ Style/ClassEqualityComparison:
793
+ Enabled: true
794
+
796
795
  Style/ClassMethods:
797
796
  Enabled: true
798
797
 
@@ -2,7 +2,3 @@ inherit_from: ./base.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 2.4 # The oldest supported
5
-
6
- Performance:
7
- Sum:
8
- Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.7")
2
+ VERSION = Gem::Version.new("0.8")
3
3
  end
@@ -19,7 +19,7 @@ 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", "0.92"
22
+ spec.add_dependency "rubocop", "1.0.0"
23
23
  spec.add_dependency "rubocop-performance", "1.8.1"
24
24
 
25
25
  spec.add_development_dependency "bundler"
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: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-25 00:00:00.000000000 Z
11
+ date: 2020-10-21 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: '0.92'
19
+ version: 1.0.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: '0.92'
26
+ version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement