wcc-base 0.3.3 → 0.3.5

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: 84554c7dfd673da7c898380cd9eaa8e6eee6c2695d86a68ddc8b89e6b022d3f9
4
- data.tar.gz: c81d63b4dfcfde12dcfe67d1643e0810976f3bccce059d82b250b8ded93d8568
3
+ metadata.gz: a13e7d5c8847e58b738bb4fd5a91bdd14589f339ab5fe20e4edd31070ac176a1
4
+ data.tar.gz: 9066eb4b31c769fb48565e14ef4a1400e235390c7cb580c83e4fe7a109ce15c1
5
5
  SHA512:
6
- metadata.gz: 0e5f543a9f03040b44532ef3ba73a6e03133166c7a1d6c93b55a7134e46762aa2047e8fe18aa1d83ed1f2f4e347eb040bee6f209bee671f4455fe88dce1db918
7
- data.tar.gz: dfd1cc3e64ccd6b85306c2834c17452093a7f19ba8d8b752d41a3def000e3987c0180e0e84c98daedb4e30c47c57ea64bc8795eb2b2e61bf130fef304352bcdd
6
+ metadata.gz: 87af99d4c1c010c9f3f152c7436d3f305c66764e3ebe699f63c1f4fc7c51ee52967422a5e538c6e1950292345df23e8dbf0c6aa3332e13a4095dcf1985202f6c
7
+ data.tar.gz: 3db3517b0e1d4832195ba1aaacb067be5d7343f4ee7e4ddbbb69fde9d6b3d41275d78317c10f4f63d27cc75ff924d4e9d1b68621811d0250059ebd9e6f319165
data/lib/tasks/db.rake CHANGED
@@ -2,7 +2,7 @@ module WCC
2
2
  module RakeHelpers
3
3
 
4
4
  def self.db_config
5
- if Rails::VERSION::MAJOR >= 7
5
+ if db_config_file_data.respond_to?(:configs_for)
6
6
  configs = db_config_file_data.configs_for(env_name: ENV['RAILS_ENV'] || 'development')
7
7
  configs.any? ? configs[0].configuration_hash : {}
8
8
  else
@@ -30,7 +30,7 @@ module WCC
30
30
  if defined?(ActiveRecord::Base) && ActiveRecord::Base.configurations.present?
31
31
  ActiveRecord::Base.configurations
32
32
  else
33
- @yaml_file ||= YAML.load(ERB.new(File.read('config/database.yml' )).result, aliases: true)
33
+ @yaml_file ||= YAML.load(ERB.new(File.read('config/database.yml' )).result)
34
34
  end
35
35
  rescue SystemCallError
36
36
  {}
data/lib/wcc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module WCC
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Community Church
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-07 00:00:00.000000000 Z
11
+ date: 2024-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.2.15
66
+ rubygems_version: 3.3.7
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: "# WCC This gem holds the base namespace and default configuration for Watermark