block_io 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c290c375f3fb3278c9a27bc3950b2fab5933631d3e3e8eff1e7564c5ebfd9e8b
4
- data.tar.gz: a42456ef38ce4785622494a8b95171416eb9da05d776d269ac9984f49a977897
3
+ metadata.gz: eed2e36f43cdd4162187d87cc37d1a7262cf3bb49c74dd0ee5fa419287700805
4
+ data.tar.gz: c8841cd420bd57b9c29b8617aaf39f26d2e8a7050d432c2a0cc9b35bf3b0d602
5
5
  SHA512:
6
- metadata.gz: 317e3939e17806aedaec69f82cdd843c016342af51db8fc308fad666212f812153c239af4c768528fd7cce61f984af7704b5b06317f020a0a924f5c1b2a48969
7
- data.tar.gz: 4d2223d07edcb8ddee3a16745c10e17b8a4a802cc793e3fd8b8c6673f7138ed728bd418799e3e4eb8ee163f2407463decf1fcad0e960822240cf9afcf606d831
6
+ metadata.gz: 54d0ba740aa4cfbe535ae9a3c57f42d72f70422840609634c2810e9d2f491d53281fbb8afd6739da7e13d9329bfd0234e8b82e50b649f419dc963ae1dd465660
7
+ data.tar.gz: 60275bf0b7acffcdc354c095e557b34f1815aa5819e000384ef182f9439287188d9fd660951aa195b329a1cb0959a58b9ef8a397ba6f533625733a094124c240
data/.travis.yml CHANGED
@@ -1,9 +1,9 @@
1
1
  language: ruby
2
2
  os:
3
3
  - linux
4
+ dist:
5
+ - bionic
4
6
  rvm:
5
- - 2.4
6
- - 2.5
7
7
  - 2.6
8
8
  - 2.7
9
9
  - 3.0
data/README.md CHANGED
@@ -17,6 +17,7 @@ Or install it yourself as:
17
17
  $ gem install block_io
18
18
 
19
19
  ## Changelog
20
+ *12/26/21*: Version 3.0.4 drops support for EOL Ruby 2.4, 2.5. Supports Ruby 3.1.
20
21
  *09/28/21*: Version 3.0.3 supports witness_v1 outputs (Bech32m).
21
22
  *07/21/21*: Version 3.0.2 fixes Litecoin P2SH address version.
22
23
  *06/09/21*: Version 3.0.1 implements use of dynamic decryption algorithms.
data/block_io.gemspec CHANGED
@@ -15,14 +15,14 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
- spec.required_ruby_version = '>= 2.4.0'
18
+ spec.required_ruby_version = '>= 2.6.0'
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", ">= 1.16", "< 3.0"
22
22
  spec.add_development_dependency "rake", "~> 13.0", ">= 13.0"
23
23
  spec.add_development_dependency "rspec", "~> 3.6", ">= 3.6"
24
24
  spec.add_development_dependency "webmock", "~> 3.12", "< 4.0"
25
- spec.add_runtime_dependency "bitcoinrb", "~> 0.8.0", "= 0.8.0"
25
+ spec.add_runtime_dependency "bitcoinrb", "~> 1.0", "= 1.0.0"
26
26
  spec.add_runtime_dependency "http", ">= 4.4.1", "< 6.0"
27
27
  spec.add_runtime_dependency "oj", "~> 3.0", "< 4.0"
28
28
  spec.add_runtime_dependency "connection_pool", ">= 2.2", "< 3.0"
@@ -2,7 +2,7 @@
2
2
  network: "BTC"
3
3
  address_version: "00"
4
4
  p2sh_version: "05"
5
- bech32_hrp: 'bc'
5
+ bech32_hrp: "bc"
6
6
  privkey_version: "80"
7
7
  extended_privkey_version: "0488ade4"
8
8
  extended_pubkey_version: "0488b21e"
@@ -2,7 +2,7 @@
2
2
  network: "BTCTEST"
3
3
  address_version: "6f"
4
4
  p2sh_version: "c4"
5
- bech32_hrp: 'tb'
5
+ bech32_hrp: "tb"
6
6
  privkey_version: "ef"
7
7
  extended_privkey_version: "04358394"
8
8
  extended_pubkey_version: "043587cf"
@@ -2,7 +2,7 @@
2
2
  network: "LTC"
3
3
  address_version: "30"
4
4
  p2sh_version: "50"
5
- bech32_hrp: 'ltc'
5
+ bech32_hrp: "ltc"
6
6
  privkey_version: "b0"
7
7
  extended_privkey_version: "019d9cfe"
8
8
  extended_pubkey_version: "019da462"
@@ -2,7 +2,7 @@
2
2
  network: "LTCTEST"
3
3
  address_version: "6f"
4
4
  p2sh_version: "3a"
5
- bech32_hrp: 'tltc'
5
+ bech32_hrp: "tltc"
6
6
  privkey_version: "ef"
7
7
  extended_privkey_version: "0436f6e1"
8
8
  extended_pubkey_version: "0436ef7d"
@@ -21,7 +21,7 @@ module Bitcoin
21
21
  end
22
22
 
23
23
  def self.init(name)
24
- i = YAML.load(File.open("#{__dir__}/chainparams/#{name}.yml"))
24
+ i = YAML.safe_load(File.open("#{__dir__}/chainparams/#{name}.yml"), :permitted_classes => [Bitcoin::ChainParams])
25
25
  i.dust_relay_fee ||= Bitcoin::DUST_RELAY_TX_FEE
26
26
  i
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module BlockIo
2
- VERSION = "3.0.3"
2
+ VERSION = "3.0.4"
3
3
  end
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: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atif Nazir
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-28 00:00:00.000000000 Z
11
+ date: 2021-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -96,20 +96,20 @@ dependencies:
96
96
  requirements:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: 0.8.0
99
+ version: '1.0'
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 0.8.0
102
+ version: 1.0.0
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: 0.8.0
109
+ version: '1.0'
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.8.0
112
+ version: 1.0.0
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: http
115
115
  requirement: !ruby/object:Gem::Requirement
@@ -299,14 +299,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
299
299
  requirements:
300
300
  - - ">="
301
301
  - !ruby/object:Gem::Version
302
- version: 2.4.0
302
+ version: 2.6.0
303
303
  required_rubygems_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
305
  - - ">="
306
306
  - !ruby/object:Gem::Version
307
307
  version: '0'
308
308
  requirements: []
309
- rubygems_version: 3.2.22
309
+ rubygems_version: 3.3.3
310
310
  signing_key:
311
311
  specification_version: 4
312
312
  summary: An easy to use Dogecoin, Bitcoin, Litecoin wallet API by Block.io. Sign up