app_configurable 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/README.md +2 -2
- data/lib/app_configurable/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98209ef45ace9498f2418943763e5461f32ce1784de92ec8b87101ffdd008b02
|
4
|
+
data.tar.gz: ff030ae6b193bc97f58463a8977e376be02df5c317870a91e064ea80fed9d4e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f14797ac98f3c009204b2f3c057244490916e6feedb6cadd0b3798ee25ac8613c7a9819879a08c9c0ac51a2425e009d64b4ed599bc9e0598b72f6bf30bbdaa
|
7
|
+
data.tar.gz: 0be4760ba17eacc84327242e51a233d883ca26c7d2d0e025c42abf8132397924b4cd61cc28dfb4664524c9c5425efa56a4938d5c9c298cf6ca0aa2fceddadce4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -29,11 +29,11 @@ App Configurable is a simple Ruby gem that provides a centralized and consistent
|
|
29
29
|
|
30
30
|
Define an initializer `config/initializers/_app_config.rb`:
|
31
31
|
```ruby
|
32
|
-
AppConfigurable.
|
32
|
+
AppConfigurable.load_configs(%w[./config/app_config.rb])
|
33
33
|
```
|
34
34
|
OR
|
35
35
|
```ruby
|
36
|
-
AppConfigurable.
|
36
|
+
AppConfigurable.load_configs(%w[./config/app_config.rb], raise_on_missing: true) # Fails on startup, reporting missing configs.
|
37
37
|
```
|
38
38
|
*Alternatively, you could define your configs under the autoloading path if failing on demand is acceptable.*
|
39
39
|
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_configurable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmytro Pasichnyk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: dotenv
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|