dotenv-rails 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a706b0d2624912ea85177252265af8e42f7984a6
4
- data.tar.gz: 9bb84a8a74581016afcec6f5f44d7b92d771584d
3
+ metadata.gz: 7a5ee334f3454e7071f291257139d9e38fce7e10
4
+ data.tar.gz: f861fd2e29b731180431a25124bef0bad454f4a1
5
5
  SHA512:
6
- metadata.gz: 27a968aa490bae4685ee3aff40c250b9052ffffd53b9791246cd31df4abd07d18106ed060fe2fc1402096d8e9b9f188e4e3611e5edb317fab2573ef286f43038
7
- data.tar.gz: afc0ecc0e2a4996de1d4a70165612a51405d64ad20fe6ab65d1f6309afbbdc9010ac33bc8069aeaec5d1585498b722c20f97c0b5e0067c11fa09fe05d4fde9e9
6
+ metadata.gz: 5d21668533475d524f1c2ed6b5fd2a611e82b76dcabcd4b6ae67d09f94b0f78ecad49cca4630ad02633fb174f604226c3dd40737d8f47e33838a8b1ebd4cd639
7
+ data.tar.gz: 10faaa772f50e14dfb16ca727212c7204c72828d18ff28d7d24afa2c294b00b2e9867a30a6323ee1888ccf4c8776b878643ed0980d0adc8479205b594ceec3b1
data/README.md CHANGED
@@ -116,9 +116,21 @@ export SECRET_KEY=YOURSECRETKEYGOESHERE
116
116
  If you need multiline variables, for example private keys, you can double quote strings and use the `\n` character for newlines:
117
117
 
118
118
  ```shell
119
- PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nHkVN9…\n-----END DSA PRIVATE KEY-----\n"
119
+ PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nHkVN9...\n-----END DSA PRIVATE KEY-----\n"
120
120
  ```
121
121
 
122
+ Alternatively, multi-line values with line breaks are now supported for quoted values.
123
+
124
+ ```shell
125
+ PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
126
+ ...
127
+ HkVN9...
128
+ ...
129
+ -----END DSA PRIVATE KEY-----"
130
+ ```
131
+
132
+ This is particularly helpful when using the Heroku command line plugin [`heroku-config`](https://github.com/xavdid/heroku-config) to pull configuration variables down that may have line breaks.
133
+
122
134
  ### Command Substitution
123
135
 
124
136
  You need to add the output of a command in one of your variables? Simply add it with `$(your_command)`:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotenv-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2018-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.0
19
+ version: 2.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.4.0
26
+ version: 2.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.6.11
93
+ rubygems_version: 2.6.13
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Autoload dotenv in Rails.