guard-foodcritic 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format nested
data/.rvmrc ADDED
@@ -0,0 +1,52 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
+ # development environment upon cd'ing into the directory
5
+
6
+ # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
+ # Only full ruby name is supported here, for short names use:
8
+ # echo "rvm use 1.9.3" > .rvmrc
9
+ environment_id="ruby-1.9.3@guard-foodcritic"
10
+
11
+ # Uncomment the following lines if you want to verify rvm version per project
12
+ # rvmrc_rvm_version="1.12.2 (stable)" # 1.10.1 seams as a safe start
13
+ # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
+ # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
+ # return 1
16
+ # }
17
+
18
+ # First we attempt to load the desired environment directly from the environment
19
+ # file. This is very fast and efficient compared to running through the entire
20
+ # CLI and selector. If you want feedback on which environment was used then
21
+ # insert the word 'use' after --create as this triggers verbose mode.
22
+ if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
+ then
25
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
+ [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
27
+ \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
28
+ if [[ $- == *i* ]] # check for interactive shells
29
+ then echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green
30
+ else echo "Using: $GEM_HOME" # don't use colors in non-interactive shells
31
+ fi
32
+ else
33
+ # If the environment file has not yet been created, use the RVM CLI to select.
34
+ rvm --create use "$environment_id" || {
35
+ echo "Failed to create RVM environment '${environment_id}'."
36
+ return 1
37
+ }
38
+ fi
39
+
40
+ # If you use bundler, this might be useful to you:
41
+ # if [[ -s Gemfile ]] && {
42
+ # ! builtin command -v bundle >/dev/null ||
43
+ # builtin command -v bundle | grep $rvm_path/bin/bundle >/dev/null
44
+ # }
45
+ # then
46
+ # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
47
+ # gem install bundler
48
+ # fi
49
+ # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
50
+ # then
51
+ # bundle install | grep -vE '^Using|Your bundle is complete'
52
+ # fi
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ bundler_args: --without development
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :development_group => :test
4
+
5
+ group :development do
6
+ gem "growl"
7
+ gem "guard-bundler"
8
+ gem "guard-rspec"
9
+ gem "rb-fsevent"
10
+ gem "travis-lint"
11
+ end
data/Guardfile ADDED
@@ -0,0 +1,11 @@
1
+ guard "bundler" do
2
+ watch("Gemfile")
3
+ watch(/^.+\.gemspec/)
4
+ end
5
+
6
+ guard "rspec", :version => 2, :cli=> "--format nested" do
7
+ watch(%r{^spec/.+_spec\.rb$})
8
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
9
+ watch("spec/spec_helper.rb") { "spec" }
10
+ watch(%r{^spec/support/(.+)\.rb$}) { |m| "spec" }
11
+ end
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Chris Griego
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # Guard::Foodcritic
2
+
3
+ [![Build History][2]][1] [![Dependency Status][4]][3]
4
+
5
+ Guard::Foodcritic automatically runs foodcritic.
6
+
7
+ [1]: http://travis-ci.org/cgriego/guard-foodcritic
8
+ [2]: https://secure.travis-ci.org/cgriego/guard-foodcritic.png?branch=master
9
+ [3]: https://gemnasium.com/cgriego/guard-foodcritic
10
+ [4]: https://gemnasium.com/cgriego/guard-foodcritic.png
11
+
12
+ ## Installation
13
+
14
+ Please be sure to have [Guard](https://github.com/guard/guard) installed before continuing.
15
+
16
+ Install the gem:
17
+
18
+ $ gem install guard-foodcritic
19
+
20
+ Add the guard-foodcritic definition to your Guardfile by running this command:
21
+
22
+ $ guard init foodcritic
23
+
24
+ ## Options
25
+
26
+ ```ruby
27
+ :all_on_start => false # Whether to run Foodcritic on all cookbooks at startup
28
+ # default: true
29
+
30
+ :cli => "--epic-fail any" # Command line arguments passed to foodcritic
31
+ # default: "--epic-fail any"
32
+
33
+ :cookbook_paths => "." # The path(s) to your cookbooks
34
+ # default: ["cookbooks"]
35
+
36
+ :notification => false # Whether to display notifications after the lint is done running
37
+ # default: true
38
+ ```
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+ require "rspec/core/rake_task"
4
+
5
+ task :default => :spec
6
+
7
+ RSpec::Core::RakeTask.new
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/guard/foodcritic/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Chris Griego"]
6
+ gem.email = ["cgriego@gmail.com"]
7
+ gem.description = %q{Guard::Foodcritic automatically runs foodcritic.}
8
+ gem.summary = %q{Guard::Foodcritic automatically runs foodcritic.}
9
+ gem.homepage = "https://github.com/cgriego/guard-foodcritic"
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "guard-foodcritic"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = Guard::FOODCRITIC_VERSION
17
+
18
+ gem.add_runtime_dependency "guard", "~> 1.0"
19
+ gem.add_runtime_dependency "foodcritic", "~> 1.3"
20
+
21
+ gem.add_development_dependency "bundler", "~> 1.0"
22
+ gem.add_development_dependency "rake", "~> 0.9.0"
23
+ gem.add_development_dependency "rspec", "~> 2.10"
24
+ end
@@ -0,0 +1,23 @@
1
+ require "guard/foodcritic"
2
+
3
+ module Guard
4
+ class Foodcritic
5
+ class Runner
6
+ attr_reader :options
7
+
8
+ def initialize(options={})
9
+ @options = {
10
+ :cli => "--epic-fail any",
11
+ }.merge(options)
12
+ end
13
+
14
+ def command(paths)
15
+ ["foodcritic", @options[:cli], paths].flatten(1).join(' ')
16
+ end
17
+
18
+ def run(paths)
19
+ system command(paths)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,6 @@
1
+ guard "foodcritic" do
2
+ watch(%r{attributes/.+\.rb$})
3
+ watch(%r{providers/.+\.rb$})
4
+ watch(%r{recipes/.+\.rb$})
5
+ watch(%r{resources/.+\.rb$})
6
+ end
@@ -0,0 +1,3 @@
1
+ module Guard
2
+ FOODCRITIC_VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,67 @@
1
+ require "guard"
2
+ require "guard/guard"
3
+
4
+ module Guard
5
+ class Foodcritic < Guard
6
+ autoload :Runner, "guard/foodcritic/runner"
7
+
8
+ def initialize(watchers=[], options={})
9
+ super
10
+
11
+ @options = {
12
+ :all_on_start => true,
13
+ :cookbook_paths => ["cookbooks"],
14
+ :notification => true,
15
+ }.merge(@options)
16
+ end
17
+
18
+ def runner
19
+ @runner ||= Runner.new(@options)
20
+ end
21
+
22
+ def start
23
+ run_all if @options[:all_on_start]
24
+ end
25
+
26
+ def run_all
27
+ UI.info "Linting all cookbooks"
28
+ run! @options[:cookbook_paths]
29
+ end
30
+
31
+ def run_on_additions(paths)
32
+ run_paths paths
33
+ end
34
+
35
+ def run_on_change(paths)
36
+ run_paths paths
37
+ end
38
+
39
+ def run_on_modifications(paths)
40
+ run_paths paths
41
+ end
42
+
43
+ def respond_to?(method_name, include_private=false)
44
+ if %w(run_on_deletion run_on_change).include? method_name.to_s
45
+ false
46
+ else
47
+ super
48
+ end
49
+ end
50
+
51
+ private
52
+
53
+ def run_paths(paths)
54
+ UI.info "Linting: #{paths.join(' ')}"
55
+ run! paths
56
+ end
57
+
58
+ def run!(paths)
59
+ if runner.run(paths)
60
+ Notifier.notify "Foodcritic passed", :image => :success if @options[:notification]
61
+ else
62
+ Notifier.notify "Foodcritic failed", :image => :failed if @options[:notification]
63
+ throw :task_has_failed
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,57 @@
1
+ require "spec_helper"
2
+ require "guard/foodcritic/runner"
3
+
4
+ module Guard
5
+ describe Foodcritic::Runner do
6
+ describe "#options" do
7
+ it "remembers the initialized options" do
8
+ options = { :foo => "bar" }
9
+ described_class.new(options).options.should include options
10
+ end
11
+
12
+ it "[:cli] defaults to '--epic-fail any'" do
13
+ described_class.new.options[:cli].should == "--epic-fail any"
14
+ end
15
+ end
16
+
17
+ describe "#command" do
18
+ let(:runner) { described_class.new }
19
+ let(:paths) { %w(recipes/default.rb attributes/default.rb) }
20
+ subject { runner.command(paths) }
21
+
22
+ it "calls the foodcritic executable" do
23
+ should start_with "foodcritic"
24
+ end
25
+
26
+ it "passes the given paths to the foodcritic executable" do
27
+ should end_with paths.join(" ")
28
+ end
29
+
30
+ it "includes the cli option" do
31
+ should include runner.options[:cli]
32
+ end
33
+ end
34
+
35
+ describe "#run" do
36
+ let(:runner) { described_class.new }
37
+ let(:command) { mock "command" }
38
+ before { runner.stub(:command).and_return(command) }
39
+
40
+ it "generates the command with the given paths and runs it" do
41
+ paths = %w(recipes/default.rb attributes/default.rb)
42
+ runner.should_receive(:system).with(command)
43
+ runner.run(paths)
44
+ end
45
+
46
+ it "returns true when foodcritic suceeds" do
47
+ runner.stub(:system).and_return(true)
48
+ runner.run([]).should be_true
49
+ end
50
+
51
+ it "returns false when foodcritic finds fault" do
52
+ runner.stub(:system).and_return(false)
53
+ runner.run([]).should be_false
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,165 @@
1
+ require "spec_helper"
2
+ require "guard/foodcritic"
3
+
4
+ module Guard
5
+ describe Foodcritic do
6
+ before { Notifier.stub(:notify) }
7
+
8
+ it { should be_a_kind_of ::Guard::Guard }
9
+
10
+ describe "#options" do
11
+ it "[:all_on_start] defaults to true" do
12
+ described_class.new.options[:all_on_start].should be_true
13
+ end
14
+
15
+ it "[:cookbook_paths] defaults to ['cookbooks']" do
16
+ described_class.new.options[:cookbook_paths].should == ["cookbooks"]
17
+ end
18
+
19
+ it "[:notification] defaults to true" do
20
+ described_class.new.options[:notification].should be_true
21
+ end
22
+ end
23
+
24
+ shared_examples "handles runner results" do
25
+ context "the runner fails" do
26
+ before { runner.stub(:run).and_return(false) }
27
+ it { expect { subject }.to throw_symbol :task_has_failed }
28
+
29
+ context "notifications are enabled" do
30
+ let(:notification) { true }
31
+
32
+ it "notifies the user of the failure" do
33
+ Notifier.should_receive(:notify).with("Foodcritic failed", :image => :failed)
34
+ catch(:task_has_failed) { subject }
35
+ end
36
+ end
37
+
38
+ context "notifications are disabled" do
39
+ let(:notification) { false }
40
+
41
+ it "does not notify the user of the failure" do
42
+ Notifier.should_not_receive(:notify)
43
+ catch(:task_has_failed) { subject }
44
+ end
45
+ end
46
+ end
47
+
48
+ context "the runner succeeds" do
49
+ before { runner.stub(:run).and_return(true) }
50
+ it { expect { subject }.not_to throw_symbol :task_has_failed }
51
+
52
+ context "notifications are enabled" do
53
+ let(:notification) { true }
54
+
55
+ it "notifies the user of the success" do
56
+ Notifier.should_receive(:notify).with("Foodcritic passed", :image => :success)
57
+ subject
58
+ end
59
+ end
60
+
61
+ context "notifications are disabled" do
62
+ let(:notification) { false }
63
+
64
+ it "does not notify the user of the success" do
65
+ Notifier.should_not_receive(:notify)
66
+ subject
67
+ end
68
+ end
69
+ end
70
+ end
71
+
72
+ describe "#run_all" do
73
+ subject { guard.run_all }
74
+ let(:guard) { described_class.new [], :cookbook_paths => %w(cookbooks site-cookbooks), :notification => notification }
75
+ let(:notification) { false }
76
+ let(:runner) { mock "runner", :run => true }
77
+ before { guard.stub(:runner).and_return(runner) }
78
+
79
+ it "runs the runner with the cookbook paths" do
80
+ runner.should_receive(:run).with(guard.options[:cookbook_paths]).and_return(true)
81
+ subject
82
+ end
83
+
84
+ it "informs the user" do
85
+ UI.should_receive(:info).with("Linting all cookbooks")
86
+ subject
87
+ end
88
+
89
+ include_examples "handles runner results"
90
+ end
91
+
92
+ shared_examples "lints specified cookbook files" do
93
+ let(:guard) { described_class.new([], :notification => notification) }
94
+ let(:notification) { false }
95
+ let(:paths) { %w(recipes/default.rb attributes/default.rb) }
96
+ let(:runner) { mock "runner", :run => true }
97
+ before { guard.stub(:runner).and_return(runner) }
98
+
99
+ it "runs the runner with the changed paths" do
100
+ runner.should_receive(:run).with(paths).and_return(true)
101
+ subject
102
+ end
103
+
104
+ it "informs the user" do
105
+ UI.should_receive(:info).with("Linting: recipes/default.rb attributes/default.rb")
106
+ subject
107
+ end
108
+
109
+ include_examples "handles runner results"
110
+ end
111
+
112
+ describe "#run_on_additions" do
113
+ subject { guard.run_on_additions(paths) }
114
+ include_examples "lints specified cookbook files"
115
+ end
116
+
117
+ describe "#run_on_change" do
118
+ subject { guard.run_on_change(paths) }
119
+ include_examples "lints specified cookbook files"
120
+ end
121
+
122
+ describe "#run_on_modifications" do
123
+ subject { guard.run_on_modifications(paths) }
124
+ include_examples "lints specified cookbook files"
125
+ end
126
+
127
+ describe "#runner" do
128
+ it "returns a Runner" do
129
+ described_class.new.runner.should be_a_kind_of Foodcritic::Runner
130
+ end
131
+
132
+ it "memoizes the runner" do
133
+ guard = described_class.new
134
+ guard.runner.should equal guard.runner
135
+ end
136
+
137
+ it "configured the runner with the guard options" do
138
+ guard = described_class.new
139
+ runner = guard.runner
140
+ runner.options.should include guard.options
141
+ end
142
+ end
143
+
144
+ describe "#start" do
145
+ it "runs all on start if the :all_on_start option is set to true" do
146
+ guard = described_class.new([], :all_on_start => true)
147
+ guard.should_receive(:run_all)
148
+ guard.start
149
+ end
150
+
151
+ it "does not run all on start if the :all_on_start option is set to false" do
152
+ guard = described_class.new([], :all_on_start => false)
153
+ guard.should_not_receive(:run_all)
154
+ guard.start
155
+ end
156
+ end
157
+
158
+ describe "#respond_to" do
159
+ it { should respond_to :run_on_additions }
160
+ it { should respond_to :run_on_modifications }
161
+ it { should_not respond_to :run_on_change }
162
+ it { should_not respond_to :run_on_deletion }
163
+ end
164
+ end
165
+ end
@@ -0,0 +1,13 @@
1
+ require "bundler/setup"
2
+ require "rspec/autorun"
3
+
4
+ ENV["GUARD_ENV"] = "test"
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |file| require file }
9
+
10
+ RSpec.configure do |config|
11
+ config.mock_framework = :rspec
12
+ config.treat_symbols_as_metadata_keys_with_true_values = true # default in RSpec 3
13
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: guard-foodcritic
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Chris Griego
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: guard
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: foodcritic
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '1.3'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1.3'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 0.9.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.9.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '2.10'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '2.10'
94
+ description: Guard::Foodcritic automatically runs foodcritic.
95
+ email:
96
+ - cgriego@gmail.com
97
+ executables: []
98
+ extensions: []
99
+ extra_rdoc_files: []
100
+ files:
101
+ - .gitignore
102
+ - .rspec
103
+ - .rvmrc
104
+ - .travis.yml
105
+ - Gemfile
106
+ - Guardfile
107
+ - LICENSE
108
+ - README.md
109
+ - Rakefile
110
+ - guard-foodcritic.gemspec
111
+ - lib/guard/foodcritic.rb
112
+ - lib/guard/foodcritic/runner.rb
113
+ - lib/guard/foodcritic/templates/Guardfile
114
+ - lib/guard/foodcritic/version.rb
115
+ - spec/guard/foodcritic/runner_spec.rb
116
+ - spec/guard/foodcritic_spec.rb
117
+ - spec/spec_helper.rb
118
+ homepage: https://github.com/cgriego/guard-foodcritic
119
+ licenses: []
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubyforge_project:
138
+ rubygems_version: 1.8.21
139
+ signing_key:
140
+ specification_version: 3
141
+ summary: Guard::Foodcritic automatically runs foodcritic.
142
+ test_files:
143
+ - spec/guard/foodcritic/runner_spec.rb
144
+ - spec/guard/foodcritic_spec.rb
145
+ - spec/spec_helper.rb
146
+ has_rdoc: