generic_form_builder 0.4.5 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmVjNmQ2YTE0ODRlN2MxMTM4ZTU3Y2U0MWM4ZjM2MTI4MjI0NDhkMg==
5
+ data.tar.gz: !binary |-
6
+ ODM2ZmJkNGUyYTgwMzE5N2NkNDgzMmFmOTNkMDMxZjk2YzA2MjJhYg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NDJiOWVmMTU0Y2QyMmY2OTkxYzIxY2I4YmY5ODBkNjljN2QwOWE3NzM0NTI4
10
+ NzNmZTFmMDY3OTMxYTZjZWEzYTA0ZDI4Y2E1NDFkYTIxODI3YmU0OGVlZmRj
11
+ MmFiNDg2NDczYWE5YWI4NGNlNzQ5YjZkOTVmMzM5NjFmMGYwOTI=
12
+ data.tar.gz: !binary |-
13
+ MjUxM2VjMmU5NGMwNGVkODM3OTc5NjFmMzg3ODg3ODUwZmU5MGEwZWVlYzRk
14
+ Y2E2MDZkOTIzMzIwODE5YWVhZjU0NTIyZDI0MTE2NzRmNDNiYjNhOGRjNmNi
15
+ YzcxMDk3OWExZTk0MGViNDczOTc4ZDg2YjdiMTk3ZDYwNDNmNzc=
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = "generic_form_builder"
4
- s.version = '0.4.5'
4
+ s.version = '0.5.0'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ["Elliot Crosby-McCullough", "George Brocklehurst", "Elise Huard", "Tom Stuart"]
7
7
  s.email = ["elliot.cm@gmail.com"]
@@ -44,7 +44,7 @@ class GenericFormBuilder < ActionView::Helpers::FormBuilder
44
44
  return super if options[:default_builder]
45
45
  label_text = options.delete(:label) || field.to_s.humanize
46
46
  tag_type = options.delete(:tag_type) || :li
47
- content_tag(tag_type, label("#{field}_#{value.to_s.downcase.gsub(' ', '_')}", super + " #{label_text} #{errors_text(field)}", :class => 'radio'))
47
+ content_tag(tag_type, label("#{field}_#{value.to_s.downcase.gsub(' ', '_')}", super + " #{label_text} #{errors_text(field)}", :class => 'radio', :onclick => ""))
48
48
  end
49
49
 
50
50
  def buttons(options = {})
metadata CHANGED
@@ -1,15 +1,9 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: generic_form_builder
3
- version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 5
10
- version: 0.4.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Elliot Crosby-McCullough
14
8
  - George Brocklehurst
15
9
  - Elise Huard
@@ -17,57 +11,39 @@ authors:
17
11
  autorequire:
18
12
  bindir: bin
19
13
  cert_chain: []
20
-
21
- date: 2012-04-19 00:00:00 +01:00
22
- default_executable:
14
+ date: 2014-02-12 00:00:00.000000000 Z
23
15
  dependencies: []
24
-
25
16
  description:
26
- email:
17
+ email:
27
18
  - elliot.cm@gmail.com
28
19
  executables: []
29
-
30
20
  extensions: []
31
-
32
21
  extra_rdoc_files: []
33
-
34
- files:
22
+ files:
35
23
  - README.md
36
24
  - generic_form_builder.gemspec
37
25
  - lib/generic_form_builder.rb
38
- has_rdoc: true
39
26
  homepage: http://github.com/elliotcm/generic_form_builder
40
27
  licenses: []
41
-
28
+ metadata: {}
42
29
  post_install_message:
43
30
  rdoc_options: []
44
-
45
- require_paths:
31
+ require_paths:
46
32
  - lib
47
- required_ruby_version: !ruby/object:Gem::Requirement
48
- none: false
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- hash: 3
53
- segments:
54
- - 0
55
- version: "0"
56
- required_rubygems_version: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
- version: "0"
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ! '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
65
43
  requirements: []
66
-
67
44
  rubyforge_project:
68
- rubygems_version: 1.5.0
45
+ rubygems_version: 2.1.11
69
46
  signing_key:
70
- specification_version: 3
47
+ specification_version: 4
71
48
  summary: Generic Rails 3 form builder
72
49
  test_files: []
73
-