shapeshiftio 0.0.3 → 0.0.4

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: dda1cd5a1253ee0e6ff505faef192ccbf0329db1
4
- data.tar.gz: abf87fe93a2e881056c568ca3e25d2934a5c8224
3
+ metadata.gz: 340b3ce6c6a7e51f5538aab4e6cf2fa5b03d6dc7
4
+ data.tar.gz: 041d4743f77aad169da1142fd6faf081eb1c37a4
5
5
  SHA512:
6
- metadata.gz: a1b950ec9bc567b834a493ee83d1476bae476550280ac0cced9b6e82045c31e9217c1db06fb758855342760bb844ee5572050c69c047737fb364016601f0e850
7
- data.tar.gz: f1fd43de63469e764ebf71ed0ea9c27cded025f269dfb94ba05ccf67f5ed014ec80a23e2073fe13a0d3667a65cb868e574a96b6180af0f63c7fd1d75807d4944
6
+ metadata.gz: 66191822a9ffc9e9d653d486a91611ee43ae9d42986ca082c8066655fcdbbfca8f493324329a5861f597d1021f00e53ab2f353e5a68fb6a2c5cb3687842c7146
7
+ data.tar.gz: 9cb8e74b0982e851ad9d3ef48e9bfdf4139cf4044241439c8a376837b99b0ece1e294eac3c977a9abf921e76f679989600aee0ee6e7e3d9ab79fea24d3b261f3
data/README.md CHANGED
@@ -7,6 +7,8 @@ A complete ruby wrapper for shapeshift.io API
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
+ gem 'shapeshiftio', git: 'https://github.com/rbm4/shapeshiftio'
11
+ or simply
10
12
  gem 'shapeshiftio'
11
13
  ```
12
14
 
@@ -1,3 +1,3 @@
1
1
  module Shapeshiftio
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/shapeshiftio.rb CHANGED
@@ -12,7 +12,7 @@ private
12
12
  http = Net::HTTP.new(url.host, url.port)
13
13
  http.use_ssl = (url.scheme == "https")
14
14
  response = http.request(req)
15
- result = response.body.to_json
15
+ result = JSON.parse(response.body)
16
16
  end
17
17
 
18
18
 
data/shapeshiftio.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["ricardo.malafaia1994@gmail.com"]
11
11
 
12
12
  spec.summary = %q{A complete functional Ruby wrapper for the shapeshift.io API.}
13
- spec.description = %q{Only use versions above 0.0.3!}
13
+ spec.description = %q{A complete functional Ruby wrapper for the shapeshift.io API.}
14
14
  spec.homepage = "https://github.com/rbm4/shapeshiftio"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shapeshiftio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Malafaia
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: Only use versions above 0.0.3!
41
+ description: A complete functional Ruby wrapper for the shapeshift.io API.
42
42
  email:
43
43
  - ricardo.malafaia1994@gmail.com
44
44
  executables: []