cloudenv-hq 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/cloudenv-hq.gemspec +1 -1
- data/lib/cloudenv-hq.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61908e7704a50ec6b47dbd0338a6e1543011a5608397b8f249eed13ef7f2f53b
|
4
|
+
data.tar.gz: 9943a3960721ccf85fc6c26a000e224d82c16069cf099fa04cd9ab91377c4bb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0c26bc92380a56a37af75131c90f52066e270662ea6d32c255d7ebf098e92dff913cd99ce3416ad4f4951352f4eada91f1a5f6d09e87f54a38324b9f9bf2f65
|
7
|
+
data.tar.gz: 5f52495103a3f2f3dffc2e802ef3b7fee43dd116536c2b64c59cfa2b5d8bfa5353cf488d90cb536eb14d125a571d6ff6c9280ca589ebd0929836cb694633f84d
|
data/cloudenv-hq.gemspec
CHANGED
data/lib/cloudenv-hq.rb
CHANGED
@@ -3,14 +3,14 @@ require "dotenv"
|
|
3
3
|
require "tempfile"
|
4
4
|
|
5
5
|
class CloudenvHQ
|
6
|
-
VERSION = "0.1.
|
6
|
+
VERSION = "0.1.3".freeze
|
7
7
|
|
8
8
|
API_HOST = "https://app.cloudenv.com".freeze
|
9
9
|
READ_PATH = "/api/v1/envs".freeze
|
10
10
|
|
11
11
|
def initialize(options={})
|
12
12
|
@environment = ENV["RAILS_ENV"] || ENV["RACK_ENV"]
|
13
|
-
@bearer = `cat #{options[:bearer] || "~/.cloudenvrc"}`.strip
|
13
|
+
@bearer = ENV["CLOUDENV_BEARER_TOKEN"] || `cat #{options[:bearer] || "~/.cloudenvrc"}`.strip
|
14
14
|
@secret_key_filename = ".cloudenv-secret-key"
|
15
15
|
@secret_key = Pathname.new(@secret_key_filename)
|
16
16
|
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudenv-hq
|
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
|
- Lucas Carlson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-10-10 00:00:00.000000000 Z
|
@@ -84,7 +84,7 @@ homepage: https://github.com/cloudenvhq/cloudenv-ruby
|
|
84
84
|
licenses:
|
85
85
|
- MIT
|
86
86
|
metadata: {}
|
87
|
-
post_install_message:
|
87
|
+
post_install_message:
|
88
88
|
rdoc_options: []
|
89
89
|
require_paths:
|
90
90
|
- lib
|
@@ -99,8 +99,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
103
|
-
signing_key:
|
102
|
+
rubygems_version: 3.2.3
|
103
|
+
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Keep your ENV vars synced between your team members
|
106
106
|
test_files: []
|