right_agent 2.3.2 → 2.3.3

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: 417ec9216dbf120ff9b65b4cc81f89ba85bbd2b6
4
- data.tar.gz: eb8a6033c5fb7265037a5976f824ad9116ebc8ec
3
+ metadata.gz: db2a79bd1b9f91f54dfe30ab4652985b70fbc017
4
+ data.tar.gz: 3635fc09939c5e3b345a4ee8c60bd0dc73d3b71b
5
5
  SHA512:
6
- metadata.gz: 2de8f5d35bdb742e5805ff880085f847a7f416f29e1c251f202acb38d7dddcc6800f14430d6b25e52fd5efc1c195d74acb127c3e2e7b9282ce61703759bde348
7
- data.tar.gz: 7b7234d5af8cb3fb0bb48289cfe4e9d2f35b2561936fc1e0f341aa56b1ab26869a2f39caf0f58b49e9a8cef7d27e3fb6284d3635390432b8e6b27169d1d4178d
6
+ metadata.gz: 451c64903f263e78b7c5c70d8def94675c4230140d4078f0e86fa04f80930d70dcc0aeaa4e2488bdb7233f6258a1136972b6ba549e5ebc356b6d467169b63c64
7
+ data.tar.gz: 6acd69a04999f183c921bd882ad304edfcda40841e4c7e5f4c79a2e28b56bbb271ea43f39228d8a4a6232357369efd670d0cb92fbb8d5037f624f97a879ed518
@@ -91,6 +91,7 @@ module RightScale
91
91
  # Value :no_trace means no backtrace and no tracking in stats or reporting to Errbit
92
92
  TRACE_LEVEL = {
93
93
  RightSupport::Net::NoResult => :no_trace,
94
+ RightScale::HttpExceptions::RequestTimeout => :no_trace,
94
95
  RightScale::Exceptions::ConnectivityFailure => :no_trace,
95
96
  RightScale::BalancedHttpClient::NotResponding => :no_trace,
96
97
  RightAMQP::HABrokerClient::NoConnectedBrokers => :no_trace
@@ -248,6 +248,20 @@ unless defined?(RightScale::Platform)
248
248
  output_text
249
249
  end
250
250
 
251
+ # Determines which cloud we're on by the cheap but simple expedient of
252
+ # reading the RightScale cloud file.
253
+ #
254
+ # @deprecated leverage the right_link cloud libraries for any cloud-
255
+ # specific behavior because the behavior of all possible clouds is
256
+ # beyond the scope of hard-coded case statements.
257
+ #
258
+ # @return [String] cloud type or nil
259
+ def resolve_cloud_type
260
+ cloud_file_path = ::File.join(self.filesystem.right_scale_static_state_dir, 'cloud')
261
+ @cloud_type = ::File.read(cloud_file_path) rescue nil
262
+ @cloud_type
263
+ end
264
+
251
265
  # Base class for platform helpers.
252
266
  class PlatformHelperBase
253
267
 
@@ -745,20 +759,6 @@ unless defined?(RightScale::Platform)
745
759
  return res
746
760
  end
747
761
 
748
- # Determines which cloud we're on by the cheap but simple expedient of
749
- # reading the RightScale cloud file.
750
- #
751
- # @deprecated leverage the right_link cloud libraries for any cloud-
752
- # specific behavior because the behavior of all possible clouds is
753
- # beyond the scope of hard-coded case statements.
754
- #
755
- # @return [String] cloud type or nil
756
- def resolve_cloud_type
757
- cloud_file_path = ::File.join(self.filesystem.right_scale_static_state_dir, 'cloud')
758
- @cloud_type = ::File.read(cloud_file_path) rescue nil
759
- @cloud_type
760
- end
761
-
762
762
  end # Platform
763
763
 
764
764
  end # RightScale
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.2'
29
- spec.date = '2014-06-18'
28
+ spec.version = '2.3.3'
29
+ spec.date = '2014-07-08'
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'
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.2
4
+ version: 2.3.3
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-06-18 00:00:00.000000000 Z
14
+ date: 2014-07-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: right_support