sibit 0.21.8 → 0.22.0

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: 683996e02ea2ff93aa4bb8e97d369bcd087ba8eb5ebac2cdb8e7df21965c01b1
4
- data.tar.gz: bbb58ae9442fc83a81a2008e0812959bd0d5895e454519fee13566c1663a51e4
3
+ metadata.gz: d0b1d304380fca1fef9eb7355697118372c870183984850abb5216ea4b7c095b
4
+ data.tar.gz: a7ee0b6936f3f09e8a0f4b94b9255860cc06f8b872d2771ac52cb496daf122eb
5
5
  SHA512:
6
- metadata.gz: ec3ace5b68abc1eefbbf6f3e86067c83c48d709ff418b956a3032bb8c0c5482a01e8f1ba258d640e975a67ab95bd1c805eb9e3308b1416f83e8f77fd2fc5d05d
7
- data.tar.gz: cc63682837655ec6f790b4d108fd13d35d07eff5c72b40da164c791e5b39f4b8ef799310ff221843da7803773353cacd9dbfeeb9088a9fee4e22194ddea3dd16
6
+ metadata.gz: 839be690c43d141de6d4ccd186cf7c6a995fd83327a4d87da0cb7fed9e4ef36201bc6e2c153cddcdd26a01eeaa4dd9dc240f37aa65f5057295709c58ba494d76
7
+ data.tar.gz: 6b4a2a5cc576f013af4a420397cc6fc281a778ad45e31668976d7fd3719917accc643f13a929b44ec7273b04a95ebc2df1a82e00839eec204af869589ecb66e8
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: codecov
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ jobs:
8
+ codecov:
9
+ runs-on: ubuntu-20.04
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-ruby@v1
13
+ with:
14
+ ruby-version: 2.7
15
+ - run: bundle update
16
+ - run: bundle exec rake
17
+ - uses: codecov/codecov-action@v1
18
+ with:
19
+ file: coverage/.resultset.json
20
+ fail_ci_if_error: true
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: pdd
3
+ "on":
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+ jobs:
11
+ pdd:
12
+ runs-on: ubuntu-20.04
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: g4s8/pdd-action@master
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: rake
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+ jobs:
11
+ test:
12
+ name: test
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-20.04, macos-12, windows-2022]
16
+ ruby: [2.7, 3.0]
17
+ runs-on: ${{ matrix.os }}
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - uses: actions/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby }}
23
+ - run: bundle update
24
+ - run: bundle exec rake
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: xcop
3
+ "on":
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+ jobs:
11
+ xcop:
12
+ runs-on: ubuntu-20.04
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: g4s8/xcop-action@master
16
+ with:
17
+ files: '**/*.xml'
data/.rubocop.yml CHANGED
@@ -4,6 +4,7 @@ AllCops:
4
4
  - 'assets/**/*'
5
5
  DisplayCopNames: true
6
6
  TargetRubyVersion: 2.5
7
+ SuggestExtensions: false
7
8
 
8
9
  Style/ClassAndModuleChildren:
9
10
  Enabled: false
data/.simplecov CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2019-2021 Yegor Bugayenko
3
+ Copyright (c) 2019-2022 Yegor Bugayenko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the 'Software'), to deal
data/README.md CHANGED
@@ -1,16 +1,14 @@
1
- <img src="/logo.svg" width="64px"/>
1
+ <img alt="logo" src="/logo.svg" width="64px"/>
2
2
 
