formtastic_validated_boolean_input 0.0.1

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.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in formtastic_validated_boolean_input.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,5 @@
1
+ class BooleanInput < Formtastic::Inputs::BooleanInput
2
+ def check_box_html
3
+ builder.check_box(method, input_html_options, checked_value, unchecked_value)
4
+ end
5
+ end
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "formtastic_validated_boolean_input/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "formtastic_validated_boolean_input"
7
+ s.version = FormtasticValidatedBooleanInput::VERSION
8
+ s.authors = ["Daniel Kirsch"]
9
+ s.email = ["daniel.kirsch@zweitag.de"]
10
+ s.homepage = ""
11
+ s.summary = %q{Formtastic BooleanInput that works with client_side_validations}
12
+ s.description = %q{Formtastic's stock BooleanInput doesn't work with client_side_validations. This does.}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.require_paths = ["lib"]
17
+
18
+ s.add_dependency 'formtastic', '~> 2.0.0'
19
+ end
@@ -0,0 +1,7 @@
1
+ require "formtastic_validated_boolean_input/version"
2
+ require "rails"
3
+ require "formtastic"
4
+
5
+ module FormtasticValidatedBooleanInput
6
+ class Engine < Rails::Engine; end
7
+ end
@@ -0,0 +1,3 @@
1
+ module FormtasticValidatedBooleanInput
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: formtastic_validated_boolean_input
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Daniel Kirsch
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-09-29 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: formtastic
16
+ requirement: &70315608771360 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70315608771360
25
+ description: Formtastic's stock BooleanInput doesn't work with client_side_validations.
26
+ This does.
27
+ email:
28
+ - daniel.kirsch@zweitag.de
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - .gitignore
34
+ - Gemfile
35
+ - Rakefile
36
+ - app/inputs/boolean_input.rb
37
+ - formtastic_validated_boolean_input.gemspec
38
+ - lib/formtastic_validated_boolean_input.rb
39
+ - lib/formtastic_validated_boolean_input/version.rb
40
+ homepage: ''
41
+ licenses: []
42
+ post_install_message:
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ! '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ segments:
53
+ - 0
54
+ hash: 4169645827219206353
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ segments:
62
+ - 0
63
+ hash: 4169645827219206353
64
+ requirements: []
65
+ rubyforge_project:
66
+ rubygems_version: 1.8.9
67
+ signing_key:
68
+ specification_version: 3
69
+ summary: Formtastic BooleanInput that works with client_side_validations
70
+ test_files: []