wcc-base 0.3.1 → 0.3.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
- SHA1:
3
- metadata.gz: 94205352d36070433943dc9b9de961e0f450a09a
4
- data.tar.gz: 574d9df4a23fad35a5ec0608217ceb0400e5af88
2
+ SHA256:
3
+ metadata.gz: f1d242e0c67ebac9ba3f5f96a40a88cb0185c9d0207b29cab52c9abcd0b0a687
4
+ data.tar.gz: f45dbdc6a425dbeb7af1b53c9185b2784f9ef2967887e9d379790460da198572
5
5
  SHA512:
6
- metadata.gz: 0f4203cd6329d356ec87be65f932396447b1d15509a29e4f87adbdd0d3e0e48401914a2208008acce49ca58d295d037bc892372c17f6988e345f87c876e3a836
7
- data.tar.gz: 1a42d129b62153187a8ad30a609196a82f7a54b768db9d8730aee41156d2f49393eed7c10aa20aa489a1031911467804dbf227e095f22b245d757d78e314ad2e
6
+ metadata.gz: 1628357da582b78aac9d10308635381cbee83b343f2acc0714875f90e2393a9e6a045080c37a46441e31f896771e12c837bacc6e12bef108b767add474787001
7
+ data.tar.gz: ab922684f27c8d00bf284bea2c17f39b20b1730b05bf02c0f39a64662bf90624769e532805db51fb5afd639486dc9dbc67f4539f8c172ba1006863735c5bd8ff
data/lib/tasks/db.rake CHANGED
@@ -2,7 +2,12 @@ module WCC
2
2
  module RakeHelpers
3
3
 
4
4
  def self.db_config
5
- db_config_file_data[ENV['RAILS_ENV'] || 'development'] || {}
5
+ if Rails::VERSION::MAJOR >= 7
6
+ configs = db_config_file_data.configs_for(env_name: ENV['RAILS_ENV'] || 'development')
7
+ configs.any? ? configs[0].configuration_hash : {}
8
+ else
9
+ db_config_file_data[ENV['RAILS_ENV'] || 'development'] || {}
10
+ end
6
11
  end
7
12
 
8
13
  def self.db_cmd_with_password(cmd, pw)
data/lib/wcc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module WCC
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
data/wcc-base.gemspec CHANGED
@@ -18,6 +18,5 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.6"
22
21
  spec.add_development_dependency "rake"
23
22
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Community Church
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-14 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.6'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.6'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -62,7 +48,7 @@ homepage: https://github.com/watermarkchurch/wcc
62
48
  licenses:
63
49
  - MIT
64
50
  metadata: {}
65
- post_install_message:
51
+ post_install_message:
66
52
  rdoc_options: []
67
53
  require_paths:
68
54
  - lib
@@ -77,9 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
63
  - !ruby/object:Gem::Version
78
64
  version: '0'
79
65
  requirements: []
80
- rubyforge_project:
81
- rubygems_version: 2.6.11
82
- signing_key:
66
+ rubygems_version: 3.3.7
67
+ signing_key:
83
68
  specification_version: 4
84
69
  summary: "# WCC This gem holds the base namespace and default configuration for Watermark
85
70
  Community Church's Ruby development. This is kind of the general repository for