virgil-crypto 3.6.3 → 3.6.4

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: b7791fbc35198c3abba625dc2822c92a2d8482ee8714fedf681e8c0eaa6559d7
4
- data.tar.gz: 93a2f568d84e992667ce3e6fbca3e8f58f6c8515b7dadd972b1551865423a703
3
+ metadata.gz: af9eaa547f5ba08543553d214f2d58fecc077509dc00b244cc7ff5f5ff0cbb19
4
+ data.tar.gz: c355f9c11c15344cf43c3bc1b761e672956bf2d17c1d02750189d2fa5d19a350
5
5
  SHA512:
6
- metadata.gz: 0a1d648711153dfc8363f12acfc70fdb3da4ab070e4173c54431867286241777b37d428a3b88a7255a0e7b4e77a216a4023c29565c1a6a11af12978582a4b402
7
- data.tar.gz: de4d03136942075af3c839a150c9f501cb85790c2fc0b21bd6177b7727087df858a55658d11fd91b0f3886f42942b429a708b13f2984d93b023557e315b85902
6
+ metadata.gz: c0b4e441f4299337cffb1480a53c00d5bc171bc060c3039ecbbcc3f5a5811fe4d3da9c6c248d5b4baab9b244adf0c53a4fa1f4471c63856de0c110a0fb73a465
7
+ data.tar.gz: 040a2cee2fcf0b717dad01d9d53553dee71fb45acafcf8ac52f6dbb28928cd18f99ff9b307fcb7f985a6d4b8a5626dd015d670ad5a76d8d418586c463d650b71
data/README.md CHANGED
@@ -105,7 +105,7 @@ TThe Virgil Crypto is provided as a [gem](https://rubygems.org/) named [*virgil-
105
105
  or add the following line to your Gemfile:
106
106
 
107
107
  ```
108
- gem 'virgil-crypto', '~> 3.6.3'
108
+ gem 'virgil-crypto', '~> 3.6.4'
109
109
  ```
110
110
  and then run
111
111
 
@@ -111,7 +111,7 @@ module Virgil
111
111
  # Converts the numeric value of each element of a current array of bytes to its
112
112
  # equivalent hexadecimal string representation.
113
113
  def to_hex
114
- to_s.each_byte.map { |b| b.to_s(16) }.join
114
+ to_s.unpack('H*').first
115
115
  end
116
116
 
117
117
  end
@@ -122,4 +122,4 @@ module Virgil
122
122
  UTF8 = 3
123
123
  end
124
124
  end
125
- end
125
+ end
@@ -34,6 +34,6 @@
34
34
 
35
35
  module Virgil
36
36
  module Crypto
37
- VERSION = '3.6.3'
37
+ VERSION = '3.6.4'
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virgil-crypto
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.3
4
+ version: 3.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Dudkin
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2019-03-13 00:00:00.000000000 Z
13
+ date: 2019-05-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler