block_io 1.2.0 → 1.2.1
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 +5 -5
- data/README.md +2 -1
- data/examples/dtrust.rb +1 -0
- data/lib/block_io.rb +4 -2
- data/lib/block_io/version.rb +1 -1
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 64a968ba0f92fcd2d78097633d45b3c5af847bb4d485d1edad901dbbfff959d6
|
4
|
+
data.tar.gz: 8924f4b86c12833f80bda1ef5f91be065d974f37556a4909703d46b635db0071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 658d6559024e0bfa246fee235c61327111fd624df4d0503ec1522df6d8cd029fb8e155885f6b9555efe5fd823d2f9d7bdf8847e4b09579057ae8c2c4bcc690ae
|
7
|
+
data.tar.gz: ed86538d0e8811b768271b20c1dc370c9d00f9cdbce18fd75a9582e6a80e2a2562b6851c8f74e422b39aac3550ce6d8350635b9b9c7edc2915393e7226f5b3cd
|
data/README.md
CHANGED
@@ -14,10 +14,11 @@ And then execute:
|
|
14
14
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
17
|
-
$ gem install block_io -v=1.2.
|
17
|
+
$ gem install block_io -v=1.2.1
|
18
18
|
|
19
19
|
## Changelog
|
20
20
|
|
21
|
+
*05/10/19*: Prevent inadvertent passing of PINs (user error).
|
21
22
|
*06/25/18*: Remove support for Ruby < 1.9.3 (OpenSSL::Cipher::Cipher). Remove connection_pool dependency.
|
22
23
|
*01/21/15*: Added ability to sweep coins from one address to another.
|
23
24
|
*11/04/14*: Fix issue with nil parameters in an API call.
|
data/examples/dtrust.rb
CHANGED
data/lib/block_io.rb
CHANGED
@@ -59,9 +59,11 @@ module BlockIo
|
|
59
59
|
|
60
60
|
raise Exception.new("PIN not set. Use BlockIo.set_options(:api_key=>'API KEY',:pin=>'SECRET PIN',:version=>'API VERSION')") if @pin.nil?
|
61
61
|
|
62
|
-
|
62
|
+
# make sure pins don't get passed inadvertently
|
63
|
+
args.delete(:pin)
|
64
|
+
args.delete('pin')
|
63
65
|
|
64
|
-
params
|
66
|
+
params = get_params(args)
|
65
67
|
|
66
68
|
response = self.api_call([method_name, params])
|
67
69
|
|
data/lib/block_io/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: block_io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atif Nazir
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -42,42 +42,42 @@ dependencies:
|
|
42
42
|
name: ecdsa
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.2'
|
48
45
|
- - ">="
|
49
46
|
- !ruby/object:Gem::Version
|
50
47
|
version: 1.2.0
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '1.2'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '1.2'
|
58
55
|
- - ">="
|
59
56
|
- !ruby/object:Gem::Version
|
60
57
|
version: 1.2.0
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '1.2'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: httpclient
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '2.8'
|
68
65
|
- - ">="
|
69
66
|
- !ruby/object:Gem::Version
|
70
67
|
version: 2.8.0
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '2.8'
|
71
71
|
type: :runtime
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.8'
|
78
75
|
- - ">="
|
79
76
|
- !ruby/object:Gem::Version
|
80
77
|
version: 2.8.0
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '2.8'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: oj
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,8 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
|
162
|
-
rubygems_version: 2.6.11
|
161
|
+
rubygems_version: 3.0.1
|
163
162
|
signing_key:
|
164
163
|
specification_version: 4
|
165
164
|
summary: An easy to use Dogecoin, Bitcoin, Litecoin wallet API by Block.io. Sign up
|