timed_rest_for_chef 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -36,6 +36,21 @@ Ensuring the gem is available to chef and that client.rb file has the
36
36
  proper require line can be automated via the chef-client cookbook with
37
37
  slight modifications.
38
38
 
39
+ With the modifications referenced below to the chef-client cookbook, this
40
+ can be added to install this gem and configure the client.rb file:
41
+
42
+ ```ruby
43
+ override_attributes(
44
+ :chef_client => {
45
+ :load_gems => {
46
+ :timed_rest_for_chef => {
47
+ :version => '0.0.4'
48
+ }
49
+ }
50
+ }
51
+ )
52
+ ```
53
+
39
54
  References:
40
55
  ===========
41
56
 
@@ -18,7 +18,7 @@ if(Gem::Version.new(Chef::VERSION) < Gem::Version.new('10.14.0'))
18
18
  original_call(*args, &block)
19
19
  end
20
20
  rescue => e
21
- if(e.is_a?(WrapperTimeout))
21
+ if(e.is_a?(RESTTimeout))
22
22
  Chef::Log.warn "Maximum request timeout has been reached"
23
23
  end
24
24
  raise
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'timed_rest_for_chef'
3
- s.version = '0.0.4'
3
+ s.version = '0.0.5'
4
4
  s.summary = 'Timed REST for Chef'
5
5
  s.author = 'Chris Roberts'
6
6
  s.email = 'chrisroberts.code@gmail.com'
metadata CHANGED
@@ -1,49 +1,68 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: timed_rest_for_chef
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.4
3
+ version: !ruby/object:Gem::Version
4
+ hash: 21
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 5
10
+ version: 0.0.5
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Chris Roberts
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-06-18 00:00:00.000000000 Z
17
+
18
+ date: 2012-08-28 00:00:00 Z
13
19
  dependencies: []
20
+
14
21
  description: Timed REST for Chef
15
22
  email: chrisroberts.code@gmail.com
16
23
  executables: []
24
+
17
25
  extensions: []
18
- extra_rdoc_files:
26
+
27
+ extra_rdoc_files:
19
28
  - README.md
20
- files:
29
+ files:
21
30
  - README.md
22
31
  - timed_rest_for_chef.gemspec
23
32
  - lib/timed_rest_for_chef.rb
24
33
  homepage: http://github.com/chrisroberts/timed_rest_for_chef
25
34
  licenses: []
35
+
26
36
  post_install_message:
27
37
  rdoc_options: []
28
- require_paths:
38
+
39
+ require_paths:
29
40
  - lib
30
- required_ruby_version: !ruby/object:Gem::Requirement
41
+ required_ruby_version: !ruby/object:Gem::Requirement
31
42
  none: false
32
- requirements:
33
- - - ! '>='
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 3
47
+ segments:
48
+ - 0
49
+ version: "0"
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
51
  none: false
38
- requirements:
39
- - - ! '>='
40
- - !ruby/object:Gem::Version
41
- version: '0'
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: 3
56
+ segments:
57
+ - 0
58
+ version: "0"
42
59
  requirements: []
60
+
43
61
  rubyforge_project:
44
62
  rubygems_version: 1.8.17
45
63
  signing_key:
46
64
  specification_version: 3
47
65
  summary: Timed REST for Chef
48
66
  test_files: []
67
+
49
68
  has_rdoc: