declare_schema 0.10.0.pre.dc.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba8cc9ec92cef0b417f1c8a4f19926800f65d81d474bef96daed41073ad01f12
4
- data.tar.gz: 78bbc7018dd9b253f1ec294cb00f63df8153e62f26028c2bfbc63934dac0872b
3
+ metadata.gz: e993cfd0cf72aa7610f32743ce838d6c7e6ec07370cd3427649ab80cce7e9ac2
4
+ data.tar.gz: 273de3135fa09049b57a598342a36c283dc956498016dbc98297910233b1b5bb
5
5
  SHA512:
6
- metadata.gz: d6571074ee8f2961f176d91d3759fd82ac5acf7b8a263f5f2121441003ba7e172148ac50f5946926872b979384ace46cf191382c447f5807a688798813385d73
7
- data.tar.gz: 52da509db48d6e858b905c03d553d2af57d1fe67ff540c66e8f9078ac76b4c21441fec99e68befb207151e36c987eda62d3e38b993bb57de5a748ee423456e6a
6
+ metadata.gz: 1f28b92b3614dc61323b386eeb67c681873c983acd66869b705e6c920c906c9429f26030135e916726fa0b068c6b68e5cce57902f64c230c0a5cf289fdec9645
7
+ data.tar.gz: 2d23d69ffedf63881a3d33bbde3f2bcc62ed9e12938e981bb7388400a3f4dec28aa3ade8714a3c352c93b743496e70777f6a54e710d91d7e6adb2ca66fc23954
data/CHANGELOG.md CHANGED
@@ -4,7 +4,7 @@ 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.10.0] - Unreleased
7
+ ## [0.10.0] - 2021-03-17
8
8
  ### Deprecated
9
9
  - The `fields` dsl method is being deprecated.
10
10
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- declare_schema (0.10.0.pre.dc.1)
4
+ declare_schema (0.10.0)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
@@ -28,8 +28,7 @@ module DeclareSchema
28
28
  field(:lock_version, :integer, default: 1, null: false)
29
29
  end
30
30
 
31
- def field(name, type, *args)
32
- options = args.extract_options!
31
+ def field(name, type, *args, **options)
33
32
  @model.declare_field(name, type, *(args + [@options.merge(options)]))
34
33
  end
35
34
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeclareSchema
4
- VERSION = "0.10.0.pre.dc.1"
4
+ VERSION = "0.10.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: declare_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.pre.dc.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development adapted from hobo_fields by Tom Locke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-03 00:00:00.000000000 Z
11
+ date: 2021-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails