guard-foodcritic 2.0.0 → 2.1.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: a5ba090d410a68b9560e508c75669b409b80b803
4
- data.tar.gz: 4056d67e46503cb7f9d991c16bc7af86742b973f
3
+ metadata.gz: 7adec25f273f29d9106044263702f0c357d67e47
4
+ data.tar.gz: 0df741b9b1480d0127722d2af918f89eef8a9f04
5
5
  SHA512:
6
- metadata.gz: 615e7a2b59f20f35d296b80d36826e15f328f6aa1a08f5bbd6f2c6bcc84c8d4c6885e5b96d33118ddb6b300dbca4a84a33a25160d1515dbed8a4664776bfb13e
7
- data.tar.gz: 2b31dad8ffdc729e3f85a6ebf1de4f541aa2db67471215ddd029c35641c2a7a678bba8750f03d87cba8bdaae560c2ddb88b52e671ae3e2c3329d0d9134ab7518
6
+ metadata.gz: 5331253af58a5b67c1ac310b8dd41f40b233b4ad570379934cd4b50de879bd3ba8a4372ee38c5e2a45373f5ff4a4347aa09caaa6bf928f1f1a6d6653074a970e
7
+ data.tar.gz: 50de812e5476293606647b1a1b95b8e07cfebb6bff669d56e074580bcdb877cb7bc6d62a6e89e99ca1af14f9d40090f7b821eb0ea69fbdfe49d297ac285ca78a
data/.gitignore CHANGED
@@ -1,18 +1,32 @@
1
1
  *.gem
2
2
  *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- /.ruby-gemset
7
- coverage
8
- doc/
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+
14
+ ## Documentation cache and generated files:
15
+ /.yardoc/
16
+ /_yardoc/
17
+ /doc/
18
+ /rdoc/
19
+
20
+ ## Environment normalization:
21
+ /.bundle/
22
+ /vendor/bundle
23
+ /lib/bundler/man/
24
+
25
+ # for a library or gem, you might want to ignore these files since the code is
26
+ # intended to run in multiple environments; otherwise, check them in:
9
27
  Gemfile.lock
10
- InstalledFiles
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- _yardoc
28
+ .ruby-version
29
+ .ruby-gemset
30
+
31
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
32
+ .rvmrc
data/.rspec CHANGED
@@ -1,2 +1,2 @@
1
1
  --color
2
- --format doc
2
+ --require spec_helper
@@ -1,6 +1,3 @@
1
- Style/HashSyntax:
2
- Enabled: false
3
-
4
1
  Metrics/LineLength:
5
2
  Max: 100
6
3
 
@@ -8,4 +5,4 @@ Style/Documentation:
8
5
  Enabled: false
9
6
 
10
7
  Metrics/ModuleLength:
11
- Max: 137
8
+ Max: 139
@@ -1 +1 @@
1
- 1.9.3
1
+ 2.3.0
@@ -1,7 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "2.0.0-p647"
4
- - "2.1.7"
5
- - "2.2.3"
6
- install: bundle install --binstubs
7
- env: TRAVIS_BUILD=true
3
+ - 2.1.6
4
+ sudo: false
@@ -1,5 +1,10 @@
1
1
  # Project History for guard-foodcritic
2
2
 
3
+ ## 2.1.0
4
+ * depend on foodcritic ~> 6.0
5
+ * Move to RSpec 3.0
6
+ * Rubocop cleanup
7
+
3
8
  ## 2.0.0
4
9
 
5
10
  * depend on foodcritic ~> 5.0
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec :development_group => :test
3
+ gemspec development_group: :test
data/Guardfile CHANGED
@@ -1,4 +1,4 @@
1
- guard 'rspec', :version => 2, :cli => '--format doc' do
1
+ guard 'rspec', version: 2, cli: '--format doc' do
2
2
  watch(%r{^spec/.+_spec\.rb$})
