iron_core 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iron_core/client.rb +3 -0
- data/lib/iron_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d104da8dfd738e452eae411c79c12e2155ea7336
|
4
|
+
data.tar.gz: 8299426d2060115b603a6c1d361a478395bdbbd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cb0a4d432c6a6ecac4166201f58fbcf12df47329c0cf9ec75b7614c90b6cc08b358b1b96e9528b7fba7ea12a93cd2f94c98528166867a270e3e68178c2c9b5e
|
7
|
+
data.tar.gz: 1a5daff07d4dd274f3d9cba41542f742e89d1ffa37142b65d8d7f67380b42167d22713cf30d2fe08439eec959833411036b05acdcc27da5b5ebaa9f60385a340
|
data/lib/iron_core/client.rb
CHANGED
@@ -205,6 +205,9 @@ module IronCore
|
|
205
205
|
def delete(method, params = {}, headers2={})
|
206
206
|
request_hash = {}
|
207
207
|
request_hash[:headers] = headers.merge(headers2)
|
208
|
+
if params.size > 0
|
209
|
+
request_hash[:headers].merge!({'Content-Type' => @content_type})
|
210
|
+
end
|
208
211
|
request_hash[:body] = params.to_json
|
209
212
|
|
210
213
|
IronCore::Logger.debug 'IronCore', "DELETE #{base_url + method} with params='#{request_hash.to_s}'"
|
data/lib/iron_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kirilenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest
|