cliskip2 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cliskip2/connection.rb +5 -1
- data/lib/cliskip2/version.rb +1 -1
- metadata +4 -4
data/lib/cliskip2/connection.rb
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
require 'faraday'
|
3
3
|
require 'faraday_middleware'
|
4
4
|
require 'oauth'
|
5
|
+
# see oauth-0.4.6/lib/oauth/consumer.rb
|
6
|
+
# For using OpenSSL::SSL::VERIFY_NONE
|
7
|
+
::OAuth::Consumer::CA_FILE = nil
|
5
8
|
require 'cliskip2/request/oauth'
|
6
9
|
|
7
10
|
module Cliskip2
|
@@ -17,7 +20,8 @@ module Cliskip2
|
|
17
20
|
:accept => 'application/json',
|
18
21
|
:user_agent => user_agent,
|
19
22
|
},
|
20
|
-
:url => endpoint
|
23
|
+
:url => endpoint,
|
24
|
+
:ssl => {:verify => false}
|
21
25
|
}
|
22
26
|
credentials = {
|
23
27
|
:consumer_key => consumer.key,
|
data/lib/cliskip2/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cliskip2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Naoki Maeda
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-06-
|
18
|
+
date: 2012-06-19 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|