env_bang-rails 0.4.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/env_bang-rails.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 61b0e7d97b5198884139f7a1d0a005c38091ea54b69b9a3c5acf4b7f094eaee0
|
4
|
+
data.tar.gz: 5735048f84077822529789b2274082fb857c15c45341173912c8850462186851
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e6127acbea85fa54395c5c12b135c0d1de43c143ad0c826fd3d8ba4f616e46aa43c5aa75187f03d0e1b9f15f6292ab2c76d0eaf9889d258863c1cdb8afa151
|
7
|
+
data.tar.gz: 115a8553cf808deb9b2a707d1a5ab64e811f5425e028034cb1456808d24a068f672f4d01d08a5220e1fec49b9a6b9218eaf4104e557e7ffce7a21650e5ec9bac
|
data/lib/env_bang-rails.rb
CHANGED
@@ -15,7 +15,7 @@ class ENV_BANG
|
|
15
15
|
end
|
16
16
|
|
17
17
|
config.before_configuration do
|
18
|
-
if File.
|
18
|
+
if File.exist?(env_rb_file)
|
19
19
|
load env_rb_file
|
20
20
|
else
|
21
21
|
warn("ENV! could not find your environment variable configuration. Please create #{env_rb_file} to set up environment variables at Rails boot.")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: env_bang-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Camenisch
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: env_bang
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.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: 0.
|
26
|
+
version: 1.0.0
|
27
27
|
description: ENV! provides a thin wrapper around ENV to encourage central, self-documenting
|
28
28
|
configuration and helpful error message.
|
29
29
|
email:
|
@@ -37,7 +37,7 @@ homepage: https://github.com/jcamenisch/ENV_BANG
|
|
37
37
|
licenses:
|
38
38
|
- MIT
|
39
39
|
metadata: {}
|
40
|
-
post_install_message:
|
40
|
+
post_install_message:
|
41
41
|
rdoc_options: []
|
42
42
|
require_paths:
|
43
43
|
- lib
|
@@ -52,9 +52,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
requirements: []
|
55
|
-
|
56
|
-
|
57
|
-
signing_key:
|
55
|
+
rubygems_version: 3.3.7
|
56
|
+
signing_key:
|
58
57
|
specification_version: 4
|
59
58
|
summary: Use ENV! in Rails
|
60
59
|
test_files: []
|