chef-handler-users 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9e7eb5a464153a29aeb84c57ebdc7477c2b92974
4
+ data.tar.gz: eb495892ecb220bbf08c59de817a3d0cb5d5d198
5
+ SHA512:
6
+ metadata.gz: 368c89ec72eedd3ced8f72d73d05dc43b89b321ed7705d43356a28502f9584c70546b3d62958ed608c8520df4e63a85887a24f76e7c18ecafdf802b2e71d3193
7
+ data.tar.gz: 2095151f9f598547f048be8aacf1eb472c87d26e39bd0eec2d993526399eb02afd80c38bf8da27064dcbb12b7484e66a78b0439e46315f9f7ae041ec12c575d2
@@ -3,12 +3,13 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = "chef-handler-users"
6
- gem.version = "0.1.1"
6
+ gem.version = "0.1.2"
7
7
  gem.authors = ["Heavy Water Operations, LLC. (OR)"]
8
8
  gem.email = ["ops@hw-ops.com"]
9
9
  gem.homepage = "http://github.com/heavywater/chef-handler-users"
10
10
  gem.summary = "Chef Handler to report changes in users"
11
- gem.description = "Chef Handler to report changes in users"
11
+ gem.description = "Chef Handler that generates and sends email on any change to users"
12
+ gem.license = "APLv2"
12
13
  gem.files = `git ls-files`.split("\n")
13
14
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
15
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -84,9 +84,10 @@ User #{user.name} updated:
84
84
 
85
85
  def ensure_hash(hash_thing)
86
86
  new_h = {}
87
- hash_thing.each do |k,v|
88
- new_h[k.to_sym] = v.kind_of?(Hash) || v.kind_of?(Node::Attribute) ? to_hash(v) : v
87
+ hash_thing.to_hash.each do |k,v|
88
+ new_h[k.to_sym] = v.kind_of?(Hash) || v.kind_of?(Chef::Node::Attribute) ? ensure_hash(v) : v
89
89
  end
90
90
  new_h
91
91
  end
92
+
92
93
  end
metadata CHANGED
@@ -1,49 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-users
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Heavy Water Operations, LLC. (OR)
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-12 00:00:00.000000000 Z
11
+ date: 2013-07-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: pony
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
- description: Chef Handler to report changes in users
41
+ description: Chef Handler that generates and sends email on any change to users
47
42
  email:
48
43
  - ops@hw-ops.com
49
44
  executables: []
@@ -58,27 +53,27 @@ files:
58
53
  - chef-handler-users.gemspec
59
54
  - lib/chef-handler-users.rb
60
55
  homepage: http://github.com/heavywater/chef-handler-users
61
- licenses: []
56
+ licenses:
57
+ - APLv2
58
+ metadata: {}
62
59
  post_install_message:
63
60
  rdoc_options: []
64
61
  require_paths:
65
62
  - lib
66
63
  required_ruby_version: !ruby/object:Gem::Requirement
67
- none: false
68
64
  requirements:
69
- - - ! '>='
65
+ - - '>='
70
66
  - !ruby/object:Gem::Version
71
67
  version: '0'
72
68
  required_rubygems_version: !ruby/object:Gem::Requirement
73
- none: false
74
69
  requirements:
75
- - - ! '>='
70
+ - - '>='
76
71
  - !ruby/object:Gem::Version
77
72
  version: '0'
78
73
  requirements: []
79
74
  rubyforge_project:
80
- rubygems_version: 1.8.23
75
+ rubygems_version: 2.0.3
81
76
  signing_key:
82
- specification_version: 3
77
+ specification_version: 4
83
78
  summary: Chef Handler to report changes in users
84
79
  test_files: []