html5forms-rails 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/Gemfile +11 -0
  3. data/README.md +208 -0
  4. data/Rakefile +49 -0
  5. data/VERSION +1 -0
  6. data/demos/html5-form-demo.html +79 -0
  7. data/html5forms-rails.gemspec +142 -0
  8. data/lib/html5forms.rb +6 -0
  9. data/vendor/assets/images/colorpicker/blank.gif +0 -0
  10. data/vendor/assets/images/colorpicker/colorpicker_background.png +0 -0
  11. data/vendor/assets/images/colorpicker/colorpicker_hex.png +0 -0
  12. data/vendor/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
  13. data/vendor/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
  14. data/vendor/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
  15. data/vendor/assets/images/colorpicker/colorpicker_indic.gif +0 -0
  16. data/vendor/assets/images/colorpicker/colorpicker_overlay.png +0 -0
  17. data/vendor/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
  18. data/vendor/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
  19. data/vendor/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
  20. data/vendor/assets/images/colorpicker/colorpicker_select.gif +0 -0
  21. data/vendor/assets/images/colorpicker/colorpicker_submit.png +0 -0
  22. data/vendor/assets/images/colorpicker/custom_background.png +0 -0
  23. data/vendor/assets/images/colorpicker/custom_hex.png +0 -0
  24. data/vendor/assets/images/colorpicker/custom_hsb_b.png +0 -0
  25. data/vendor/assets/images/colorpicker/custom_hsb_h.png +0 -0
  26. data/vendor/assets/images/colorpicker/custom_hsb_s.png +0 -0
  27. data/vendor/assets/images/colorpicker/custom_indic.gif +0 -0
  28. data/vendor/assets/images/colorpicker/custom_rgb_b.png +0 -0
  29. data/vendor/assets/images/colorpicker/custom_rgb_g.png +0 -0
  30. data/vendor/assets/images/colorpicker/custom_rgb_r.png +0 -0
  31. data/vendor/assets/images/colorpicker/custom_submit.png +0 -0
  32. data/vendor/assets/images/colorpicker/select.png +0 -0
  33. data/vendor/assets/images/colorpicker/select2.png +0 -0
  34. data/vendor/assets/images/colorpicker/slider.png +0 -0
  35. data/vendor/assets/images/h5f/form_validation.png +0 -0
  36. data/vendor/assets/images/html5form-shim/asterisk.png +0 -0
  37. data/vendor/assets/images/html5form-shim/down.png +0 -0
  38. data/vendor/assets/images/html5form-shim/fail.png +0 -0
  39. data/vendor/assets/images/html5form-shim/ok.png +0 -0
  40. data/vendor/assets/images/html5forms/jscolor/arrow.gif +0 -0
  41. data/vendor/assets/images/html5forms/jscolor/cross.gif +0 -0
  42. data/vendor/assets/images/html5forms/jscolor/hs.png +0 -0
  43. data/vendor/assets/images/html5forms/jscolor/hv.png +0 -0
  44. data/vendor/assets/images/html5forms/slider/slider-1.png +0 -0
  45. data/vendor/assets/images/html5forms/slider/slider-disabled-1.png +0 -0
  46. data/vendor/assets/images/html5forms/slider/slider-disabled.png +0 -0
  47. data/vendor/assets/images/html5forms/slider/slider.png +0 -0
  48. data/vendor/assets/javascripts/colorpicker.js +484 -0
  49. data/vendor/assets/javascripts/colorpicker.min.js +9 -0
  50. data/vendor/assets/javascripts/h5f.js +328 -0
  51. data/vendor/assets/javascripts/h5f.min.js +4 -0
  52. data/vendor/assets/javascripts/html5forms/EventHelpers.min.js +15 -0
  53. data/vendor/assets/javascripts/html5forms/autocomplete.min.js +1 -0
  54. data/vendor/assets/javascripts/html5forms/cssQuery-p.min.js +6 -0
  55. data/vendor/assets/javascripts/html5forms/dev/EventHelpers.js +486 -0
  56. data/vendor/assets/javascripts/html5forms/dev/autocomplete.js +387 -0
  57. data/vendor/assets/javascripts/html5forms/dev/cssQuery-p.js +6 -0
  58. data/vendor/assets/javascripts/html5forms/dev/html5.js +121 -0
  59. data/vendor/assets/javascripts/html5forms/dev/html5Forms.js +892 -0
  60. data/vendor/assets/javascripts/html5forms/dev/html5Widgets.js +1417 -0
  61. data/vendor/assets/javascripts/html5forms/dev/jscolor.js +840 -0
  62. data/vendor/assets/javascripts/html5forms/dev/slider.js +797 -0
  63. data/vendor/assets/javascripts/html5forms/dev/timer.js +137 -0
  64. data/vendor/assets/javascripts/html5forms/dev/visibleIf.js +1100 -0
  65. data/vendor/assets/javascripts/html5forms/html5.min.js +2 -0
  66. data/vendor/assets/javascripts/html5forms/html5Forms.min.js +1 -0
  67. data/vendor/assets/javascripts/html5forms/html5Widgets.min.js +20 -0
  68. data/vendor/assets/javascripts/html5forms/jscolor.min.js +10 -0
  69. data/vendor/assets/javascripts/html5forms/slider.min.js +25 -0
  70. data/vendor/assets/javascripts/html5forms/timer.min.js +1 -0
  71. data/vendor/assets/javascripts/html5forms/visibleIf.min.js +19 -0
  72. data/vendor/assets/javascripts/html5forms.fallback.js +115 -0
  73. data/vendor/assets/javascripts/html5forms.fallback.min.js +11 -0
  74. data/vendor/assets/javascripts/jquery.html5form-shim.js +402 -0
  75. data/vendor/assets/javascripts/jquery.html5form.min.js +4 -0
  76. data/vendor/assets/javascripts/jquery.placehold.min.js +7 -0
  77. data/vendor/assets/javascripts/ui.spinner.js +649 -0
  78. data/vendor/assets/javascripts/ui.spinner.min.js +7 -0
  79. data/vendor/assets/javascripts/webforms2/webforms2-msie.js +1 -0
  80. data/vendor/assets/javascripts/webforms2/webforms2-p.js +14 -0
  81. data/vendor/assets/javascripts/webforms2/webforms2.js +14 -0
  82. data/vendor/assets/javascripts/webforms2/webforms2_src.js +3195 -0
  83. data/vendor/assets/stylesheets/colorpicker.css +161 -0
  84. data/vendor/assets/stylesheets/h5f.css +86 -0
  85. data/vendor/assets/stylesheets/html5form-shim.css +109 -0
  86. data/vendor/assets/stylesheets/html5forms/number.css +35 -0
  87. data/vendor/assets/stylesheets/html5forms/slider.css +169 -0
  88. data/vendor/assets/stylesheets/html5forms/slider_ie.css +41 -0
  89. data/vendor/assets/stylesheets/html5forms/visibleIf.css +23 -0
  90. data/vendor/assets/stylesheets/html5forms.layout.css +116 -0
  91. data/vendor/assets/stylesheets/ui.spinner.css +3 -0
  92. data/vendor/assets/stylesheets/webforms2.css +42 -0
  93. metadata +221 -0
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## Changelog
2
+
3
+ *0.1.0*
4
+
5
+ * Initial version (needs testing)
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source :rubygems
2
+
3
+ # Add dependencies to develop your gem here.
4
+ # Include everything needed to run rake, tests, features, etc.
5
+ group :development do
6
+ gem "rspec", ">= 2.8.0"
7
+ gem "rdoc", ">= 3.12"
8
+ gem "bundler", ">= 1.0.0"
9
+ gem "jeweler", ">= 1.8.3"
10
+ gem "simplecov",">= 0.5"
11
+ end
data/README.md ADDED
@@ -0,0 +1,208 @@
1
+ # HTML 5 forms for Rails
2
+
3
+ A collection of Polyfills for using HTML 5 forms with the Rails asset pipeline.
4
+
5
+ All credits, copyright etc. belong to the original authors of each polyfill library.
6
+
7
+ [HTML5-Cross-Browser-Polyfills](https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills)
8
+
9
+ The following polyfill libraries are currently included:
10
+
11
+ * [HTML5Forms.js](https://github.com/zoltan-dulac/html5Forms.js)
12
+ * [H5F](https://github.com/ryanseddon/H5F)
13
+ * [HTML5-Form-Shim](https://github.com/dsheiko/HTML5-Form-Shim)
14
+ * [jQuery HTML5 form](http://www.matiasmancini.com.ar/jquery-plugin-ajax-form-validation-html5.html)
15
+
16
+ Components from the article [how-to-build-cross-browser-html5-forms](http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-cross-browser-html5-forms/) are also included as _html5forms.fallback_
17
+
18
+ Even [webforms2](https://github.com/westonruter/webforms2) is now included and should work with html5Widgets to display native javascript widgets ;)
19
+
20
+ ### Install
21
+
22
+ Simply add to Gemfile and bundle:
23
+
24
+ `gem 'html5forms-rails'`
25
+
26
+ If the polyfill library uses modernizr to detect HTML 5 feature availability:
27
+
28
+ `gem 'modernizr-rails'`
29
+
30
+ See [modernizr-rails](https://github.com/kristianmandrup/modernizr-rails)
31
+
32
+ ## html5forms.fallback
33
+
34
+ See [how-to-build-cross-browser-html5-forms](http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-cross-browser-html5-forms/)
35
+
36
+ * colorpicker
37
+ * spinner
38
+ * placeholder
39
+
40
+ To use the _jQuery UI_ components as fallback, please use the [jquery-ui-rails](https://github.com/joliss/jquery-ui-rails) gem ;)
41
+
42
+ ### Configuration
43
+
44
+ ```text
45
+ //= require html5forms.fallback
46
+ //= require ui.spinner
47
+ //= require jquery.placehold
48
+ //= require colorpicker
49
+ ```
50
+
51
+ `*.min` versions are also included ;)
52
+
53
+ In your asset `application.css` manifest file:
54
+
55
+ ```css
56
+ */
57
+ * require colorpicker
58
+ * require ui.spinner
59
+ */
60
+ ```
61
+
62
+ ## HTML5Forms.js
63
+
64
+ [HTML5Forms.js](https://github.com/zoltan-dulac/html5Forms.js) is a JavaScript polyfill that implements a subset of the HTML5
65
+ Forms module in all browsers. The script will only add support for the
66
+ different parts of the module when there doesn't exist a native
67
+ implementation. HTML5Forms supports the following HTML5 input types:
68
+
69
+ * range
70
+ * date
71
+ * datetime
72
+ * datetime-local
73
+ * week
74
+ * color
75
+
76
+ It also supports:
77
+
78
+ * form validation (via "required" and "pattern" attributes)
79
+ * the autofocus attribute (i.e. focusing on a particular form element onload)
80
+ * the placeholder attribute (i.e. descriptive text of what should be in a form
81
+ field)
82
+ * the output tag (solves equations of form elements)
83
+ * CSS styling of form validation states (simulates :invalid and :valid in
84
+ unsupported browsers like IE9 and lower)
85
+ * CSS styling of form elements that are not included in the CSS3 UI
86
+ specification, but I think are useful for developers:
87
+
88
+ - .wf2_isBlank, .wf2_notBlank – these classes are applied to form field when
89
+ a form element is blank/not blank repectively.
90
+ - .wf2_lostFocus -this class is applied to a form element when a form field
91
+ loses focus.
92
+ - .wf2_submitAttempted – this class is applied to a <form> tag when a form
93
+ submission is attempted.
94
+
95
+
96
+ More information about how this works is available at:
97
+
98
+ [cross-browser-html](http://www.useragentman.com/blog/2010/07/27/cross-browser-html5-forms-using-modernizr-webforms2-and-html5widgets/)
99
+ [cross-browser-html-old-browsers](http://www.useragentman.com/blog/2012/05/14/cross-browser-styling-of-html5-forms-even-in-older-browsers/)
100
+
101
+ Note that this package was originally released in 2010 as html5Widgets,
102
+ and was renamed to a more accurate and descriptive name. Also note that
103
+ the version of webforms2 that is included in this package does not
104
+ include support for the depricated repetition module -- it will be
105
+ put back in as a separate module at a later date.
106
+
107
+ ### Configuration
108
+
109
+ You can choose to use either the minified js:
110
+
111
+ ```text
112
+ //= require html5forms/html5Forms.min
113
+ ```
114
+
115
+ Or the development version (easier to read/debug etc.).
116
+
117
+ ```text
118
+ //= require html5forms/dev/html5Forms
119
+ ```
120
+
121
+ #### Notes
122
+
123
+ * _jscalendar_ and _modernizr_ have been removed from html5forms in order to keep the filecount down.
124
+
125
+ * Html5forms for Rails has not yet been tested.
126
+
127
+ I have so far done a search and replace on `html5Forms.js`, substituting `../shared/js/` with `html5forms` but not sure how it resolves with respect to the asset pipeline. Please help debug and fix this!
128
+
129
+ In your asset `application.css` manifest file, include the styles you need:
130
+
131
+ ```css
132
+ */
133
+ * require html5forms/slider
134
+ * ...
135
+ */
136
+ ```
137
+
138
+ ## H5F
139
+
140
+ See [H5F](https://github.com/ryanseddon/H5F)
141
+
142
+ ### Configuration
143
+
144
+ You can choose to use either the minified js:
145
+
146
+ ```text
147
+ //= require h5f.min
148
+ ```
149
+
150
+ Or the development version (easier to read/debug etc.).
151
+
152
+ ```text
153
+ //= require h5f
154
+ ```
155
+
156
+ In your asset `application.css` manifest file, include the styles you need:
157
+
158
+ ```css
159
+ */
160
+ * require h5f
161
+ */
162
+ ```
163
+
164
+ ## jQuery HTML5 form
165
+
166
+ [jQuery HTML5 form](http://www.matiasmancini.com.ar/jquery-plugin-ajax-form-validation-html5.html)
167
+
168
+ ```text
169
+ //= require jquery.html5form.min
170
+ ```
171
+
172
+
173
+ ## HTML5-Form-Shim
174
+
175
+ See [HTML5-Form-Shim](https://github.com/dsheiko/HTML5-Form-Shim)
176
+
177
+ ## Configuration
178
+
179
+ In your `application.js` manifest:
180
+
181
+ ```text
182
+ //= require jquery.html5form-shim
183
+ ```
184
+
185
+ In your asset `application.css` manifest file:
186
+
187
+ ```css
188
+ */
189
+ * require html5form-shim
190
+ * ...
191
+ */
192
+ ```
193
+
194
+ ## Contributing to html5forms-rails
195
+
196
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
197
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
198
+ * Fork the project.
199
+ * Start a feature/bugfix branch.
200
+ * Commit and push until you are happy with your contribution.
201
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
202
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
203
+
204
+ ## Copyright
205
+
206
+ Copyright (c) 2012 Kristian Mandrup. See LICENSE.txt for
207
+ further details.
208
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "html5forms-rails"
18
+ gem.homepage = "http://github.com/kristianmandrup/jqtools-rails"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{HTML5forms packages for Rails asset pipeline}
21
+ gem.description = %Q{Use the power of html5 forms even in old browsers using polyfills :)}
22
+ gem.email = "kmandrup@gmail.com"
23
+ gem.authors = ["Kristian Mandrup"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rdoc/task'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "html5forms-rails #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.3
@@ -0,0 +1,79 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Building cross-browser HTML5 forms, with jQuery UI - Demo Page</title>
6
+ <!-- HTML5 Shim, IE8 and bellow recognize HTML5 elements -->
7
+ <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
8
+ <!-- Modernizr -->
9
+ <script src="js/modernizr-1.5.min.js"></script>
10
+ <!-- Webforms2 -->
11
+ <script src="webforms2/webforms2-p.js"></script>
12
+ <!-- jQuery and jQuery UI -->
13
+ <link rel="stylesheet" href="ui-themes/aristo/jquery.ui.all.css">
14
+ <script src="js/jquery-1.4.3.min.js"></script>
15
+ <script src="js/jquery-ui-1.8.5.min.js"></script>
16
+ <!-- jQuery Numeric Spinner -->
17
+ <link rel="stylesheet" href="components/spinner/ui.spinner.css">
18
+ <script src="components/spinner/ui.spinner.js"></script>
19
+ <!-- jQuery Color Picker -->
20
+ <link rel="stylesheet" href="components/colorpicker/colorpicker.css">
21
+ <script src="components/colorpicker/colorpicker.js"></script>
22
+ <!-- jQuery Placehol -->
23
+ <script src="components/placeholder/jquery.placehold-0.2.min.js"></script>
24
+
25
+ <!-- Demo page layout -->
26
+ <link rel="stylesheet" href="css/html5forms.layout.css">
27
+ <script src="js/html5forms.js"></script>
28
+ <script src="js/html5forms.fallback.js"></script>
29
+
30
+ </head>
31
+ <body>
32
+
33
+ <h1>
34
+ Cross-browser HTML5 forms
35
+ <span>with <a href="http://code.google.com/p/webforms2/">Webforms2</a>, <a href="http://www.modernizr.com/">Modernizr</a>, <a href="http://jqueryui.com/">jQuery UI</a> and other jQuery Plugins. </span>
36
+ </h1>
37
+
38
+ <form>
39
+ <label for="range-slider">Slider</label>
40
+ <input type="range" name="range-slider" id="range-slider" class="slider" min="0" max="20" step="1" value="0">
41
+
42
+ <label for="numeric-spinner">Numeric spinner</label>
43
+ <input type="number" name="numeric-spinner" id="numeric-spinner" value="2">
44
+
45
+ <label for="date-picker">Date picker</label>
46
+ <input type="date" name="date-picker" id="date-picker" value="2010-10-06">
47
+
48
+ <label for="color-picker">Color picker</label>
49
+ <input type="color" name="color-picker" id="color-picker" value="ff0000">
50
+
51
+ <label for="text-field">Text field with placeholder</label>
52
+ <input type="text" name="text-field" id="text-field" placeholder="Insert your text here">
53
+
54
+ <label for="url-field">Url field</label>
55
+ <input type="url" id="url-field" name="url-field" placeholder="http://net.tutsplus.com/" required>
56
+
57
+ <label for="email-field">Email field</label>
58
+ <input type="email" id="email-field" name="email-field" placeholder="contact@ghinda.net" required>
59
+
60
+ <button type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false">
61
+ <span class="ui-button-text">Submit form</span>
62
+ </button>
63
+ <div class="clearfix"></div>
64
+ </form>
65
+
66
+ <footer>
67
+ <p><a href="http://www.eyecon.ro/colorpicker/">Color Picker</a> plugin by <a href="http://www.eyecon.ro/">Stefan Petre</a></p>
68
+ <p>Numeric spinner by <a href="http://btburnett.com/">Brant Burnett</a></p>
69
+ <p><a href="http://www.viget.com/inspire/a-jquery-placeholder-enabling-plugin/">Placehold</a> by <a href="http://www.viget.com/inspire/">Viget Labs</a></p>
70
+
71
+ <p class="author">
72
+ Cross-browser HTML5 Forms by <a href="http://ghinda.net">Cristian Colceriu</a>
73
+ <br>
74
+ <a href="http://twitter.com/ghindas">Twitter</a> - <a href="mailto:cristian@ghinda.net">Email</a>
75
+ </p>
76
+ </footer>
77
+
78
+ </body>
79
+ </html>
@@ -0,0 +1,142 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "html5forms-rails"
8
+ s.version = "0.1.3"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kristian Mandrup"]
12
+ s.date = "2012-08-27"
13
+ s.description = "Use the power of html5 forms even in old browsers using polyfills :)"
14
+ s.email = "kmandrup@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ "CHANGELOG.md",
20
+ "Gemfile",
21
+ "README.md",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "demos/html5-form-demo.html",
25
+ "html5forms-rails.gemspec",
26
+ "lib/html5forms.rb",
27
+ "vendor/assets/images/colorpicker/blank.gif",
28
+ "vendor/assets/images/colorpicker/colorpicker_background.png",
29
+ "vendor/assets/images/colorpicker/colorpicker_hex.png",
30
+ "vendor/assets/images/colorpicker/colorpicker_hsb_b.png",
31
+ "vendor/assets/images/colorpicker/colorpicker_hsb_h.png",
32
+ "vendor/assets/images/colorpicker/colorpicker_hsb_s.png",
33
+ "vendor/assets/images/colorpicker/colorpicker_indic.gif",
34
+ "vendor/assets/images/colorpicker/colorpicker_overlay.png",
35
+ "vendor/assets/images/colorpicker/colorpicker_rgb_b.png",
36
+ "vendor/assets/images/colorpicker/colorpicker_rgb_g.png",
37
+ "vendor/assets/images/colorpicker/colorpicker_rgb_r.png",
38
+ "vendor/assets/images/colorpicker/colorpicker_select.gif",
39
+ "vendor/assets/images/colorpicker/colorpicker_submit.png",
40
+ "vendor/assets/images/colorpicker/custom_background.png",
41
+ "vendor/assets/images/colorpicker/custom_hex.png",
42
+ "vendor/assets/images/colorpicker/custom_hsb_b.png",
43
+ "vendor/assets/images/colorpicker/custom_hsb_h.png",
44
+ "vendor/assets/images/colorpicker/custom_hsb_s.png",
45
+ "vendor/assets/images/colorpicker/custom_indic.gif",
46
+ "vendor/assets/images/colorpicker/custom_rgb_b.png",
47
+ "vendor/assets/images/colorpicker/custom_rgb_g.png",
48
+ "vendor/assets/images/colorpicker/custom_rgb_r.png",
49
+ "vendor/assets/images/colorpicker/custom_submit.png",
50
+ "vendor/assets/images/colorpicker/select.png",
51
+ "vendor/assets/images/colorpicker/select2.png",
52
+ "vendor/assets/images/colorpicker/slider.png",
53
+ "vendor/assets/images/h5f/form_validation.png",
54
+ "vendor/assets/images/html5form-shim/asterisk.png",
55
+ "vendor/assets/images/html5form-shim/down.png",
56
+ "vendor/assets/images/html5form-shim/fail.png",
57
+ "vendor/assets/images/html5form-shim/ok.png",
58
+ "vendor/assets/images/html5forms/jscolor/arrow.gif",
59
+ "vendor/assets/images/html5forms/jscolor/cross.gif",
60
+ "vendor/assets/images/html5forms/jscolor/hs.png",
61
+ "vendor/assets/images/html5forms/jscolor/hv.png",
62
+ "vendor/assets/images/html5forms/slider/slider-1.png",
63
+ "vendor/assets/images/html5forms/slider/slider-disabled-1.png",
64
+ "vendor/assets/images/html5forms/slider/slider-disabled.png",
65
+ "vendor/assets/images/html5forms/slider/slider.png",
66
+ "vendor/assets/javascripts/colorpicker.js",
67
+ "vendor/assets/javascripts/colorpicker.min.js",
68
+ "vendor/assets/javascripts/h5f.js",
69
+ "vendor/assets/javascripts/h5f.min.js",
70
+ "vendor/assets/javascripts/html5forms.fallback.js",
71
+ "vendor/assets/javascripts/html5forms.fallback.min.js",
72
+ "vendor/assets/javascripts/html5forms/EventHelpers.min.js",
73
+ "vendor/assets/javascripts/html5forms/autocomplete.min.js",
74
+ "vendor/assets/javascripts/html5forms/cssQuery-p.min.js",
75
+ "vendor/assets/javascripts/html5forms/dev/EventHelpers.js",
76
+ "vendor/assets/javascripts/html5forms/dev/autocomplete.js",
77
+ "vendor/assets/javascripts/html5forms/dev/cssQuery-p.js",
78
+ "vendor/assets/javascripts/html5forms/dev/html5.js",
79
+ "vendor/assets/javascripts/html5forms/dev/html5Forms.js",
80
+ "vendor/assets/javascripts/html5forms/dev/html5Widgets.js",
81
+ "vendor/assets/javascripts/html5forms/dev/jscolor.js",
82
+ "vendor/assets/javascripts/html5forms/dev/slider.js",
83
+ "vendor/assets/javascripts/html5forms/dev/timer.js",
84
+ "vendor/assets/javascripts/html5forms/dev/visibleIf.js",
85
+ "vendor/assets/javascripts/html5forms/html5.min.js",
86
+ "vendor/assets/javascripts/html5forms/html5Forms.min.js",
87
+ "vendor/assets/javascripts/html5forms/html5Widgets.min.js",
88
+ "vendor/assets/javascripts/html5forms/jscolor.min.js",
89
+ "vendor/assets/javascripts/html5forms/slider.min.js",
90
+ "vendor/assets/javascripts/html5forms/timer.min.js",
91
+ "vendor/assets/javascripts/html5forms/visibleIf.min.js",
92
+ "vendor/assets/javascripts/jquery.html5form-shim.js",
93
+ "vendor/assets/javascripts/jquery.html5form.min.js",
94
+ "vendor/assets/javascripts/jquery.placehold.min.js",
95
+ "vendor/assets/javascripts/ui.spinner.js",
96
+ "vendor/assets/javascripts/ui.spinner.min.js",
97
+ "vendor/assets/javascripts/webforms2/webforms2-msie.js",
98
+ "vendor/assets/javascripts/webforms2/webforms2-p.js",
99
+ "vendor/assets/javascripts/webforms2/webforms2.js",
100
+ "vendor/assets/javascripts/webforms2/webforms2_src.js",
101
+ "vendor/assets/stylesheets/colorpicker.css",
102
+ "vendor/assets/stylesheets/h5f.css",
103
+ "vendor/assets/stylesheets/html5form-shim.css",
104
+ "vendor/assets/stylesheets/html5forms.layout.css",
105
+ "vendor/assets/stylesheets/html5forms/number.css",
106
+ "vendor/assets/stylesheets/html5forms/slider.css",
107
+ "vendor/assets/stylesheets/html5forms/slider_ie.css",
108
+ "vendor/assets/stylesheets/html5forms/visibleIf.css",
109
+ "vendor/assets/stylesheets/ui.spinner.css",
110
+ "vendor/assets/stylesheets/webforms2.css"
111
+ ]
112
+ s.homepage = "http://github.com/kristianmandrup/jqtools-rails"
113
+ s.licenses = ["MIT"]
114
+ s.require_paths = ["lib"]
115
+ s.rubygems_version = "1.8.24"
116
+ s.summary = "HTML5forms packages for Rails asset pipeline"
117
+
118
+ if s.respond_to? :specification_version then
119
+ s.specification_version = 3
120
+
121
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
122
+ s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
123
+ s.add_development_dependency(%q<rdoc>, [">= 3.12"])
124
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
125
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
126
+ s.add_development_dependency(%q<simplecov>, [">= 0.5"])
127
+ else
128
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
129
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
130
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
131
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
132
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
133
+ end
134
+ else
135
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
136
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
137
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
138
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
139
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
140
+ end
141
+ end
142
+
data/lib/html5forms.rb ADDED
@@ -0,0 +1,6 @@
1
+ module Html5Forms
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end