html5-now-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. data/.document +5 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +11 -0
  4. data/Gemfile.lock +37 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.md +31 -0
  7. data/Rakefile +49 -0
  8. data/VERSION +1 -0
  9. data/html5-now-rails.gemspec +263 -0
  10. data/lib/html5-now-rails.rb +6 -0
  11. data/spec/html5-now-rails_spec.rb +7 -0
  12. data/spec/spec_helper.rb +12 -0
  13. data/vendor/assets/images/html5-now/themes/aero/7/dropdown.png +0 -0
  14. data/vendor/assets/images/html5-now/themes/aero/7/progressbar-vertical.png +0 -0
  15. data/vendor/assets/images/html5-now/themes/aero/7/progressbar.png +0 -0
  16. data/vendor/assets/images/html5-now/themes/aero/7/slider-vertical.png +0 -0
  17. data/vendor/assets/images/html5-now/themes/aero/7/slider.png +0 -0
  18. data/vendor/assets/images/html5-now/themes/aero/7/spinner.png +0 -0
  19. data/vendor/assets/images/html5-now/themes/aero/dropdown.png +0 -0
  20. data/vendor/assets/images/html5-now/themes/aero/progressbar-vertical.png +0 -0
  21. data/vendor/assets/images/html5-now/themes/aero/progressbar.png +0 -0
  22. data/vendor/assets/images/html5-now/themes/aero/slider-vertical.png +0 -0
  23. data/vendor/assets/images/html5-now/themes/aero/slider.png +0 -0
  24. data/vendor/assets/images/html5-now/themes/aero/spinner.png +0 -0
  25. data/vendor/assets/images/html5-now/themes/aqua/bg-colorpicker-disabled.png +0 -0
  26. data/vendor/assets/images/html5-now/themes/aqua/bg-colorpicker.png +0 -0
  27. data/vendor/assets/images/html5-now/themes/aqua/bg-dropdown-disabled.png +0 -0
  28. data/vendor/assets/images/html5-now/themes/aqua/bg-dropdown.png +0 -0
  29. data/vendor/assets/images/html5-now/themes/aqua/colorpicker-disabled.png +0 -0
  30. data/vendor/assets/images/html5-now/themes/aqua/colorpicker.png +0 -0
  31. data/vendor/assets/images/html5-now/themes/aqua/dropdown-disabled.png +0 -0
  32. data/vendor/assets/images/html5-now/themes/aqua/dropdown.png +0 -0
  33. data/vendor/assets/images/html5-now/themes/aqua/metal.png +0 -0
  34. data/vendor/assets/images/html5-now/themes/aqua/progressbar-vertical.png +0 -0
  35. data/vendor/assets/images/html5-now/themes/aqua/progressbar.png +0 -0
  36. data/vendor/assets/images/html5-now/themes/aqua/slider-vertical.png +0 -0
  37. data/vendor/assets/images/html5-now/themes/aqua/slider.png +0 -0
  38. data/vendor/assets/images/html5-now/themes/aqua/spinner.png +0 -0
  39. data/vendor/assets/images/html5-now/themes/classic/brick/dropdown.png +0 -0
  40. data/vendor/assets/images/html5-now/themes/classic/brick/progressbar-vertical.png +0 -0
  41. data/vendor/assets/images/html5-now/themes/classic/brick/progressbar.png +0 -0
  42. data/vendor/assets/images/html5-now/themes/classic/brick/slider-vertical.png +0 -0
  43. data/vendor/assets/images/html5-now/themes/classic/brick/slider.png +0 -0
  44. data/vendor/assets/images/html5-now/themes/classic/brick/spinner.png +0 -0
  45. data/vendor/assets/images/html5-now/themes/classic/contrast/black/dropdown.png +0 -0
  46. data/vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar-vertical.png +0 -0
  47. data/vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar.png +0 -0
  48. data/vendor/assets/images/html5-now/themes/classic/contrast/black/slider-vertical.png +0 -0
  49. data/vendor/assets/images/html5-now/themes/classic/contrast/black/slider.png +0 -0
  50. data/vendor/assets/images/html5-now/themes/classic/contrast/black/spinner.png +0 -0
  51. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/dropdown.png +0 -0
  52. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar-vertical.png +0 -0
  53. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar.png +0 -0
  54. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/slider-vertical.png +0 -0
  55. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/slider.png +0 -0
  56. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/spinner.png +0 -0
  57. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/dropdown.png +0 -0
  58. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar-vertical.png +0 -0
  59. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar.png +0 -0
  60. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/slider-vertical.png +0 -0
  61. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/slider.png +0 -0
  62. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/spinner.png +0 -0
  63. data/vendor/assets/images/html5-now/themes/classic/contrast/white/dropdown.png +0 -0
  64. data/vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar-vertical.png +0 -0
  65. data/vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar.png +0 -0
  66. data/vendor/assets/images/html5-now/themes/classic/contrast/white/slider-vertical.png +0 -0
  67. data/vendor/assets/images/html5-now/themes/classic/contrast/white/slider.png +0 -0
  68. data/vendor/assets/images/html5-now/themes/classic/contrast/white/spinner.png +0 -0
  69. data/vendor/assets/images/html5-now/themes/classic/desert/dropdown.png +0 -0
  70. data/vendor/assets/images/html5-now/themes/classic/desert/progressbar-vertical.png +0 -0
  71. data/vendor/assets/images/html5-now/themes/classic/desert/progressbar.png +0 -0
  72. data/vendor/assets/images/html5-now/themes/classic/desert/slider-vertical.png +0 -0
  73. data/vendor/assets/images/html5-now/themes/classic/desert/slider.png +0 -0
  74. data/vendor/assets/images/html5-now/themes/classic/desert/spinner.png +0 -0
  75. data/vendor/assets/images/html5-now/themes/classic/dropdown.png +0 -0
  76. data/vendor/assets/images/html5-now/themes/classic/eggplant/dropdown.png +0 -0
  77. data/vendor/assets/images/html5-now/themes/classic/eggplant/progressbar-vertical.png +0 -0
  78. data/vendor/assets/images/html5-now/themes/classic/eggplant/progressbar.png +0 -0
  79. data/vendor/assets/images/html5-now/themes/classic/eggplant/slider-vertical.png +0 -0
  80. data/vendor/assets/images/html5-now/themes/classic/eggplant/slider.png +0 -0
  81. data/vendor/assets/images/html5-now/themes/classic/eggplant/spinner.png +0 -0
  82. data/vendor/assets/images/html5-now/themes/classic/lilac/dropdown.png +0 -0
  83. data/vendor/assets/images/html5-now/themes/classic/lilac/progressbar-vertical.png +0 -0
  84. data/vendor/assets/images/html5-now/themes/classic/lilac/progressbar.png +0 -0
  85. data/vendor/assets/images/html5-now/themes/classic/lilac/slider-vertical.png +0 -0
  86. data/vendor/assets/images/html5-now/themes/classic/lilac/slider.png +0 -0
  87. data/vendor/assets/images/html5-now/themes/classic/lilac/spinner.png +0 -0
  88. data/vendor/assets/images/html5-now/themes/classic/maple/dropdown.png +0 -0
  89. data/vendor/assets/images/html5-now/themes/classic/maple/progressbar-vertical.png +0 -0
  90. data/vendor/assets/images/html5-now/themes/classic/maple/progressbar.png +0 -0
  91. data/vendor/assets/images/html5-now/themes/classic/maple/slider-vertical.png +0 -0
  92. data/vendor/assets/images/html5-now/themes/classic/maple/slider.png +0 -0
  93. data/vendor/assets/images/html5-now/themes/classic/maple/spinner.png +0 -0
  94. data/vendor/assets/images/html5-now/themes/classic/marine/dropdown.png +0 -0
  95. data/vendor/assets/images/html5-now/themes/classic/marine/progressbar-vertical.png +0 -0
  96. data/vendor/assets/images/html5-now/themes/classic/marine/progressbar.png +0 -0
  97. data/vendor/assets/images/html5-now/themes/classic/marine/slider-vertical.png +0 -0
  98. data/vendor/assets/images/html5-now/themes/classic/marine/slider.png +0 -0
  99. data/vendor/assets/images/html5-now/themes/classic/marine/spinner.png +0 -0
  100. data/vendor/assets/images/html5-now/themes/classic/plum/dropdown.png +0 -0
  101. data/vendor/assets/images/html5-now/themes/classic/plum/progressbar-vertical.png +0 -0
  102. data/vendor/assets/images/html5-now/themes/classic/plum/progressbar.png +0 -0
  103. data/vendor/assets/images/html5-now/themes/classic/plum/slider-vertical.png +0 -0
  104. data/vendor/assets/images/html5-now/themes/classic/plum/slider.png +0 -0
  105. data/vendor/assets/images/html5-now/themes/classic/plum/spinner.png +0 -0
  106. data/vendor/assets/images/html5-now/themes/classic/progressbar-vertical.png +0 -0
  107. data/vendor/assets/images/html5-now/themes/classic/progressbar.png +0 -0
  108. data/vendor/assets/images/html5-now/themes/classic/pumpkin/dropdown.png +0 -0
  109. data/vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar-vertical.png +0 -0
  110. data/vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar.png +0 -0
  111. data/vendor/assets/images/html5-now/themes/classic/pumpkin/slider-vertical.png +0 -0
  112. data/vendor/assets/images/html5-now/themes/classic/pumpkin/slider.png +0 -0
  113. data/vendor/assets/images/html5-now/themes/classic/pumpkin/spinner.png +0 -0
  114. data/vendor/assets/images/html5-now/themes/classic/rainyday/dropdown.png +0 -0
  115. data/vendor/assets/images/html5-now/themes/classic/rainyday/progressbar-vertical.png +0 -0
  116. data/vendor/assets/images/html5-now/themes/classic/rainyday/progressbar.png +0 -0
  117. data/vendor/assets/images/html5-now/themes/classic/rainyday/slider-vertical.png +0 -0
  118. data/vendor/assets/images/html5-now/themes/classic/rainyday/slider.png +0 -0
  119. data/vendor/assets/images/html5-now/themes/classic/rainyday/spinner.png +0 -0
  120. data/vendor/assets/images/html5-now/themes/classic/rose/dropdown.png +0 -0
  121. data/vendor/assets/images/html5-now/themes/classic/rose/progressbar-vertical.png +0 -0
  122. data/vendor/assets/images/html5-now/themes/classic/rose/progressbar.png +0 -0
  123. data/vendor/assets/images/html5-now/themes/classic/rose/slider-vertical.png +0 -0
  124. data/vendor/assets/images/html5-now/themes/classic/rose/slider.png +0 -0
  125. data/vendor/assets/images/html5-now/themes/classic/rose/spinner.png +0 -0
  126. data/vendor/assets/images/html5-now/themes/classic/slate/dropdown.png +0 -0
  127. data/vendor/assets/images/html5-now/themes/classic/slate/progressbar-vertical.png +0 -0
  128. data/vendor/assets/images/html5-now/themes/classic/slate/progressbar.png +0 -0
  129. data/vendor/assets/images/html5-now/themes/classic/slate/slider-vertical.png +0 -0
  130. data/vendor/assets/images/html5-now/themes/classic/slate/slider.png +0 -0
  131. data/vendor/assets/images/html5-now/themes/classic/slate/spinner.png +0 -0
  132. data/vendor/assets/images/html5-now/themes/classic/slider-vertical.png +0 -0
  133. data/vendor/assets/images/html5-now/themes/classic/slider.png +0 -0
  134. data/vendor/assets/images/html5-now/themes/classic/spinner.png +0 -0
  135. data/vendor/assets/images/html5-now/themes/classic/spruce/dropdown.png +0 -0
  136. data/vendor/assets/images/html5-now/themes/classic/spruce/progressbar-vertical.png +0 -0
  137. data/vendor/assets/images/html5-now/themes/classic/spruce/progressbar.png +0 -0
  138. data/vendor/assets/images/html5-now/themes/classic/spruce/slider-vertical.png +0 -0
  139. data/vendor/assets/images/html5-now/themes/classic/spruce/slider.png +0 -0
  140. data/vendor/assets/images/html5-now/themes/classic/spruce/spinner.png +0 -0
  141. data/vendor/assets/images/html5-now/themes/classic/standard/dropdown.png +0 -0
  142. data/vendor/assets/images/html5-now/themes/classic/standard/progressbar-vertical.png +0 -0
  143. data/vendor/assets/images/html5-now/themes/classic/standard/progressbar.png +0 -0
  144. data/vendor/assets/images/html5-now/themes/classic/standard/slider-vertical.png +0 -0
  145. data/vendor/assets/images/html5-now/themes/classic/standard/slider.png +0 -0
  146. data/vendor/assets/images/html5-now/themes/classic/standard/spinner.png +0 -0
  147. data/vendor/assets/images/html5-now/themes/classic/wheat/dropdown.png +0 -0
  148. data/vendor/assets/images/html5-now/themes/classic/wheat/progressbar-vertical.png +0 -0
  149. data/vendor/assets/images/html5-now/themes/classic/wheat/progressbar.png +0 -0
  150. data/vendor/assets/images/html5-now/themes/classic/wheat/slider-vertical.png +0 -0
  151. data/vendor/assets/images/html5-now/themes/classic/wheat/slider.png +0 -0
  152. data/vendor/assets/images/html5-now/themes/classic/wheat/spinner.png +0 -0
  153. data/vendor/assets/images/html5-now/themes/clearlooks/dropdown.png +0 -0
  154. data/vendor/assets/images/html5-now/themes/clearlooks/progressbar-vertical.png +0 -0
  155. data/vendor/assets/images/html5-now/themes/clearlooks/progressbar.png +0 -0
  156. data/vendor/assets/images/html5-now/themes/clearlooks/slider-vertical.png +0 -0
  157. data/vendor/assets/images/html5-now/themes/clearlooks/slider.png +0 -0
  158. data/vendor/assets/images/html5-now/themes/clearlooks/spinner.png +0 -0
  159. data/vendor/assets/images/html5-now/themes/default/dropdown.png +0 -0
  160. data/vendor/assets/images/html5-now/themes/default/progressbar-vertical.png +0 -0
  161. data/vendor/assets/images/html5-now/themes/default/progressbar.png +0 -0
  162. data/vendor/assets/images/html5-now/themes/default/slider-vertical.png +0 -0
  163. data/vendor/assets/images/html5-now/themes/default/slider.png +0 -0
  164. data/vendor/assets/images/html5-now/themes/default/spinner.png +0 -0
  165. data/vendor/assets/images/html5-now/themes/human/dropdown.png +0 -0
  166. data/vendor/assets/images/html5-now/themes/human/progressbar-vertical.png +0 -0
  167. data/vendor/assets/images/html5-now/themes/human/progressbar.png +0 -0
  168. data/vendor/assets/images/html5-now/themes/human/slider-vertical.png +0 -0
  169. data/vendor/assets/images/html5-now/themes/human/slider.png +0 -0
  170. data/vendor/assets/images/html5-now/themes/human/spinner.png +0 -0
  171. data/vendor/assets/images/html5-now/themes/luna/blue/dropdown.png +0 -0
  172. data/vendor/assets/images/html5-now/themes/luna/blue/progressbar-vertical.png +0 -0
  173. data/vendor/assets/images/html5-now/themes/luna/blue/progressbar.png +0 -0
  174. data/vendor/assets/images/html5-now/themes/luna/blue/slider-vertical.png +0 -0
  175. data/vendor/assets/images/html5-now/themes/luna/blue/slider.png +0 -0
  176. data/vendor/assets/images/html5-now/themes/luna/blue/spinner.png +0 -0
  177. data/vendor/assets/images/html5-now/themes/luna/olive/dropdown.png +0 -0
  178. data/vendor/assets/images/html5-now/themes/luna/olive/progressbar-vertical.png +0 -0
  179. data/vendor/assets/images/html5-now/themes/luna/olive/progressbar.png +0 -0
  180. data/vendor/assets/images/html5-now/themes/luna/olive/slider-vertical.png +0 -0
  181. data/vendor/assets/images/html5-now/themes/luna/olive/slider.png +0 -0
  182. data/vendor/assets/images/html5-now/themes/luna/olive/spinner.png +0 -0
  183. data/vendor/assets/images/html5-now/themes/luna/silver/dropdown.png +0 -0
  184. data/vendor/assets/images/html5-now/themes/luna/silver/progressbar-vertical.png +0 -0
  185. data/vendor/assets/images/html5-now/themes/luna/silver/progressbar.png +0 -0
  186. data/vendor/assets/images/html5-now/themes/luna/silver/slider-vertical.png +0 -0
  187. data/vendor/assets/images/html5-now/themes/luna/silver/slider.png +0 -0
  188. data/vendor/assets/images/html5-now/themes/luna/silver/spinner.png +0 -0
  189. data/vendor/assets/images/html5-now/themes/royale/dropdown.png +0 -0
  190. data/vendor/assets/images/html5-now/themes/royale/progressbar-vertical.png +0 -0
  191. data/vendor/assets/images/html5-now/themes/royale/progressbar.png +0 -0
  192. data/vendor/assets/images/html5-now/themes/royale/slider-vertical.png +0 -0
  193. data/vendor/assets/images/html5-now/themes/royale/slider.png +0 -0
  194. data/vendor/assets/images/html5-now/themes/royale/spinner.png +0 -0
  195. data/vendor/assets/images/html5-now/themes/s/progressbar-vertical.png +0 -0
  196. data/vendor/assets/images/html5-now/themes/s/progressbar.png +0 -0
  197. data/vendor/assets/images/html5-now/themes/s/slider-vertical.png +0 -0
  198. data/vendor/assets/images/html5-now/themes/s/slider.png +0 -0
  199. data/vendor/assets/images/html5-now/themes/zune/dropdown.png +0 -0
  200. data/vendor/assets/images/html5-now/themes/zune/progressbar-vertical.png +0 -0
  201. data/vendor/assets/images/html5-now/themes/zune/progressbar.png +0 -0
  202. data/vendor/assets/images/html5-now/themes/zune/slider-vertical.png +0 -0
  203. data/vendor/assets/images/html5-now/themes/zune/slider.png +0 -0
  204. data/vendor/assets/images/html5-now/themes/zune/spinner.png +0 -0
  205. data/vendor/assets/javascripts/html5-now/canvas.js +9 -0
  206. data/vendor/assets/javascripts/html5-now/dimensions.htc +7 -0
  207. data/vendor/assets/javascripts/html5-now/expressInstall.swf +0 -0
  208. data/vendor/assets/javascripts/html5-now/forms.js +9 -0
  209. data/vendor/assets/javascripts/html5-now/html5-now.js +9 -0
  210. data/vendor/assets/javascripts/html5-now/media.js +9 -0
  211. data/vendor/assets/javascripts/html5-now/player.swf +0 -0
  212. data/vendor/assets/javascripts/html5-now/rm.js +9 -0
  213. metadata +342 -0
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
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
@@ -0,0 +1,37 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.3)
5
+ git (1.2.5)
6
+ jeweler (1.8.4)
7
+ bundler (~> 1.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ rdoc
11
+ json (1.7.5)
12
+ multi_json (1.3.6)
13
+ rake (0.9.2.2)
14
+ rdoc (3.12)
15
+ json (~> 1.4)
16
+ rspec (2.11.0)
17
+ rspec-core (~> 2.11.0)
18
+ rspec-expectations (~> 2.11.0)
19
+ rspec-mocks (~> 2.11.0)
20
+ rspec-core (2.11.1)
21
+ rspec-expectations (2.11.2)
22
+ diff-lcs (~> 1.1.3)
23
+ rspec-mocks (2.11.2)
24
+ simplecov (0.6.4)
25
+ multi_json (~> 1.0)
26
+ simplecov-html (~> 0.5.3)
27
+ simplecov-html (0.5.3)
28
+
29
+ PLATFORMS
30
+ ruby
31
+
32
+ DEPENDENCIES
33
+ bundler (>= 1.0.0)
34
+ jeweler (>= 1.8.3)
35
+ rdoc (>= 3.12)
36
+ rspec (>= 2.8.0)
37
+ simplecov (>= 0.5)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Kristian Mandrup
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,31 @@
1
+ # html5-now-rails
2
+
3
+ ## Install
4
+
5
+ `gem 'html5-now-rails'`
6
+
7
+ bundle and use...
8
+
9
+ ## Config
10
+
11
+ ```text
12
+ //= require html5-now/html5-now
13
+ ```
14
+
15
+ Note: `html5-now.js` has been patched in order to load the themes from `/assets/html5-now`. Hopefully it works :)
16
+
17
+ ## Contributing to html5-now-rails
18
+
19
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
20
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
21
+ * Fork the project.
22
+ * Start a feature/bugfix branch.
23
+ * Commit and push until you are happy with your contribution.
24
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
25
+ * 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.
26
+
27
+ ## Copyright
28
+
29
+ Copyright (c) 2012 Kristian Mandrup. See LICENSE.txt for
30
+ further details.
31
+
@@ -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 = "html5-now-rails"
18
+ gem.homepage = "http://github.com/kristianmandrup/html5-now-rails"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{HTML5-Now packaged for Rails asset pipeline}
21
+ gem.description = %Q{USe HTML5 in your Rails app. Themes included ;)}
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 = "html5-now-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.0
@@ -0,0 +1,263 @@
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 = "html5-now-rails"
8
+ s.version = "0.1.0"
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-28"
13
+ s.description = "USe HTML5 in your Rails app. Themes included ;)"
14
+ s.email = "kmandrup@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.md",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "html5-now-rails.gemspec",
29
+ "lib/html5-now-rails.rb",
30
+ "spec/html5-now-rails_spec.rb",
31
+ "spec/spec_helper.rb",
32
+ "vendor/assets/images/html5-now/themes/aero/7/dropdown.png",
33
+ "vendor/assets/images/html5-now/themes/aero/7/progressbar-vertical.png",
34
+ "vendor/assets/images/html5-now/themes/aero/7/progressbar.png",
35
+ "vendor/assets/images/html5-now/themes/aero/7/slider-vertical.png",
36
+ "vendor/assets/images/html5-now/themes/aero/7/slider.png",
37
+ "vendor/assets/images/html5-now/themes/aero/7/spinner.png",
38
+ "vendor/assets/images/html5-now/themes/aero/dropdown.png",
39
+ "vendor/assets/images/html5-now/themes/aero/progressbar-vertical.png",
40
+ "vendor/assets/images/html5-now/themes/aero/progressbar.png",
41
+ "vendor/assets/images/html5-now/themes/aero/slider-vertical.png",
42
+ "vendor/assets/images/html5-now/themes/aero/slider.png",
43
+ "vendor/assets/images/html5-now/themes/aero/spinner.png",
44
+ "vendor/assets/images/html5-now/themes/aqua/bg-colorpicker-disabled.png",
45
+ "vendor/assets/images/html5-now/themes/aqua/bg-colorpicker.png",
46
+ "vendor/assets/images/html5-now/themes/aqua/bg-dropdown-disabled.png",
47
+ "vendor/assets/images/html5-now/themes/aqua/bg-dropdown.png",
48
+ "vendor/assets/images/html5-now/themes/aqua/colorpicker-disabled.png",
49
+ "vendor/assets/images/html5-now/themes/aqua/colorpicker.png",
50
+ "vendor/assets/images/html5-now/themes/aqua/dropdown-disabled.png",
51
+ "vendor/assets/images/html5-now/themes/aqua/dropdown.png",
52
+ "vendor/assets/images/html5-now/themes/aqua/metal.png",
53
+ "vendor/assets/images/html5-now/themes/aqua/progressbar-vertical.png",
54
+ "vendor/assets/images/html5-now/themes/aqua/progressbar.png",
55
+ "vendor/assets/images/html5-now/themes/aqua/slider-vertical.png",
56
+ "vendor/assets/images/html5-now/themes/aqua/slider.png",
57
+ "vendor/assets/images/html5-now/themes/aqua/spinner.png",
58
+ "vendor/assets/images/html5-now/themes/classic/brick/dropdown.png",
59
+ "vendor/assets/images/html5-now/themes/classic/brick/progressbar-vertical.png",
60
+ "vendor/assets/images/html5-now/themes/classic/brick/progressbar.png",
61
+ "vendor/assets/images/html5-now/themes/classic/brick/slider-vertical.png",
62
+ "vendor/assets/images/html5-now/themes/classic/brick/slider.png",
63
+ "vendor/assets/images/html5-now/themes/classic/brick/spinner.png",
64
+ "vendor/assets/images/html5-now/themes/classic/contrast/black/dropdown.png",
65
+ "vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar-vertical.png",
66
+ "vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar.png",
67
+ "vendor/assets/images/html5-now/themes/classic/contrast/black/slider-vertical.png",
68
+ "vendor/assets/images/html5-now/themes/classic/contrast/black/slider.png",
69
+ "vendor/assets/images/html5-now/themes/classic/contrast/black/spinner.png",
70
+ "vendor/assets/images/html5-now/themes/classic/contrast/high1/dropdown.png",
71
+ "vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar-vertical.png",
72
+ "vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar.png",
73
+ "vendor/assets/images/html5-now/themes/classic/contrast/high1/slider-vertical.png",
74
+ "vendor/assets/images/html5-now/themes/classic/contrast/high1/slider.png",
75
+ "vendor/assets/images/html5-now/themes/classic/contrast/high1/spinner.png",
76
+ "vendor/assets/images/html5-now/themes/classic/contrast/high2/dropdown.png",
77
+ "vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar-vertical.png",
78
+ "vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar.png",
79
+ "vendor/assets/images/html5-now/themes/classic/contrast/high2/slider-vertical.png",
80
+ "vendor/assets/images/html5-now/themes/classic/contrast/high2/slider.png",
81
+ "vendor/assets/images/html5-now/themes/classic/contrast/high2/spinner.png",
82
+ "vendor/assets/images/html5-now/themes/classic/contrast/white/dropdown.png",
83
+ "vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar-vertical.png",
84
+ "vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar.png",
85
+ "vendor/assets/images/html5-now/themes/classic/contrast/white/slider-vertical.png",
86
+ "vendor/assets/images/html5-now/themes/classic/contrast/white/slider.png",
87
+ "vendor/assets/images/html5-now/themes/classic/contrast/white/spinner.png",
88
+ "vendor/assets/images/html5-now/themes/classic/desert/dropdown.png",
89
+ "vendor/assets/images/html5-now/themes/classic/desert/progressbar-vertical.png",
90
+ "vendor/assets/images/html5-now/themes/classic/desert/progressbar.png",
91
+ "vendor/assets/images/html5-now/themes/classic/desert/slider-vertical.png",
92
+ "vendor/assets/images/html5-now/themes/classic/desert/slider.png",
93
+ "vendor/assets/images/html5-now/themes/classic/desert/spinner.png",
94
+ "vendor/assets/images/html5-now/themes/classic/dropdown.png",
95
+ "vendor/assets/images/html5-now/themes/classic/eggplant/dropdown.png",
96
+ "vendor/assets/images/html5-now/themes/classic/eggplant/progressbar-vertical.png",
97
+ "vendor/assets/images/html5-now/themes/classic/eggplant/progressbar.png",
98
+ "vendor/assets/images/html5-now/themes/classic/eggplant/slider-vertical.png",
99
+ "vendor/assets/images/html5-now/themes/classic/eggplant/slider.png",
100
+ "vendor/assets/images/html5-now/themes/classic/eggplant/spinner.png",
101
+ "vendor/assets/images/html5-now/themes/classic/lilac/dropdown.png",
102
+ "vendor/assets/images/html5-now/themes/classic/lilac/progressbar-vertical.png",
103
+ "vendor/assets/images/html5-now/themes/classic/lilac/progressbar.png",
104
+ "vendor/assets/images/html5-now/themes/classic/lilac/slider-vertical.png",
105
+ "vendor/assets/images/html5-now/themes/classic/lilac/slider.png",
106
+ "vendor/assets/images/html5-now/themes/classic/lilac/spinner.png",
107
+ "vendor/assets/images/html5-now/themes/classic/maple/dropdown.png",
108
+ "vendor/assets/images/html5-now/themes/classic/maple/progressbar-vertical.png",
109
+ "vendor/assets/images/html5-now/themes/classic/maple/progressbar.png",
110
+ "vendor/assets/images/html5-now/themes/classic/maple/slider-vertical.png",
111
+ "vendor/assets/images/html5-now/themes/classic/maple/slider.png",
112
+ "vendor/assets/images/html5-now/themes/classic/maple/spinner.png",
113
+ "vendor/assets/images/html5-now/themes/classic/marine/dropdown.png",
114
+ "vendor/assets/images/html5-now/themes/classic/marine/progressbar-vertical.png",
115
+ "vendor/assets/images/html5-now/themes/classic/marine/progressbar.png",
116
+ "vendor/assets/images/html5-now/themes/classic/marine/slider-vertical.png",
117
+ "vendor/assets/images/html5-now/themes/classic/marine/slider.png",
118
+ "vendor/assets/images/html5-now/themes/classic/marine/spinner.png",
119
+ "vendor/assets/images/html5-now/themes/classic/plum/dropdown.png",
120
+ "vendor/assets/images/html5-now/themes/classic/plum/progressbar-vertical.png",
121
+ "vendor/assets/images/html5-now/themes/classic/plum/progressbar.png",
122
+ "vendor/assets/images/html5-now/themes/classic/plum/slider-vertical.png",
123
+ "vendor/assets/images/html5-now/themes/classic/plum/slider.png",
124
+ "vendor/assets/images/html5-now/themes/classic/plum/spinner.png",
125
+ "vendor/assets/images/html5-now/themes/classic/progressbar-vertical.png",
126
+ "vendor/assets/images/html5-now/themes/classic/progressbar.png",
127
+ "vendor/assets/images/html5-now/themes/classic/pumpkin/dropdown.png",
128
+ "vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar-vertical.png",
129
+ "vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar.png",
130
+ "vendor/assets/images/html5-now/themes/classic/pumpkin/slider-vertical.png",
131
+ "vendor/assets/images/html5-now/themes/classic/pumpkin/slider.png",
132
+ "vendor/assets/images/html5-now/themes/classic/pumpkin/spinner.png",
133
+ "vendor/assets/images/html5-now/themes/classic/rainyday/dropdown.png",
134
+ "vendor/assets/images/html5-now/themes/classic/rainyday/progressbar-vertical.png",
135
+ "vendor/assets/images/html5-now/themes/classic/rainyday/progressbar.png",
136
+ "vendor/assets/images/html5-now/themes/classic/rainyday/slider-vertical.png",
137
+ "vendor/assets/images/html5-now/themes/classic/rainyday/slider.png",
138
+ "vendor/assets/images/html5-now/themes/classic/rainyday/spinner.png",
139
+ "vendor/assets/images/html5-now/themes/classic/rose/dropdown.png",
140
+ "vendor/assets/images/html5-now/themes/classic/rose/progressbar-vertical.png",
141
+ "vendor/assets/images/html5-now/themes/classic/rose/progressbar.png",
142
+ "vendor/assets/images/html5-now/themes/classic/rose/slider-vertical.png",
143
+ "vendor/assets/images/html5-now/themes/classic/rose/slider.png",
144
+ "vendor/assets/images/html5-now/themes/classic/rose/spinner.png",
145
+ "vendor/assets/images/html5-now/themes/classic/slate/dropdown.png",
146
+ "vendor/assets/images/html5-now/themes/classic/slate/progressbar-vertical.png",
147
+ "vendor/assets/images/html5-now/themes/classic/slate/progressbar.png",
148
+ "vendor/assets/images/html5-now/themes/classic/slate/slider-vertical.png",
149
+ "vendor/assets/images/html5-now/themes/classic/slate/slider.png",
150
+ "vendor/assets/images/html5-now/themes/classic/slate/spinner.png",
151
+ "vendor/assets/images/html5-now/themes/classic/slider-vertical.png",
152
+ "vendor/assets/images/html5-now/themes/classic/slider.png",
153
+ "vendor/assets/images/html5-now/themes/classic/spinner.png",
154
+ "vendor/assets/images/html5-now/themes/classic/spruce/dropdown.png",
155
+ "vendor/assets/images/html5-now/themes/classic/spruce/progressbar-vertical.png",
156
+ "vendor/assets/images/html5-now/themes/classic/spruce/progressbar.png",
157
+ "vendor/assets/images/html5-now/themes/classic/spruce/slider-vertical.png",
158
+ "vendor/assets/images/html5-now/themes/classic/spruce/slider.png",
159
+ "vendor/assets/images/html5-now/themes/classic/spruce/spinner.png",
160
+ "vendor/assets/images/html5-now/themes/classic/standard/dropdown.png",
161
+ "vendor/assets/images/html5-now/themes/classic/standard/progressbar-vertical.png",
162
+ "vendor/assets/images/html5-now/themes/classic/standard/progressbar.png",
163
+ "vendor/assets/images/html5-now/themes/classic/standard/slider-vertical.png",
164
+ "vendor/assets/images/html5-now/themes/classic/standard/slider.png",
165
+ "vendor/assets/images/html5-now/themes/classic/standard/spinner.png",
166
+ "vendor/assets/images/html5-now/themes/classic/wheat/dropdown.png",
167
+ "vendor/assets/images/html5-now/themes/classic/wheat/progressbar-vertical.png",
168
+ "vendor/assets/images/html5-now/themes/classic/wheat/progressbar.png",
169
+ "vendor/assets/images/html5-now/themes/classic/wheat/slider-vertical.png",
170
+ "vendor/assets/images/html5-now/themes/classic/wheat/slider.png",
171
+ "vendor/assets/images/html5-now/themes/classic/wheat/spinner.png",
172
+ "vendor/assets/images/html5-now/themes/clearlooks/dropdown.png",
173
+ "vendor/assets/images/html5-now/themes/clearlooks/progressbar-vertical.png",
174
+ "vendor/assets/images/html5-now/themes/clearlooks/progressbar.png",
175
+ "vendor/assets/images/html5-now/themes/clearlooks/slider-vertical.png",
176
+ "vendor/assets/images/html5-now/themes/clearlooks/slider.png",
177
+ "vendor/assets/images/html5-now/themes/clearlooks/spinner.png",
178
+ "vendor/assets/images/html5-now/themes/default/dropdown.png",
179
+ "vendor/assets/images/html5-now/themes/default/progressbar-vertical.png",
180
+ "vendor/assets/images/html5-now/themes/default/progressbar.png",
181
+ "vendor/assets/images/html5-now/themes/default/slider-vertical.png",
182
+ "vendor/assets/images/html5-now/themes/default/slider.png",
183
+ "vendor/assets/images/html5-now/themes/default/spinner.png",
184
+ "vendor/assets/images/html5-now/themes/human/dropdown.png",
185
+ "vendor/assets/images/html5-now/themes/human/progressbar-vertical.png",
186
+ "vendor/assets/images/html5-now/themes/human/progressbar.png",
187
+ "vendor/assets/images/html5-now/themes/human/slider-vertical.png",
188
+ "vendor/assets/images/html5-now/themes/human/slider.png",
189
+ "vendor/assets/images/html5-now/themes/human/spinner.png",
190
+ "vendor/assets/images/html5-now/themes/luna/blue/dropdown.png",
191
+ "vendor/assets/images/html5-now/themes/luna/blue/progressbar-vertical.png",
192
+ "vendor/assets/images/html5-now/themes/luna/blue/progressbar.png",
193
+ "vendor/assets/images/html5-now/themes/luna/blue/slider-vertical.png",
194
+ "vendor/assets/images/html5-now/themes/luna/blue/slider.png",
195
+ "vendor/assets/images/html5-now/themes/luna/blue/spinner.png",
196
+ "vendor/assets/images/html5-now/themes/luna/olive/dropdown.png",
197
+ "vendor/assets/images/html5-now/themes/luna/olive/progressbar-vertical.png",
198
+ "vendor/assets/images/html5-now/themes/luna/olive/progressbar.png",
199
+ "vendor/assets/images/html5-now/themes/luna/olive/slider-vertical.png",
200
+ "vendor/assets/images/html5-now/themes/luna/olive/slider.png",
201
+ "vendor/assets/images/html5-now/themes/luna/olive/spinner.png",
202
+ "vendor/assets/images/html5-now/themes/luna/silver/dropdown.png",
203
+ "vendor/assets/images/html5-now/themes/luna/silver/progressbar-vertical.png",
204
+ "vendor/assets/images/html5-now/themes/luna/silver/progressbar.png",
205
+ "vendor/assets/images/html5-now/themes/luna/silver/slider-vertical.png",
206
+ "vendor/assets/images/html5-now/themes/luna/silver/slider.png",
207
+ "vendor/assets/images/html5-now/themes/luna/silver/spinner.png",
208
+ "vendor/assets/images/html5-now/themes/royale/dropdown.png",
209
+ "vendor/assets/images/html5-now/themes/royale/progressbar-vertical.png",
210
+ "vendor/assets/images/html5-now/themes/royale/progressbar.png",
211
+ "vendor/assets/images/html5-now/themes/royale/slider-vertical.png",
212
+ "vendor/assets/images/html5-now/themes/royale/slider.png",
213
+ "vendor/assets/images/html5-now/themes/royale/spinner.png",
214
+ "vendor/assets/images/html5-now/themes/s/progressbar-vertical.png",
215
+ "vendor/assets/images/html5-now/themes/s/progressbar.png",
216
+ "vendor/assets/images/html5-now/themes/s/slider-vertical.png",
217
+ "vendor/assets/images/html5-now/themes/s/slider.png",
218
+ "vendor/assets/images/html5-now/themes/zune/dropdown.png",
219
+ "vendor/assets/images/html5-now/themes/zune/progressbar-vertical.png",
220
+ "vendor/assets/images/html5-now/themes/zune/progressbar.png",
221
+ "vendor/assets/images/html5-now/themes/zune/slider-vertical.png",
222
+ "vendor/assets/images/html5-now/themes/zune/slider.png",
223
+ "vendor/assets/images/html5-now/themes/zune/spinner.png",
224
+ "vendor/assets/javascripts/html5-now/canvas.js",
225
+ "vendor/assets/javascripts/html5-now/dimensions.htc",
226
+ "vendor/assets/javascripts/html5-now/expressInstall.swf",
227
+ "vendor/assets/javascripts/html5-now/forms.js",
228
+ "vendor/assets/javascripts/html5-now/html5-now.js",
229
+ "vendor/assets/javascripts/html5-now/media.js",
230
+ "vendor/assets/javascripts/html5-now/player.swf",
231
+ "vendor/assets/javascripts/html5-now/rm.js"
232
+ ]
233
+ s.homepage = "http://github.com/kristianmandrup/html5-now-rails"
234
+ s.licenses = ["MIT"]
235
+ s.require_paths = ["lib"]
236
+ s.rubygems_version = "1.8.24"
237
+ s.summary = "HTML5-Now packaged for Rails asset pipeline"
238
+
239
+ if s.respond_to? :specification_version then
240
+ s.specification_version = 3
241
+
242
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
243
+ s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
244
+ s.add_development_dependency(%q<rdoc>, [">= 3.12"])
245
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
246
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
247
+ s.add_development_dependency(%q<simplecov>, [">= 0.5"])
248
+ else
249
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
250
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
251
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
252
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
253
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
254
+ end
255
+ else
256
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
257
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
258
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
259
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
260
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
261
+ end
262
+ end
263
+
@@ -0,0 +1,6 @@
1
+ module Html5Now
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "Html5NowRails" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'html5-now-rails'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end