dynamic_migrations 3.4.0 → 3.4.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: 4175e35ddf2a941304c9efec0400c7ed6d933bf982d3744eb45f2891d6806ec6
4
- data.tar.gz: c78c493bf1660d8b2eb36fe355a07869b8ef2fdbc4a05527da51e27b56dcfa2e
3
+ metadata.gz: 6179ff02d722d3ed480dfe55af5283214bbc1c0a4e527e94b776d083d11ddbac
4
+ data.tar.gz: 529ec5fa1d5e30a24a9b90afb9089ac94d16b5500b1bb89bcc9834e01fcf3402
5
5
  SHA512:
6
- metadata.gz: f4e13bc988a286385fa6e39b4cbf5d001674cec8482ee9cb4680d34fe9b3a82fc869dccbef8c31527f3f23a4230796cc07b4559bd90c35373b3865877328878c
7
- data.tar.gz: 73a51e5ae774cd41863e67c2f5cf7f541beaeddbf6b027d81637a6926542d267fb0ca34e790b86b206786668cf2fc3466242a6347871ed552f739aa2a7a8baf8
6
+ metadata.gz: f0072b85a3a7fcad3ce51a5bddc64daf507830152e4f17448a0f7f33f6ebecd659590d4c82d7104d2743e4848765906dd8b7ac98509d1f3d6db8d012a40cda3c
7
+ data.tar.gz: 25e037f431f8178f1b4906670a2e8fe9d93736034c0b3fd5184f1ab0643afdb9c1467e6febe29bed7c217de846bd7cd287a74198ee3f0afe251b805e3836f5a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.4.1](https://github.com/craigulliott/dynamic_migrations/compare/v3.4.0...v3.4.1) (2023-08-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * validate that data type is a symbol ([f888f81](https://github.com/craigulliott/dynamic_migrations/commit/f888f819fdcd10772161f890024b937486c56c34))
9
+
3
10
  ## [3.4.0](https://github.com/craigulliott/dynamic_migrations/compare/v3.3.1...v3.4.0) (2023-08-23)
4
11
 
5
12
 
@@ -29,6 +29,9 @@ module DynamicMigrations
29
29
  @name = name
30
30
 
31
31
  @data_type = data_type
32
+ raise ExpectedSymbolError, data_type unless data_type.is_a? Symbol
33
+ @data_type = data_type
34
+
32
35
  @null = null
33
36
  @default = default
34
37
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamicMigrations
4
- VERSION = "3.4.0"
4
+ VERSION = "3.4.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Ulliott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-23 00:00:00.000000000 Z
11
+ date: 2023-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg