nib-crypt 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nib/crypt/key.rb +2 -2
- data/lib/nib/crypt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da40a2b9d2bc12d30504f74fe0ae9be018582b388c12b4ec75b93ae1b75da676
|
4
|
+
data.tar.gz: 6f85446f4f645098d44213540bd0d36f7e6f638fa571ccab07c3c28a993df0f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb2ea267a041b8487e5f6988aeef6b698799373b3472106ebbe068a1e5dddd0198b26e6bfb5e791c795aa219f19134c9081c687dc73c8ad4cf37f18f009f26fa
|
7
|
+
data.tar.gz: '0786333367624df46a6b8f6cfc5d05f159b5fef9ec4f39988c2899f480860a5400fa03b97006f02b9e146b0306274c879fb096f55a6ecd26a2bf9c9747816ba4'
|
data/lib/nib/crypt/key.rb
CHANGED
@@ -28,13 +28,13 @@ module Nib
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def bucket
|
31
|
-
ENV.fetch('
|
31
|
+
ENV.fetch('NIB_CRYPT_BUCKET_NAME') { raise MissingBucketError }
|
32
32
|
end
|
33
33
|
|
34
34
|
class MissingBucketError < StandardError
|
35
35
|
def message
|
36
36
|
<<-ERROR.tr("\n", '').gsub(/\s+/, ' ')
|
37
|
-
Please provide a bucket via the `
|
37
|
+
Please provide a bucket via the `NIB_CRYPT_BUCKET_NAME`
|
38
38
|
environment variable
|
39
39
|
ERROR
|
40
40
|
end
|
data/lib/nib/crypt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nib-crypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nib
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.7.
|
161
|
+
rubygems_version: 2.7.6
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: An encryption plugin for Nib
|