discharger 0.2.20 → 0.2.21

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: 64bc3cc11b4485d65aa5baf35cbadba8bfd7376e2b44202dcc28a9a0effa5dde
4
- data.tar.gz: 07bd8c29a7bd243e5ea433597a78d041210ce015fb35e5dd2598d21e5ebbce8f
3
+ metadata.gz: 64422159d1dff956fa5ca2024fa98c53176357403868ba2ba2a648bdf9ae9011
4
+ data.tar.gz: 785a310cf834729d942c74de691316c55d5f9cd06216345997897defa6c12c67
5
5
  SHA512:
6
- metadata.gz: 7aed2dbe8d1c5b6b5bfd549d3063c6b6d512b694e22f649d47c546571f1ba13a9d77d13308d62bfe1f3f76c7b68a38d093bcdda4da90451e1c7345d7afa2296f
7
- data.tar.gz: da97e691aa05b22609a6ac8aebf36a86f615974f40ba816a54b7f03180b0f7067ca4514ffbe79b12220c54826469669d8e35f6d66b1d8ec075e91b87318669e2
6
+ metadata.gz: be46af229902024d7805d02d656f65e8fa9601ac0398b86944fb4e3286fdeaac4cdea32c9b006b12ad803ed36718f56b4d5a3cd4f4d9668d177a0cc18889d1c3
7
+ data.tar.gz: cdf6ffd777a1e6b53e972c4f449984628297aa8d0a83a9f748747430b961eac2f498339399bc31d1724e709d24d1a3fb50b17f60ed5020664ce1652f38b82e91
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
- ## [0.2.20] - 2025-12-11
8
+ ## [0.2.21] - 2025-12-17
9
+
10
+ ### Fixed
9
11
 
10
- ## [0.2.19] - 2025-12-05
12
+ - Corrected mis-matched method names for #database and #redis
13
+
14
+ ## [0.2.20] - 2025-12-11
@@ -5,12 +5,12 @@ require "yaml"
5
5
  module Discharger
6
6
  module SetupRunner
7
7
  class Configuration
8
- attr_accessor :app_name, :db_config, :redis_config, :services, :steps, :custom_steps
8
+ attr_accessor :app_name, :database, :redis, :services, :steps, :custom_steps
9
9
 
10
10
  def initialize
11
11
  @app_name = "Application"
12
- @db_config = DatabaseConfig.new
13
- @redis_config = RedisConfig.new
12
+ @database = DatabaseConfig.new
13
+ @redis = RedisConfig.new
14
14
  @services = []
15
15
  @steps = []
16
16
  @custom_steps = []
@@ -24,8 +24,8 @@ module Discharger
24
24
  return config if yaml.nil? || yaml == false
25
25
 
26
26
  config.app_name = yaml["app_name"] if yaml["app_name"]
27
- config.db_config.from_hash(yaml["database"]) if yaml["database"]
28
- config.redis_config.from_hash(yaml["redis"]) if yaml["redis"]
27
+ config.database.from_hash(yaml["database"]) if yaml["database"]
28
+ config.redis.from_hash(yaml["redis"]) if yaml["redis"]
29
29
  config.services = yaml["services"] || []
30
30
  config.steps = yaml["steps"] || []
31
31
  config.custom_steps = yaml["custom_steps"] || []
@@ -1,3 +1,3 @@
1
1
  module Discharger
2
- VERSION = "0.2.20"
2
+ VERSION = "0.2.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discharger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.20
4
+ version: 0.2.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Gay