declare_schema 0.14.1 → 0.14.2

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: fd53a96307dce4b6f8c1ab3372820991af20afdb91f78dc28a022ccd4edc6867
4
- data.tar.gz: b8a2a17a17b6df4fd4f6b5915386734cdc439613a65b60e490dd5d906fd4e457
3
+ metadata.gz: 2804b7a11446f5570e967f4ea65be3ee2da5af62a54c3a345acfd2d9b9f58d7b
4
+ data.tar.gz: 1c1787e5388145ec1a8ae81276fda0488be7fc2d7e192355aaf8d76ef0c00005
5
5
  SHA512:
6
- metadata.gz: 64cf2d70ecb330394607241f4a4094c37ad0ee1291df3b1ce8e652f82c8e1ebdd96fc0adffa48bdcfe2e641a8be0197541cce19d46b89460aef3b656718a4d5b
7
- data.tar.gz: afcdcc1e94a8504797d9e5b986009d7f932e9822e717ce33fb4588a53039ae9e53a389642c98c0be38b3c922c10de1314fba663f1a9badc739fdb69357772e24
6
+ metadata.gz: 2eaff1f5f1e0e0ded155db135646df64a9e38a04c64511550e98ed7857e182b63f45558b309dcbaf93d3a22bff6781b95b94418aa90604fbdafda076384bbde5
7
+ data.tar.gz: a8e380d8e2b1fadf9aeceeea58d3a2a1503330191dcb8f4f4fc507f7b6d191b4dec2f191e94820d7fb21efacfc95c571e5589612517904c48d91dde2d2866973
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.14.2] - 2021-09-01
8
+ ### Fixed
9
+ - Fixed another Ruby 2.7 warning about needing `**options` when calling a method that has `**options` in its signature.
10
+
7
11
  ## [0.14.1] - 2021-09-01
8
12
  ### Fixed
9
13
  - Fixed Ruby 2.7 warning about needing `**options` when calling a method that has `**options` in its signature.
@@ -200,6 +204,7 @@ using the appropriate Rails configuration attributes.
200
204
  ### Added
201
205
  - Initial version from https://github.com/Invoca/hobo_fields v4.1.0.
202
206
 
207
+ [0.14.2]: https://github.com/Invoca/declare_schema/compare/v0.14.1...v0.14.2
203
208
  [0.14.1]: https://github.com/Invoca/declare_schema/compare/v0.14.0...v0.14.1
204
209
  [0.14.0]: https://github.com/Invoca/declare_schema/compare/v0.13.1...v0.14.0
205
210
  [0.13.1]: https://github.com/Invoca/declare_schema/compare/v0.13.0...v0.13.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- declare_schema (0.14.1)
4
+ declare_schema (0.14.2)
5
5
  rails (>= 5.0)
6
6
 
7
7
  GEM
@@ -36,7 +36,7 @@ module DeclareSchema
36
36
  def method_missing(*args, **options)
37
37
  args.count(&:itself) >= 2 or raise ::ArgumentError, "fields in declare_schema block must be declared as: type name, [:required], options (got #{args.inspect}, #{options.inspect})"
38
38
  type, name, *required = args
39
- field(name, type, *required, options)
39
+ field(name, type, *required, **options)
40
40
  end
41
41
  end
42
42
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeclareSchema
4
- VERSION = "0.14.1"
4
+ VERSION = "0.14.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: declare_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development adapted from hobo_fields by Tom Locke