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 +4 -4
- data/.travis.yml +5 -3
- data/README.md +8 -0
- data/lib/ncypher.rb +0 -2
- data/lib/ncypher/version.rb +1 -1
- data/ncypher.gemspec +2 -3
- metadata +7 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 989b6d44b589e9fa71ec5137276c09867b2d4d482407159760c95cd50a3c6716
|
4
|
+
data.tar.gz: e4d7e40704a9cdd217e9082fd9b4cd53931e45636dc592606924060bc6cdab08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
6
|
-
|
7
|
-
|
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
data/lib/ncypher/version.rb
CHANGED
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", "~>
|
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
|
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.
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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
|
-
|
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
|