envkey 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +5 -1
- data/ext/{envkey-fetch_1.0.0_darwin_386 → envkey-fetch_1.1.0_darwin_386}/envkey-fetch +0 -0
- data/ext/{envkey-fetch_1.0.0_darwin_amd64 → envkey-fetch_1.1.0_darwin_amd64}/envkey-fetch +0 -0
- data/ext/{envkey-fetch_1.0.0_freebsd_386 → envkey-fetch_1.1.0_freebsd_386}/envkey-fetch +0 -0
- data/ext/{envkey-fetch_1.0.0_freebsd_amd64 → envkey-fetch_1.1.0_freebsd_amd64}/envkey-fetch +0 -0
- data/ext/{envkey-fetch_1.0.0_linux_386 → envkey-fetch_1.1.0_linux_386}/envkey-fetch +0 -0
- data/ext/{envkey-fetch_1.0.0_linux_amd64 → envkey-fetch_1.1.0_linux_amd64}/envkey-fetch +0 -0
- data/ext/{envkey-fetch_1.0.0_windows_386 → envkey-fetch_1.1.0_windows_386}/envkey-fetch.exe +0 -0
- data/ext/{envkey-fetch_1.0.0_windows_amd64 → envkey-fetch_1.1.0_windows_amd64}/envkey-fetch.exe +0 -0
- data/lib/envkey/fetch.rb +1 -1
- data/lib/envkey/version.rb +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: dd178c68ebe06661a0df537398ebf1299af37362a4e522a4d9cf48c67deb443c
|
|
4
|
+
data.tar.gz: 3adc83f1733794d9b2af236b6572bfb90d4278ca958420b1ac0fe27250daab2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d34af06d8686b28d0ee869ee231656c1095f2a7d2c1c8763cca1d445403467c9fc13badf12aaa1cf86785a194ea89c9d1c7d053eaf396fcc1b02573061c842a
|
|
7
|
+
data.tar.gz: e83c2faf1472b15d6b4047a72f2416bea3755812cd1b78fede0c9cfc574c95205c1c27e02efbc4c5ff0c6555f11dd3b945503e40d542d650090e43da786ee1fc
|
data/README.md
CHANGED
|
@@ -51,7 +51,7 @@ Now your servers will stay in sync as well. If you need to rotate your `STRIPE_S
|
|
|
51
51
|
|
|
52
52
|
### Overriding Vars
|
|
53
53
|
|
|
54
|
-
The envkey gem will not overwrite existing environment variables or additional variables set in a `.env` file. This can be convenient for customizing environments that otherwise share the same configuration. You can
|
|
54
|
+
The envkey gem will not overwrite existing environment variables or additional variables set in a `.env` file. This can be convenient for customizing environments that otherwise share the same configuration. You can also use [sub-environments](https://blog.envkey.com/development-staging-production-and-beyond-85f26f65edd6) in the EnvKey app for this purpose.
|
|
55
55
|
|
|
56
56
|
### Working Offline
|
|
57
57
|
|
|
@@ -59,6 +59,10 @@ The envkey gem caches your encrypted config in development so that you can still
|
|
|
59
59
|
|
|
60
60
|
For caching purposes, the gem assumes you're in development mode if either `ENV["RAILS_ENV"]` or `ENV["RACK_ENV"]` is `"development"` or `"test"`. If you aren't using Rails or Rack, then it's assumed you're in development mode when a `.env` file exists in the root of your project.
|
|
61
61
|
|
|
62
|
+
## envkey-fetch binaries
|
|
63
|
+
|
|
64
|
+
If you look in the `ext` directory of this gem, you'll find a number of `envkey-fetch` binaries for various platforms and architectures. These are output by the [envkey-fetch Go library](https://github.com/envkey/envkey-fetch). It contains EnvKey's core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It is completely open source.
|
|
65
|
+
|
|
62
66
|
## Further Reading
|
|
63
67
|
|
|
64
68
|
For more on EnvKey in general:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/ext/{envkey-fetch_1.0.0_windows_amd64 → envkey-fetch_1.1.0_windows_amd64}/envkey-fetch.exe
RENAMED
|
Binary file
|
data/lib/envkey/fetch.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Envkey::Fetch
|
|
|
4
4
|
|
|
5
5
|
def self.fetch_env key
|
|
6
6
|
fetch_env_path = Envkey::Platform.fetch_env_path
|
|
7
|
-
`#{fetch_env_path} #{key}#{is_dev ? ' --cache' : ''}`
|
|
7
|
+
`#{fetch_env_path} #{key}#{is_dev ? ' --cache' : ''} --client-name envkey-ruby --client-version #{Envkey::VERSION}`
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def self.is_dev
|
data/lib/envkey/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: envkey
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dane Schneider
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -83,14 +83,14 @@ files:
|
|
|
83
83
|
- bin/console
|
|
84
84
|
- bin/setup
|
|
85
85
|
- envkey.gemspec
|
|
86
|
-
- ext/envkey-fetch_1.
|
|
87
|
-
- ext/envkey-fetch_1.
|
|
88
|
-
- ext/envkey-fetch_1.
|
|
89
|
-
- ext/envkey-fetch_1.
|
|
90
|
-
- ext/envkey-fetch_1.
|
|
91
|
-
- ext/envkey-fetch_1.
|
|
92
|
-
- ext/envkey-fetch_1.
|
|
93
|
-
- ext/envkey-fetch_1.
|
|
86
|
+
- ext/envkey-fetch_1.1.0_darwin_386/envkey-fetch
|
|
87
|
+
- ext/envkey-fetch_1.1.0_darwin_amd64/envkey-fetch
|
|
88
|
+
- ext/envkey-fetch_1.1.0_freebsd_386/envkey-fetch
|
|
89
|
+
- ext/envkey-fetch_1.1.0_freebsd_amd64/envkey-fetch
|
|
90
|
+
- ext/envkey-fetch_1.1.0_linux_386/envkey-fetch
|
|
91
|
+
- ext/envkey-fetch_1.1.0_linux_amd64/envkey-fetch
|
|
92
|
+
- ext/envkey-fetch_1.1.0_windows_386/envkey-fetch.exe
|
|
93
|
+
- ext/envkey-fetch_1.1.0_windows_amd64/envkey-fetch.exe
|
|
94
94
|
- lib/envkey.rb
|
|
95
95
|
- lib/envkey/core.rb
|
|
96
96
|
- lib/envkey/fetch.rb
|
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
version: '0'
|
|
119
119
|
requirements: []
|
|
120
120
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 2.
|
|
121
|
+
rubygems_version: 2.7.4
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 4
|
|
124
124
|
summary: Envkey secures and simplifies app secrets and config.
|