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 +4 -4
- data/lib/tasks/db.rake +2 -2
- data/lib/wcc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a13e7d5c8847e58b738bb4fd5a91bdd14589f339ab5fe20e4edd31070ac176a1
|
4
|
+
data.tar.gz: 9066eb4b31c769fb48565e14ef4a1400e235390c7cb580c83e4fe7a109ce15c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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
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.
|
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-
|
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.
|
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
|