sibit 0.24.0 → 0.25.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/codecov.yml +5 -4
- data/.github/workflows/pdd.yml +2 -2
- data/.github/workflows/rake.yml +2 -2
- data/.github/workflows/xcop.yml +2 -2
- data/.rubocop.yml +2 -0
- data/.rultor.yml +4 -3
- data/Gemfile +8 -8
- data/README.md +2 -1
- data/bin/sibit +1 -1
- data/features/step_definitions/steps.rb +1 -1
- data/lib/sibit/version.rb +1 -1
- data/sibit.gemspec +5 -5
- data/test/test_live.rb +1 -1
- metadata +21 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c96fa92b49010bf09b0fa6594639e188ff9dcfe72692b540bc657aba3d02a9c
|
|
4
|
+
data.tar.gz: 93cf762ac7f84cc37852514d7e8159c676557c381d6e914282bcbe990a618f09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a8729abe648eb000de1b38057ce2af871b2041cdd5e0a3a3b30fac992474204b81b33d074660e9198cfd96997c51e241a78c1253227ff11e62e0f3beaf04103
|
|
7
|
+
data.tar.gz: df24903894aa9f3efdc5f73cea961c0bddc3dd5f543cc801de21d79484e23c362132001de1bcd36b530e133ad682bab2dbfe7aa4be0e752d70aa71ba61f71a60
|
|
@@ -6,15 +6,16 @@ on:
|
|
|
6
6
|
- master
|
|
7
7
|
jobs:
|
|
8
8
|
codecov:
|
|
9
|
-
runs-on: ubuntu-
|
|
9
|
+
runs-on: ubuntu-22.04
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
12
|
-
- uses:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
- uses: ruby/setup-ruby@v1
|
|
13
13
|
with:
|
|
14
14
|
ruby-version: 2.7
|
|
15
15
|
- run: bundle update
|
|
16
16
|
- run: bundle exec rake
|
|
17
|
-
- uses: codecov/codecov-action@
|
|
17
|
+
- uses: codecov/codecov-action@v4.0.0-beta.3
|
|
18
18
|
with:
|
|
19
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
19
20
|
file: coverage/.resultset.json
|
|
20
21
|
fail_ci_if_error: true
|
data/.github/workflows/pdd.yml
CHANGED
data/.github/workflows/rake.yml
CHANGED
|
@@ -13,10 +13,10 @@ jobs:
|
|
|
13
13
|
strategy:
|
|
14
14
|
matrix:
|
|
15
15
|
os: [ubuntu-20.04]
|
|
16
|
-
ruby: [2.
|
|
16
|
+
ruby: [2.7, 3.1]
|
|
17
17
|
runs-on: ${{ matrix.os }}
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
20
|
- uses: ruby/setup-ruby@v1
|
|
21
21
|
with:
|
|
22
22
|
ruby-version: ${{ matrix.ruby }}
|
data/.github/workflows/xcop.yml
CHANGED
data/.rubocop.yml
CHANGED
data/.rultor.yml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
docker:
|
|
2
|
-
image: yegor256/rultor-image:1.
|
|
2
|
+
image: yegor256/rultor-image:1.22.0
|
|
3
3
|
assets:
|
|
4
4
|
rubygems.yml: yegor256/home#assets/rubygems.yml
|
|
5
5
|
install: |
|
|
6
|
-
|
|
6
|
+
rvm default 2.7.6 && source /usr/local/rvm/scripts/rvm
|
|
7
|
+
gem install pdd
|
|
7
8
|
pdd -f /dev/null
|
|
8
|
-
|
|
9
|
+
bundle install --no-color "--gemfile=$(pwd)/Gemfile"
|
|
9
10
|
release:
|
|
10
11
|
script: |-
|
|
11
12
|
bundle exec rake clean test rubocop copyright
|
data/Gemfile
CHANGED
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
source 'https://rubygems.org'
|
|
24
24
|
gemspec
|
|
25
25
|
|
|
26
|
-
gem 'aruba', '2.
|
|
27
|
-
gem 'cucumber', '
|
|
26
|
+
gem 'aruba', '2.2.0', require: false
|
|
27
|
+
gem 'cucumber', '9.1.0', require: false
|
|
28
28
|
# gem 'debase', '0.2.4.1', require: false
|
|
29
|
-
gem 'minitest', '5.
|
|
30
|
-
gem 'rake', '13.0
|
|
31
|
-
gem 'rspec-rails', '
|
|
32
|
-
gem 'rubocop', '1.
|
|
33
|
-
gem 'rubocop-rspec', '2.
|
|
29
|
+
gem 'minitest', '5.20.0', require: false
|
|
30
|
+
gem 'rake', '13.1.0', require: false
|
|
31
|
+
gem 'rspec-rails', '6.1.0', require: false
|
|
32
|
+
gem 'rubocop', '1.57.2', require: false
|
|
33
|
+
gem 'rubocop-rspec', '2.25.0', require: false
|
|
34
34
|
gem 'simplecov', '0.22.0', require: false
|
|
35
|
-
gem 'webmock', '3.
|
|
35
|
+
gem 'webmock', '3.19.1', require: false
|
data/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<img alt="logo" src="/logo.svg" width="64px"/>
|
|
2
2
|
|
|
3
3
|
[](https://www.elegantobjects.org)
|
|
4
|
-
[](https://www.0crat.com/p/C3RFVLU72)
|
|
5
4
|
[](http://www.rultor.com/p/yegor256/sibit)
|
|
6
5
|
[](https://www.jetbrains.com/ruby/)
|
|
7
6
|
|
|
@@ -183,3 +182,5 @@ $ bundle exec rake
|
|
|
183
182
|
```
|
|
184
183
|
|
|
185
184
|
If it's clean and you don't see any error messages, submit your pull request.
|
|
185
|
+
|
|
186
|
+
If it doesn't build on MacOS, check [this](https://github.com/lian/bitcoin-ruby/pull/308) out.
|
data/bin/sibit
CHANGED
|
@@ -44,7 +44,7 @@ end
|
|
|
44
44
|
|
|
45
45
|
Given(/^I have a "([^"]*)" file with content:$/) do |file, text|
|
|
46
46
|
FileUtils.mkdir_p(File.dirname(file)) unless File.exist?(file)
|
|
47
|
-
File.write(file, text.gsub(
|
|
47
|
+
File.write(file, text.gsub('\\xFF', 0xFF.chr))
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
When(%r{^I run bin/sibit with "([^"]*)"$}) do |arg|
|
data/lib/sibit/version.rb
CHANGED
data/sibit.gemspec
CHANGED
|
@@ -34,10 +34,10 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
s.version = Sibit::VERSION
|
|
35
35
|
s.license = 'MIT'
|
|
36
36
|
s.summary = 'Simple Bitcoin Client'
|
|
37
|
-
s.description =
|
|
38
|
-
or from your Ruby app. You don
|
|
39
|
-
no need to install anything, etc. All you need is just a command line
|
|
40
|
-
and Ruby 2.
|
|
37
|
+
s.description = "This is a simple Bitcoin client, to use from command line \
|
|
38
|
+
or from your Ruby app. You don't need to run any Bitcoin software, \
|
|
39
|
+
no need to install anything, etc. All you need is just a command line \
|
|
40
|
+
and Ruby 2.5+."
|
|
41
41
|
s.authors = ['Yegor Bugayenko']
|
|
42
42
|
s.email = 'yegor256@gmail.com'
|
|
43
43
|
s.homepage = 'http://github.com/yegor256/sibit'
|
|
@@ -49,7 +49,7 @@ and Ruby 2.3+.'
|
|
|
49
49
|
s.add_runtime_dependency 'bitcoin-ruby', '0.0.20'
|
|
50
50
|
s.add_runtime_dependency 'iri', '~> 0.5'
|
|
51
51
|
s.add_runtime_dependency 'json', '~> 2'
|
|
52
|
+
s.add_runtime_dependency 'openssl', '~>2.0'
|
|
52
53
|
s.add_runtime_dependency 'retriable_proxy', '~> 1.0'
|
|
53
54
|
s.add_runtime_dependency 'slop', '~> 4.6'
|
|
54
|
-
s.metadata['rubygems_mfa_required'] = 'true'
|
|
55
55
|
end
|
data/test/test_live.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sibit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.25.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yegor Bugayenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: backtrace
|
|
@@ -66,6 +66,20 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '2'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: openssl
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '2.0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '2.0'
|
|
69
83
|
- !ruby/object:Gem::Dependency
|
|
70
84
|
name: retriable_proxy
|
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,11 +108,9 @@ dependencies:
|
|
|
94
108
|
- - "~>"
|
|
95
109
|
- !ruby/object:Gem::Version
|
|
96
110
|
version: '4.6'
|
|
97
|
-
description:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
no need to install anything, etc. All you need is just a command line
|
|
101
|
-
and Ruby 2.3+.
|
|
111
|
+
description: This is a simple Bitcoin client, to use from command line or from your
|
|
112
|
+
Ruby app. You don't need to run any Bitcoin software, no need to install anything,
|
|
113
|
+
etc. All you need is just a command line and Ruby 2.5+.
|
|
102
114
|
email: yegor256@gmail.com
|
|
103
115
|
executables:
|
|
104
116
|
- sibit
|
|
@@ -163,8 +175,7 @@ files:
|
|
|
163
175
|
homepage: http://github.com/yegor256/sibit
|
|
164
176
|
licenses:
|
|
165
177
|
- MIT
|
|
166
|
-
metadata:
|
|
167
|
-
rubygems_mfa_required: 'true'
|
|
178
|
+
metadata: {}
|
|
168
179
|
post_install_message:
|
|
169
180
|
rdoc_options:
|
|
170
181
|
- "--charset=UTF-8"
|
|
@@ -181,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
181
192
|
- !ruby/object:Gem::Version
|
|
182
193
|
version: '0'
|
|
183
194
|
requirements: []
|
|
184
|
-
rubygems_version: 3.
|
|
195
|
+
rubygems_version: 3.1.6
|
|
185
196
|
signing_key:
|
|
186
197
|
specification_version: 4
|
|
187
198
|
summary: Simple Bitcoin Client
|