standard 0.6.1 → 0.6.2

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: 9654797002b2853c22fb85ce8f30747664f186564b5903e187e9d8b9d443a31e
4
- data.tar.gz: 4f864cebb45664f60b3938d30d17f4ac7f0a04c06e54ebf327a04a4840b8d8e2
3
+ metadata.gz: 15ed22fe01a211ccfbe8bf7861eace8d51dcda8a31b5eb9ad5d1b92022d9666c
4
+ data.tar.gz: 4a4baa10c02e9877bf0a949d9e2c8aca8453d8d09ec78ee9879d6aa61abee6ce
5
5
  SHA512:
6
- metadata.gz: 2d003fc55ed2bcc71dc36a71f002c72955c04eac552b3d16f4fb839a948b3bb28f65e3dd11018efb3bbb82a83cce35c4c8c8731413ea8d5161fe809cc9ea5ec4
7
- data.tar.gz: ec117bb9cb8fe46ef3728c870b9171d4c9d48b847b8fe75e26a52f5c957e7f87437636ceef9ccdacbbb9149e77320c261f0ba66c279deee25246895af34465aa
6
+ metadata.gz: 79338dde1ea560a30e3667391e63cd7804807ee8616c4d33d84400809fec35e3b35abd9275d05d61285ce93bf491a006c987e753ac814f752041f5a1fac75e8f
7
+ data.tar.gz: 9ed1dde0608ea7a37d9a98bfcac9ecf4f4dcc5bd16f6a9ed647837884db82d051d0b7adf0d8b4edf1f79451812e9831f06527bac18fe560356caed74d462a859
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2
4
+
5
+ * Update rubocop from 0.91 to
6
+ [0.91.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.91.1)
7
+ * Update rubocop-performance from 1.8.0 to 1.8.1:
8
+ * Enable `Performance/Sum`
9
+
3
10
  ## 0.6.1
4
11
 
5
12
  * Update Rubocop from
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.6.1)
5
- rubocop (~> 0.90)
6
- rubocop-performance (~> 1.8.0)
4
+ standard (0.6.2)
5
+ rubocop (= 0.91.1)
6
+ rubocop-performance (= 1.8.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -22,9 +22,9 @@ GEM
22
22
  method_source (~> 1.0)
23
23
  rainbow (3.0.0)
24
24
  rake (13.0.1)
25
- regexp_parser (1.7.1)
25
+ regexp_parser (1.8.0)
26
26
  rexml (3.2.4)
27
- rubocop (0.91.0)
27
+ rubocop (0.91.1)
28
28
  parallel (~> 1.10)
29
29
  parser (>= 2.7.1.1)
30
30
  rainbow (>= 2.2.2, < 4.0)
@@ -33,10 +33,11 @@ GEM
33
33
  rubocop-ast (>= 0.4.0, < 1.0)
34
34
  ruby-progressbar (~> 1.7)
35
35
  unicode-display_width (>= 1.4.0, < 2.0)
36
- rubocop-ast (0.4.1)
36
+ rubocop-ast (0.4.2)
37
37
  parser (>= 2.7.1.4)
38
- rubocop-performance (1.8.0)
38
+ rubocop-performance (1.8.1)
39
39
  rubocop (>= 0.87.0)
40
+ rubocop-ast (>= 0.4.0)
40
41
  ruby-progressbar (1.10.1)
41
42
  simplecov (0.19.0)
42
43
  docile (~> 1.1)
data/README.md CHANGED
@@ -100,7 +100,7 @@ When you run Standard in the future it will ignore these files as if they lived
100
100
  `ignore` section in the `.standard.yml` file.
101
101
 
102
102
  As you refactor your existing project you can remove files from the list. You can
103
- also regenerate the todo file at anytime by re-running the above command.
103
+ also regenerate the todo file at any time by re-running the above command.
104
104
 
105
105
  ### Using with Rake
106
106
 
@@ -702,7 +702,8 @@ Performance/StringReplacement:
702
702
  Enabled: true
703
703
 
704
704
  Performance/Sum:
705
- Enabled: false
705
+ Enabled: true
706
+ AutoCorrect: true
706
707
 
707
708
  Performance/UnfreezeString:
708
709
  Enabled: true
@@ -22,18 +22,21 @@ really the only one we'll need for releasing the gem to
22
22
  ## Release steps
23
23
 
24
24
  1. Make sure git is up to date and `bundle exec rake` exits cleanly
25
- 2. Bump the appropriate version segment in `lib/standard/version.rb` (basic
25
+ 2. If you upgraded a Rubocop dependency, be sure to lock it down in
26
+ `standard.gemspec`. Until Rubocop hits 1.0, we're going to stick to exact
27
+ release dependencies (e.g. "0.91.0" instead of "~> 0.91")
28
+ 3. Bump the appropriate version segment in `lib/standard/version.rb` (basic
26
29
  semantic versioning rules apply; if the release updates Rubocop, follow its
27
30
  version bump at a minimum—if rubocop saw minor bump, we'll also bump the
28
31
  minor version)
29
- 3. Run `bundle` so that Bundler writes this version to `Gemfile.lock`
30
- 4. Update `CHANGELOG.md` as exhaustively as you are able and set the top header
32
+ 4. Run `bundle` so that Bundler writes this version to `Gemfile.lock`
33
+ 5. Update `CHANGELOG.md` as exhaustively as you are able and set the top header
31
34
  to that of the new version
32
- 5. Commit `lib/standard/version.rb`, `Gemfile.lock`, and `CHANGELOG.md` together
35
+ 6. Commit `lib/standard/version.rb`, `Gemfile.lock`, and `CHANGELOG.md` together
33
36
  with the message equal to the new version (e.g. "0.42.1")
34
- 6. Finally, run `bundle exec rake release`, which will hopefully succeed
35
- 7. Provide your multi-factor-auth token when prompted to finish publishing the
37
+ 7. Finally, run `bundle exec rake release`, which will hopefully succeed
38
+ 8. Provide your multi-factor-auth token when prompted to finish publishing the
36
39
  gem
37
- 8. [Tweet](https://twitter.com) about your awesome new release! (Shameless
40
+ 9. [Tweet](https://twitter.com) about your awesome new release! (Shameless
38
41
  self-promotion is the most important part of open source software)
39
42
 
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.6.1")
2
+ VERSION = Gem::Version.new("0.6.2")
3
3
  end
@@ -19,8 +19,8 @@ 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.90"
23
- spec.add_dependency "rubocop-performance", "~> 1.8.0"
22
+ spec.add_dependency "rubocop", "0.91.1"
23
+ spec.add_dependency "rubocop-performance", "1.8.1"
24
24
 
25
25
  spec.add_development_dependency "bundler"
26
26
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.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: 2020-09-17 00:00:00.000000000 Z
11
+ date: 2020-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '0.90'
19
+ version: 0.91.1
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.90'
26
+ version: 0.91.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.8.0
33
+ version: 1.8.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.8.0
40
+ version: 1.8.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement