bitcoin-secp256k1 0.2.0 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35c4817fc53d1512f07b574c444ac2ff39d723b7
4
- data.tar.gz: 2c0acf62b066d43caf45ba96530b330ef8db2927
3
+ metadata.gz: e21f815b9177803ba6f15f7d079241407c519e4f
4
+ data.tar.gz: 8680f6fbf6b26c31c1fd57c95d661d84461f4b60
5
5
  SHA512:
6
- metadata.gz: 4f831335807714f0cbd888e0adf8846293a3187ab7bde70306d61dce530947ab192b01770f6cfd43a1185c35417493c951af5dd08eb69ab8d63efc769f73d44f
7
- data.tar.gz: 9e9b0e898a4db87c076921fbc50a4614ed411e2505a218d28380d8afc2ba18a261faa20ec84186c010376d4c2c28e87eb833b9fdab0c33f4ff5a82e0f82472eb
6
+ metadata.gz: a95d35d2c521ce99abebcf3651fe0e2f7e94dabc79b99cab45805c7854f73c90c3cf3a37a601149a443cf09bd582fa7ecbcbb5ecd7061c2fd16f42dfb07998d5
7
+ data.tar.gz: 3f7e0a6e2606d35039f33c0099e6b6a5b571a2a1ed677ffc2127218f7779e69f4910676a70e52382fe76828b9a05502d2fa36d335657e1e36fe78c794edfe933
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitcoin-secp256k1 (0.2.0)
4
+ bitcoin-secp256k1 (0.3.0)
5
5
  ffi (>= 1.9.10)
6
6
 
7
7
  GEM
data/lib/secp256k1.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : ascii-8bit -*-
1
2
  require 'secp256k1/version'
2
3
  require 'secp256k1/c'
3
4
  require 'secp256k1/utils'
data/lib/secp256k1/c.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : ascii-8bit -*-
1
2
  require 'ffi'
2
3
  require 'ffi/tools/const_generator'
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : ascii-8bit -*-
1
2
  module Secp256k1
2
3
  module ECDSA
3
4
 
data/lib/secp256k1/key.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : ascii-8bit -*-
1
2
  require 'digest'
2
3
  require 'securerandom'
3
4
 
@@ -25,7 +26,7 @@ module Secp256k1
25
26
  class PublicKey < BaseKey
26
27
  include ECDSA, Utils
27
28
 
28
- attr :public_key
29
+ attr_accessor :public_key
29
30
 
30
31
  def initialize(pubkey: nil, raw: false, flags: FLAG_VERIFY, ctx: nil)
31
32
  super(ctx, flags)
@@ -1,3 +1,4 @@
1
+ # -*- encoding : ascii-8bit -*-
1
2
  module Secp256k1
2
3
  module Utils
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : ascii-8bit -*-
1
2
  module Secp256k1
2
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
3
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitcoin-secp256k1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Xie