db_config 0.1.10 → 0.1.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed36d9aed028396348f97908e38d3f5f8db947e36764b3262d6df03d300c843c
4
- data.tar.gz: 8d972d79be0bd47127c4ae4f44cb5105b46d41730244c37e21ca4bd77cce57ef
3
+ metadata.gz: ef35ec109ff4cb1156966a4c5e7c0cabb6aa3cb3dd2f112a875d6af7d33c889b
4
+ data.tar.gz: 1936b6562316ecf33fed7451653aeebcf307a5f61940c0f7457856da810f18c1
5
5
  SHA512:
6
- metadata.gz: 16c920bfeb9baea87b6285d5d1b261d5378ea53d55037282c196f8b068ef4c79abb8fd7ab2b496fb46ffe13d890c34543d4e79bdfd95f0682c46a0f1ab4fb780
7
- data.tar.gz: 5c8016ddaa6d71b75d606bb30e5b6818fa518053d9f07cd64953cd2fd1f03dd0d5045f097d7f481c8d0e58950b5de67eaee296ac596a0c0550ab06ef1301cdf7
6
+ metadata.gz: bafe84af57d111bb47079429e2e40859f6b0c2d5bb4a1528c52b0f0a30f0e52a741efe04fcddb059f95892c37b725be5ca4f5cb6ce32efd52282cb1939f9f5aa
7
+ data.tar.gz: d2d6c6d764da3c088eddafa71fc4a0cf0f80e7c0dd8c171bc3e93ff71a11e6102f0af7aeeb6d267eaf293cdf7ca80e573f69634b6c58a26dbebeaadbf210d607
@@ -1,3 +1,3 @@
1
1
  module DBConfig
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
data/lib/db_config.rb CHANGED
@@ -1,10 +1,13 @@
1
1
  require "db_config/version"
2
2
  require "db_config/railtie"
3
- require "db_config/record"
4
3
  require "db_config/current"
5
4
  require "json"
6
5
 
7
6
  module DBConfig
7
+ # Requiring the gem must not load Active Record: Rails 8.2 flags a framework loaded before the app
8
+ # initializes (rails/rails#58334), and `Record < ActiveRecord::Base` would do exactly that.
9
+ autoload :Record, "db_config/record"
10
+
8
11
  class NotFoundError < StandardError; end
9
12
 
10
13
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Bob
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 4.0.1
103
+ rubygems_version: 4.0.16
104
104
  specification_version: 4
105
105
  summary: Database-backed configuration store for Rails with automatic type conversion,
106
106
  eager loading, and Avo integration