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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47d019e511f1654a2cad179c162f388df74fef736569f6e09189f6ba48295d11
4
- data.tar.gz: 5a7513880f6f8f436491828d405bd09f63e1226beddfa785ecc59f15b8b15a9d
3
+ metadata.gz: 9b9434114b530b5850b6f9210018f05b1d271072b5f29769700dd166b498c4b0
4
+ data.tar.gz: a14411a20a2f549fd955c53dc5e57535207338d7a10c9b91af1dc612b06b30df
5
5
  SHA512:
6
- metadata.gz: 9fde04c3b432208e9448bf69b198a1bd22f433f0511cb4238f4f725e83cd6fa5af2f19c8fa27638c68aae9b611df883a9be0a32e99686c4e8947a7704c9cc446
7
- data.tar.gz: b4c3e05462f1c6de323c614e9a89d185ffcc03d84fff5f8f5e083ae1be93ed8b93d896e6502a8604f4bba74ce46c03378e49aaba9d5f18e53d0a1225605fb54c
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"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anyway # :nodoc:
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
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.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-14 00:00:00.000000000 Z
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