form_core 0.1.3 → 0.1.4

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: 9fde099a67585eb039df1f5674102caae42faa428e3fccbd06b08f5bbb3de740
4
- data.tar.gz: ca0963efc74b13e27e1d9539a5d75d43da2ceb1a5f6c2d00f36da727055ee6c3
3
+ metadata.gz: '07928a7711775a7ce8cdfaf530713730dfc5a72dd771bc6a9cf6b3ff32bf8812'
4
+ data.tar.gz: fa3857b1953ab4ba80868b3347ddc619c3edbd60d93eba1441ff0f1318eb5b15
5
5
  SHA512:
6
- metadata.gz: 91b88b510441db3e7b3397bb12be4b6466303394adba480e5f6e3c48d7f726bccc6a244309d9f58a957897bb64492ce8a861e2c41e7e4b504968ab0bcaa1e425
7
- data.tar.gz: db1300da508e1748fe3008aef50b9d2fdd71ad314e6c9689487c8a04a0ca79991a394b0fc838ee369f33bdd9b0d60b74db41a8f6ed841989b8c9dd2d6995fcae
6
+ metadata.gz: e6f6cb884b37fa4a923d065840ae07f2d1dedad44867418d24115e9c7109ba58c1a36cfa199d506279cd11162f937d58331c18dba8467fe27073a765e2fb7f09
7
+ data.tar.gz: c9ac5f4b33404314e2c6fab8b3ddcac8bdf2151e541e354de0f727e92c7b6b4fe99c109cb5581d7099762209075f6d6ed241d74ec096f82fadadfda3836e3818
@@ -74,7 +74,9 @@ module FormCore::Concerns
74
74
  def interpret_extra_to(_model, _accessibility, _overrides = {}); end
75
75
 
76
76
  def check_model_validity!(model)
77
- raise ArgumentError, "#{model} must be a #{::FormCore::VirtualModel}'s subclass" unless model.is_a?(Class) && model < ::FormCore::VirtualModel
77
+ unless model.is_a?(Class) && model < ::FormCore::VirtualModel
78
+ raise ArgumentError, "#{model} must be a #{::FormCore::VirtualModel}'s subclass"
79
+ end
78
80
  end
79
81
  end
80
82
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FormCore
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -22,7 +22,7 @@ module FormCore
22
22
 
23
23
  def serializable_hash(options = {})
24
24
  options = (options || {}).reverse_merge include: self.class._embeds_reflections.keys
25
- super options
25
+ super(**options)
26
26
  end
27
27
 
28
28
  # Hack
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jasl
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-12 00:00:00.000000000 Z
11
+ date: 2021-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeentity
@@ -16,21 +16,21 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.1.beta7
19
+ version: 6.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.1.beta7
26
+ version: 6.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 6.0.0.rc1
33
+ version: 6.0.0
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: '7'
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 6.0.0.rc1
43
+ version: 6.0.0
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '7'
@@ -76,7 +76,7 @@ homepage: https://github.com/rails-engine/form_core
76
76
  licenses:
77
77
  - MIT
78
78
  metadata: {}
79
- post_install_message:
79
+ post_install_message:
80
80
  rdoc_options: []
81
81
  require_paths:
82
82
  - lib
@@ -91,8 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.0.3
95
- signing_key:
94
+ rubygems_version: 3.1.4
95
+ signing_key:
96
96
  specification_version: 4
97
97
  summary: A Rails engine providing ability to generate dynamic form.
98
98
  test_files: []