right_agent 2.3.4 → 2.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32f2f2a6353f278138f9bafd9bcbc0b2d7f866fa
4
- data.tar.gz: a846358bb294ac64b2db1db530e80845a825feb3
3
+ metadata.gz: 3c4ae2222c707d8d1688004447551408a9d87066
4
+ data.tar.gz: 1af110762c8b20b161075dfb52e2ed888e81e295
5
5
  SHA512:
6
- metadata.gz: 450987e36e9595d16a154aa8b8dae0505f38d635abd2f1380c6dfd5b429664809ebec35f3caa70abbe4e7ac08b5ce1e4000dc6bb9d5f8949bacbaba4ff50ccec
7
- data.tar.gz: 2226767de0031a3d265f0243718b5847efde6fae544cfa661be9037b5452deb172a91c87bba70bbe4afd1f8763e1e3d826196bfe37d13349844ca40ed02501ca
6
+ metadata.gz: 7afb749b126de08aef6fa297cb20446794228e08970b7068a4dfe99adc74d9f0e8d3e04e68251ac9eab90f4155ec9543476e9d6d9d8ede26856a53de2f8c9526
7
+ data.tar.gz: 38ab994b52133304bc2ad4678d719e4947c1bb9ba10a88ca3417d63d47e774a33503ead0cf0cc83ee4afbecb195f84663a0b9516e0e4f58c2581fd44edd47b71
@@ -101,6 +101,7 @@ module RightScale
101
101
  # @param [String, Hash, NilClass] target for request, which may be identity of specific
102
102
  # target, hash for selecting potentially multiple targets, or nil if routing solely
103
103
  # using type; hash may contain:
104
+ # [String] :agent_id serialized identity of specific target
104
105
  # [Array] :tags that must all be associated with a target for it to be selected
105
106
  # [Hash] :scope for restricting routing which may contain:
106
107
  # [Integer] :account id that agents must be associated with to be included
@@ -139,6 +140,7 @@ module RightScale
139
140
  # @param [String, Hash, NilClass] target for request, which may be identity of specific
140
141
  # target, hash for selecting targets of which one is picked randomly, or nil if routing solely
141
142
  # using type; hash may contain:
143
+ # [String] :agent_id serialized identity of specific target
142
144
  # [Array] :tags that must all be associated with a target for it to be selected
143
145
  # [Hash] :scope for restricting routing which may contain:
144
146
  # [Integer] :account id that agents must be associated with to be included
@@ -365,9 +365,9 @@ module RightScale
365
365
  token = response.token
366
366
  if (result = OperationResult.from_results(response))
367
367
  if result.non_delivery?
368
- @non_delivery_stats.update(result.content.nil? ? "nil" : result.content.inspect)
368
+ @non_delivery_stats.update(result.content.nil? ? "nil" : result.content)
369
369
  elsif result.error?
370
- @result_error_stats.update(result.content.nil? ? "nil" : result.content.inspect)
370
+ @result_error_stats.update(result.content.nil? ? "nil" : result.content)
371
371
  end
372
372
  @result_stats.update(result.status)
373
373
  else
@@ -781,7 +781,6 @@ module RightScale
781
781
  else
782
782
  Log.warning("RE-SEND TIMEOUT after #{elapsed.to_i} seconds for #{packet.trace} #{packet.type}")
783
783
  result = OperationResult.non_delivery(OperationResult::RETRY_TIMEOUT)
784
- @non_delivery_stats.update(result.content)
785
784
  handle_response(Result.new(packet.token, @identity, result, @identity))
786
785
  end
787
786
  @connectivity_checker.check(check_broker_ids.first) if check_broker_ids.any? && count == 1
data/right_agent.gemspec CHANGED
@@ -25,8 +25,8 @@ require 'rbconfig'
25
25
 
26
26
  Gem::Specification.new do |spec|
27
27
  spec.name = 'right_agent'
28
- spec.version = '2.3.4'
29
- spec.date = '2014-07-09'
28
+ spec.version = '2.3.5'
29
+ spec.date = '2014-07-24'
30
30
  spec.authors = ['Lee Kirchhoff', 'Raphael Simon', 'Tony Spataro', 'Scott Messier']
31
31
  spec.email = 'lee@rightscale.com'
32
32
  spec.homepage = 'https://github.com/rightscale/right_agent'
@@ -40,8 +40,8 @@ Gem::Specification.new do |spec|
40
40
 
41
41
  spec.add_dependency('right_support', ['>= 2.4.1', '< 3.0'])
42
42
  spec.add_dependency('right_amqp', '~> 0.7')
43
- spec.add_dependency('rest-client', '1.7.0.2')
44
- spec.add_dependency('faye-websocket', '0.7.0')
43
+ spec.add_dependency('rest-client', '~> 1.7.0.3')
44
+ spec.add_dependency('faye-websocket', '~> 0.7.0')
45
45
  spec.add_dependency('eventmachine', ['>= 0.12.10', '< 2.0'])
46
46
  spec.add_dependency('net-ssh', '~> 2.0')
47
47
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Kirchhoff
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-07-09 00:00:00.000000000 Z
14
+ date: 2014-07-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: right_support
@@ -51,28 +51,28 @@ dependencies:
51
51
  name: rest-client
52
52
  requirement: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '='
54
+ - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: 1.7.0.2
56
+ version: 1.7.0.3
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '='
61
+ - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: 1.7.0.2
63
+ version: 1.7.0.3
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: faye-websocket
66
66
  requirement: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '='
68
+ - - "~>"
69
69
  - !ruby/object:Gem::Version
70
70
  version: 0.7.0
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '='
75
+ - - "~>"
76
76
  - !ruby/object:Gem::Version
77
77
  version: 0.7.0
78
78
  - !ruby/object:Gem::Dependency