awesome_form_attributes 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDQzNDYyZGIzMzQ0ODEzN2ExZTBmN2Q2NzNmNDEyYjlkNzcyYzM1NA==
5
- data.tar.gz: !binary |-
6
- OTk5MDJiNjBmOGNjMDkyMjE4OTM4YmIyMjk1NzVlM2Q1ZjlhMWRjYQ==
2
+ SHA1:
3
+ metadata.gz: 3ce3b788d08cf1e5da00e035786e857dc991ff53
4
+ data.tar.gz: a99f443b22367166c3b196aae31ae14eeddf5ed0
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- M2NmNzYxMmYwYmE4ZmZiZGNhMzJlMjE4YWMwM2JkNDgxZTkzOTVmNDUzMGU3
10
- MTYxZjNiNmNkYjIwYTI1YmM5YmVhNWE0ZTE1NWRkYjQ1ZmNhZDVkNDkwNWQ2
11
- MGYzMzFjZmU0ODIyYmE2OGZiN2I1Njc3OWMzZmZkODBmYTg4ZDg=
12
- data.tar.gz: !binary |-
13
- NWM4ZTFlNmZlMTlhZjg0ZGE2Mjc1YWRhNWZkYWE5OTM4NTNjN2YyYmRhYTdj
14
- ZmEwZjBiMDgzZDMwNDUwYmY1YWY0YmNhYTg2NTU5YWMxZDAyMDU5Zjk5ZmNk
15
- OGI3ZDkzNzhhODliYmQ2Y2UxM2ExOTQ2NzFlYTM2ZjNiOGFkNmE=
6
+ metadata.gz: 58ad98059a2028dc803f3d261c8e88f0bf9e359e4cb59f192c14c377fb9905b2fe866ea437ecce2e43744c1b821236ae831b34a72c60f6f38d401835530fdf79
7
+ data.tar.gz: 8ae9e4ac753e99cfafb0ecdf04646926203ff402eb93c98d3111992a688ffd1cb58ec9599fca449fda846ef47d55b13c5dbc11938076f42a401095187b88db6c
@@ -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.1'
5
+ s.version = '1.2.2'
6
6
  s.authors = ['Zhimeng Sun']
7
7
  s.email = ['zhimengSun@gmail.com']
8
8
  s.homepage = 'https://github.com/zhimengSun/awesome_form_attributes'
@@ -8,12 +8,12 @@ module UsedAttrColumns
8
8
  I18n.t(self.default_local_path).try(:keys) || []
9
9
  end
10
10
 
11
- def select_options(tag, obj = nil)
11
+ def select_options
12
12
  {}
13
13
  end
14
14
 
15
15
  def select_values(tag, obj = nil)
16
- select_options(tag, obj)[tag.to_s] || []
16
+ select_options[tag.to_s] || []
17
17
  end
18
18
 
19
19
  def short_used_attrs
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_form_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhimeng Sun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2016-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '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
26
  version: '0'
27
27
  description: Easy way to write attributes for DB based Object in the VIEWS
@@ -31,7 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - .gitignore
34
+ - ".gitignore"
35
35
  - README.md
36
36
  - Rakefile
37
37
  - awesome_form_attributes.gemspec
@@ -53,19 +53,18 @@ require_paths:
53
53
  - lib
54
54
  required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ! '>='
56
+ - - ">="
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ! '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.4.8
66
+ rubygems_version: 2.2.2
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Easy way to write attributes for DB based Object
70
70
  test_files: []
71
- has_rdoc: