dynamic_migrations 3.6.11 → 3.6.12

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: f31ee44c0dced52756c6f563ea8b321b0cbce5d6cd53f7ef7fb796efb5f7e58a
4
- data.tar.gz: f3151d84b1574d421d9c122310ce3394f98d4920aa571dc168de2858c91cdc7a
3
+ metadata.gz: 79b80c950a523a7f70c930e8c86774fa64009ae689f5164de3320dc8d55e4238
4
+ data.tar.gz: 649f3e0f23d676e97b8cf3c8389875ae2127701eb405c7c8947bf19de076b7f2
5
5
  SHA512:
6
- metadata.gz: c090b0758ed52dd8b21a5327e83f6d41f23afc5ad3c53bf265166a85245738c37c5188b15dfed27bb890b36db62896590c7dea3fc8d80e130120d43bd548e560
7
- data.tar.gz: 74eb4c9ad0d25987f588ccdc0239e460bbc7169a82cec5fc7c837077e822570ac11d61ae7a136a27f49a5c7093c2e91100d22dd3247729bbbb63fd9c316e19f2
6
+ metadata.gz: 94c1280b7c62a39f8337d1093731625b22049eab02b642f17a9c8d1e7f067ef90cabb1dcabda980acde0eb38639ddbd1d30c9b740d85535d0250295e032b2983
7
+ data.tar.gz: '0478e668cf87739da754981dd2be1acd6a21cdfb3ef41609043c12915a455a04ccf99f31e46b3d0a5630002a59ba6b085f65381a86ed1e4d17eeaa796e70b418'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.6.12](https://github.com/craigulliott/dynamic_migrations/compare/v3.6.11...v3.6.12) (2023-09-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * removing unused argument for create_function migrator ([bdb2ad5](https://github.com/craigulliott/dynamic_migrations/commit/bdb2ad58ff0c5aa3520eb38ab0d16b823014ce6e))
9
+
3
10
  ## [3.6.11](https://github.com/craigulliott/dynamic_migrations/compare/v3.6.10...v3.6.11) (2023-09-13)
4
11
 
5
12
 
@@ -9,7 +9,7 @@ module DynamicMigrations
9
9
  end
10
10
 
11
11
  # create a postgres function
12
- def create_function table_name, function_name, comment: nil, &block
12
+ def create_function function_name, comment: nil, &block
13
13
  unless block
14
14
  raise MissingFunctionBlockError, "create_function requires a block"
15
15
  end
@@ -30,7 +30,7 @@ module DynamicMigrations
30
30
  end
31
31
 
32
32
  # update a postgres function
33
- def update_function table_name, function_name, comment: nil, &block
33
+ def update_function function_name, comment: nil, &block
34
34
  unless block
35
35
  raise MissingFunctionBlockError, "create_function requires a block"
36
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamicMigrations
4
- VERSION = "3.6.11"
4
+ VERSION = "3.6.12"
5
5
  end
@@ -5,8 +5,8 @@ module DynamicMigrations
5
5
  module ActiveRecord
6
6
  module Migrators
7
7
  module Function
8
- def create_function: (Symbol table_name, Symbol function_name, ?comment: String?) -> void
9
- def update_function: (Symbol table_name, Symbol function_name, ?comment: String?) -> void
8
+ def create_function: (Symbol function_name, ?comment: String?) -> void
9
+ def update_function: (Symbol function_name, ?comment: String?) -> void
10
10
  def drop_function: (Symbol function_name) -> void
11
11
  def set_function_comment: (Symbol function_name, String comment) -> void
12
12
  def remove_function_comment: (Symbol function_name) -> void
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.11
4
+ version: 3.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Ulliott