tapyrus 0.3.0 → 0.3.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 +4 -4
- data/.github/workflows/ruby.yml +2 -3
- data/.ruby-version +1 -1
- data/lib/tapyrus/chain_params.rb +2 -1
- data/lib/tapyrus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc2e90197905239fab7d891f05da735cf1fb2df0127abbb1ca38c1299130914d
|
|
4
|
+
data.tar.gz: 36a9a028b360a238077bd30c2380b3c722983d5dbd7e5f5d9e6e1d2dbd1408c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e336315f9e68a361edf4b0e2dec290a6e37f666375badc13336391289b773084d57ac324fa5e1b3334faa6400d931abd24dda05345901767a29e9f11251200bc
|
|
7
|
+
data.tar.gz: a1a3df8abf276b794eed62cd7b238d57fa909315f116d5f12c4b472e32b24c8da1ff8cc62e656fb985cf5728e24a7821580b1f24f09613535a2be4b23f3bf1fa
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -18,7 +18,7 @@ jobs:
|
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
19
|
strategy:
|
|
20
20
|
matrix:
|
|
21
|
-
ruby-version: ["2.
|
|
21
|
+
ruby-version: ["2.6", "2.7", "3.0", "3.1"]
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
24
|
- run: sudo apt install libleveldb-dev
|
|
@@ -26,8 +26,7 @@ jobs:
|
|
|
26
26
|
- name: Set up Ruby
|
|
27
27
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
28
28
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
29
|
-
|
|
30
|
-
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
|
29
|
+
uses: ruby/setup-ruby@v1
|
|
31
30
|
with:
|
|
32
31
|
ruby-version: ${{ matrix.ruby-version }}
|
|
33
32
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.1.2
|
data/lib/tapyrus/chain_params.rb
CHANGED
|
@@ -54,7 +54,8 @@ module Tapyrus
|
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
def self.init(name)
|
|
57
|
-
|
|
57
|
+
yaml = File.open("#{__dir__}/chainparams/#{name}.yml")
|
|
58
|
+
i = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(yaml) : YAML.load(yaml)
|
|
58
59
|
i.dust_relay_fee ||= Tapyrus::DUST_RELAY_TX_FEE
|
|
59
60
|
i
|
|
60
61
|
end
|
data/lib/tapyrus/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tapyrus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- azuchi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ecdsa
|
|
@@ -440,7 +440,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
440
440
|
- !ruby/object:Gem::Version
|
|
441
441
|
version: '0'
|
|
442
442
|
requirements: []
|
|
443
|
-
rubygems_version: 3.
|
|
443
|
+
rubygems_version: 3.3.7
|
|
444
444
|
signing_key:
|
|
445
445
|
specification_version: 4
|
|
446
446
|
summary: The implementation of Tapyrus Protocol for Ruby.
|