ultra_settings 2.4.1 → 2.4.2

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: c4d6c86b8bbf3af68e92cc311d50ba5a10c72479b466047b6789b0bdd5aae566
4
- data.tar.gz: af86a79d963a42b66b870706a7e47a025b03b59365b63354faec5003f2839087
3
+ metadata.gz: 2675de07815b6ed0bdf20e8a94c6eef6cb9a8a54e98940a27a2b2997537e6e9e
4
+ data.tar.gz: b51695a82e8eb135da697e12271d81d705f7a915cc56c279ceb420de542b0234
5
5
  SHA512:
6
- metadata.gz: 106b3a42b408d389b59b759e9639f38ae10a538aec7046d37d496373483a33174a2505bc44c8c012e14f39a7215358b7863487fbc209f68bce8b132258aa9624
7
- data.tar.gz: 5044a165b1129aba0c2678f0e9f9fe53e75516a37f50cc76d2c134850f37e38e81d56d53864ba980c3cbd36c704141f0a7434e371eb7210bef0d4f601640611c
6
+ metadata.gz: 7755825b6e17372447237c99063eb87084c79e15317e80a76f0d6ec55d88931284c51143095bf3a87b2e3b4fc7b4d7e271223329ef19a6618f91033d7da67065
7
+ data.tar.gz: d660fec7954015f97433b2ff8446d3688381311b5f927c827c9dab7d0ec8c6311578ab0fec53f2794b09014d6b5659d0332dc684155541c3ac25702d4dda0124
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 2.4.2
8
+
9
+ ### Changed
10
+
11
+ - Configuration setup set prior to loading the railtie will no longer be overridden by the railtie default setup.
12
+
7
13
  ## 2.4.1
8
14
 
9
15
  ### Changed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.4.2
@@ -7,11 +7,11 @@ module UltraSettings
7
7
  # `config.ultra_settings.auto_load_directories` option.
8
8
  class Railtie < Rails::Railtie
9
9
  config.ultra_settings = ActiveSupport::OrderedOptions.new
10
- config.ultra_settings.auto_load_directories = [File.join("app", "configurations")]
10
+ config.ultra_settings.auto_load_directories ||= [File.join("app", "configurations")]
11
11
 
12
12
  config.before_configuration do
13
- UltraSettings.yaml_config_env = Rails.env
14
- UltraSettings.yaml_config_path = Rails.root.join("config")
13
+ UltraSettings::Configuration.yaml_config_env ||= Rails.env
14
+ UltraSettings::Configuration.yaml_config_path ||= Rails.root.join("config")
15
15
  end
16
16
 
17
17
  # Automatically register any configuration classes in the app/configurations
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultra_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler