dotenv-rails 3.0.0 → 3.0.1

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 +1 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef723df0e0b526b4bb2394e794591bfa6571c9cdacaf3e5430ae7ccdabc10286
4
- data.tar.gz: dddcec39672468f52906a6b9fadfec199895cd92fe2f58a5d7c6648ade27461d
3
+ metadata.gz: 8f2b607facc1a9f8b32394eb625956f2f23e448b7bc812f5047218d702355792
4
+ data.tar.gz: 33452c26ed90e436cf4c4df6fdb8f91f3d0ba671cd5a3187e05c63996aaf7532
5
5
  SHA512:
6
- metadata.gz: 7ea575d4a7f98f4a85197fafbb7db5688a7b0f34d3b6612e9e26453f0323e589f4ebefcd351496b377f34d861b89ab3270e470878139be3458f412aa1fe906f7
7
- data.tar.gz: e42c0bf5aeb79ae5ea5b22a506c0a29d8cd4af8ca58d25cdac22582ac1e109c13c74c80f24f5b5dd48b1f764dd3b9f20b6aaaf907e63ba9ea388b65ee795c35f
6
+ metadata.gz: f212654ed9af1e5a0f634a6e98736e2d0880e7a3f084d3d15e00df47c7cf4cfd863d0ec5b53b248c3f4daf65eb422ff714091335013dcd7b50ffadd0f2110b51
7
+ data.tar.gz: 1ab95d0679eb1e99a1f8144b4e883659095ce63b368dbead49e51e24781eba66b72e05a856f6138c0c205abc1afaffe9574cdf02e12f8bccd367edb68730e8b6
data/README.md CHANGED
@@ -58,7 +58,7 @@ Dotenv.load('file1.env', 'file2.env')
58
58
 
59
59
  Since 3.0, dotenv in a Rails app will automatically restore `ENV` after each test. This means you can modify `ENV` in your tests without fear of leaking state to other tests. It works with both `ActiveSupport::TestCase` and `Rspec`.
60
60
 
61
- To disable this behavior, set `config.dotenv.autorestore = false` in `config/application.rb` or `config/environments/test.rb`.
61
+ To disable this behavior, set `config.dotenv.autorestore = false` in `config/application.rb` or `config/environments/test.rb`. It is disabled by default if your app uses [climate_control](https://github.com/thoughtbot/climate_control) or [ice_age](https://github.com/dpep/ice_age_rb).
62
62
 
63
63
  To use this behavior outside of a Rails app, just `require "dotenv/autorestore"` in your test suite.
64
64
 
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: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-12 00:00:00.000000000 Z
11
+ date: 2024-02-14 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: 3.0.0
19
+ version: 3.0.1
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: 3.0.0
26
+ version: 3.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: railties
29
29
  requirement: !ruby/object:Gem::Requirement