right_agent 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #
23
23
 
24
- CORE_PAYLOAD_TYPES_BASE_DIR = File.join(File.dirname(__FILE__), 'core_payload_types')
24
+ unless defined? CORE_PAYLOAD_TYPES_BASE_DIR
25
+ CORE_PAYLOAD_TYPES_BASE_DIR = File.join(File.dirname(__FILE__), 'core_payload_types')
26
+ end
25
27
 
26
28
  require File.normalize_path(File.join(CORE_PAYLOAD_TYPES_BASE_DIR, 'cookbook'))
27
29
  require File.normalize_path(File.join(CORE_PAYLOAD_TYPES_BASE_DIR, 'cookbook_repository'))
@@ -25,7 +25,7 @@ require 'rbconfig'
25
25
 
26
26
  Gem::Specification.new do |spec|
27
27
  spec.name = 'right_agent'
28
- spec.version = '2.1.3'
28
+ spec.version = '2.1.4'
29
29
  spec.date = '2014-04-10'
30
30
  spec.authors = ['Lee Kirchhoff', 'Raphael Simon', 'Tony Spataro', 'Scott Messier']
31
31
  spec.email = 'lee@rightscale.com'
@@ -22,6 +22,8 @@
22
22
 
23
23
  require ::File.expand_path('../../spec_helper', __FILE__)
24
24
 
25
+ if RightScale::Platform.windows?
26
+
25
27
  # stub FII for testing on non-mingw platforms; any mingw-specific tests must
26
28
  # mock API calls.
27
29
  module FFI
@@ -220,3 +222,5 @@ describe RightScale::Platform do
220
222
 
221
223
  end # windows/mingw
222
224
  end # RightScale::Platform
225
+
226
+ end # if windows?
@@ -22,6 +22,8 @@
22
22
 
23
23
  require ::File.expand_path('../../spec_helper', __FILE__)
24
24
 
25
+ if RightScale::Platform.windows?
26
+
25
27
  # stub out definition of ::Win32::API for testing on non-Windows platforms.
26
28
  module Win32
27
29
  class API; end
@@ -257,3 +259,5 @@ describe RightScale::Platform do
257
259
 
258
260
  end # windows/mswin
259
261
  end # RightScale::Platform
262
+
263
+ end # if windows?
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.1.3
4
+ version: 2.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -412,7 +412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
412
412
  version: '0'
413
413
  segments:
414
414
  - 0
415
- hash: -3545944091295491847
415
+ hash: 3250741982797767948
416
416
  requirements: []
417
417
  rubyforge_project:
418
418
  rubygems_version: 1.8.26