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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7a8803e30898c0762202fa39472acf941058fa017999654de2134a280945974
4
- data.tar.gz: 3b831be8eb3704a6506109aeb3100d015ccdb658b440eaa482db13034ca526c3
3
+ metadata.gz: b7791fbc35198c3abba625dc2822c92a2d8482ee8714fedf681e8c0eaa6559d7
4
+ data.tar.gz: 93a2f568d84e992667ce3e6fbca3e8f58f6c8515b7dadd972b1551865423a703
5
5
  SHA512:
6
- metadata.gz: 5969d567e6f7beccdaf7f455f897f1586572917049a066abcdb604548ec2d076806a42f1bc0ff93cc656f8b87925aa344d5070d45b139f4da60540fa745dc720
7
- data.tar.gz: 3d3ef03d4ab7b3e21e9cd04f3dcffa2aea1bbc6af8daa5ea28001aacc26cd7f55453b068f1997c06a53d9e1f0973bdf1b8ae6b5f8e7657d1547e6106bdd81d2b
6
+ metadata.gz: 0a1d648711153dfc8363f12acfc70fdb3da4ab070e4173c54431867286241777b37d428a3b88a7255a0e7b4e77a216a4023c29565c1a6a11af12978582a4b402
7
+ data.tar.gz: de4d03136942075af3c839a150c9f501cb85790c2fc0b21bd6177b7727087df858a55658d11fd91b0f3886f42942b429a708b13f2984d93b023557e315b85902
@@ -1,3 +1,3 @@
1
1
  [submodule "ext/virgil_crypto_ruby/src"]
2
2
  path = ext/native/src
3
- url = git@github.com:VirgilSecurity/virgil-crypto.git
3
+ url = https://github.com/VirgilSecurity/virgil-crypto.git
@@ -2,12 +2,33 @@ language: ruby
2
2
  branches:
3
3
  only:
4
4
  - master
5
+ dist: xenial
5
6
  before_install:
6
- - openssl aes-256-cbc -K $encrypted_a30fbaed9b64_key -iv $encrypted_a30fbaed9b64_iv -in secrets.tar.enc -out secrets.tar -d
7
- - tar xvf secrets.tar
8
- - rvm install 2.4.1
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.4.1
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
@@ -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.2'
108
+ gem 'virgil-crypto', '~> 3.6.3'
109
109
  ```
110
110
  and then run
111
111
 
@@ -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.bundle"
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"
@@ -34,6 +34,6 @@
34
34
 
35
35
  module Virgil
36
36
  module Crypto
37
- VERSION = '3.6.2'
37
+ VERSION = '3.6.3'
38
38
  end
39
39
  end
@@ -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+)\.*/) {|gem_maj_ver| "#{gem_maj_ver.to_i - 1}."}
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
@@ -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", "~> 1.12"
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.2
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-10 00:00:00.000000000 Z
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: '1.12'
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: '1.12'
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:
Binary file