blockcypher-ruby 0.2.6 → 0.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4d54eab1d965239db06020543ac99c61dd1e3779b83d7f74f640e06a96ab728
4
- data.tar.gz: 560ff7e2e88f1dd61d494f89925c5f04e76bba825e959b4a8d3a182a094b0b0c
3
+ metadata.gz: d57bd644ca20b09669708df8ad9ee6bfde407b3ad96ea35a1b92d1fe3e6bb4a7
4
+ data.tar.gz: 74ea376dd072dddb1f795f625df8d7be4dcbe3163ef933adab48db7a99724d37
5
5
  SHA512:
6
- metadata.gz: 3c64b0ca05d8c0cd0ffec4b3805c3abc8b7010439de254d39dabb3fe74595782737b35e8326bbead96aee04c49167f2c9293e699b013adacfb895d2d1f25a6d2
7
- data.tar.gz: a84fc2cb516483d768076731cf4dc0e89258e3946bdb065e6783b4e8fc9f3aa9e0d630a290c83458e14f41983a90801b768c2bf15b8aa275de18bece43cff1be
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.5'
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.5.gem
32
+ $ gem install blockcypher-ruby-0.2.7.gem
33
33
  ```
34
34
 
35
35
  ## Initializing a client
@@ -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, include_confidence: 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
@@ -0,0 +1,2 @@
1
+ ---
2
+ api_token: aa5ced01083e7f6f0b3dc11e618379a9
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.6
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: 2020-05-08 00:00:00.000000000 Z
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