ncypher 0.7.0 → 1.0.0

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: 5ae6bde2a016dfd99b8749cb7e4f323d68ff240bfc89155a514613de302b02d9
4
- data.tar.gz: 0d5911bb280ee42d10f34050feb5ccfa6d03d2dce8cead6d1912981ed6ca33ac
3
+ metadata.gz: 989b6d44b589e9fa71ec5137276c09867b2d4d482407159760c95cd50a3c6716
4
+ data.tar.gz: e4d7e40704a9cdd217e9082fd9b4cd53931e45636dc592606924060bc6cdab08
5
5
  SHA512:
6
- metadata.gz: f9b2cf4f291a6f56e36a1bff7a9b3adee281494835f93295092cbccffe2dacecaf656dbf0f9d0ba79a75bd055f232c41e3a51e5386aa8dd9fe768482bc42248f
7
- data.tar.gz: 847d72ac2a8b21321a18c2eb4b6e49ee98ba6dd8dd7ac554ab25c0681c2ceff66f775064a1e573e11e97f8a12cea0112710b32400d6151786ee59b9c422dff17
6
+ metadata.gz: c2b9b6febacf7f908aa82e5e3282106789bb508794bfbe686861831dae0b5fe6f9fa99ff334972e41b57ba82085380c32354186f24502d7f375b949ca233933e
7
+ data.tar.gz: 9622331e0a1fe0671d982d65598ab666d221098cd62c212e1205bb21707351a5997fd2fea135c77a8462422bc908d24cd423d81a272d8a52ec12c7c86b606f8c
data/.travis.yml CHANGED
@@ -2,9 +2,11 @@ sudo: false
2
2
  cache:
3
3
  bundler: true
4
4
  language: ruby
5
- rvm:
6
- - 2.2.6
7
- before_install: gem install bundler -v 1.12.5
5
+ dist: bionic
6
+ before_install:
7
+ - gem install bundler -v 2.0
8
+ - sudo apt-get update -y
9
+ - sudo apt-get install -y libsodium23
8
10
  script: bundle exec rake
9
11
  deploy:
10
12
  provider: rubygems
data/README.md CHANGED
@@ -5,6 +5,14 @@
5
5
 
6
6
  Ncypher is a gem to help you to encrypt your credentials in your ruby apps in a safe manner.
7
7
 
8
+ ## Upgrade from versions before 1.0
9
+ Versions before 1.0 were using rbnacl-libsodium gem which is now deprecated.
10
+ The big difference is that now you need to have libsodium installed on your host system.
11
+ That also means faster gem installation. =)
12
+ Check https://github.com/RubyCrypto/rbnacl/wiki/Installing-libsodium for more info.
13
+ Note: You need Argon2 support. So libsodium >= v1.0.15
14
+
15
+
8
16
  ## Installation
9
17
 
10
18
  Add this line to your application's Gemfile:
data/lib/ncypher.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  require "ncypher/version"
2
2
 
3
3
  require "base64"
4
- require "rbnacl/libsodium"
5
- require "rbnacl/password_hash"
6
4
 
7
5
  require "rbnacl"
8
6
 
@@ -1,3 +1,3 @@
1
1
  module Ncypher
2
- VERSION = "0.7.0"
2
+ VERSION = "1.0.0"
3
3
  end
data/ncypher.gemspec CHANGED
@@ -19,10 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
  spec.license = 'WTFPL'
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.12"
22
+ spec.add_development_dependency "bundler", "~> 2.0"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
25
25
 
26
- spec.add_dependency 'rbnacl-libsodium', '~> 1.0'
27
- spec.add_dependency 'rbnacl', '~> 5.0'
26
+ spec.add_dependency 'rbnacl', '~> 7.0'
28
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncypher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Hagege
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-04 00:00:00.000000000 Z
11
+ date: 2020-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.12'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,34 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rbnacl-libsodium
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rbnacl
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '5.0'
61
+ version: '7.0'
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '5.0'
68
+ version: '7.0'
83
69
  description: ''
84
70
  email:
85
71
  - david.hagege@gmail.com
@@ -120,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
106
  - !ruby/object:Gem::Version
121
107
  version: '0'
122
108
  requirements: []
123
- rubyforge_project:
124
- rubygems_version: 2.7.7
109
+ rubygems_version: 3.0.6
125
110
  signing_key:
126
111
  specification_version: 4
127
112
  summary: Ncypher lets you encrypt/decrypt credentials in a safe and transparent way