iron_core 1.0.0 → 1.0.1
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 +1 -1
- 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: ef4c1ff60a4d5967fd984e4d190d8365cd5fb476
|
4
|
+
data.tar.gz: 84e1dc9a0bd28ad52344ee10cf001639be6add1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2da4c873889ba23192cd1a3e8fe3c4c3227aa59066107f74d689ee12496901aec00262a9881a20d2bbd3ebbdf81028732d6057fdfb93c976ac225358661d20e
|
7
|
+
data.tar.gz: 427cdbc565bc0162ccff282458571f290cef9a0edbcef2cb3a2c8561488a89bd3c7fd659f128cf96c8fa8b3f654f5b0cca4be2a0bec13d277d693586867d8686
|
data/lib/iron_core/client.rb
CHANGED
@@ -239,7 +239,7 @@ module IronCore
|
|
239
239
|
IronCore::Logger.debug 'IronCore', "Streaming GET #{uri} with params='#{request_hash.to_s}'"
|
240
240
|
|
241
241
|
req = URI(uri)
|
242
|
-
Net::HTTP.start(req.hostname, req.port, use_ssl
|
242
|
+
Net::HTTP.start(req.hostname, req.port, :use_ssl => (req.scheme == 'https')) do |http|
|
243
243
|
http.request_get(req, request_hash[:headers]) do |res|
|
244
244
|
res.read_body do |chunk|
|
245
245
|
yield(chunk)
|
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: 1.0.
|
4
|
+
version: 1.0.1
|
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-07-
|
12
|
+
date: 2013-07-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest
|