optimis_client 0.3.2 → 0.3.3

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- optimis_client (0.3.1)
4
+ optimis_client (0.3.3)
5
5
  typhoeus (~> 0.3.3)
6
6
  yajl-ruby
7
7
 
@@ -30,9 +30,6 @@ module OptimisClient
30
30
  end
31
31
 
32
32
  def secure=(value, disable_ssl_peer_verification = true)
33
- if value && !(Typhoeus::Easy.new.curl_version =~ /OpenSSL/)
34
- raise "Your libcurl SSL support not enabled."
35
- end
36
33
  @secure = value
37
34
  @disable_ssl_peer_verification = disable_ssl_peer_verification
38
35
  end
@@ -1,3 +1,3 @@
1
1
  module OptimisClient
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
@@ -11,15 +11,8 @@ describe OptimisClient::Base do
11
11
  subject { OptimisClient::Base }
12
12
 
13
13
  describe "Setup HTTP protocol" do
14
-
15
14
  it "supports https" do
16
15
  lambda { OptimisClient::Base.secure = true }.should_not raise_error
17
16
  end
18
-
19
- it "should raise error if your libcurl SSL support not enabled." do
20
- Typhoeus::Easy.stub!(:new).and_return(mock("", :curl_version => "libcurl/7.19.7 OpenXXX/0.9.8l zlib/1.2.3"))
21
- lambda { OptimisClient::Base.secure = true }.should raise_error(RuntimeError)
22
- end
23
17
  end
24
-
25
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimis_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
12
+ date: 2012-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
@@ -104,3 +104,4 @@ summary: Optimis Client library
104
104
  test_files:
105
105
  - spec/lib/base_spec.rb
106
106
  - spec/spec_helper.rb
107
+ has_rdoc: