bech32 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 1dbf369ac8990456626ab97fbc98580c01a47110
4
- data.tar.gz: 6c12e12379890d8a47aec779e19f68c04d0ce919
3
+ metadata.gz: d1dbccb1bebbe132f71fac8cdad1a0e8a0beba9e
4
+ data.tar.gz: cdd71f62ac2d8733815fb59e9d369f13c654d752
5
5
  SHA512:
6
- metadata.gz: 29940231175f3150e370c4fbe5b9d2955e61673af9bdc953304a61761048047fde43827037b25fa66dea0f4ba28e9a0be080a3aebfa76a7acc9c809f88f1fc50
7
- data.tar.gz: 659fd697fc7edcad0645c26768ef6f320dd5db4fdd8e986d2cc19fb3b5df88791d0dc2a7309792576457800a8107034875aca91e445671148b8155f9364472c1
6
+ metadata.gz: 733bf71d25d4344e550c9906c25678370ba23988a92e15955779c2f64d633aa836c6404bcf6ae2f6331d9babb22f25eeba60b454eba5adf785b3dfcd0c1882d5
7
+ data.tar.gz: 72d15f485dd93fdbb0a9bca2da08eb4aee8ee66fb2df2c2b5cc059c9e2291748fc96032d44f30fb5fd683276959bec0f9b22b5180edc1e3dec1cb72797853faa
@@ -1 +1 @@
1
- 2.3.0
1
+ 2.4.1
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "bech32"
7
- spec.version = "1.0.1"
7
+ spec.version = "1.0.2"
8
8
  spec.authors = ["Shigeyuki Azuchi"]
9
9
  spec.email = ["azuchi@haw.co.jp"]
10
10
 
@@ -16,7 +16,7 @@ module Bech32
16
16
 
17
17
  # Returns segwit script pubkey which generated from witness version and witness program.
18
18
  def to_script_pubkey
19
- v = ver == 0 ? ver : ver + 0x80
19
+ v = ver == 0 ? ver : ver + 0x50
20
20
  ([v, prog.length].pack("CC") + prog.map{|p|[p].pack("C")}.join).unpack('H*').first
21
21
  end
22
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bech32
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shigeyuki Azuchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-04 00:00:00.000000000 Z
11
+ date: 2017-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.5.1
83
+ rubygems_version: 2.6.12
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: The implementation of Bech32 encoder and decoder.