startcoin-client 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/lib/startcoin_client/api.rb +2 -1
- data/lib/startcoin_client/rpc.rb +3 -0
- data/lib/startcoin_client/version.rb +1 -1
- data/spec/lib/startcoin_client/api_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e48d1a6e0abdeb663a3095391d05ca86267a1f
|
4
|
+
data.tar.gz: 1d0874e91ff191ef7902de084535c5d64a3fed9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3751ca7592613822aa128c5faed834b595f681156cf0120d439a89cbb9ee357e1afbad12d302f403705f2e65255c98a44d40588b5335df5b900595b043407ef2
|
7
|
+
data.tar.gz: f69d00f59f47c90bdb266dbc08ae011db3fbfbde59f536b00329166bf5dcc390c989cb473004714bb04ad60fb42f7f1089aa5f149212c5c4b59ad06b79fd7937
|
data/lib/startcoin_client/api.rb
CHANGED
data/lib/startcoin_client/rpc.rb
CHANGED
@@ -5,6 +5,7 @@ class StartcoinClient::RPC
|
|
5
5
|
@user, @pass = options[:user], options[:pass]
|
6
6
|
@host, @port = options[:host], options[:port]
|
7
7
|
@ssl, @proxy = options[:ssl], options[:proxy]
|
8
|
+
@verify_ssl = options[:verify_ssl]
|
8
9
|
end
|
9
10
|
|
10
11
|
def credentials
|
@@ -32,11 +33,13 @@ class StartcoinClient::RPC
|
|
32
33
|
url: service_url,
|
33
34
|
payload: request.to_post_data,
|
34
35
|
proxy: @proxy,
|
36
|
+
verify_ssl: false,
|
35
37
|
headers: { content_type: :json },
|
36
38
|
&process_response)
|
37
39
|
end
|
38
40
|
|
39
41
|
private
|
42
|
+
|
40
43
|
def symbolize_keys(hash)
|
41
44
|
case hash
|
42
45
|
when Hash
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: startcoin-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin MacKenzie IV
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-01-
|
12
|
+
date: 2017-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|