health_inspector 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ## 0.0.2 ( 2012-03-27)
2
+
3
+ * Make sure we iterate over actual cookbooks in cookbooks folder
4
+
5
+ ## 0.0.1 ( 2012-03-27)
6
+
7
+ * Initial release
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = HealthInspector::VERSION
8
8
  s.authors = ["Ben Marini"]
9
9
  s.email = ["bmarini@gmail.com"]
10
- s.homepage = ""
10
+ s.homepage = "https://github.com/bmarini/health_inspector"
11
11
  s.summary = %q{A tool to inspect your chef repo as is compares to what is on your chef server}
12
12
  s.description = %q{A tool to inspect your chef repo as is compares to what is on your chef server}
13
13
 
@@ -102,7 +102,12 @@ module HealthInspector
102
102
  end
103
103
 
104
104
  def cookbooks_in_repo
105
- @context.cookbook_path.map { |path| Dir["#{path}/*"] }.flatten.inject({}) do |hsh, path|
105
+ @context.cookbook_path.
106
+ map { |path| Dir["#{path}/*"] }.
107
+ flatten.
108
+ select { |path| File.exists?("#{path}/metadata.rb") }.
109
+ inject({}) do |hsh, path|
110
+
106
111
  name = File.basename(path)
107
112
  version = (`grep '^version' #{path}/metadata.rb`).split.last[1...-1]
108
113
 
@@ -1,3 +1,3 @@
1
1
  module HealthInspector
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health_inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &2162524420 !ruby/object:Gem::Requirement
16
+ requirement: &2154186060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2162524420
24
+ version_requirements: *2154186060
25
25
  description: A tool to inspect your chef repo as is compares to what is on your chef
26
26
  server
27
27
  email:
@@ -33,6 +33,7 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - .gitignore
35
35
  - Gemfile
36
+ - HISTORY.md
36
37
  - MIT-LICENSE
37
38
  - README.md
38
39
  - Rakefile
@@ -47,7 +48,7 @@ files:
47
48
  - lib/health_inspector/context.rb
48
49
  - lib/health_inspector/inspector.rb
49
50
  - lib/health_inspector/version.rb
50
- homepage: ''
51
+ homepage: https://github.com/bmarini/health_inspector
51
52
  licenses: []
52
53
  post_install_message:
53
54
  rdoc_options: []