fasterer 0.5.0 → 0.5.1

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
  SHA1:
3
- metadata.gz: dad76ac74cc33d9e1f82e23005cef6f1bd60532e
4
- data.tar.gz: ff12c05326d55e9e10b4c07f09bc9206e4994a11
3
+ metadata.gz: 510f476efb3c57b632222e209d478422d735fc5f
4
+ data.tar.gz: a5ff22f0124e7d086c2ba7fd1f582d6da920f790
5
5
  SHA512:
6
- metadata.gz: c54c879d1264f00f6a783ddf42f0bd973c2fac6bfd7cea52857659215ea0fc7cd5f7937e683a6e8ef8f9bb3e99ae81b75d081d3c2a3c4fed588ce5a6f997e0ae
7
- data.tar.gz: 5e0c03c6cbb14319cd8c3e1f1971cbe94962c3e97e5d2b522f639c875d424f9f602586d05bfa89537bcc02c359fd62690277b51021dffede35841244fa9dc1b5
6
+ metadata.gz: 640c39ea78eb3ffddb788f78a62eac73266625cba0e0445c08849298c64d2060a603af94eec14608c885f07bb46489435a50ff103b1216b7735a403be758fbc7
7
+ data.tar.gz: b18f8ff9b5446321cd4899a87d6b9b22ae1ae06ba93d37c24f2bf719eb1e9b98e8d3a495c6583e430a088ba8771f804977ee3168a6e37ad9ad2459f17eb2dc26
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1
4
+
5
+ - Upgrade to ruby_parser 3.13.0 that fully supports Ruby 2.6
6
+
3
7
  ## 0.5.0
4
8
 
5
9
  - New style of outputting offenses: `spec/support/output/sample_code.rb:1 For loop is slower than using each.`
data/README.md CHANGED
@@ -30,20 +30,17 @@ fasterer
30
30
  ## Example output
31
31
 
32
32
  ```
33
- app/models/post.rb
34
- Array#select.first is slower than Array#detect. Occurred at lines: 57, 61.
33
+ app/models/post.rb:57 Array#select.first is slower than Array#detect.
34
+ app/models/post.rb:61 Array#select.first is slower than Array#detect.
35
35
 
36
- db/seeds/cities.rb
37
- Hash#keys.each is slower than Hash#each_key. Occurred at lines: 15, 33.
36
+ db/seeds/cities.rb:15 Hash#keys.each is slower than Hash#each_key.
37
+ db/seeds/cities.rb:33 Hash#keys.each is slower than Hash#each_key.
38
38
 
39
- test/options_test.rb
40
- Hash#merge! with one argument is slower than Hash#[]. Occurred at lines: 84.
39
+ test/options_test.rb:84 Hash#merge! with one argument is slower than Hash#[].
41
40
 
42
- test/module_test.rb
43
- Don't rescue NoMethodError, rather check with respond_to?. Occurred at lines: 272.
41
+ test/module_test.rb:272 Don't rescue NoMethodError, rather check with respond_to?.
44
42
 
45
- spec/cache/mem_cache_store_spec.rb
46
- Use tr instead of gsub when grepping plain strings. Occurred at lines: 161.
43
+ spec/cache/mem_cache_store_spec.rb:161 Use tr instead of gsub when grepping plain strings.
47
44
  ```
48
45
  ## Configuration
49
46
 
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_dependency 'colorize', '~> 0.7'
22
- spec.add_dependency 'ruby_parser', '>= 3.12.0'
22
+ spec.add_dependency 'ruby_parser', '>= 3.13.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '>= 1.6'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,3 +1,3 @@
1
1
  module Fasterer
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fasterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damir Svrtan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-11 00:00:00.000000000 Z
11
+ date: 2019-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 3.12.0
33
+ version: 3.13.0
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: 3.12.0
40
+ version: 3.13.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement