virgil-crypto 3.6.2 → 3.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +1 -1
- data/.travis.yml +26 -5
- data/README.md +1 -1
- data/lib/virgil/crypto.rb +1 -1
- data/lib/virgil/crypto/version.rb +1 -1
- data/lib/virgil/native_crypto.rb +3 -2
- data/virgil-crypto.gemspec +2 -1
- metadata +20 -7
- data/secrets.tar.enc +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7791fbc35198c3abba625dc2822c92a2d8482ee8714fedf681e8c0eaa6559d7
|
4
|
+
data.tar.gz: 93a2f568d84e992667ce3e6fbca3e8f58f6c8515b7dadd972b1551865423a703
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a1d648711153dfc8363f12acfc70fdb3da4ab070e4173c54431867286241777b37d428a3b88a7255a0e7b4e77a216a4023c29565c1a6a11af12978582a4b402
|
7
|
+
data.tar.gz: de4d03136942075af3c839a150c9f501cb85790c2fc0b21bd6177b7727087df858a55658d11fd91b0f3886f42942b429a708b13f2984d93b023557e315b85902
|
data/.gitmodules
CHANGED
data/.travis.yml
CHANGED
@@ -2,12 +2,33 @@ language: ruby
|
|
2
2
|
branches:
|
3
3
|
only:
|
4
4
|
- master
|
5
|
+
dist: xenial
|
5
6
|
before_install:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
- which cmake
|
8
|
+
- git clone https://github.com/swig/swig.git
|
9
|
+
- cd swig && ./autogen.sh && ./configure && make
|
10
|
+
- sudo make install
|
11
|
+
- cd ../
|
12
|
+
- rvm install 2.6.1
|
13
|
+
- rvm install 2.4.0
|
14
|
+
- if [ "TRAVIS_OS_NAME" == "linux" ]; then
|
15
|
+
gem install bundler -v 1.17.3;
|
16
|
+
fi
|
17
|
+
os:
|
18
|
+
- linux
|
19
|
+
- osx
|
10
20
|
rvm:
|
11
|
-
- 2.
|
21
|
+
- 2.6.1
|
22
|
+
- 2.4.0
|
12
23
|
script:
|
24
|
+
- which cmake
|
25
|
+
- cd ext; rake; cd ..
|
13
26
|
- rake
|
27
|
+
- yardoc lib/* --output-dir docs
|
28
|
+
deploy:
|
29
|
+
provider: pages
|
30
|
+
skip_cleanup: true
|
31
|
+
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
32
|
+
local_dir: docs
|
33
|
+
on:
|
34
|
+
branch: master
|
data/README.md
CHANGED
data/lib/virgil/crypto.rb
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
# POSSIBILITY OF SUCH DAMAGE.
|
34
34
|
|
35
35
|
require "virgil/crypto/version"
|
36
|
-
require "virgil/crypto/virgil_crypto_ruby
|
36
|
+
require "virgil/crypto/virgil_crypto_ruby"
|
37
37
|
Virgil::Crypto::Core = Virgil_crypto_ruby
|
38
38
|
require "virgil/crypto/stream_data_sink"
|
39
39
|
require "virgil/crypto/stream_data_source"
|
data/lib/virgil/native_crypto.rb
CHANGED
@@ -83,9 +83,10 @@ module NativeCrypto
|
|
83
83
|
|
84
84
|
def self.gem_v
|
85
85
|
# crypto core major version = gem major version - 1
|
86
|
+
# crypto core patch version = gem patch version - 1
|
86
87
|
Virgil::Crypto::VERSION.scan(/(\d+\.\d+\.\d+)\D*\d*$/) do |postfix|
|
87
|
-
core_v = (postfix * '').gsub(/^(\d+)
|
88
|
-
return core_v
|
88
|
+
core_v = (postfix * '').gsub(/^(\d+)*/) {|gem_maj_ver| "#{gem_maj_ver.to_i - 1}"}
|
89
|
+
return core_v.gsub!(/(\d+)$/) {|gem_patch_ver| "#{gem_patch_ver.to_i - 1}"}
|
89
90
|
end
|
90
91
|
''
|
91
92
|
end
|
data/virgil-crypto.gemspec
CHANGED
@@ -26,11 +26,12 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
spec.extensions = [ 'ext/rakefile.rb']
|
28
28
|
spec.required_ruby_version = '>= 2.1.10'
|
29
|
-
spec.add_development_dependency "bundler", "
|
29
|
+
spec.add_development_dependency "bundler", ">= 1.17.3"
|
30
30
|
spec.add_development_dependency "rake-compiler", "~> 1.0"
|
31
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
32
32
|
spec.add_development_dependency "minitest-reporters", "~> 1.1"
|
33
33
|
spec.add_development_dependency 'envyable', '~> 1.2'
|
34
|
+
spec.add_development_dependency "yard", "~> 0.9.8"
|
34
35
|
|
35
36
|
current_dir = File.expand_path(File.dirname(__FILE__))
|
36
37
|
|
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.
|
4
|
+
version: 3.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Dudkin
|
@@ -10,22 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-03-
|
13
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - "
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 1.17.3
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - "
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: 1.17.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake-compiler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,6 +82,20 @@ dependencies:
|
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '1.2'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: yard
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 0.9.8
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 0.9.8
|
85
99
|
description: |-
|
86
100
|
virgil-crypto provides: Asymmetric Key Generation,
|
87
101
|
Encryption/Decryption of data and streams,
|
@@ -417,7 +431,6 @@ files:
|
|
417
431
|
- lib/virgil/crypto/virgil_crypto.rb
|
418
432
|
- lib/virgil/native_crypto.rb
|
419
433
|
- lib/virgil/os.rb
|
420
|
-
- secrets.tar.enc
|
421
434
|
- virgil-crypto.gemspec
|
422
435
|
homepage: http://github.com/VirgilSecurity/virgil-crypto-ruby
|
423
436
|
licenses:
|
data/secrets.tar.enc
DELETED
Binary file
|