substrate_common.rb 0.1.7 → 0.1.8

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
  SHA256:
3
- metadata.gz: 77e342b5c29c8b35a2c0ea6ffc912e9c9cc177a874b85d2c1321e14a8d618490
4
- data.tar.gz: 9d3f0fa6f0625ddf97311ff2b851f42b570c2dad0c211d434088fd6fe5d12106
3
+ metadata.gz: 317baa1b10674a1fdce795c67913b556ff2cab1d1dae471bc1c16d0274947828
4
+ data.tar.gz: fc6fa173a44163c3747ecdb48f0cebae293b665ad294378e28f41cbe33ccfe44
5
5
  SHA512:
6
- metadata.gz: 58a5ed6f4778b6f788e3d6dde905e9ac457685946bb5ef323c7027c97ea68d96e13ab3a085855726c92de599676b7b619def26b40b45971ebe2e43cff96424c8
7
- data.tar.gz: aa5042d6382aa94102215fbf97ccb494f580442b3423a4931faa66d2473bafc73a69c39e54ff9f6de3b810d8a39f65054e6dcaa14be81e5f6ecb09693d906074
6
+ metadata.gz: 13885cb4e69a7ac6be464f35108f68bf4f1dba3631d927851109fe81a4ba8537d0b870ade78f5d10bfbd0a88fbd57f6fd80ed2d92f924b36b66b5d88d4d9fe69
7
+ data.tar.gz: 910eeb6a90d0f06605ac714771a95701b368ef5aa47b5861ca2f055e405a90f5086ae8506893b528988e229c8095ffd3e5369286365ee6be20c380226e8f72f8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- substrate_common.rb (0.1.7)
4
+ substrate_common.rb (0.1.8)
5
5
  base58
6
6
  blake2b
7
7
  xxhash
@@ -1,3 +1,3 @@
1
1
  module SubstrateCommon
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -80,7 +80,6 @@ module Crypto
80
80
  end
81
81
 
82
82
  def self.blake2_128_concat(bytes)
83
- data = bytes.bytes_to_utf8
84
- black2_128(data) + bytes.bytes_to_hex[2..]
83
+ black2_128(bytes) + bytes.bytes_to_hex[2..]
85
84
  end
86
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: substrate_common.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wu Minzhe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-24 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blake2b