slim_form_object 3.3.0 → 3.3.1

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: f1aba71a3861a1e7e07527da38d6c57ba6b7bdd1a1deeec053fa3dc54c978d89
4
- data.tar.gz: 98ba1923cffddde9e7056f47a64960f08feff5e2f3eccff5ed299a684db4bb3c
3
+ metadata.gz: d025bd65aee97a0bc92e6d9151b32b95bd6ad265d743920c4ec77d9db8ae7fd1
4
+ data.tar.gz: c51ff0fc64d5fc21a366a0afbdc14256f2ac4ce6d818e6599b2d4edb506b5a92
5
5
  SHA512:
6
- metadata.gz: 00a70a593909ac03267b9d942117f471da1bba88b62bc0911203ea3ae1e7d7c5c691777aa85dd0538e526e0a786c9b2afbcb90613e9d76a5fa6d3686867c2085
7
- data.tar.gz: 996361026ca64372eeedffeeb81b093b97df24a3c0db2916208229236a83e1ff107ffca253263d645c0ae973a9cc023a63de668941af015d09146343124f3e95
6
+ metadata.gz: 0e95a5333b55f512e825d4194339efd8eaf27b6b5925722d119aef451e4fde3c4bbcd1cda9739773fdfa949d24d8bec5e2a743afaa7e39e21d07f9aca2e8ddf8
7
+ data.tar.gz: 6af8926329096a466ec25f021a0e849f27db9e60aa71938ce605e1c70bed20c8b68fd885af52b8d0ffdff3d5be906b11d83c5fb4575d2eeeac461e8d0e479a32
@@ -13,6 +13,10 @@ module SlimFormObject
13
13
  define_method(:model_name) { ActiveModel::Name.new(self, nil, name) }
14
14
  end
15
15
 
16
+ def base_modules
17
+ @base_modules || {}
18
+ end
19
+
16
20
  # data_structure
17
21
  def input_data_structure(**structure)
18
22
  instance_eval do
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "3.3.0"
2
+ VERSION = "3.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim_form_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - woodcrust
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2019-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubygems_version: 3.0.1
189
+ rubygems_version: 3.0.3
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: This is form object