3
3
  [![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
4
4
  [![Managed by Zerocracy](https://www.0crat.com/badge/C3RFVLU72.svg)](https://www.0crat.com/p/C3RFVLU72)
5
5
  [![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/sibit)](http://www.rultor.com/p/yegor256/sibit)
6
6
  [![We recommend RubyMine](https://www.elegantobjects.org/rubymine.svg)](https://www.jetbrains.com/ruby/)
7
7
 
8
- [![Build Status](https://travis-ci.org/yegor256/sibit.svg)](https://travis-ci.org/yegor256/sibit)
9
- [![Build status](https://ci.appveyor.com/api/projects/status/tbeaa0d4dk38xdb5?svg=true)](https://ci.appveyor.com/project/yegor256/sibit)
8
+ [![rake](https://github.com/yegor256/sibit/actions/workflows/rake.yml/badge.svg)](https://github.com/yegor256/sibit/actions/workflows/rake.yml)
10
9
  [![PDD status](http://www.0pdd.com/svg?name=yegor256/sibit)](http://www.0pdd.com/p?name=yegor256/sibit)
11
10
  [![Gem Version](https://badge.fury.io/rb/sibit.svg)](http://badge.fury.io/rb/sibit)
12
11
  [![Maintainability](https://api.codeclimate.com/v1/badges/74c909f06d4afa0d8001/maintainability)](https://codeclimate.com/github/yegor256/sibit/maintainability)
13
-
14
12
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/takes/sibit/master/LICENSE.txt)
15
13
  [![Test Coverage](https://img.shields.io/codecov/c/github/yegor256/sibit.svg)](https://codecov.io/github/yegor256/sibit?branch=master)
16
14
  [![Hits-of-Code](https://hitsofcode.com/github/yegor256/sibit)](https://hitsofcode.com/view/github/yegor256/sibit)
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/bin/sibit CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- # Copyright (c) 2019-2021 Yegor Bugayenko
4
+ # Copyright (c) 2019-2022 Yegor Bugayenko
5
5
  #
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  # of this software and associated documentation files (the 'Software'), to deal
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -29,7 +29,7 @@ require_relative '../../lib/sibit'
29
29
  Before do
30
30
  @cwd = Dir.pwd
31
31
  @dir = Dir.mktmpdir('test')
32
- FileUtils.mkdir_p(@dir) unless File.exist?(@dir)
32
+ FileUtils.mkdir_p(@dir)
33
33
  Dir.chdir(@dir)
34
34
  @opts = Slop.parse ['-v', '-s', @dir] do |o|
35
35
  o.bool '-v', '--verbose'
@@ -39,14 +39,12 @@ end
39
39
 
40
40
  After do
41
41
  Dir.chdir(@cwd)
42
- FileUtils.rm_rf(@dir) if File.exist?(@dir)
42
+ FileUtils.rm_rf(@dir)
43
43
  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.open(file, 'w') do |f|
48
- f.write(text.gsub(/\\xFF/, 0xFF.chr))
49
- end
47
+ File.write(file, text.gsub(/\\xFF/, 0xFF.chr))
50
48
  end
51
49
 
52
50
  When(%r{^I run bin/sibit with "([^"]*)"$}) do |arg|
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/lib/sibit/bestof.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative 'log'
27
27
  # API best of.
28
28
  #
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class Sibit
33
33
  # Best of API.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -32,7 +32,7 @@ require_relative 'version'
32
32
  # Bitcoinchain.com API.
33
33
  #
34
34
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
35
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
35
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
36
36
  # License:: MIT
37
37
  class Sibit
38
38
  # Btc.com API.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -35,7 +35,7 @@ require_relative 'version'
35
35
  # https://www.blockchain.com/api/blockchain_api
36
36
  #
37
37
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
38
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
38
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
39
39
  # License:: MIT
40
40
  class Sibit
41
41
  # Blockchain.info API.
@@ -96,7 +96,17 @@ class Sibit
96
96
 
97
97
  # Get recommended fees.
98
98
  def fees
99
- raise Sibit::NotSupportedError, 'fees() is not provided by Blockchain API'
99
+ json = Sibit::Json.new(http: @http, log: @log).get(
100
+ Iri.new('https://api.blockchain.info/mempool/fees')
101
+ )
102
+ @log.info("Current recommended Bitcoin fees: \
103
+ #{json['regular']}/#{json['priority']}/#{json['limits']['max']} sat/byte")
104
+ {
105
+ S: json['regular'] / 3,
106
+ M: json['regular'],
107
+ L: json['priority'],
108
+ XL: json['limits']['max']
109
+ }
100
110
  end
101
111
 
102
112
  # Fetch all unspent outputs per address. The argument is an array
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -33,7 +33,7 @@ require_relative 'version'
33
33
  # Blockchair.com API.
34
34
  #
35
35
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
36
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
36
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
37
37
  # License:: MIT
38
38
  class Sibit
39
39
  # Btc.com API.
data/lib/sibit/btc.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -34,7 +34,7 @@ require_relative 'version'
34
34
  # Here: https://btc.com/api-doc
35
35
  #
36
36
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
37
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
37
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
38
38
  # License:: MIT
39
39
  class Sibit
40
40
  # Btc.com API.
data/lib/sibit/cex.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -30,7 +30,7 @@ require_relative 'json'
30
30
  # Cex.io API.
31
31
  #
32
32
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
33
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
33
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
34
34
  # License:: MIT
35
35
  class Sibit
36
36
  # Btc.com API.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -32,7 +32,7 @@ require_relative 'version'
32
32
  # Cryptoapis.io API.
33
33
  #
34
34
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
35
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
35
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
36
36
  # License:: MIT
37
37
  class Sibit
38
38
  # Btc.com API.
data/lib/sibit/earn.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -31,7 +31,7 @@ require_relative 'version'
31
31
  # Earn.com API.
32
32
  #
33
33
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
34
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
34
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
35
35
  # License:: MIT
36
36
  class Sibit
37
37
  # Blockchain.info API.
data/lib/sibit/error.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -23,7 +23,7 @@
23
23
  # The error.
24
24
  #
25
25
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
26
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
26
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  class Sibit
29
29
  # The error.
data/lib/sibit/fake.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -25,7 +25,7 @@ require_relative 'version'
25
25
  # Fake API.
26
26
  #
27
27
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
28
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
28
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
29
29
  # License:: MIT
30
30
  class Sibit
31
31
  # Fake API
data/lib/sibit/firstof.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative 'log'
27
27
  # API first of.
28
28
  #
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class Sibit
33
33
  # First of API.
data/lib/sibit/http.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -25,7 +25,7 @@ require 'net/http'
25
25
  # HTTP interface.
26
26
  #
27
27
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
28
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
28
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
29
29
  # License:: MIT
30
30
  class Sibit
31
31
  # This HTTP client will be used by default.
data/lib/sibit/json.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -34,7 +34,7 @@ require_relative 'log'
34
34
  # https://www.blockchain.com/api/blockchain_api
35
35
  #
36
36
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
37
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
37
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
38
38
  # License:: MIT
39
39
  class Sibit
40
40
  # JSON processing.
data/lib/sibit/log.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -23,7 +23,7 @@
23
23
  # The log.
24
24
  #
25
25
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
26
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
26
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  class Sibit
29
29
  # Log.
data/lib/sibit/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -22,9 +22,9 @@
22
22
 
23
23
  # Sibit main class.
24
24
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
25
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
25
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  class Sibit
28
28
  # Current version of the library.
29
- VERSION = '0.21.8'
29
+ VERSION = '0.22.0'
30
30
  end
data/lib/sibit.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -24,11 +24,10 @@ require 'bitcoin'
24
24
  require_relative 'sibit/version'
25
25
  require_relative 'sibit/log'
26
26
  require_relative 'sibit/blockchain'
27
-
28
27
  # Sibit main class.
29
28
  #
30
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
31
  # License:: MIT
33
32
  class Sibit
34
33
  # Constructor.
data/sibit.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -26,11 +26,9 @@ lib = File.expand_path('lib', __dir__)
26
26
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
27
27
  require_relative 'lib/sibit/version'
28
28
  Gem::Specification.new do |s|
29
- s.specification_version = 2 if s.respond_to? :specification_version=
30
29
  if s.respond_to? :required_rubygems_version=
31
30
  s.required_rubygems_version = Gem::Requirement.new('>= 0')
32
31
  end
33
- s.rubygems_version = '2.2'
34
32
  s.required_ruby_version = '>= 2.5'
35
33
  s.name = 'sibit'
36
34
  s.version = Sibit::VERSION
@@ -45,23 +43,23 @@ and Ruby 2.3+.'
45
43
  s.homepage = 'http://github.com/yegor256/sibit'
46
44
  s.files = `git ls-files`.split($RS)
47
45
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
48
- s.test_files = s.files.grep(%r{^(test|spec|features)/})
49
46
  s.rdoc_options = ['--charset=UTF-8']
50
47
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
51
48
  s.add_runtime_dependency 'backtrace', '~> 0.3'
52
- s.add_runtime_dependency 'bitcoin-ruby', '0.0.19'
49
+ s.add_runtime_dependency 'bitcoin-ruby', '0.0.20'
53
50
  s.add_runtime_dependency 'iri', '~> 0.5'
54
51
  s.add_runtime_dependency 'json', '~> 2'
55
- s.add_runtime_dependency 'retriable_proxy', '1.0.2'
52
+ s.add_runtime_dependency 'retriable_proxy', '~> 1.0'
56
53
  s.add_runtime_dependency 'slop', '~> 4.6'
57
- s.add_development_dependency 'aruba', '~> 1.0'
58
- s.add_development_dependency 'codecov', '0.2.11'
59
- s.add_development_dependency 'cucumber', '~> 5.1'
60
- s.add_development_dependency 'debase', '~> 0.2'
61
- s.add_development_dependency 'minitest', '5.14.2'
62
- s.add_development_dependency 'rake', '13.0.1'
63
- s.add_development_dependency 'rspec-rails', '4.0.1'
64
- s.add_development_dependency 'rubocop', '0.91.0'
65
- s.add_development_dependency 'rubocop-rspec', '1.43.2'
66
- s.add_development_dependency 'webmock', '3.9.1'
54
+ s.add_development_dependency 'aruba', '2.1.0'
55
+ s.add_development_dependency 'codecov', '0.6.0'
56
+ s.add_development_dependency 'cucumber', '8.0.0'
57
+ s.add_development_dependency 'debase', '0.2.4.1'
58
+ s.add_development_dependency 'minitest', '5.16.2'
59
+ s.add_development_dependency 'rake', '13.0.6'
60
+ s.add_development_dependency 'rspec-rails', '5.1.2'
61
+ s.add_development_dependency 'rubocop', '1.32.0'
62
+ s.add_development_dependency 'rubocop-rspec', '2.12.1'
63
+ s.add_development_dependency 'webmock', '3.15.0'
64
+ s.metadata['rubygems_mfa_required'] = 'true'
67
65
  end
data/test/test__helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/test/test_bestof.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative '../lib/sibit/bestof'
27
27
 
28
28
  # Sibit::BestOf test.
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class TestBestOf < Minitest::Test
33
33
  def test_not_array
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit/bitcoinchain'
28
28
 
29
29
  # Sibit::Bitcoinchain test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestBitcoinchain < Minitest::Test
34
34
  def test_fetch_hash
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit/blockchain'
28
28
 
29
29
  # Sibit::Blockchain test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestBlockchain < Minitest::Test
34
34
  def test_fetch_block
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit/blockchair'
28
28
 
29
29
  # Sibit::Blockchair test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestBlockchair < Minitest::Test
34
34
  def test_fetch_balance
data/test/test_btc.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit/btc'
28
28
 
29
29
  # Sibit::Btc test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestBtc < Minitest::Test
34
34
  def test_get_zero_balance
data/test/test_cex.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit/cex'
28
28
 
29
29
  # Sibit::Cex test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestBtc < Minitest::Test
34
34
  def test_get_price
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit/cryptoapis'
28
28
 
29
29
  # Sibit::Cryptoapis test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestCryptoapis < Minitest::Test
34
34
  def test_fetch_block
data/test/test_fake.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative '../lib/sibit/fake'
27
27
 
28
28
  # Sibit::Fake test.
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class TestFake < Minitest::Test
33
33
  def test_fake_object_works
data/test/test_firstof.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative '../lib/sibit/firstof'
27
27
 
28
28
  # Sibit::FirstOf test.
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class TestFirstOf < Minitest::Test
33
33
  def test_not_array
data/test/test_json.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative '../lib/sibit/json'
27
27
 
28
28
  # Sibit::Json test.
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class TestJson < Minitest::Test
33
33
  def test_loads_hash
data/test/test_live.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/sibit'
28
28
 
29
29
  # Live tests.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestLive < Minitest::Test
34
34
  def test_block
data/test/test_sibit.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2019-2021 Yegor Bugayenko
3
+ # Copyright (c) 2019-2022 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -32,7 +32,7 @@ require_relative '../lib/sibit/bestof'
32
32
 
33
33
  # Sibit.
34
34
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
35
- # Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko
35
+ # Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
36
36
  # License:: MIT
37
37
  class TestSibit < Minitest::Test
38
38
  def test_loads_fees
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.21.8
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-28 00:00:00.000000000 Z
11
+ date: 2022-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.19
33
+ version: 0.0.20
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.19
40
+ version: 0.0.20
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: iri
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: retriable_proxy
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.2
75
+ version: '1.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.0.2
82
+ version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: slop
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -98,142 +98,142 @@ dependencies:
98
98
  name: aruba
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: '1.0'
103
+ version: 2.1.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: '1.0'
110
+ version: 2.1.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: codecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.2.11
117
+ version: 0.6.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.2.11
124
+ version: 0.6.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: cucumber
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: '5.1'
131
+ version: 8.0.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: '5.1'
138
+ version: 8.0.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: debase
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: '0.2'
145
+ version: 0.2.4.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: '0.2'
152
+ version: 0.2.4.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: minitest
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 5.14.2
159
+ version: 5.16.2
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 5.14.2
166
+ version: 5.16.2
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 13.0.1
173
+ version: 13.0.6
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 13.0.1
180
+ version: 13.0.6
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec-rails
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - '='
186
186
  - !ruby/object:Gem::Version
187
- version: 4.0.1
187
+ version: 5.1.2
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - '='
193
193
  - !ruby/object:Gem::Version
194
- version: 4.0.1
194
+ version: 5.1.2
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rubocop
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - '='
200
200
  - !ruby/object:Gem::Version
201
- version: 0.91.0
201
+ version: 1.32.0
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '='
207
207
  - !ruby/object:Gem::Version
208
- version: 0.91.0
208
+ version: 1.32.0
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: rubocop-rspec
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 1.43.2
215
+ version: 2.12.1
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 1.43.2
222
+ version: 2.12.1
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: webmock
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - '='
228
228
  - !ruby/object:Gem::Version
229
- version: 3.9.1
229
+ version: 3.15.0
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - '='
235
235
  - !ruby/object:Gem::Version
236
- version: 3.9.1
236
+ version: 3.15.0
237
237
  description: |-
238
238
  This is a simple Bitcoin client, to use from command line
239
239
  or from your Ruby app. You don't need to run any Bitcoin software,
@@ -249,6 +249,10 @@ extra_rdoc_files:
249
249
  files:
250
250
  - ".0pdd.yml"
251
251
  - ".gitattributes"
252
+ - ".github/workflows/codecov.yml"
253
+ - ".github/workflows/pdd.yml"
254
+ - ".github/workflows/rake.yml"
255
+ - ".github/workflows/xcop.yml"
252
256
  - ".gitignore"
253
257
  - ".pdd"
254
258
  - ".rubocop.yml"
@@ -300,7 +304,8 @@ files:
300
304
  homepage: http://github.com/yegor256/sibit
301
305
  licenses:
302
306
  - MIT
303
- metadata: {}
307
+ metadata:
308
+ rubygems_mfa_required: 'true'
304
309
  post_install_message:
305
310
  rdoc_options:
306
311
  - "--charset=UTF-8"
@@ -317,25 +322,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
322
  - !ruby/object:Gem::Version
318
323
  version: '0'
319
324
  requirements: []
320
- rubygems_version: 3.0.1
325
+ rubygems_version: 3.1.2
321
326
  signing_key:
322
- specification_version: 2
327
+ specification_version: 4
323
328
  summary: Simple Bitcoin Client
324
- test_files:
325
- - features/cli.feature
326
- - features/gem_package.feature
327
- - features/step_definitions/steps.rb
328
- - features/support/env.rb
329
- - test/test__helper.rb
330
- - test/test_bestof.rb
331
- - test/test_bitcoinchain.rb
332
- - test/test_blockchain.rb
333
- - test/test_blockchair.rb
334
- - test/test_btc.rb
335
- - test/test_cex.rb
336
- - test/test_cryptoapis.rb
337
- - test/test_fake.rb
338
- - test/test_firstof.rb
339
- - test/test_json.rb
340
- - test/test_live.rb
341
- - test/test_sibit.rb
329
+ test_files: []