right_agent 0.10.3 → 0.10.4

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.
@@ -20,6 +20,14 @@
20
20
  # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
+ # RubyGems ~= 1.3.7 used to require these files when activating the RubyGems environment,
24
+ # which caused many gem and script authors to use threading and socket classes without
25
+ # requiring them. Future-proof RightAgent and its clients against RubyGems upgrades by
26
+ # requiring them ourselves. Given that most clients require this file very early on, we
27
+ # are helping to smooth over their implementation bugs.
28
+ require 'thread'
29
+ require 'socket'
30
+
23
31
  # This file may get required twice on Windows: Once using long path and once
24
32
  # using short path. Since this is where we define the File.normalize_path
25
33
  # method to alleviate this issue, we have a chicken & egg problem. So detect if
@@ -21,6 +21,7 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
23
  require 'rubygems'
24
+ require 'time'
24
25
  require 'date'
25
26
  require 'json'
26
27
 
@@ -24,8 +24,8 @@ require 'rubygems'
24
24
 
25
25
  Gem::Specification.new do |spec|
26
26
  spec.name = 'right_agent'
27
- spec.version = '0.10.3'
28
- spec.date = '2012-05-02'
27
+ spec.version = '0.10.4'
28
+ spec.date = '2012-05-04'
29
29
  spec.authors = ['Lee Kirchhoff', 'Raphael Simon', 'Tony Spataro']
30
30
  spec.email = 'lee@rightscale.com'
31
31
  spec.homepage = 'https://github.com/rightscale/right_agent'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_agent
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
5
- prerelease: false
4
+ hash: 63
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 3
10
- version: 0.10.3
9
+ - 4
10
+ version: 0.10.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lee Kirchhoff
@@ -17,10 +17,10 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-05-02 00:00:00 -07:00
21
- default_executable:
20
+ date: 2012-05-04 00:00:00 Z
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
23
+ name: right_support
24
24
  version_requirements: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
@@ -31,11 +31,11 @@ dependencies:
31
31
  - 1
32
32
  - 3
33
33
  version: "1.3"
34
+ type: :runtime
34
35
  requirement: *id001
35
- name: right_support
36
36
  prerelease: false
37
- type: :runtime
38
37
  - !ruby/object:Gem::Dependency
38
+ name: right_amqp
39
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
@@ -46,11 +46,11 @@ dependencies:
46
46
  - 0
47
47
  - 3
48
48
  version: "0.3"
49
+ type: :runtime
49
50
  requirement: *id002
50
- name: right_amqp
51
51
  prerelease: false
52
- type: :runtime
53
52
  - !ruby/object:Gem::Dependency
53
+ name: json
54
54
  version_requirements: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
@@ -61,11 +61,11 @@ dependencies:
61
61
  - 1
62
62
  - 4
63
63
  version: "1.4"
64
+ type: :runtime
64
65
  requirement: *id003
65
- name: json
66
66
  prerelease: false
67
- type: :runtime
68
67
  - !ruby/object:Gem::Dependency
68
+ name: eventmachine
69
69
  version_requirements: &id004 !ruby/object:Gem::Requirement
70
70
  none: false
71
71
  requirements:
@@ -77,11 +77,11 @@ dependencies:
77
77
  - 12
78
78
  - 10
79
79
  version: 0.12.10
80
+ type: :runtime
80
81
  requirement: *id004
81
- name: eventmachine
82
82
  prerelease: false
83
- type: :runtime
84
83
  - !ruby/object:Gem::Dependency
84
+ name: right_popen
85
85
  version_requirements: &id005 !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
@@ -93,11 +93,11 @@ dependencies:
93
93
  - 0
94
94
  - 11
95
95
  version: 1.0.11
96
+ type: :runtime
96
97
  requirement: *id005
97
- name: right_popen
98
98
  prerelease: false
99
- type: :runtime
100
99
  - !ruby/object:Gem::Dependency
100
+ name: msgpack
101
101
  version_requirements: &id006 !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements:
@@ -109,11 +109,11 @@ dependencies:
109
109
  - 4
110
110
  - 4
111
111
  version: 0.4.4
112
+ type: :runtime
112
113
  requirement: *id006
113
- name: msgpack
114
114
  prerelease: false
115
- type: :runtime
116
115
  - !ruby/object:Gem::Dependency
116
+ name: net-ssh
117
117
  version_requirements: &id007 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
@@ -124,10 +124,9 @@ dependencies:
124
124
  - 2
125
125
  - 0
126
126
  version: "2.0"
127
+ type: :runtime
127
128
  requirement: *id007
128
- name: net-ssh
129
129
  prerelease: false
130
- type: :runtime
131
130
  description: |
132
131
  RightAgent provides a foundation for running an agent on a server to interface
133
132
  in a secure fashion with other agents in the RightScale system. A RightAgent
@@ -291,7 +290,6 @@ files:
291
290
  - spec/spec.win32.opts
292
291
  - spec/spec_helper.rb
293
292
  - spec/tracer_spec.rb
294
- has_rdoc: true
295
293
  homepage: https://github.com/rightscale/right_agent
296
294
  licenses: []
297
295
 
@@ -326,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
324
  requirements: []
327
325
 
328
326
  rubyforge_project:
329
- rubygems_version: 1.3.7
327
+ rubygems_version: 1.8.24
330
328
  signing_key:
331
329
  specification_version: 3
332
330
  summary: Agent for interfacing server with RightScale system