onchain 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onchain/block_chain.rb +3 -3
- data/lib/onchain/payments.rb +1 -1
- data/lib/onchain/sweeper.rb +1 -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: 603a864a335ed6cee0809e270eacc6ac5a26ab83
|
4
|
+
data.tar.gz: a8e588d02f6758232d4389c1de0ac3518af55b13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e394b7451c91446846de1142d3abdbcbd39d9a77e4840380bfd1d26c918000b1359f8576f5cedc5e6711c3dc5fb8b9e29f85a1581b8395d673bfe70a94c973c9
|
7
|
+
data.tar.gz: 4a9726a7633b292079d74535f9f35770cd807089982568627d8a69e0feea2c4bf6c423d29d83618858bcb338a16a1df8729db1cab2cdde70c3b221850f577dc9
|
data/lib/onchain/block_chain.rb
CHANGED
@@ -22,9 +22,9 @@ class OnChain::BlockChain
|
|
22
22
|
|
23
23
|
def method_missing (method_name, *args, &block)
|
24
24
|
|
25
|
-
if ENV['
|
26
|
-
Chain.api_key_id = ENV['
|
27
|
-
Chain.api_key_secret = ENV['
|
25
|
+
if ENV['CHAIN-API-KEY-ID'] != nil
|
26
|
+
Chain.api_key_id = ENV['CHAIN-API-KEY-ID']
|
27
|
+
Chain.api_key_secret = ENV['CHAIN-API-KEY-SECRET']
|
28
28
|
end
|
29
29
|
|
30
30
|
get_available_suppliers(method_name).each do |supplier|
|
data/lib/onchain/payments.rb
CHANGED
data/lib/onchain/sweeper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Purton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|