streamio 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +4 -0
- data/README.md +1 -0
- data/lib/streamio.rb +1 -0
- data/lib/streamio/resource.rb +1 -0
- data/lib/streamio/version.rb +1 -1
- metadata +3 -3
data/HISTORY.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 1.0.6 2012-12-03
|
2
|
+
|
3
|
+
* Add configuration option for skipping ssl verification (might be useful for newbies on Windows getting OpenSSL errors).
|
4
|
+
|
1
5
|
# 1.0.4 2012-12-03
|
2
6
|
|
3
7
|
* Add proper handling of authorization by raising Streamio::Errors::Unauthorized when using wrong username/password.
|
data/README.md
CHANGED
data/lib/streamio.rb
CHANGED
data/lib/streamio/resource.rb
CHANGED
@@ -9,6 +9,7 @@ module Streamio
|
|
9
9
|
uri = URI.parse(Streamio.protocol+Streamio.host)
|
10
10
|
@net = Net::HTTP.new(uri.host, uri.port)
|
11
11
|
@net.use_ssl = Streamio.use_ssl
|
12
|
+
@net.verify_mode = OpenSSL::SSL::VERIFY_NONE if Streamio.skip_ssl_verification
|
12
13
|
end
|
13
14
|
|
14
15
|
def get(path, parameters = {})
|
data/lib/streamio/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: streamio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
segments:
|
146
146
|
- 0
|
147
|
-
hash:
|
147
|
+
hash: 1565331807691931760
|
148
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
segments:
|
155
155
|
- 0
|
156
|
-
hash:
|
156
|
+
hash: 1565331807691931760
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
159
|
rubygems_version: 1.8.24
|