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 +4 -4
- data/{History.md → CHANGELOG.md} +5 -0
- data/README.md +9 -0
- data/lib/td_critic/version.rb +1 -1
- data/td_critic.gemspec +3 -5
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b2e0c55ed3b7ff683478c98f5c66f01564a7314
|
4
|
+
data.tar.gz: 28417ca2e3522ec9b3bbd9b1b5c60e6ac6cecb7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e1ec1157256d006b1f69e85ad232ef65c457d105a66d2ce262b6bb7ad0f381c8ea0cdf6eb8b3d753f036f94a3224f8441d595139e1738c6a9eef8bb1e5a518e
|
7
|
+
data.tar.gz: 7209dc6bc22186ece38ce6adc37ae05b586dc8b561db3c5371a4be2899e6e1e0c06b6adb95ea79a5b770e46ac1c5f952a432268e2a2a02b182ec58aac9ec8273
|
data/{History.md → CHANGELOG.md}
RENAMED
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
|
data/lib/td_critic/version.rb
CHANGED
data/td_critic.gemspec
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
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', '
|
25
|
-
spec.add_dependency 'rubocop-rspec', '
|
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.
|
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:
|
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
|