dynamic_migrations 3.6.0 → 3.6.1

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: a25d76d54d7129a77f16574c4b6a84cf82ca6105afe4279ba868b34b97fa4814
4
- data.tar.gz: b60f87c21dd0e53aed9853d4eaece239cab1d2524ba9c500e3dc364eda1d40dd
3
+ metadata.gz: a5f6a69d0ef49c88c5d4f7d1f3798e6a4272fccdad5e3e1c2f5887cf43e552a9
4
+ data.tar.gz: c3faf73058b222ac2a7b10006022d8a08e8b311efad48481f3b64e204b0b3c33
5
5
  SHA512:
6
- metadata.gz: ef75931965eb2dd877bd22a82b4ad6532df5ab4e9e5ff24cc160f9fcc81c3c1db7eca2698b30da99a29000c7c67cf4efd1f5d7eca8ff28fbcc31631a0d43225b
7
- data.tar.gz: 4d4218e2872b79b68b79517696403f3aa15c1b87ac2c9b8afd47e1ebb4a1fcb1b3e3efbd0f0db61ad788e8c80472b2eef1d389e08dbf0153414dcfecab5b976c
6
+ metadata.gz: 1be6d466691eaf92f8b999de32a400cb1e14067618cb9ffe429275110675a516aa2797bc3368ce1d0a4aa66d4021044555cc2e54cb31d1a7290f89b72ae93ce4
7
+ data.tar.gz: 851125f34e2df74a7457d620372321a011459777a30543775eebdda6fcaf7c0cfe5b66e41b1c118bf4d6a029c4f99c8f99150032fa03fc97c18fa3656cd84c54
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.6.1](https://github.com/craigulliott/dynamic_migrations/compare/v3.6.0...v3.6.1) (2023-09-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * adding attr_reader for :code_comment to provide easier access within migration templates ([b805e24](https://github.com/craigulliott/dynamic_migrations/commit/b805e247ef42ea4dd62973be07057d6e110876a3))
9
+
3
10
  ## [3.6.0](https://github.com/craigulliott/dynamic_migrations/compare/v3.5.3...v3.6.0) (2023-09-13)
4
11
 
5
12
 
@@ -6,6 +6,7 @@ module DynamicMigrations
6
6
  end
7
7
 
8
8
  attr_reader :trigger
9
+ attr_reader :code_comment
9
10
 
10
11
  def initialize trigger, code_comment
11
12
  @trigger = trigger
@@ -6,6 +6,7 @@ module DynamicMigrations
6
6
  end
7
7
 
8
8
  attr_reader :validation
9
+ attr_reader :code_comment
9
10
 
10
11
  def initialize validation, code_comment
11
12
  @validation = validation
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamicMigrations
4
- VERSION = "3.6.0"
4
+ VERSION = "3.6.1"
5
5
  end
@@ -3,9 +3,9 @@ module DynamicMigrations
3
3
  module Postgres
4
4
  class Generator
5
5
  class TriggerTemplateBase
6
- @code_comment: untyped
7
6
 
8
7
  attr_reader trigger: untyped
8
+ attr_reader code_comment: String?
9
9
 
10
10
  def initialize: (untyped trigger, untyped code_comment) -> void
11
11
 
@@ -5,9 +5,9 @@ module DynamicMigrations
5
5
  module Postgres
6
6
  class Generator
7
7
  class ValidationTemplateBase
8
- @code_comment: untyped
9
8
 
10
9
  attr_reader validation: untyped
10
+ attr_reader code_comment: String?
11
11
 
12
12
  def initialize: (untyped validation, untyped code_comment) -> void
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Ulliott