woocommerce_api 1.1.1 → 1.1.2

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: 39e90d242ca1b25affdf33f5a93b0262bacd2efd
4
- data.tar.gz: af7a1573544ff4aa9e7dff40bf98f3e8247299a9
3
+ metadata.gz: 7d5fe62b56cded73f61f26308f6bba3ba15898b8
4
+ data.tar.gz: d29f7f4ce9027449ac4b2a54110f973e00d2600e
5
5
  SHA512:
6
- metadata.gz: aeaa7179c08bacb5b950c0366eb60cd98bb94bc39f046d3d74c5e12a04db2bcccf4466f1dc9c4725368c37213ae031abe2af53dcece78f5473896b5228b00cc5
7
- data.tar.gz: 9e5c2c31265c01a78ae9a3bbd309ef60c0bd3abfe4b889210373c8f791752564881bec488846b50df45d141dc490a0b265267f8ab93bfcc5d6f3a441ea950058
6
+ metadata.gz: dc90d44760b4b1c2c2eb801f315c814dbd30b460960cbba17230dac8c0d64375dfafe1f945193af8e230a35df409125cfc027ee4f0557c75c93fafa3e4c2136e
7
+ data.tar.gz: bde96c899c1d8f5f172c3e8dc4cfcb499fd91084782243491502b4e2815dcac3241820e1c2f216b7e4d40ca064cabb0890033b86179fa6d8bed0c23a0f670245
data/README.md CHANGED
@@ -93,7 +93,8 @@ puts response.headers["x-wc-totalpages"] # Total of pages
93
93
 
94
94
  ## Release History
95
95
 
96
- - 2015-08-27 - 1.1.1 - Fixed the encode when have spaces in the URL parameters.
96
+ - 2015-12-07 - 1.1.2 - Stop send `body` in GET and DELETE requests.
97
+ - 2015-12-07 - 1.1.1 - Fixed the encode when have spaces in the URL parameters.
97
98
  - 2015-08-27 - 1.1.0 - Added `query` argument for GET and DELETE methods, reduced chance of nonce collisions and added support for urls including ports
98
99
  - 2015-08-27 - 1.0.3 - Encode all % characters in query string for OAuth 1.0a.
99
100
  - 2015-08-12 - 1.0.2 - Fixed the release date.
@@ -123,7 +123,8 @@ module WooCommerce
123
123
  password: @consumer_secret
124
124
  })
125
125
  end
126
- options.merge!(body: data.to_json) if data
126
+ options.merge!(body: data.to_json) if !data.empty?
127
+
127
128
  HTTParty.send(method, url, options)
128
129
  end
129
130
 
@@ -1,3 +1,3 @@
1
1
  module WooCommerce
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woocommerce_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Sanches
@@ -14,6 +14,9 @@ dependencies:
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.13'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 0.13.7
@@ -21,6 +24,9 @@ dependencies:
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.13'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 0.13.7