anyway_config 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +7 -0
- data/lib/anyway/rails.rb +4 -1
- data/lib/anyway/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b9434114b530b5850b6f9210018f05b1d271072b5f29769700dd166b498c4b0
|
4
|
+
data.tar.gz: a14411a20a2f549fd955c53dc5e57535207338d7a10c9b91af1dc612b06b30df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97362fd7819d70b1d52700146d12457fd62a0e2eaa34bc9511da87bb362a7722d066dc87c83c5a14381467a8fa934f5f25afe545036d8a6dae6a1492daf0ccfa
|
7
|
+
data.tar.gz: 2653e0fc1dfb868e0b015048c7f46567b90fb30892fcf9cd6b52d69a16f2635b91e6e409b499b7d0364635d4d755f811e2a1a63bf19831dffa7916ec9b964780
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## 2.0.1 (2020-04-15)
|
4
|
+
|
5
|
+
- Fix loading Railtie when application has been already initialized. ([@palkan][])
|
6
|
+
|
7
|
+
Fixes [#56](https://github.com/palkan/anyway_config/issues/56).
|
8
|
+
|
3
9
|
## 2.0.0 (2020-04-14)
|
4
10
|
|
5
11
|
- Fix double `yield` in tracing for ENV loader. ([@Envek][])
|
data/README.md
CHANGED
@@ -21,6 +21,13 @@ For application developers, Anyway Config could be useful to:
|
|
21
21
|
**NOTE:** this readme shows documentation for 2.x version.
|
22
22
|
For version 1.x see the [1-4-stable branch](https://github.com/palkan/anyway_config/tree/1-4-stable).
|
23
23
|
|
24
|
+
<a href="https://evilmartians.com/?utm_source=anyway_config">
|
25
|
+
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
|
26
|
+
|
27
|
+
## Links
|
28
|
+
|
29
|
+
- [Anyway Config: Keep your Ruby configuration sane](https://evilmartians.com/chronicles/anyway-config-keep-your-ruby-configuration-sane?utm_source=anyway_config)
|
30
|
+
|
24
31
|
## Table of contents
|
25
32
|
|
26
33
|
- [Main concepts](#main-concepts)
|
data/lib/anyway/rails.rb
CHANGED
@@ -8,9 +8,12 @@ end
|
|
8
8
|
require "anyway/rails/settings"
|
9
9
|
require "anyway/rails/config"
|
10
10
|
require "anyway/rails/loaders"
|
11
|
-
require "anyway/railtie"
|
12
11
|
|
13
12
|
# Configure Rails loaders
|
14
13
|
Anyway.loaders.override :yml, Anyway::Rails::Loaders::YAML
|
15
14
|
Anyway.loaders.insert_after :yml, :secrets, Anyway::Rails::Loaders::Secrets
|
16
15
|
Anyway.loaders.insert_after :secrets, :credentials, Anyway::Rails::Loaders::Credentials
|
16
|
+
|
17
|
+
# Load Railties after configuring loaders.
|
18
|
+
# The application could be already initialized, and that would make `Anyway.loaders` frozen
|
19
|
+
require "anyway/railtie"
|
data/lib/anyway/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anyway_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-next-core
|