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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1df854be28a19a2589839b753472a35cc641b85d772369436f89d4c38fdb6c53
4
- data.tar.gz: 1c9e54ad28255ce9f2f98c95c977a7e69f3dca01e0b709832af32a1f8da5d196
3
+ metadata.gz: 61908e7704a50ec6b47dbd0338a6e1543011a5608397b8f249eed13ef7f2f53b
4
+ data.tar.gz: 9943a3960721ccf85fc6c26a000e224d82c16069cf099fa04cd9ab91377c4bb8
5
5
  SHA512:
6
- metadata.gz: 2f531a464c734a711b09afcd95e2dc690a13401e440ab61a5a3e9df6390472ccc13c28b07796178591762149f4630f989abee9c121ce6bb5302f9182dc8e2581
7
- data.tar.gz: 55c23efc41866780fda0627e01babbcfda678878172be7e24a3c3249d505d33979f7ed345a036e52e58a5faafba2c64c1f91181928f448407478dfb1018c876a
6
+ metadata.gz: c0c26bc92380a56a37af75131c90f52066e270662ea6d32c255d7ebf098e92dff913cd99ce3416ad4f4951352f4eada91f1a5f6d09e87f54a38324b9f9bf2f65
7
+ data.tar.gz: 5f52495103a3f2f3dffc2e802ef3b7fee43dd116536c2b64c59cfa2b5d8bfa5353cf488d90cb536eb14d125a571d6ff6c9280ca589ebd0929836cb694633f84d
data/cloudenv-hq.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cloudenv-hq"
3
- s.version = "0.1.2"
3
+ s.version = "0.1.3"
4
4
  s.license = "MIT"
5
5
  s.version = "#{s.version}-alpha-#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV["TRAVIS"]
6
6
  s.date = "2020-10-10"
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.2".freeze
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.2
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.0.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: []