declare_schema 0.14.1 → 0.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/declare_schema/dsl.rb +1 -1
- data/lib/declare_schema/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2804b7a11446f5570e967f4ea65be3ee2da5af62a54c3a345acfd2d9b9f58d7b
|
4
|
+
data.tar.gz: 1c1787e5388145ec1a8ae81276fda0488be7fc2d7e192355aaf8d76ef0c00005
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/declare_schema/dsl.rb
CHANGED
@@ -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
|