awesome_form_attributes 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf763f2c1c40bd80b9079c1a92275da20a8c69fc
4
- data.tar.gz: 30a1b77e3c3b17ffbd35ec7cafdc23ef38f371b0
3
+ metadata.gz: aae6d27e5aa66e1667fed6d9a1cf112185e5a642
4
+ data.tar.gz: 90ef43762610df999d63494900573858528c93b4
5
5
  SHA512:
6
- metadata.gz: 100f29d33c7bbd8d255121be3af69b115db0eae9cc939edef033b672aaf9e021bc0c70ced13823b2860c1a754388d2b3941e40d49c1ca76cc6d346baa5d2700d
7
- data.tar.gz: da97d4d3e1f1253439bf05ca6a53357d16b0efdc4636e9baf59a7c6089c081722a713ef27d7f683ceb4171be5396bc8b7b9d3e3b7d846e62a58e5660be07a126
6
+ metadata.gz: be1bb6261a4ee2ea571998154a829f85aad98d7e40cc0a10136f6466ff979ce9d1ee4ec27d05318f0350156265137e3ed1617664df5dc6f39540cb28afb50283
7
+ data.tar.gz: 6d0022ba4d614874c75a6ecc6fb79667f140ba76594845a010bfaacdfb61c165cb9f01602ea0508e4908d410ace6934fa7bff26893fcc5961fab9a3bcd1b7103
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'awesome_form_attributes'
5
- s.version = '1.2.3'
5
+ s.version = '1.2.4'
6
6
  s.authors = ['Zhimeng Sun']
7
7
  s.email = ['zhimengSun@gmail.com']
8
8
  s.homepage = 'https://github.com/zhimengSun/awesome_form_attributes'
@@ -4,7 +4,7 @@ module UsedAttrColumns
4
4
  extend ActiveSupport::Concern
5
5
 
6
6
  module ClassMethods
7
- def used_attrs
7
+ def used_attrs(action_page = "new")
8
8
  I18n.t(self.default_local_path).try(:keys) || []
9
9
  end
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_form_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhimeng Sun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-24 00:00:00.000000000 Z
11
+ date: 2016-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails