dotenv-rails 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a706b0d2624912ea85177252265af8e42f7984a6
|
4
|
+
data.tar.gz: 9bb84a8a74581016afcec6f5f44d7b92d771584d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27a968aa490bae4685ee3aff40c250b9052ffffd53b9791246cd31df4abd07d18106ed060fe2fc1402096d8e9b9f188e4e3611e5edb317fab2573ef286f43038
|
7
|
+
data.tar.gz: afc0ecc0e2a4996de1d4a70165612a51405d64ad20fe6ab65d1f6309afbbdc9010ac33bc8069aeaec5d1585498b722c20f97c0b5e0067c11fa09fe05d4fde9e9
|
data/README.md
CHANGED
@@ -116,21 +116,9 @@ 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
|
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
|
-
|
134
122
|
### Command Substitution
|
135
123
|
|
136
124
|
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
|
+
version: 2.4.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-
|
11
|
+
date: 2018-04-24 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.
|
19
|
+
version: 2.4.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.
|
26
|
+
version: 2.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: railties
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|