rcloadenv 0.0.1.rc3 → 0.1.0

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
  SHA1:
3
- metadata.gz: 1baa9a50aa3c4c9d495c3a900f8a9ea85617143e
4
- data.tar.gz: 0d1880191a782c9280e8a72472a1ef7639953fb9
3
+ metadata.gz: e86f6b6e00f83735f8e96c6c4ea6d8f122738bb8
4
+ data.tar.gz: 563b7820af9bb0ae172e259d14a4d01509893677
5
5
  SHA512:
6
- metadata.gz: 408652350e50af4ce87c7dafcf8ed1f137ec7ed21b85793e6408f996028daa360f5219047b649cd72c0aebad164a333a5b40d93e0e40a18adb15177c6ade3467
7
- data.tar.gz: 36064688765478cfe7936b00d1dc7bb1f32ac66a6c8c45dbc24ae7eeb6b548e155294fcd8335341954c8d02a881fe258ca339ac43a3a064fc9ea2a17fd4e57d0
6
+ metadata.gz: 0b389720072296d02bda325ed32616d6aed0c43211774ad21bc5c55f9d0be90a58a61f80e327952fcc1b7e3bfb86b73fd2ae56c3364e7571bd81f0cfafa6ed96
7
+ data.tar.gz: 84d56a2ed11e849ef8c3edd2aace91ca7d02f3ac21f79c79337d617eb417c5fb2e0ee7381730c64b511f900e721ca6c6da1e0c3f321f615e986a4ef5e41d0d20
@@ -1,6 +1,6 @@
1
1
  # Changelog for Ruby rcloadenv
2
2
 
3
- ## v0.1.0 / (not yet released)
3
+ ## v0.1.0 / 2017-08-10
4
4
 
5
5
  * Initial implementation; parallels the nodejs implementation features
6
6
  including all supported command line arguments.
data/README.md CHANGED
@@ -11,10 +11,11 @@ Install the gem using
11
11
 
12
12
  gem install rcloadenv
13
13
 
14
- Alternately, include "rcloadenv" in your bundle.
14
+ Alternately, include "rcloadenv" in your application's Gemfile.
15
15
 
16
16
  You may then invoke the "rcloadenv" binary. You must pass the name of the
17
- runtime config resource, and then the command to execute. For example:
17
+ runtime config resource, and then the command to execute. For example, if
18
+ the gem is present in the bundle for your Rails app, you can execute:
18
19
 
19
20
  bundle exec rcloadenv my-config -- bin/rails s
20
21
 
@@ -29,9 +30,10 @@ example:
29
30
  bundle exec rcloadenv --project=my-project my-config -- bin/rails s
30
31
 
31
32
  Run `rcloadenv --help` for more information on flags you can set.
33
+
32
34
  When not running on GCP, credentials are obtained from
33
- [Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials)
34
- so you can the `GOOGLE_APPLICATION_CREDENTIALS` environment variable or
35
+ [Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials),
36
+ so you can set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable or
35
37
  configure `gcloud auth`.
36
38
 
37
39
  ## Example: Loading the Rails SECRET_KEY_BASE in Google App Engine
@@ -89,9 +91,9 @@ service, and use `rcloadenv` to load it into the Rails app. Here's how.
89
91
  5. Use the gcloud command line to set `SECRET_KEY_BASE` in your configuration.
90
92
 
91
93
  gcloud beta runtime-config configs variables set \
92
- SECRET_KEY_BASE 12345678 --config-name=my-config
94
+ SECRET_KEY_BASE abcd1234 --is-text --config-name=my-config
93
95
 
94
- Replace `my-config` with the name of your configuration, and `12345678`
96
+ Replace `my-config` with the name of your configuration, and `abcd1234`
95
97
  with the secret key that you generated above.
96
98
 
97
99
  6. Add the `rcloadenv` gem to your Gemfile, and run `bundle install` to update
@@ -1,4 +1,4 @@
1
- # Copyright 2015 Google Inc.
1
+ # Copyright 2017 Google Inc.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2015 Google Inc.
1
+ # Copyright 2017 Google Inc.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2015 Google Inc.
1
+ # Copyright 2017 Google Inc.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2015 Google Inc.
1
+ # Copyright 2017 Google Inc.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,6 @@
16
16
  module RCLoadEnv
17
17
 
18
18
  ## The current version of this gem, as a string.
19
- VERSION = '0.0.1.rc3'.freeze
19
+ VERSION = '0.1.0'.freeze
20
20
 
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcloadenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.rc3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-28 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-api-client
@@ -161,9 +161,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  version: 2.0.0
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">"
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 1.3.1
166
+ version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
169
  rubygems_version: 2.6.11