cloudkick 0.2.3 → 0.2.4
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/VERSION +1 -1
- data/cloudkick.gemspec +1 -1
- data/lib/cloudkick/base.rb +3 -4
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.4
|
data/cloudkick.gemspec
CHANGED
data/lib/cloudkick/base.rb
CHANGED
|
@@ -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 =>
|
|
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
|