dotenv-rails 3.1.7 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0e302fb028f65e97a5a1c22d97534a0fbc42fc6e84b6ba11fde5d5406dd2334
|
4
|
+
data.tar.gz: cc3d75dc764b994ce40ac42dabbcb89f88a611236f0122f1ae91517a752f71d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd0c122d22515d49b9c245c9ba2f4f62ebe21d60fec5e599ea521c6ddb536b3d222e09d1dd356144252c96e4d4ffd9b9a526a7d0f828807d7f588f4cb62b33d8
|
7
|
+
data.tar.gz: c5979568723021877ab6706d2a16a6c3ab5f274d307a25de670f5a34a486a60483a13d14ad851fa94dbce6a9505ebb36d934cb93f55e734318da08cad09a7fa8
|
data/README.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
Shim to load environment variables from `.env` into `ENV` in *development*.
|
4
4
|
|
5
|
+
<img align="left" src="https://github.com/user-attachments/assets/0052ed0b-00d2-416a-bdaa-0466c0226933" width="80" />
|
6
|
+
<div><sup>Dotenv is proud to be <a href="https://github.com/sponsors/bkeepers">sponsored by</a>:</sup></div>
|
7
|
+
<strong><a href="https://bit.ly/dotenv-stoked-seagull">Stoked Seagull Software</a></strong>
|
8
|
+
<div>Need help with a software project but don't know where to begin? <a href="https://bit.ly/dotenv-stoked-seagull">Stoked Seagull can help.</a></div><br><br>
|
9
|
+
|
5
10
|
Storing [configuration in the environment](http://12factor.net/config) is one of the tenets of a [twelve-factor app](http://12factor.net). Anything that is likely to change between deployment environments–such as resource handles for databases or credentials for external services–should be extracted from the code into environment variables.
|
6
11
|
|
7
12
|
But it is not always practical to set environment variables on development machines or continuous integration servers where multiple projects are run. dotenv loads variables from a `.env` file into `ENV` when the environment is bootstrapped.
|
@@ -84,7 +89,7 @@ You can use the `dotenv` executable load `.env` before launching your applicatio
|
|
84
89
|
$ dotenv ./script.rb
|
85
90
|
```
|
86
91
|
|
87
|
-
The `dotenv` executable also accepts the flag `-f`. Its value should be a comma-separated list of configuration files, in the order of most important to least. All of the files must exist. There _must_ be a space between the flag and its value.
|
92
|
+
The `dotenv` executable also accepts the flag `-f`. Its value should be a comma-separated list of configuration files, in the order of the most important to the least important. All of the files must exist. There _must_ be a space between the flag and its value.
|
88
93
|
|
89
94
|
```console
|
90
95
|
$ dotenv -f ".env.local,.env" ./script.rb
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dotenv-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Keepers
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-10 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: dotenv
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - '='
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.1.
|
18
|
+
version: 3.1.8
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - '='
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.1.
|
25
|
+
version: 3.1.8
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: railties
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,8 +64,9 @@ files:
|
|
65
64
|
homepage: https://github.com/bkeepers/dotenv
|
66
65
|
licenses:
|
67
66
|
- MIT
|
68
|
-
metadata:
|
69
|
-
|
67
|
+
metadata:
|
68
|
+
changelog_uri: https://github.com/bkeepers/dotenv/releases
|
69
|
+
funding_uri: https://github.com/sponsors/bkeepers
|
70
70
|
rdoc_options: []
|
71
71
|
require_paths:
|
72
72
|
- lib
|
@@ -81,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
85
|
-
signing_key:
|
84
|
+
rubygems_version: 3.6.2
|
86
85
|
specification_version: 4
|
87
86
|
summary: Autoload dotenv in Rails.
|
88
87
|
test_files: []
|