right_chimp 2.1.17 → 2.1.18

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9005af94e19fd62dbd5336cf810c160fae7a201
4
- data.tar.gz: 35be5f24c076f7b019df1ba91d5d9166143cb2c1
3
+ metadata.gz: c155034bd3983f33f3fd6be0e0ffb004f2ce677d
4
+ data.tar.gz: b7697ab4ea6ba2a13ab4ec136506103ecd2e824a
5
5
  SHA512:
6
- metadata.gz: 21cca557f34763e5c50be7462be5c519b101f4ffd9599426188af4e74671f7a59bd0c520f943823d7bb2f28eab697fef2a4cbfa83fd53589d91850a8686bf74f
7
- data.tar.gz: 51c6a7fe550bfe69e559124acbee9b23d6827d264325717e9af0404328f42db1df6e31121cc6ed03ba8d0375b7a99dd057811fbe03e9a5a5db792bc7119688d7
6
+ metadata.gz: 4febba24de0d547d56b7031440f6c8e4ad948ee180d7a76e4c6635c5cb7d79e80b76e855720ad53b61e724a46f078e785ceee14a4d58c465fad5daed7681aae7
7
+ data.tar.gz: 210fc79c817bc65c4b6858e80ac0e54d4ec99c2666200a8ac5a4884d42749fb75937c36176d366a1708e06a7804456d7e0d2016d9e5a7dd31b36dc43ef1e2f5f
data/CHANGES CHANGED
@@ -168,3 +168,7 @@ Version 2.1.16
168
168
  Version 2.1.17
169
169
  --------------
170
170
  * Bugfix: we now use 'safe_yaml' to prevent erroring out on a 422 response from the api.
171
+
172
+ Version 2.1.18
173
+ --------------
174
+ * Just so rubygems picks up proper version
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- right_chimp (2.1.16)
4
+ right_chimp (2.1.18)
5
5
  highline (~> 1.7.2)
6
6
  nokogiri (~> 1.6.7.1)
7
7
  progressbar (~> 0.11.0)
@@ -34,8 +34,10 @@ module Chimp
34
34
  end
35
35
 
36
36
  def self.start_right_api_client
37
- require 'yaml'
38
- require 'right_api_client'
37
+ # Make sure to configure safe_yaml properly
38
+ SafeYAML::OPTIONS[:default_mode] = :safe
39
+ SafeYAML::OPTIONS[:deserialize_symbols] = true
40
+
39
41
  begin
40
42
  creds = YAML.load_file("#{ENV['HOME']}/.rest_connection/rest_api_config.yaml")
41
43
 
@@ -1,3 +1,3 @@
1
1
  module Chimp
2
- VERSION = "2.1.17"
2
+ VERSION = "2.1.18"
3
3
  end
data/lib/right_chimp.rb CHANGED
@@ -12,7 +12,6 @@ require 'progressbar'
12
12
  require 'json'
13
13
  require 'yaml'
14
14
  require 'safe_yaml'
15
-
16
15
  require 'highline/import'
17
16
 
18
17
  require 'right_api_client'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_chimp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.17
4
+ version: 2.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - RightScale Operations
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-01 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake