td_critic 0.6.0 → 0.7.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: 67ef5e1ba8d2ccbb4bd6a4003765a321fa08a398
4
- data.tar.gz: 9e591d52fa700946806aa18733e3c1a2ecfcb541
3
+ metadata.gz: 7b2e0c55ed3b7ff683478c98f5c66f01564a7314
4
+ data.tar.gz: 28417ca2e3522ec9b3bbd9b1b5c60e6ac6cecb7f
5
5
  SHA512:
6
- metadata.gz: a7d5f4b495cb11283c89150b5ac843044811bc100f874b960921bd63f8a0681d5efc33c98b5a8aed9e7c5fe302cf988fa289e9651032707595d10c35c343631b
7
- data.tar.gz: bcb0e3fb48f03bf5d68e2eaaeae28d797061ee8c5f75bb97aa7580dcb55eeae5f192630f823654acae856eab9f5cc82962786938e674c8f5cb7b77d0009908a3
6
+ metadata.gz: 9e1ec1157256d006b1f69e85ad232ef65c457d105a66d2ce262b6bb7ad0f381c8ea0cdf6eb8b3d753f036f94a3224f8441d595139e1738c6a9eef8bb1e5a518e
7
+ data.tar.gz: 7209dc6bc22186ece38ce6adc37ae05b586dc8b561db3c5371a4be2899e6e1e0c06b6adb95ea79a5b770e46ac1c5f952a432268e2a2a02b182ec58aac9ec8273
@@ -1,3 +1,8 @@
1
+ v0.7.0 / 2018-08-16
2
+ ===================
3
+
4
+ * Allow projects to select preferred version of rubocop
5
+
1
6
  v0.6.0 / 2017-06-20
2
7
  ===================
3
8
 
data/README.md CHANGED
@@ -21,6 +21,15 @@ Add this to your application's Gemfile:
21
21
  gem 'td_critic'
22
22
  ```
23
23
 
24
+ If you want to make sure that your project's build won't be broken accidentally by `rubocop` update, lock `rubocop` to certain version:
25
+
26
+ ```ruby
27
+ gem 'rubocop', '0.58.2'
28
+ gem 'rubocop-rspec', '1.28.0'
29
+ ```
30
+
31
+ That is important especially for GEMs, where `Gemfile.lock` isn't committed to the repository.
32
+
24
33
  ## Usage
25
34
 
26
35
  Add the following line to your rubocop config
@@ -1,3 +1,3 @@
1
1
  module TdCritic
2
- VERSION = '0.6.0'.freeze
2
+ VERSION = '0.7.0'.freeze
3
3
  end
@@ -1,6 +1,4 @@
1
- # coding: utf-8
2
-
3
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require 'td_critic/version'
6
4
 
@@ -21,8 +19,8 @@ Gem::Specification.new do |spec|
21
19
  spec.executables = []
22
20
  spec.require_paths = ['lib']
23
21
 
24
- spec.add_dependency 'rubocop', '~> 0.49.1'
25
- spec.add_dependency 'rubocop-rspec', '~> 1.15.1'
22
+ spec.add_dependency 'rubocop', '>= 0.49.1'
23
+ spec.add_dependency 'rubocop-rspec', '>= 1.15.1'
26
24
 
27
25
  spec.add_development_dependency 'bundler', '~> 1.10'
28
26
  spec.add_development_dependency 'rake', '~> 12.0'
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: td_critic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dash Boys
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-21 00:00:00.000000000 Z
11
+ date: 2018-08-16 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
19
  version: 0.49.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
26
  version: 0.49.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.15.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
40
  version: 1.15.1
41
41
  - !ruby/object:Gem::Dependency
@@ -76,8 +76,8 @@ files:
76
76
  - ".gitignore"
77
77
  - ".rubocop.yml"
78
78
  - ".travis.yml"
79
+ - CHANGELOG.md
79
80
  - Gemfile
80
- - History.md
81
81
  - LICENSE.txt
82
82
  - README.md
83
83
  - Rakefile