dynamic_scaffold 1.4.2 → 1.4.3

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: 9f6b62c290ce99a5fa514f83e0998cef5d7e85af27e3bba74414b759d2031934
4
- data.tar.gz: 6109815b67cbc151a20534021b9c8b8381262bb972cde348665fa0fc66f0bf7d
3
+ metadata.gz: 8c78d85fe028cf2f3a8d6dbb2535c1763cb44af9dbd23e8f2c209900cb697c5b
4
+ data.tar.gz: ba48a0bb59375db1313e69510a300df75b2e219df6da94a19033e122742b9644
5
5
  SHA512:
6
- metadata.gz: a5bb524f13d06670c74cee5516b63b902880485b3a60c56f97dba78bcd83e9b844c58bf47bd2663e611ed7d53049c34e14a66dfa80363ec0060be074ae92cbdd
7
- data.tar.gz: '01904df0fd4fccfeb9d226b9d5f7fbeb79f5c5b427b5c0a2d8d6c14636668dc0c0bbfd2d9f5d7f854b2dc8cd146cbc5d77e3a4584d4e1cd4735d1dd0f0772859'
6
+ metadata.gz: 0bb514fae7e68f907888a1e0d3642cb1b2991f66c5ed4be7397180e6cc58b8e82bf4e37cc16400eb6f0201ad216fb9a7e5e6dc7a9d5bd94959b82dc6b96c7551
7
+ data.tar.gz: 6b2d83755e283de98609d4ec9bf25a8dde3a8fc5a2160a9c6770b2673eec0c15d01022138e8f38daf5601a4cebff8cce5dce5bcc9e1be89987f402daa7d9bc0c
@@ -89,6 +89,10 @@ module DynamicScaffold
89
89
 
90
90
  datetime_select_keys << k = match[1]
91
91
  end
92
+
93
+ # globalize
94
+ next [:translations_attributes, @record.translations] if k == 'translations_attributes'
95
+
92
96
  [k, @record.public_send(k)]
93
97
  end.compact.to_h.with_indifferent_access
94
98
 
@@ -1,3 +1,3 @@
1
1
  module DynamicScaffold
2
- VERSION = '1.4.2'.freeze
2
+ VERSION = '1.4.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masamoto Miyata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-04 00:00:00.000000000 Z
11
+ date: 2020-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: classnames-rails-view