rubocop-rspec 0.18.0 → 0.18.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: a956a385f2d16f7a664858a7f1e4e4f8dc648417
4
- data.tar.gz: 5f4ebfe26adc3aa876909ec1981c4267f6169ec3
3
+ metadata.gz: 3c8a34ad0b9b0eeb621b444a9ea0ca5108fe7bbd
4
+ data.tar.gz: eae429b50571f8ae18345d3ce6bf647158bc13bc
5
5
  SHA512:
6
- metadata.gz: dd443a4e1207a9b1d33497c24346a5a24d6a6ee4c0749071a1eecf1c5d738fb7a8bd1527afa610b5d238144cfed7fc70a4f800c0272682c8f37bdbbb654e7349
7
- data.tar.gz: d46a321e6a820a41dc1dda8fd8ea0e92fa93317162c880a44604b846a3298ee54381861391424f739bd65cfd7fa8f0c5489ef9ee27b230bf0e77fb1e9015e451
6
+ metadata.gz: a1df19a332dde5e17d88cc1ce1829248d937a19d548c56a38f48f700f65346a927b6f6182b6e2adb194706b69895594b0937bb2b76de17f7a3f8ba85c219accc
7
+ data.tar.gz: 90aa18dabf7f24951b73ff0deaa1d06f99448eed62f563c342b389d7dc4e65bb50a46cc669bc05a1da582fef5842c35eb84e2c69468cd55dbb58bab189638b15
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-rspec (0.18.0)
4
+ rubocop-rspec (0.18.1)
5
5
  rubocop (~> 0.18)
6
6
 
7
7
  GEM
@@ -126,7 +126,7 @@ module Rubocop
126
126
  def camel_to_underscore(string)
127
127
  string.dup.tap do |result|
128
128
  result.gsub!(/([^A-Z])([A-Z]+)/, '\\1_\\2')
129
- result.gsub!(/([A-Z]+)([A-Z][^A-Z]+)/, '\\1_\\2')
129
+ result.gsub!(/([A-Z]{2,})([A-Z][^A-Z]+)/, '\\1_\\2')
130
130
  result.downcase!
131
131
  end
132
132
  end
@@ -4,7 +4,7 @@ module Rubocop
4
4
  module RSpec
5
5
  # Version information for the RSpec RuboCop plugin.
6
6
  module Version
7
- STRING = '0.18.0'
7
+ STRING = '0.18.1'
8
8
  end
9
9
  end
10
10
  end
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian MacLeod
@@ -70,6 +70,8 @@ files:
70
70
  - MIT-LICENSE.md
71
71
  - pkg/rubocop-rspec-0.1.0.gem
72
72
  - pkg/rubocop-rspec-0.17.0.gem
73
+ - pkg/rubocop-rspec-0.18.0.gem
74
+ - pkg/rubocop-rspec-0.18.1.gem
73
75
  - Rakefile
74
76
  - README.md
75
77
  - rubocop-rspec.gemspec