zilliqa 0.1.4 → 0.1.5

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: d2e68ee2e4e69d1c0c93e6723d39bc5549baecb33fd2c1b13b21d3827a6952f0
4
- data.tar.gz: 1938fcd56f64bb14551e850b2a7cc3a6c09fccebef7c96f7a8c4f3d9ede62881
3
+ metadata.gz: adc16f87724dfe4358cacb61ee512a23099959133a93120d9a5e58036789d243
4
+ data.tar.gz: c4e0874ef2aee44823575c1a28f83a860e53a33a1e23e24d7a6ecc91673a738c
5
5
  SHA512:
6
- metadata.gz: 0ae93f97617af3b6aa08d92b3455e603cc7a5bb7bf4144d488977aa827366727dd24d70c9cb8a45be7621fdd2c5fb30791c313dc94ece44c93c6c4443a48666e
7
- data.tar.gz: 5183ced2ae3ad7ca70fbc4de6edbdceff8412933be44369d4dafb493bec732aead61206759a71425f07457c794d046ba304416cb6870db3c77816d427a605d58
6
+ metadata.gz: 6d80397b1910a9597244ec9ecade7b34529093cc4fa7aabbde67b5c4b55146a69987f49ba95a121ad4ed8aae9c4e9d28cb1bd181df8868925baa7d4a97cccc3f
7
+ data.tar.gz: b6c523aa0692bc9a36548dabb370028d80f66ef6e114444590bd1b67e841e307e3cb1fe28299947d546345fbbf4fc82fa394295956df3f224af30384a6a03ece
data/Gemfile.lock CHANGED
@@ -1,40 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zilliqa (0.1.0)
4
+ zilliqa (0.1.4)
5
5
  bitcoin-ruby
6
- bitcoin-secp256k1
7
6
  google-protobuf
8
7
  jsonrpc-client
9
8
  pbkdf2-ruby
9
+ ruby-bitcoin-secp256k1
10
10
  scrypt
11
11
 
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- bitcoin-ruby (0.0.19)
15
+ bitcoin-ruby (0.0.20)
16
16
  eventmachine
17
17
  ffi
18
18
  scrypt
19
- bitcoin-secp256k1 (0.5.1)
20
- ffi (>= 1.9.25)
21
19
  eventmachine (1.2.7)
22
- faraday (0.15.4)
23
- multipart-post (>= 1.2, < 3)
24
- ffi (1.11.1)
20
+ faraday (2.3.0)
21
+ faraday-net_http (~> 2.0)
22
+ ruby2_keywords (>= 0.0.4)
23
+ faraday-net_http (2.0.3)
24
+ ffi (1.15.5)
25
25
  ffi-compiler (1.0.1)
26
26
  ffi (>= 1.0.0)
27
27
  rake
28
- google-protobuf (3.7.1)
28
+ google-protobuf (3.21.2)
29
29
  jsonrpc-client (0.1.3)
30
30
  faraday
31
31
  multi_json (>= 1.1.0)
32
- minitest (5.11.3)
33
- multi_json (1.13.1)
34
- multipart-post (2.1.1)
32
+ minitest (5.16.1)
33
+ multi_json (1.15.0)
35
34
  pbkdf2-ruby (0.2.1)
36
- rake (13.0.1)
37
- scrypt (3.0.6)
35
+ rake (13.0.6)
36
+ ruby-bitcoin-secp256k1 (0.5.2)
37
+ ffi (>= 1.9.25)
38
+ ruby2_keywords (0.0.5)
39
+ scrypt (3.0.7)
38
40
  ffi-compiler (>= 1.0, < 2.0)
39
41
 
40
42
  PLATFORMS
@@ -1,10 +1,10 @@
1
- require 'secp256k1'
1
+ require 'bitcoin_secp256k1'
2
2
  require 'digest'
3
3
 
4
4
  module Zilliqa
5
5
  module Crypto
6
6
  class KeyTool
7
- include Secp256k1
7
+ include BitcoinSecp256k1
8
8
  def initialize(private_key)
9
9
  is_raw = private_key.length == 32
10
10
 
@@ -1,11 +1,11 @@
1
- require 'secp256k1'
1
+ require 'bitcoin_secp256k1'
2
2
  require 'digest'
3
3
  require 'openssl'
4
4
 
5
5
  module Zilliqa
6
6
  module Crypto
7
7
  class Schnorr
8
- include Secp256k1
8
+ include BitcoinSecp256k1
9
9
 
10
10
  N = OpenSSL::BN.new('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141', 16)
11
11
  G = OpenSSL::BN.new('79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798', 16)
@@ -1,3 +1,3 @@
1
1
  module Zilliqa
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/zilliqa.gemspec CHANGED
@@ -34,10 +34,10 @@ Gem::Specification.new do |spec|
34
34
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
35
  spec.require_paths = ["lib"]
36
36
 
37
- spec.add_development_dependency "bundler", "~> 1.16"
37
+ spec.add_dependency "bundler", ">= 2.2.33"
38
38
  spec.add_development_dependency "rake", "~> 13.0"
39
39
  spec.add_development_dependency "minitest", "~> 5.0"
40
- spec.add_dependency "bitcoin-secp256k1"
40
+ spec.add_dependency "ruby-bitcoin-secp256k1"
41
41
  spec.add_dependency "scrypt"
42
42
  spec.add_dependency "pbkdf2-ruby"
43
43
  spec.add_dependency "jsonrpc-client"
metadata CHANGED
@@ -1,30 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zilliqa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - snuff
8
8
  - cenyongh
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-07-05 00:00:00.000000000 Z
12
+ date: 2022-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '1.16'
21
- type: :development
20
+ version: 2.2.33
21
+ type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '1.16'
27
+ version: 2.2.33
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -54,7 +54,7 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '5.0'
56
56
  - !ruby/object:Gem::Dependency
57
- name: bitcoin-secp256k1
57
+ name: ruby-bitcoin-secp256k1
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
@@ -181,7 +181,7 @@ metadata:
181
181
  homepage_uri: https://github.com/mechanizm/zilliqa
182
182
  source_code_uri: https://github.com/mechanizm/zilliqa
183
183
  changelog_uri: https://github.com/mechanizm/zilliqa
184
- post_install_message:
184
+ post_install_message:
185
185
  rdoc_options: []
186
186
  require_paths:
187
187
  - lib
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubygems_version: 3.1.4
200
- signing_key:
200
+ signing_key:
201
201
  specification_version: 4
202
202
  summary: Zilliqa — Zilliqa Ruby Blockchain Library
203
203
  test_files: []