foodcritic 1.7.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foodcritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-27 00:00:00.000000000 Z
12
+ date: 2013-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gherkin
@@ -27,22 +27,6 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.11.1
30
- - !ruby/object:Gem::Dependency
31
- name: gist
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 3.1.0
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: 3.1.0
46
30
  - !ruby/object:Gem::Dependency
47
31
  name: nokogiri
48
32
  requirement: !ruby/object:Gem::Requirement
@@ -59,22 +43,6 @@ dependencies:
59
43
  - - ~>
60
44
  - !ruby/object:Gem::Version
61
45
  version: 1.5.4
62
- - !ruby/object:Gem::Dependency
63
- name: pry
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 0.9.8.4
70
- type: :runtime
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.8.4
78
46
  - !ruby/object:Gem::Dependency
79
47
  name: rak
80
48
  requirement: !ruby/object:Gem::Requirement
@@ -146,22 +114,21 @@ executables:
146
114
  extensions: []
147
115
  extra_rdoc_files: []
148
116
  files:
149
- - lib/foodcritic/api.rb
150
- - lib/foodcritic/ast.rb
151
- - lib/foodcritic/chef.rb
152
- - lib/foodcritic/command_line.rb
153
- - lib/foodcritic/domain.rb
154
117
  - lib/foodcritic/dsl.rb
155
- - lib/foodcritic/error_checker.rb
156
- - lib/foodcritic/linter.rb
157
- - lib/foodcritic/notifications.rb
158
- - lib/foodcritic/output.rb
118
+ - lib/foodcritic/command_line.rb
159
119
  - lib/foodcritic/rake_task.rb
160
- - lib/foodcritic/repl.rb
161
- - lib/foodcritic/rules.rb
120
+ - lib/foodcritic/chef.rb
121
+ - lib/foodcritic/ast.rb
122
+ - lib/foodcritic/api.rb
123
+ - lib/foodcritic/output.rb
124
+ - lib/foodcritic/xml.rb
162
125
  - lib/foodcritic/template.rb
126
+ - lib/foodcritic/linter.rb
127
+ - lib/foodcritic/error_checker.rb
128
+ - lib/foodcritic/domain.rb
129
+ - lib/foodcritic/rules.rb
163
130
  - lib/foodcritic/version.rb
164
- - lib/foodcritic/xml.rb
131
+ - lib/foodcritic/notifications.rb
165
132
  - lib/foodcritic.rb
166
133
  - chef_dsl_metadata.json
167
134
  - bin/foodcritic
@@ -186,12 +153,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
153
  version: '0'
187
154
  segments:
188
155
  - 0
189
- hash: -3551223216716308083
156
+ hash: 3521344391599734133
190
157
  requirements: []
191
158
  rubyforge_project:
192
- rubygems_version: 1.8.24
159
+ rubygems_version: 1.8.25
193
160
  signing_key:
194
161
  specification_version: 3
195
- summary: foodcritic-1.7.0
162
+ summary: foodcritic-2.0.0
196
163
  test_files: []
197
- has_rdoc:
@@ -1,28 +0,0 @@
1
- module FoodCritic
2
- module REPL
3
-
4
- # Convenience method to repeat the last check. Intended to be used from the
5
- # REPL.
6
- def recheck
7
- check(@last_cookbook_paths, @last_options)
8
- end
9
-
10
- def reset_rules
11
- load_rules!(@last_options)
12
- end
13
-
14
- # Convenience method to retrieve the last review. Intended to be used from
15
- # the REPL.
16
- def review
17
- @review
18
- end
19
-
20
- def with_repl(cookbook_paths, options)
21
- @last_cookbook_paths, @last_options = cookbook_paths, options
22
- @review = yield if block_given?
23
- binding.pry if options[:repl]
24
- @review
25
- end
26
-
27
- end
28
- end