guard-foodcritic 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Y2U2NTQyNWMyY2U0MjUzZTgxZjM1Njc5ODRkOTcyMDhiYWQwNTdmNA==
5
+ data.tar.gz: !binary |-
6
+ OWEyODFlOTY2NmIxMzZhZDBjNWJmNTMwZTRkZjlhNGI3OWMxNTc3ZA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZTEwMzY5ZDA5OGE5YzgwNjUwNGQzN2MxMTgwODI4ZDJmMzNlNmViNjg5MWIw
10
+ N2UxYWYzMWE0OTEzOTMzOTVlYzJkYTY0MGU5MzcwOTg3ZmEwMjg2N2Y3Y2Zi
11
+ NmQxNjc5ZWE5MzBlMGNhMmRmOGVhNmI5ZjM0MGU5YzdhYWQ4Mjg=
12
+ data.tar.gz: !binary |-
13
+ ZjgzNWY3YzhiMzQxYWI0MWQ1ZGEzMzY1YzAxM2U4Mzk2OWEyMjg5YzEyZmIz
14
+ ZTY1YmVjOWM5ZWFmNzIxZjBlMTRhNjY2ZTk5OWE3MGQzZTgzNTUxMjhkMmQy
15
+ NTBkZWIyMjQ2N2RiMGYyNmVjYzAxMDNhNjRlNjgzMzRhYzJjZDY=
data/.travis.yml CHANGED
@@ -2,4 +2,5 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.2
4
4
  - 1.9.3
5
+ - 2.0.0
5
6
  bundler_args: --without development
@@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Guard::FOODCRITIC_VERSION
17
17
 
18
- gem.add_runtime_dependency "guard", "~> 1.0"
19
- gem.add_runtime_dependency "foodcritic", ">= 1.3", "< 3.0"
18
+ gem.add_runtime_dependency "guard", ">= 1.0", "< 3.0"
19
+ gem.add_runtime_dependency "foodcritic", ">= 1.3", "< 4.0"
20
20
 
21
21
  gem.add_development_dependency "bundler", "~> 1.0"
22
22
  gem.add_development_dependency "rake", "~> 10.0"
@@ -1,3 +1,3 @@
1
1
  module Guard
2
- FOODCRITIC_VERSION = "1.0.1"
2
+ FOODCRITIC_VERSION = "1.0.2"
3
3
  end
@@ -34,7 +34,7 @@ module Guard
34
34
 
35
35
  describe "#run" do
36
36
  let(:runner) { described_class.new }
37
- let(:command) { mock "command" }
37
+ let(:command) { double "command" }
38
38
  before { runner.stub(:command).and_return(command) }
39
39
 
40
40
  it "generates the command with the given paths and runs it" do
@@ -76,7 +76,7 @@ module Guard
76
76
  subject { guard.run_all }
77
77
  let(:guard) { described_class.new [], :cookbook_paths => %w(cookbooks site-cookbooks), :notification => notification }
78
78
  let(:notification) { false }
79
- let(:runner) { mock "runner", :run => true }
79
+ let(:runner) { double "runner", :run => true }
80
80
  before { guard.stub(:runner).and_return(runner) }
81
81
 
82
82
  it "runs the runner with the cookbook paths" do
@@ -96,7 +96,7 @@ module Guard
96
96
  let(:guard) { described_class.new([], :notification => notification) }
97
97
  let(:notification) { false }
98
98
  let(:paths) { %w(recipes/default.rb attributes/default.rb) }
99
- let(:runner) { mock "runner", :run => true }
99
+ let(:runner) { double "runner", :run => true }
100
100
  before { guard.stub(:runner).and_return(runner) }
101
101
 
102
102
  it "runs the runner with the changed paths" do
metadata CHANGED
@@ -1,58 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-foodcritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Chris Griego
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-24 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: guard
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.0'
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.0'
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
30
33
  - !ruby/object:Gem::Dependency
31
34
  name: foodcritic
32
35
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
36
  requirements:
35
37
  - - ! '>='
36
38
  - !ruby/object:Gem::Version
37
39
  version: '1.3'
38
40
  - - <
39
41
  - !ruby/object:Gem::Version
40
- version: '3.0'
42
+ version: '4.0'
41
43
  type: :runtime
42
44
  prerelease: false
43
45
  version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
46
  requirements:
46
47
  - - ! '>='
47
48
  - !ruby/object:Gem::Version
48
49
  version: '1.3'
49
50
  - - <
50
51
  - !ruby/object:Gem::Version
51
- version: '3.0'
52
+ version: '4.0'
52
53
  - !ruby/object:Gem::Dependency
53
54
  name: bundler
54
55
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
56
  requirements:
57
57
  - - ~>
58
58
  - !ruby/object:Gem::Version
@@ -60,7 +60,6 @@ dependencies:
60
60
  type: :development
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
63
  requirements:
65
64
  - - ~>
66
65
  - !ruby/object:Gem::Version
@@ -68,7 +67,6 @@ dependencies:
68
67
  - !ruby/object:Gem::Dependency
69
68
  name: rake
70
69
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
70
  requirements:
73
71
  - - ~>
74
72
  - !ruby/object:Gem::Version
@@ -76,7 +74,6 @@ dependencies:
76
74
  type: :development
77
75
  prerelease: false
78
76
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
77
  requirements:
81
78
  - - ~>
82
79
  - !ruby/object:Gem::Version
@@ -84,7 +81,6 @@ dependencies:
84
81
  - !ruby/object:Gem::Dependency
85
82
  name: rspec
86
83
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
84
  requirements:
89
85
  - - ~>
90
86
  - !ruby/object:Gem::Version
@@ -92,7 +88,6 @@ dependencies:
92
88
  type: :development
93
89
  prerelease: false
94
90
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
91
  requirements:
97
92
  - - ~>
98
93
  - !ruby/object:Gem::Version
@@ -123,33 +118,26 @@ files:
123
118
  - spec/spec_helper.rb
124
119
  homepage: https://github.com/cgriego/guard-foodcritic
125
120
  licenses: []
121
+ metadata: {}
126
122
  post_install_message:
127
123
  rdoc_options: []
128
124
  require_paths:
129
125
  - lib
130
126
  required_ruby_version: !ruby/object:Gem::Requirement
131
- none: false
132
127
  requirements:
133
128
  - - ! '>='
134
129
  - !ruby/object:Gem::Version
135
130
  version: '0'
136
- segments:
137
- - 0
138
- hash: 635068057160735772
139
131
  required_rubygems_version: !ruby/object:Gem::Requirement
140
- none: false
141
132
  requirements:
142
133
  - - ! '>='
143
134
  - !ruby/object:Gem::Version
144
135
  version: '0'
145
- segments:
146
- - 0
147
- hash: 635068057160735772
148
136
  requirements: []
149
137
  rubyforge_project:
150
- rubygems_version: 1.8.25
138
+ rubygems_version: 2.0.6
151
139
  signing_key:
152
- specification_version: 3
140
+ specification_version: 4
153
141
  summary: Guard::Foodcritic automatically runs foodcritic.
154
142
  test_files:
155
143
  - spec/guard/foodcritic/runner_spec.rb