env_bang 0.4.2 → 1.0.0.pre.rc.1
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 +5 -5
- data/README.md +3 -4
- data/lib/env_bang/version.rb +1 -1
- 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: 9876284297bbe55660d78e4d62bb83ec54e40ec83ddc94ef56907020805945c1
|
4
|
+
data.tar.gz: 1ef016e91711a660eee17849a8ac28c1ba8d303e5d6a645415f66d51ab648fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa240511a3e7a4b4ea6437ec61f35fadbea111bfb191eeda6d25eee91818380cfc99d36a22734b48a66f945e53c3710e2909c9d4e132f64fb7df4c83bad1cdfc
|
7
|
+
data.tar.gz: d67dc205e27c91f1abe43b43d1745b432b6dfb2d9c495800c23b06a3e3616a89dabdde5513ce66d796074e346963b9fedb03f387fbb061fcea5e077efd557934
|
data/README.md
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
# ENV!
|
1
|
+
# ENV!
|
2
2
|
|
3
3
|
Do a bang-up job managing your environment variables.
|
4
4
|
|
5
5
|
[](https://rubygems.org/gems/env_bang)
|
6
6
|
[](https://travis-ci.org/jcamenisch/ENV_BANG)
|
7
|
-
[](https://codeclimate.com/github/jcamenisch/ENV_BANG)
|
7
|
+
[](https://codeclimate.com/github/jcamenisch/ENV_BANG/maintainability)
|
9
8
|
[](https://coveralls.io/r/jcamenisch/ENV_BANG)
|
10
9
|
|
11
10
|
ENV! provides a thin wrapper around ENV to accomplish a few things:
|
@@ -202,7 +201,7 @@ ENV!['NUMBER_SET']
|
|
202
201
|
|
203
202
|
ENV!.use :NUMBER_SET, class: Set
|
204
203
|
```
|
205
|
-
|
204
|
+
|
206
205
|
While the `config` block is designed to provide a cleaner configuration
|
207
206
|
file, calling the methods directly can occasionally be handy, such as when
|
208
207
|
trying things out in an IRB/Pry session.
|
data/lib/env_bang/version.rb
CHANGED
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
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre.rc.1
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -65,7 +65,7 @@ homepage: https://github.com/jcamenisch/ENV_BANG
|
|
65
65
|
licenses:
|
66
66
|
- MIT
|
67
67
|
metadata: {}
|
68
|
-
post_install_message:
|
68
|
+
post_install_message:
|
69
69
|
rdoc_options: []
|
70
70
|
require_paths:
|
71
71
|
- lib
|
@@ -76,13 +76,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 1.3.1
|
82
82
|
requirements: []
|
83
|
-
|
84
|
-
|
85
|
-
signing_key:
|
83
|
+
rubygems_version: 3.3.7
|
84
|
+
signing_key:
|
86
85
|
specification_version: 4
|
87
86
|
summary: Do a bang-up job managing your environment variables
|
88
87
|
test_files:
|