azure-armrest 0.2.6 → 0.2.7

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: 5bc812c499cfa7408aec0074256c17473d845988
4
- data.tar.gz: d54a716667c8d7c50f28275d6652cf3c61998305
3
+ metadata.gz: edf2ba291d6e30b9bbc4b1358d33fa0b0ab44203
4
+ data.tar.gz: c4a444504dfe8e490a04166806d889d2b1a4426f
5
5
  SHA512:
6
- metadata.gz: bc3934aab613328f0c07f3dfa0851b4e8c4ba2b86f10cc282171557dce558d4f9931359e7eb9214b07c8fc414885b985afea68249e004b660aeab133dfc3325b
7
- data.tar.gz: eb767973f551518150186ed4ba42e38f4e6a752ed80f69319c0060e61a28f5e3834c029e1b93b5ee0bda7bd2f09db3d1f4c0ac6c5dbfd3842d76f1f976def50a
6
+ metadata.gz: 8f3aefdf3b5d17a8e2226a8edbb4fa855f81c697038c5ea9b6d8f9e3df14a72fd93b99f9f6ef417e95455b2cab31572647d4443ae222a480ff41d28cac6a8211
7
+ data.tar.gz: 977091814361c70170aca2bab6e8a889d0e8287ffd202285aa94cfb573cc2f92ab09d4ad8085d2eb4560073e37e009b8d787186c8235ff982db0464592a82e15
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ = 0.2.7 - 20-Jun-2016
2
+ * All internal calls to rest-client are now explicitly URI.encode'd.
3
+
1
4
  = 0.2.6 - 9-May-2016
2
5
  * If no subscription is provided, the internal method for fetching a default
3
6
  subscription ID will now skip over tenant/subscription mismatches.
@@ -380,7 +380,12 @@ module Azure
380
380
  end
381
381
 
382
382
  def self.rest_execute(options, http_method = :get)
383
- RestClient::Request.execute(options.merge(:method => http_method))
383
+ options = options.merge(
384
+ :method => http_method,
385
+ :url => URI.escape(options[:url])
386
+ )
387
+
388
+ RestClient::Request.execute(options)
384
389
  rescue RestClient::Exception => e
385
390
  raise_api_exception(e)
386
391
  end
@@ -1,5 +1,5 @@
1
1
  module Azure
2
2
  module Armrest
3
- VERSION = '0.2.6'
3
+ VERSION = '0.2.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-armrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-05-09 00:00:00.000000000 Z
14
+ date: 2016-06-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json