blockcypher-ruby 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/blockcypher/api.rb +4 -2
- data/spec/config.yml +2 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57bd644ca20b09669708df8ad9ee6bfde407b3ad96ea35a1b92d1fe3e6bb4a7
|
4
|
+
data.tar.gz: 74ea376dd072dddb1f795f625df8d7be4dcbe3163ef933adab48db7a99724d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f58122d38a6b058b77e27a71ff6f31e2b36eba7207d2f53aa5ca843c82968f3bae2c7ff85bdf63ce28a3dbbdfe5443db8ebfb7926fe6c5774f149185db2391c5
|
7
|
+
data.tar.gz: 8b4c1951d6a66682a45c870c1961296fb4cabdea7e92b9633e4cc764fd152534b3e3019e4942ad53812e2097a37ff06adda382e20a47d72890298229fdac2d08
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ Simply using rubygems:
|
|
13
13
|
Add this line to your application's Gemfile:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem 'blockcypher-ruby', '~> 0.2.
|
16
|
+
gem 'blockcypher-ruby', '~> 0.2.7'
|
17
17
|
```
|
18
18
|
|
19
19
|
And then execute:
|
@@ -29,7 +29,7 @@ $ git clone https://github.com/blockcypher/ruby-client.git
|
|
29
29
|
$ cd ruby-client
|
30
30
|
$ bundle
|
31
31
|
$ gem build blockcypher-ruby.gemspec
|
32
|
-
$ gem install blockcypher-ruby-0.2.
|
32
|
+
$ gem install blockcypher-ruby-0.2.7.gem
|
33
33
|
```
|
34
34
|
|
35
35
|
## Initializing a client
|
data/lib/blockcypher/api.rb
CHANGED
@@ -203,12 +203,14 @@ module BlockCypher
|
|
203
203
|
end
|
204
204
|
|
205
205
|
def address_full_txs(address, limit: 10, before: nil, after: nil,
|
206
|
-
include_hex: false, omit_wallet_addresses: false,
|
206
|
+
include_hex: false, omit_wallet_addresses: false,
|
207
|
+
include_confidence: false, txlimit: 20)
|
207
208
|
query = {
|
208
209
|
limit: limit,
|
209
210
|
includeHex: include_hex,
|
210
211
|
omitWalletAddresses: omit_wallet_addresses,
|
211
|
-
includeConfidence: include_confidence
|
212
|
+
includeConfidence: include_confidence,
|
213
|
+
txlimit: txlimit
|
212
214
|
}
|
213
215
|
query[:before] = before if before
|
214
216
|
query[:after] = after if after
|
data/spec/config.yml
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blockcypher-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CoinHako
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bitcoin-ruby
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- lib/blockcypher.rb
|
152
152
|
- lib/blockcypher/api.rb
|
153
153
|
- spec/blockcypher/api_spec.rb
|
154
|
+
- spec/config.yml
|
154
155
|
- spec/config.yml.sample
|
155
156
|
- spec/fixtures/vcr_cassettes/BlockCypher_Api/Asset_API/Asset_Transfer/should_transfer_asset.yml
|
156
157
|
- spec/fixtures/vcr_cassettes/BlockCypher_Api/Asset_API/Generate_Asset_Address/should_include_private_public_oap_address_original_address_hashes.yml
|
@@ -188,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
189
|
- !ruby/object:Gem::Version
|
189
190
|
version: '0'
|
190
191
|
requirements: []
|
191
|
-
rubygems_version: 3.0.3
|
192
|
+
rubygems_version: 3.0.3.1
|
192
193
|
signing_key:
|
193
194
|
specification_version: 4
|
194
195
|
summary: Ruby library to help you build your crypto application on BlockCypher
|