cloudkick 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/cloudkick.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cloudkick}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cloudkick"]
@@ -12,11 +12,11 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  require 'oauth'
15
+ require 'openssl'
15
16
 
16
17
  module Cloudkick
17
18
  class Base
18
-
19
- BASE_URL = 'https://api.cloudkick.com'
19
+ OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
20
20
 
21
21
  def initialize(consumer_key, consumer_secret)
22
22
  @@key = consumer_key
@@ -25,7 +25,7 @@ module Cloudkick
25
25
 
26
26
  def consumer
27
27
  @@consumer ||= OAuth::Consumer.new(@@key, @@secret,
28
- :site => BASE_URL,
28
+ :site => 'https://api.cloudkick.com',
29
29
  :http_method => :get)
30
30
  end
31
31
 
@@ -38,6 +38,5 @@ module Cloudkick
38
38
  Cloudkick::Nodes.new(query)
39
39
  end
40
40
  end
41
-
42
41
  end
43
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudkick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudkick