guard-foodcritic 1.1.1 → 2.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: 1cb0e5a3805b4005ed1d4502839aed8bc07cf36b
4
- data.tar.gz: 4e4ff8e066d9a5610c1c3b9417619baa7def9e27
3
+ metadata.gz: a5ba090d410a68b9560e508c75669b409b80b803
4
+ data.tar.gz: 4056d67e46503cb7f9d991c16bc7af86742b973f
5
5
  SHA512:
6
- metadata.gz: 19c38df6bfad61eb2ba631909c73e63c698ac98b405022c89cca8ef4deba6bf624595dd1e94af860ac76b0399638f91bed8bbafcffbd89c3c1b455ad95280827
7
- data.tar.gz: 9c2e30747a1a56409f26c5ba6a5a137b100bd26069f0ceb47a449ba379448e1fa5ba575b19aa2c879ae3d70be56c0fe1eb4eb6db5ad2b493f611b0a803c4ee2f
6
+ metadata.gz: 615e7a2b59f20f35d296b80d36826e15f328f6aa1a08f5bbd6f2c6bcc84c8d4c6885e5b96d33118ddb6b300dbca4a84a33a25160d1515dbed8a4664776bfb13e
7
+ data.tar.gz: 2b31dad8ffdc729e3f85a6ebf1de4f541aa2db67471215ddd029c35641c2a7a678bba8750f03d87cba8bdaae560c2ddb88b52e671ae3e2c3329d0d9134ab7518
data/.travis.yml CHANGED
@@ -1,11 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "1.9.3-p551"
4
- - "2.0.0-p598"
5
- - "2.1.6"
6
- - "2.2.2"
3
+ - "2.0.0-p647"
4
+ - "2.1.7"
5
+ - "2.2.3"
7
6
  install: bundle install --binstubs
8
7
  env: TRAVIS_BUILD=true
9
- matrix:
10
- allow_failures:
11
- - rvm: "1.9.3-p551"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Project History for guard-foodcritic
2
2
 
3
+ ## 2.0.0
4
+
5
+ * depend on foodcritic ~> 5.0
6
+ * remove support for ruby 1.9.3 (because foodcritic only works with Ruby 2.0.0+)
7
+
3
8
  ## 1.1.1
4
9
 
5
10
  * fix 0 for 1 error, patch from github/myappleguy
data/README.md CHANGED
@@ -12,13 +12,18 @@ Guard::Foodcritic automatically runs foodcritic.
12
12
 
13
13
  ## Installation
14
14
 
15
- Please be sure to have [Guard](https://github.com/guard/guard) installed before continuing.
15
+ guard-foodcritic depends on foodcritic v5.x, which only works with Ruby
16
+ v2.0.0 and higher. If you are still using Ruby v1.9.3, you should use
17
+ v1.1.1 of this gem. The current best practice for running foodcritic
18
+ against cookbooks is to use [ChefDK](https://downloads.chef.io/chef-dk/)
19
+ for cookbook development, which includes Ruby 2.x.x on all platforms.
16
20
 
17
21
  Install the gem:
18
22
 
19
23
  $ gem install guard-foodcritic
20
24
 
21
- Add the guard-foodcritic definition to your Guardfile by running this command:
25
+ Add the guard-foodcritic definition to your Guardfile by running this
26
+ command:
22
27
 
23
28
  $ guard init foodcritic
24
29
 
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
 
18
18
  gem.add_runtime_dependency 'guard', '~> 2.12'
19
19
  gem.add_dependency 'guard-compat', '~> 1.1'
20
- gem.add_runtime_dependency 'foodcritic', '~> 4.0'
20
+ gem.add_runtime_dependency 'foodcritic', '~> 5.0'
21
21
 
22
22
  gem.add_development_dependency 'rake', '~> 10.0'
23
23
  gem.add_development_dependency 'rspec', '~> 2.10'
@@ -1,3 +1,3 @@
1
1
  module Guard
2
- FOODCRITIC_VERSION = '1.1.1'
2
+ FOODCRITIC_VERSION = '2.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-foodcritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Griego
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-05 00:00:00.000000000 Z
12
+ date: 2015-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '4.0'
48
+ version: '5.0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '4.0'
55
+ version: '5.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement