rubocop-rspec 1.0.rc3 → 1.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
  SHA1:
3
- metadata.gz: bed7dbb7d971920ade6ba9925fbb552b01e79d44
4
- data.tar.gz: 377e58808853d26bb9a0abdc5a8ceb0e7d613ca0
3
+ metadata.gz: 9d776ff7d0d4657397fc51beb4cee134e72a59e0
4
+ data.tar.gz: 9a2759e9c478b34665d722d63fd4dafafe3bcd8c
5
5
  SHA512:
6
- metadata.gz: 281eb6abf3b67f2be3bf7ca2ce5f78ed088efec528a91d0a3d404fd7574eea928ada8425d56bf52617ab66af235122762c0fcbbe4c08f039edbbd9b65aee3f16
7
- data.tar.gz: fbcc740631f20a639309ac9b96fa060b1d801ff59d117033e16d0a2a2b9e2e51619e53fbeabbea647aa7efeb4b43953ea704495c26ffd6d42d0882766ccfddea
6
+ metadata.gz: 3e6016100dc5691f1e1674209dfac53f3519872aaa7cdea7906644fd724b39f185880fdf3988404116222862921c8fcf7d8a49961b5130fdaa957e793a7f2f0a
7
+ data.tar.gz: 50a63df1eba01507fa966f6c3ccd63eae720e31abb232b93f29de3d50002d6b57d0102b621eefae3750063820f2b5002748367d568d7d427984e79aae6348daa
data/Gemfile CHANGED
@@ -2,34 +2,12 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- # No gem would be complete without rake tasks.
6
- gem 'rake', '~> 10.1'
7
-
8
5
  group :test do
9
- # Our preferred unit testing library.
10
- gem 'rspec', '~> 2.14'
11
-
12
- # Cover all the things.
13
- gem 'simplecov', '~> 0.8'
14
-
15
- # Code coverage in badge form.
16
- gem 'coveralls', '~> 0.7'
6
+ gem 'coveralls', require: false
17
7
  end
18
8
 
19
- group :debugging do
20
- # Don't leave home without a debugger!
21
- gem 'debugger', '~> 1.6', :platforms => :mri
22
- end
23
-
24
- # Rubinius doesn't bundle up everything in the regular standard library; get the
25
- # heaver things we rely on.
26
- group :rubinius do
27
- # Fill in the standard library.
28
- gem 'rubysl', '~> 2.0', platform: :rbx
29
-
30
- # Coverage and friends.
31
- gem 'rubinius-developer_tools', '~> 2.0', platform: :rbx
9
+ local_gemfile = 'Gemfile.local'
32
10
 
33
- # Ruby parser/generator.
34
- gem 'racc', '~> 1.4', platform: :rbx
11
+ if File.exist?(local_gemfile)
12
+ eval(File.read(local_gemfile)) # rubocop:disable Lint/Eval
35
13
  end
data/README.md CHANGED
@@ -38,7 +38,7 @@ Put this into you `.rubocop.yml`.
38
38
  require: rubocop-rspec
39
39
  ```
40
40
 
41
- Now you can run `rubocop` and it will autmaticly load the RuboCop RSpec
41
+ Now you can run `rubocop` and it will automaticly load the RuboCop RSpec
42
42
  cops together with the standard cops.
43
43
 
44
44
  ### Command line
@@ -68,7 +68,7 @@ cop. For example:
68
68
  ```yaml
69
69
  RSpec/FileName:
70
70
  Exclude:
71
- - spec/my_poorly_named_spec_file.rb
71
+ - spec/my_poorly_named_spec_file.rb
72
72
  ```
73
73
 
74
74
 
@@ -53,7 +53,7 @@ module RuboCop
53
53
  def camel_to_underscore(string)
54
54
  string.dup.tap do |result|
55
55
  result.gsub!(/([^A-Z])([A-Z]+)/, '\\1_\\2')
56
- result.gsub!(/([A-Z]{2,})([A-Z][^A-Z]+)/, '\\1_\\2')
56
+ result.gsub!(/([A-Z])([A-Z][^A-Z]+)/, '\\1_\\2')
57
57
  result.downcase!
58
58
  end
59
59
  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 = '1.0.rc3'
7
+ STRING = '1.0'
8
8
  end
9
9
  end
10
10
  end
@@ -30,5 +30,8 @@ Gem::Specification.new do |spec|
30
30
  spec.test_files = spec.files.grep(/^spec\//)
31
31
  spec.extra_rdoc_files = ['MIT-LICENSE.md', 'README.md']
32
32
 
33
- spec.add_runtime_dependency('rubocop', '~> 0.23', '>= 0.23')
33
+ spec.add_runtime_dependency('rubocop', '~> 0.23')
34
+ spec.add_development_dependency('rake', '~> 10.1')
35
+ spec.add_development_dependency('rspec', '~> 3.0')
36
+ spec.add_development_dependency('simplecov', '~> 0.8')
34
37
  end
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: 1.0.rc3
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian MacLeod
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-12 00:00:00.000000000 Z
12
+ date: 2014-06-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -18,9 +18,6 @@ dependencies:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0.23'
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: '0.23'
24
21
  type: :runtime
25
22
  prerelease: false
26
23
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,9 +25,48 @@ dependencies:
28
25
  - - "~>"
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0.23'
31
- - - ">="
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
32
33
  - !ruby/object:Gem::Version
33
- version: '0.23'
34
+ version: '10.1'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '10.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: simplecov
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '0.8'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.8'
34
70
  description: |2
35
71
  Code style checking for RSpec files.
36
72
  A plugin for the RuboCop code style enforcing & linting tool.
@@ -84,9 +120,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
120
  version: 1.9.2
85
121
  required_rubygems_version: !ruby/object:Gem::Requirement
86
122
  requirements:
87
- - - ">"
123
+ - - ">="
88
124
  - !ruby/object:Gem::Version
89
- version: 1.3.1
125
+ version: '0'
90
126
  requirements: []
91
127
  rubyforge_project:
92
128
  rubygems_version: 2.2.0