nomnomnom-client 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,8 @@ require 'nom_nom_nom/version'
20
20
  require 'nom_nom_nom/status'
21
21
  require 'nom_nom_nom/status_handler'
22
22
 
23
+ require 'nom_nom_nom/monkey_patch'
24
+
23
25
  module NomNomNom
24
26
 
25
27
  end
@@ -0,0 +1,27 @@
1
+ #--
2
+ # Author:: Daniel DeLeo (<dan@opscode.com>)
3
+ # Copyright:: Copyright (c) 2010 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+
20
+ ###############################################################################
21
+ # Chef's Resource#to_text keeps a blacklist of instance variables to skip
22
+ # when generating the text representation of the resource. Add a few more.
23
+ ###############################################################################
24
+
25
+ [:@immediate_notifications, :@delayed_notifications, :@updated, :@updated_by_last_action].each do |ivar|
26
+ Chef::Resource::HIDDEN_IVARS << ivar unless Chef::Resource::HIDDEN_IVARS.include?(ivar)
27
+ end
@@ -17,5 +17,5 @@
17
17
  #
18
18
 
19
19
  module NomNomNom
20
- VERSION = "0.1.0"
20
+ VERSION = "0.1.1"
21
21
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel DeLeo
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-11 00:00:00 -08:00
17
+ date: 2010-11-12 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -74,6 +74,7 @@ extra_rdoc_files:
74
74
  files:
75
75
  - LICENSE
76
76
  - README.rdoc
77
+ - lib/nom_nom_nom/monkey_patch.rb
77
78
  - lib/nom_nom_nom/status.rb
78
79
  - lib/nom_nom_nom/status_handler.rb
79
80
  - lib/nom_nom_nom/version.rb
@@ -93,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
94
  requirements:
94
95
  - - ">="
95
96
  - !ruby/object:Gem::Version
96
- hash: -1285761808302805060
97
+ hash: 1581970312796193644
97
98
  segments:
98
99
  - 0
99
100
  version: "0"