3
3
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
4
  watch('spec/spec_helper.rb') { 'spec' }
data/README.md CHANGED
@@ -8,11 +8,11 @@
8
8
 
9
9
  [![Code Climate](https://codeclimate.com/github/Nordstrom/guard-foodcritic/badges/gpa.svg)](https://codeclimate.com/github/Nordstrom/guard-foodcritic)
10
10
 
11
- Guard::Foodcritic automatically runs foodcritic.
11
+ Guard::Foodcritic automatically runs [foodcritic](http://www.foodcritic.io/).
12
12
 
13
13
  ## Installation
14
14
 
15
- guard-foodcritic depends on foodcritic v5.x, which only works with Ruby
15
+ guard-foodcritic depends on foodcritic v6.x, which only works with Ruby
16
16
  v2.0.0 and higher. If you are still using Ruby v1.9.3, you should use
17
17
  v1.1.1 of this gem. The current best practice for running foodcritic
18
18
  against cookbooks is to use [ChefDK](https://downloads.chef.io/chef-dk/)
data/Rakefile CHANGED
@@ -1,7 +1,15 @@
1
1
  #!/usr/bin/env rake
2
2
  require 'bundler/gem_tasks'
3
3
  require 'rspec/core/rake_task'
4
-
5
- task :default => :spec
4
+ require 'rubocop/rake_task'
6
5
 
7
6
  RSpec::Core::RakeTask.new
7
+
8
+ RuboCop::RakeTask.new do |rubocop|
9
+ rubocop.options = ['-D']
10
+ end
11
+
12
+ desc 'Run all style checks and unit tests'
13
+ task test: [:rubocop, :spec]
14
+
15
+ task default: :test
@@ -16,9 +16,10 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Guard::FOODCRITIC_VERSION
17
17
 
18
18
  gem.add_runtime_dependency 'guard', '~> 2.12'
19
- gem.add_dependency 'guard-compat', '~> 1.1'
20
- gem.add_runtime_dependency 'foodcritic', '~> 5.0'
19
+ gem.add_dependency 'guard-compat', '~> 1.2'
20
+ gem.add_runtime_dependency 'foodcritic', '~> 6.0'
21
21
 
22
- gem.add_development_dependency 'rake', '~> 10.0'
23
- gem.add_development_dependency 'rspec', '~> 2.10'
22
+ gem.add_development_dependency 'rake', '~> 11.0'
23
+ gem.add_development_dependency 'rspec', '~> 3.4'
24
+ gem.add_development_dependency 'rubocop', '~> 0.39'
24
25
  end
@@ -8,9 +8,9 @@ module Guard
8
8
  super
9
9
 
10
10
  @options = {
11
- :all_on_start => true,
12
- :cookbook_paths => ['cookbooks'],
13
- :notification => true
11
+ all_on_start: true,
12
+ cookbook_paths: ['cookbooks'],
13
+ notification: true
14
14
  }.merge(@options)
15
15
  end
16
16
 
@@ -56,9 +56,9 @@ module Guard
56
56
 
57
57
  def run!(paths)
58
58
  if runner.run(paths)
59
- Guard::Compat::UI.notify 'Foodcritic passed', :image => :success if @options[:notification]
59
+ Guard::Compat::UI.notify 'Foodcritic passed', image: :success if @options[:notification]
60
60
  else
61
- Guard::Compat::UI.notify 'Foodcritic failed', :image => :failed if @options[:notification]
61
+ Guard::Compat::UI.notify 'Foodcritic failed', image: :failed if @options[:notification]
62
62
  throw :task_has_failed
63
63
  end
64
64
  end
@@ -7,7 +7,7 @@ module Guard
7
7
 
8
8
  def initialize(options = {})
9
9
  @options = {
10
- :cli => '--epic-fail any'
10
+ cli: '--epic-fail any'
11
11
  }.merge(options)
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  module Guard
2
- FOODCRITIC_VERSION = '2.0.0'
2
+ FOODCRITIC_VERSION = '2.1.0'.freeze
3
3
  end
@@ -1,17 +1,16 @@
1
- require 'spec_helper'
2
1
  require 'guard/compat/test/helper'
3
2
  require 'guard/foodcritic/runner'
4
3
 
5
4
  module Guard
6
- describe Foodcritic::Runner do
5
+ RSpec.describe Foodcritic::Runner do
7
6
  describe '#options' do
8
7
  it 'remembers the initialized options' do
9
- options = { :foo => 'bar' }
10
- described_class.new(options).options.should include options
8
+ options = { foo: 'bar' }
9
+ expect(described_class.new(options).options).to include options
11
10
  end
12
11
 
13
12
  it "[:cli] defaults to '--epic-fail any'" do
14
- described_class.new.options[:cli].should == '--epic-fail any'
13
+ expect(described_class.new.options[:cli]).to eq('--epic-fail any')
15
14
  end
16
15
  end
17
16
 
@@ -21,37 +20,37 @@ module Guard
21
20
  subject { runner.command(paths) }
22
21
 
23
22
  it 'calls the foodcritic executable' do
24
- should start_with 'foodcritic'
23
+ is_expected.to start_with 'foodcritic'
25
24
  end
26
25
 
27
26
  it 'passes the given paths to the foodcritic executable' do
28
- should end_with paths.join(' ')
27
+ is_expected.to end_with paths.join(' ')
29
28
  end
30
29
 
31
30
  it 'includes the cli option' do
32
- should include runner.options[:cli]
31
+ is_expected.to include runner.options[:cli]
33
32
  end
34
33
  end
35
34
 
36
35
  describe '#run' do
37
36
  let(:runner) { described_class.new }
38
37
  let(:command) { double 'command' }
39
- before { runner.stub(:command).and_return(command) }
38
+ before { allow(runner).to receive(:command).and_return(command) }
40
39
 
41
40
  it 'generates the command with the given paths and runs it' do
42
41
  paths = %w(recipes/default.rb attributes/default.rb)
43
- runner.should_receive(:system).with(command)
42
+ expect(runner).to receive(:system).with(command)
44
43
  runner.run(paths)
45
44
  end
46
45
 
47
46
  it 'returns true when foodcritic suceeds' do
48
- runner.stub(:system).and_return(true)
49
- runner.run([]).should be true
47
+ allow(runner).to receive(:system).and_return(true)
48
+ expect(runner.run([])).to be true
50
49
  end
51
50
 
52
51
  it 'returns false when foodcritic finds fault' do
53
- runner.stub(:system).and_return(false)
54
- runner.run([]).should be false
52
+ allow(runner).to receive(:system).and_return(false)
53
+ expect(runner.run([])).to be false
55
54
  end
56
55
  end
57
56
  end
@@ -1,40 +1,39 @@
1
- require 'spec_helper'
2
1
  require 'guard/compat/test/helper'
3
2
  require 'guard/foodcritic'
4
3
 
5
4
  module Guard
6
- describe Foodcritic do
5
+ RSpec.describe Foodcritic do
7
6
  before do
8
- Notifier.stub(:notify)
9
- UI.stub(:info)
7
+ allow(Guard::Compat::UI).to receive(:notify)
8
+ allow(Guard::Compat::UI).to receive(:info)
10
9
  end
11
10
 
12
- it { should be_a_kind_of ::Guard::Plugin }
11
+ it { is_expected.to be_a_kind_of ::Guard::Plugin }
13
12
 
14
13
  describe '#options' do
15
14
  it '[:all_on_start] defaults to true' do
16
- described_class.new.options[:all_on_start].should be true
15
+ expect(described_class.new.options[:all_on_start]).to be true
17
16
  end
18
17
 
19
18
  it "[:cookbook_paths] defaults to ['cookbooks']" do
20
- described_class.new.options[:cookbook_paths].should == ['cookbooks']
19
+ expect(described_class.new.options[:cookbook_paths]).to eq(['cookbooks'])
21
20
  end
22
21
 
23
22
  it '[:notification] defaults to true' do
24
- described_class.new.options[:notification].should be true
23
+ expect(described_class.new.options[:notification]).to be true
25
24
  end
26
25
  end
27
26
 
28
27
  shared_examples 'handles runner results' do
29
28
  context 'the runner fails' do
30
- before { runner.stub(:run).and_return(false) }
29
+ before { allow(runner).to receive(:run).and_return(false) }
31
30
  it { expect { subject }.to throw_symbol :task_has_failed }
32
31
 
33
32
  context 'notifications are enabled' do
34
33
  let(:notification) { true }
35
34
 
36
35
  it 'notifies the user of the failure' do
37
- Notifier.should_receive(:notify).with('Foodcritic failed', :image => :failed)
36
+ expect(Guard::Compat::UI).to receive(:notify).with('Foodcritic failed', image: :failed)
38
37
  catch(:task_has_failed) { subject }
39
38
  end
40
39
  end
@@ -43,21 +42,21 @@ module Guard
43
42
  let(:notification) { false }
44
43
 
45
44
  it 'does not notify the user of the failure' do
46
- Notifier.should_not_receive(:notify)
45
+ expect(Guard::Compat::UI).not_to receive(:notify)
47
46
  catch(:task_has_failed) { subject }
48
47
  end
49
48
  end
50
49
  end
51
50
 
52
51
  context 'the runner succeeds' do
53
- before { runner.stub(:run).and_return(true) }
52
+ before { allow(runner).to receive(:run).and_return(true) }
54
53
  it { expect { subject }.not_to throw_symbol :task_has_failed }
55
54
 
56
55
  context 'notifications are enabled' do
57
56
  let(:notification) { true }
58
57
 
59
58
  it 'notifies the user of the success' do
60
- Notifier.should_receive(:notify).with('Foodcritic passed', :image => :success)
59
+ expect(Guard::Compat::UI).to receive(:notify).with('Foodcritic passed', image: :success)
61
60
  subject
62
61
  end
63
62
  end
@@ -66,7 +65,7 @@ module Guard
66
65
  let(:notification) { false }
67
66
 
68
67
  it 'does not notify the user of the success' do
69
- Notifier.should_not_receive(:notify)
68
+ expect(Guard::Compat::UI).not_to receive(:notify)
70
69
  subject
71
70
  end
72
71
  end
@@ -77,21 +76,21 @@ module Guard
77
76
  subject { guard.run_all }
78
77
  let(:guard) do
79
78
  described_class.new(
80
- :cookbook_paths => %w(cookbooks site-cookbooks),
81
- :notification => notification
79
+ cookbook_paths: %w(cookbooks site-cookbooks),
80
+ notification: notification
82
81
  )
83
82
  end
84
83
  let(:notification) { false }
85
- let(:runner) { double 'runner', :run => true }
86
- before { guard.stub(:runner).and_return(runner) }
84
+ let(:runner) { double 'runner', run: true }
85
+ before { allow(guard).to receive(:runner).and_return(runner) }
87
86
 
88
87
  it 'runs the runner with the cookbook paths' do
89
- runner.should_receive(:run).with(guard.options[:cookbook_paths]).and_return(true)
88
+ expect(runner).to receive(:run).with(guard.options[:cookbook_paths]).and_return(true)
90
89
  subject
91
90
  end
92
91
 
93
92
  it 'informs the user' do
94
- UI.should_receive(:info).with('Linting all cookbooks', {})
93
+ expect(Guard::Compat::UI).to receive(:info).with('Linting all cookbooks')
95
94
  subject
96
95
  end
97
96
 
@@ -99,19 +98,21 @@ module Guard
99
98
  end
100
99
 
101
100
  shared_examples 'lints specified cookbook files' do
102
- let(:guard) { described_class.new(:notification => notification) }
101
+ let(:guard) { described_class.new(notification: notification) }
103
102
  let(:notification) { false }
104
103
  let(:paths) { %w(recipes/default.rb attributes/default.rb) }
105
- let(:runner) { double 'runner', :run => true }
106
- before { guard.stub(:runner).and_return(runner) }
104
+ let(:runner) { double 'runner', run: true }
105
+ before { allow(guard).to receive(:runner).and_return(runner) }
107
106
 
108
107
  it 'runs the runner with the changed paths' do
109
- runner.should_receive(:run).with(paths).and_return(true)
108
+ expect(runner).to receive(:run).with(paths).and_return(true)
110
109
  subject
111
110
  end
112
111
 
113
112
  it 'informs the user' do
114
- UI.should_receive(:info).with('Linting: recipes/default.rb attributes/default.rb', {})
113
+ expect(Guard::Compat::UI).to receive(:info).with(
114
+ 'Linting: recipes/default.rb attributes/default.rb'
115
+ )
115
116
  subject
116
117
  end
117
118
 
@@ -135,40 +136,40 @@ module Guard
135
136
 
136
137
  describe '#runner' do
137
138
  it 'returns a Runner' do
138
- described_class.new.runner.should be_a_kind_of Foodcritic::Runner
139
+ expect(described_class.new.runner).to be_a_kind_of Foodcritic::Runner
139
140
  end
140
141
 
141
142
  it 'memoizes the runner' do
142
143
  guard = described_class.new
143
- guard.runner.should equal guard.runner
144
+ expect(guard.runner).to equal guard.runner
144
145
  end
145
146
 
146
147
  it 'configured the runner with the guard options' do
147
148
  guard = described_class.new
148
149
  runner = guard.runner
149
- runner.options.should include guard.options
150
+ expect(runner.options).to include guard.options
150
151
  end
151
152
  end
152
153
 
153
154
  describe '#start' do
154
155
  it 'runs all on start if the :all_on_start option is set to true' do
155
- guard = described_class.new(:all_on_start => true)
156
- guard.should_receive(:run_all)
156
+ guard = described_class.new(all_on_start: true)
157
+ expect(guard).to receive(:run_all)
157
158
  guard.start
158
159
  end
159
160
 
160
161
  it 'does not run all on start if the :all_on_start option is set to false' do
161
- guard = described_class.new(:all_on_start => false)
162
- guard.should_not_receive(:run_all)
162
+ guard = described_class.new(all_on_start: false)
163
+ expect(guard).not_to receive(:run_all)
163
164
  guard.start
164
165
  end
165
166
  end
166
167
 
167
168
  describe '#respond_to' do
168
- it { should respond_to :run_on_additions }
169
- it { should respond_to :run_on_modifications }
170
- it { should_not respond_to :run_on_change }
171
- it { should_not respond_to :run_on_deletion }
169
+ it { is_expected.to respond_to :run_on_additions }
170
+ it { is_expected.to respond_to :run_on_modifications }
171
+ it { is_expected.not_to respond_to :run_on_change }
172
+ it { is_expected.not_to respond_to :run_on_deletion }
172
173
  end
173
174
  end
174
175
  end
@@ -1,14 +1,92 @@
1
- require 'bundler/setup'
2
- require 'rspec/autorun'
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
4
+ # this file to always be loaded, without a need to explicitly require it in any
5
+ # files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need
13
+ # it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ RSpec.configure do |config|
20
+ # rspec-expectations config goes here. You can use an alternate
21
+ # assertion/expectation library such as wrong or the stdlib/minitest
22
+ # assertions if you prefer.
23
+ config.expect_with :rspec do |expectations|
24
+ # This option will default to `true` in RSpec 4. It makes the `description`
25
+ # and `failure_message` of custom matchers include text for helper methods
26
+ # defined using `chain`, e.g.:
27
+ # be_bigger_than(2).and_smaller_than(4).description
28
+ # # => "be bigger than 2 and smaller than 4"
29
+ # ...rather than:
30
+ # # => "be bigger than 2"
31
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
+ end
3
33
 
4
- ENV['GUARD_ENV'] = 'test'
34
+ # rspec-mocks config goes here. You can use an alternate test double
35
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
36
+ config.mock_with :rspec do |mocks|
37
+ # Prevents you from mocking or stubbing a method that does not exist on
38
+ # a real object. This is generally recommended, and will default to
39
+ # `true` in RSpec 4.
40
+ mocks.verify_partial_doubles = true
41
+ end
5
42
 
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 }
43
+ # These two settings work together to allow you to limit a spec run
44
+ # to individual examples or groups you care about by tagging them with
45
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
46
+ # get run.
47
+ config.filter_run :focus
48
+ config.run_all_when_everything_filtered = true
9
49
 
10
- RSpec.configure do |config|
11
- config.mock_framework = :rspec
12
- # default in RSpec 3
13
- config.treat_symbols_as_metadata_keys_with_true_values = true
50
+ # Allows RSpec to persist some state between runs in order to support
51
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
52
+ # you configure your source control system to ignore this file.
53
+ config.example_status_persistence_file_path = 'spec/examples.txt'
54
+
55
+ # Limits the available syntax to the non-monkey patched syntax that is
56
+ # recommended. For more details, see:
57
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
58
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
59
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
60
+ config.disable_monkey_patching!
61
+
62
+ # This setting enables warnings. It's recommended, but in some cases may
63
+ # be too noisy due to issues in dependencies.
64
+ config.warnings = false
65
+
66
+ # Many RSpec users commonly either run the entire suite or an individual
67
+ # file, and it's useful to allow more verbose output when running an
68
+ # individual spec file.
69
+ if config.files_to_run.one?
70
+ # Use the documentation formatter for detailed output,
71
+ # unless a formatter has already been configured
72
+ # (e.g. via a command-line flag).
73
+ config.default_formatter = 'doc'
74
+ end
75
+
76
+ # Print the 10 slowest examples and example groups at the
77
+ # end of the spec run, to help surface which specs are running
78
+ # particularly slow.
79
+ config.profile_examples = 10
80
+
81
+ # Run specs in random order to surface order dependencies. If you find an
82
+ # order dependency and want to debug it, you can fix the order by providing
83
+ # the seed, which is printed after each run.
84
+ # --seed 1234
85
+ config.order = :random
86
+
87
+ # Seed global randomization in this process using the `--seed` CLI option.
88
+ # Setting this allows you to use `--seed` to deterministically reproduce
89
+ # test failures related to randomization by passing the same `--seed` value
90
+ # as the one that triggered the failure.
91
+ Kernel.srand config.seed
14
92
  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: 2.0.0
4
+ version: 2.1.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-09-18 00:00:00.000000000 Z
12
+ date: 2016-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
@@ -31,56 +31,70 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.1'
34
+ version: '1.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.1'
41
+ version: '1.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: foodcritic
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '5.0'
48
+ version: '6.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: '5.0'
55
+ version: '6.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '10.0'
62
+ version: '11.0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '10.0'
69
+ version: '11.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '2.10'
76
+ version: '3.4'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '2.10'
83
+ version: '3.4'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rubocop
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '0.39'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '0.39'
84
98
  description: Guard::Foodcritic automatically runs foodcritic.
85
99
  email:
86
100
  - cgriego@gmail.com
@@ -128,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
142
  version: '0'
129
143
  requirements: []
130
144
  rubyforge_project:
131
- rubygems_version: 2.4.4
145
+ rubygems_version: 2.5.2
132
146
  signing_key:
133
147
  specification_version: 4
134
148
  summary: Guard::Foodcritic automatically runs foodcritic.