thor-foodcritic 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,13 +34,13 @@ module ThorFoodCritic
34
34
  exclude_paths: options[:exclude_paths]
35
35
  )
36
36
  say(review, :red)
37
- exit_with_review(review)
37
+ exit_if_failure(review)
38
38
  end
39
39
 
40
40
  private
41
41
 
42
- def exit_with_review(review)
43
- review.failed? ? exit(100) : exit(0)
42
+ def exit_if_failure(review)
43
+ review.failed? ? exit(100) : nil
44
44
  end
45
45
  end
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module ThorFoodCritic
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-foodcritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70202747026440 !ruby/object:Gem::Requirement
16
+ requirement: &70229788565680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70202747026440
24
+ version_requirements: *70229788565680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: foodcritic
27
- requirement: &70202746708320 !ruby/object:Gem::Requirement
27
+ requirement: &70229788565020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70202746708320
35
+ version_requirements: *70229788565020
36
36
  description: FoodCritic Thor tasks for your Cookbook projects
37
37
  email:
38
38
  - jamie@vialstudios.com
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  segments:
70
70
  - 0
71
- hash: -2483980677222153578
71
+ hash: -752006352905732253
72
72
  requirements: []
73
73
  rubyforge_project:
74
74
  rubygems_version: 1.8.11