wcc-base 0.2.2 → 0.3.0

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
  SHA1:
3
- metadata.gz: e5ffcb2f194975822128b22d2974798fa6f55c2b
4
- data.tar.gz: c48c096a7543d02f4cfe0a5db226a13ef60fd4aa
3
+ metadata.gz: 2f9d11630c92acd1e2b18c378967c894665057f6
4
+ data.tar.gz: 91bfaafff00de40d02fa6fec58292603b24d8f75
5
5
  SHA512:
6
- metadata.gz: a40deac1be76edbaa952ba2477c091afaaf74a3eade3a2e09091f10d15f3fad30ec0c494e5c0ac6375fab7c6c15e8b31702b5eaac52e79c534bb11d47b2713b4
7
- data.tar.gz: 2d113be9c9dce854322ac690f52b14e87f511fc20902b8c1a3394dd878af0ef379a05b4c070645ae003428c1605bbb33652429ec28cb9583b92f0ec3c08716f7
6
+ metadata.gz: 7ba2e1bbf29ada69f150a6cd31a6c4b6c6a47dddd60afd3068401f0b165b3a44a3eabdf11743e9a8ebba4ba36e82f46d7c1fa06401f06d49da1cb5b440cfbae5
7
+ data.tar.gz: 0f5b94c87373d060d7eb46ed8216afb4b6272c722fb9fd78a35a26d39caa2e9babea64d81e5baa18e8880335305bf77c234f52d5d544379ef4a665974ca06a85
data/lib/tasks/db.rake CHANGED
@@ -25,7 +25,9 @@ module WCC
25
25
  if defined?(ActiveRecord::Base) && ActiveRecord::Base.configurations.present?
26
26
  ActiveRecord::Base.configurations
27
27
  else
28
- @yaml_file ||= YAML.load_file("config/database.yml")
28
+ @yaml_file ||= YAML.load(
29
+ ERB.new(File.read("#{app_dir}/config/database.yml" )).result
30
+ )
29
31
  end
30
32
  rescue SystemCallError
31
33
  {}
data/lib/wcc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module WCC
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
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.2.2
4
+ version: 0.3.0
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: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2018-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.6.8
81
+ rubygems_version: 2.6.11
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: "# WCC This gem holds the base namespace and default configuration for Watermark