ejson2env 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +22 -0
- data/bin/ejson2env +14 -0
- data/build/darwin-amd64/ejson2env +0 -0
- data/build/linux-amd64/ejson2env +0 -0
- data/ejson2env.gemspec +20 -0
- data/lib/ejson2env/version.rb +3 -0
- data/man/ejson2env.1.gz +0 -0
- metadata +52 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7bec6aca45c59a74921d500fd44fb882b2f6964aacb92bfcde964e89482adbb6
|
4
|
+
data.tar.gz: 5185e22b17597ca0ada3488eb81b9fa6a3efd46cb52035dc5a626f568364fed5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: de9fad70f841ddc00121e05aee04acabb617f8696a5008724b1ad3b30c6cb87a8797b5a2e98b68597380fa153af84a98329f643e54e5a911f98df3958b7be766
|
7
|
+
data.tar.gz: 8d023f7b97bb98369e2aa0c0c0a6382bd67ba7bfb7556164b43064d5fe8c5082fc49a5d462e4da4e2c1350861b522ea56cae1c6c73c55b414b26cc27c6316649
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Shopify
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/bin/ejson2env
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
platform = `uname -sm`
|
3
|
+
|
4
|
+
dir = case platform
|
5
|
+
when /^Darwin/ ; "darwin-amd64"
|
6
|
+
when /^Linux.*64/ ; "linux-amd64"
|
7
|
+
else
|
8
|
+
abort "Ejson is not supported on your platform."
|
9
|
+
end
|
10
|
+
|
11
|
+
bindir = File.expand_path("../../build/#{dir}", __FILE__)
|
12
|
+
ENV['PATH'] = "#{bindir}:#{ENV['PATH']}"
|
13
|
+
ENV['MANPATH'] = File.expand_path("../../man", __FILE__)
|
14
|
+
exec "ejson2env", *ARGV
|
Binary file
|
Binary file
|
data/ejson2env.gemspec
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
require File.expand_path('../lib/ejson2env/version', __FILE__)
|
3
|
+
|
4
|
+
files = File.read("MANIFEST").lines.map(&:chomp)
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ejson2env"
|
8
|
+
spec.version = EJSON2ENV::VERSION
|
9
|
+
spec.authors = ["Shopify"]
|
10
|
+
spec.email = ["admins@shopify.com"]
|
11
|
+
spec.summary = %q{Decrypt EJSON secrets and export them as environment variables}
|
12
|
+
spec.description = %q{Decrypt EJSON secrets and export them as environment variables.}
|
13
|
+
spec.homepage = "https://github.com/Shopify/ejson2env"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = files
|
17
|
+
spec.executables = ["ejson2env"]
|
18
|
+
spec.test_files = []
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
end
|
data/man/ejson2env.1.gz
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ejson2env
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shopify
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Decrypt EJSON secrets and export them as environment variables.
|
14
|
+
email:
|
15
|
+
- admins@shopify.com
|
16
|
+
executables:
|
17
|
+
- ejson2env
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- LICENSE.txt
|
22
|
+
- bin/ejson2env
|
23
|
+
- build/darwin-amd64/ejson2env
|
24
|
+
- build/linux-amd64/ejson2env
|
25
|
+
- ejson2env.gemspec
|
26
|
+
- lib/ejson2env/version.rb
|
27
|
+
- man/ejson2env.1.gz
|
28
|
+
homepage: https://github.com/Shopify/ejson2env
|
29
|
+
licenses:
|
30
|
+
- MIT
|
31
|
+
metadata: {}
|
32
|
+
post_install_message:
|
33
|
+
rdoc_options: []
|
34
|
+
require_paths:
|
35
|
+
- lib
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
requirements: []
|
47
|
+
rubyforge_project:
|
48
|
+
rubygems_version: 2.7.6
|
49
|
+
signing_key:
|
50
|
+
specification_version: 4
|
51
|
+
summary: Decrypt EJSON secrets and export them as environment variables
|
52
|
+
test_files: []
|