rubocop-rspec-focused 0.1.0 → 1.0.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: 2b89542c8c8511884112810b0f23ce6df85267e5
4
- data.tar.gz: 43b94b14aad5b8557454b63dd1f8674d4793e9c3
3
+ metadata.gz: 9aa9129fb5411e1d5250c70e5b96c9c4df6058a7
4
+ data.tar.gz: 6a069e234690ddfdc104dc4cd0ab7d594ef50cae
5
5
  SHA512:
6
- metadata.gz: 49b97ab49781826e13321de2adb58d6c11e82d462eac434b844a7d0a81b02fdf44d45a6941032b5eac1273df6658ed6028de7fa510658aba7a5d7175cece3972
7
- data.tar.gz: 1b79c2948a1c07f5716a90a9814b90a755d83cae987d2cde16fb1d1a6a1a6ed9b14d9e1eed829707936c65aade4c971a338b72f6b38fa9c982a405d0dd298bef
6
+ metadata.gz: 6b27d356379350d5ee0ecde97dcc859ad186b947e22c55e96741a32de9e8874b98d4841f46d398ab0d427c86bf7074f573bee70e693de5e8afd73b62f94aeb90
7
+ data.tar.gz: c1427d3e716447acf57a14d9bbfd96da29adbd4e64447ebe60d2bd20f9805386c60541d701ff45f1aba798cfca06081fc565cb3ac9930f0a9e01355e5de24336
@@ -1,8 +1,10 @@
1
1
  rvm:
2
- - 2.0.0
3
- - 2.1.0
4
- - 2.2.0
5
- - rbx-2
2
+ - jruby-9.1.14.0
3
+ - jruby-head
4
+ - 2.1.10
5
+ - 2.2.8
6
+ - 2.3.5
7
+ - 2.4.2
6
8
  - ruby-head
7
9
 
8
10
  cache: bundler
@@ -1,5 +1,12 @@
1
1
  ## master (unreleased)
2
2
 
3
+ ## 1.0.0
4
+
5
+ * Drop support for Ruby 2.0.
6
+ * Drop support for Rubinius.
7
+ * Add support for Ruby 2.3 and 2.4.
8
+ * Add support for JRuby.
9
+
3
10
  ## 0.1.0
4
11
 
5
12
  * Add autocorrect except for focus.
data/README.md CHANGED
@@ -67,7 +67,7 @@ And add this to your `.rubocop.yml`:
67
67
  require:
68
68
  - rubocop/rspec/focused
69
69
 
70
- Rspec/Focused:
70
+ RSpec/Focused:
71
71
  Enabled: true
72
72
  ```
73
73
 
@@ -31,7 +31,7 @@ module RuboCop
31
31
  _receiver, method_name, _object, *metadata = *method
32
32
 
33
33
  if FOCUSED_METHODS.include?(method_name) || focus_set_to_true?(metadata)
34
- add_offense(node, :expression, MESSAGE)
34
+ add_offense(node, location: :expression, message: MESSAGE)
35
35
  end
36
36
  end
37
37
 
@@ -1,7 +1,7 @@
1
1
  module RuboCop
2
2
  module RSpec
3
3
  module Focused
4
- VERSION = '0.1.0'
4
+ VERSION = '1.0.0'
5
5
  end
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "rubocop", ">= 0.37"
21
+ spec.add_runtime_dependency "rubocop", ">= 0.51"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rspec-focused
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Love With Food, Hendy Tanata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2017-11-27 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.37'
19
+ version: '0.51'
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.37'
26
+ version: '0.51'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.4.8
111
+ rubygems_version: 2.6.13
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: RuboCop extension to find focused specs