jquery-ui-rails-patch-1131 7.0.0

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.
Files changed (181) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.gitmodules +3 -0
  4. data/.travis.yml +2 -0
  5. data/Gemfile +3 -0
  6. data/History.md +178 -0
  7. data/License.txt +2 -0
  8. data/README.md +311 -0
  9. data/Rakefile +265 -0
  10. data/VERSIONS.md +41 -0
  11. data/app/assets/images/jquery-ui-patch-1131/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  12. data/app/assets/images/jquery-ui-patch-1131/ui-icons_444444_256x240.png +0 -0
  13. data/app/assets/images/jquery-ui-patch-1131/ui-icons_555555_256x240.png +0 -0
  14. data/app/assets/images/jquery-ui-patch-1131/ui-icons_777620_256x240.png +0 -0
  15. data/app/assets/images/jquery-ui-patch-1131/ui-icons_777777_256x240.png +0 -0
  16. data/app/assets/images/jquery-ui-patch-1131/ui-icons_cc0000_256x240.png +0 -0
  17. data/app/assets/images/jquery-ui-patch-1131/ui-icons_ffffff_256x240.png +0 -0
  18. data/app/assets/javascripts/jquery-ui-patch-1131/core.js +15 -0
  19. data/app/assets/javascripts/jquery-ui-patch-1131/data.js +45 -0
  20. data/app/assets/javascripts/jquery-ui-patch-1131/disable-selection.js +51 -0
  21. data/app/assets/javascripts/jquery-ui-patch-1131/effect.all.js +15 -0
  22. data/app/assets/javascripts/jquery-ui-patch-1131/effect.js +975 -0
  23. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-blind.js +76 -0
  24. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-bounce.js +116 -0
  25. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-clip.js +71 -0
  26. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-drop.js +75 -0
  27. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-explode.js +117 -0
  28. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-fade.js +53 -0
  29. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-fold.js +95 -0
  30. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-highlight.js +63 -0
  31. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-puff.js +49 -0
  32. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-pulsate.js +70 -0
  33. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-scale.js +63 -0
  34. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-shake.js +80 -0
  35. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-size.js +199 -0
  36. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-slide.js +82 -0
  37. data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-transfer.js +46 -0
  38. data/app/assets/javascripts/jquery-ui-patch-1131/focusable.js +89 -0
  39. data/app/assets/javascripts/jquery-ui-patch-1131/form-reset-mixin.js +83 -0
  40. data/app/assets/javascripts/jquery-ui-patch-1131/form.js +25 -0
  41. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-af.js +40 -0
  42. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ar-DZ.js +42 -0
  43. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ar.js +42 -0
  44. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-az.js +40 -0
  45. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-be.js +40 -0
  46. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-bg.js +41 -0
  47. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-bs.js +40 -0
  48. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ca.js +40 -0
  49. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-cs.js +40 -0
  50. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-cy-GB.js +48 -0
  51. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-da.js +40 -0
  52. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-de-AT.js +41 -0
  53. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-de.js +40 -0
  54. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-el.js +40 -0
  55. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-en-AU.js +40 -0
  56. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-en-GB.js +40 -0
  57. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-en-NZ.js +40 -0
  58. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-eo.js +40 -0
  59. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-es.js +40 -0
  60. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-et.js +48 -0
  61. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-eu.js +39 -0
  62. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fa.js +76 -0
  63. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fi.js +40 -0
  64. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fo.js +48 -0
  65. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fr-CA.js +40 -0
  66. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fr-CH.js +40 -0
  67. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fr.js +42 -0
  68. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-gl.js +40 -0
  69. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-he.js +40 -0
  70. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hi.js +40 -0
  71. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hr.js +40 -0
  72. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hu.js +39 -0
  73. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hy.js +40 -0
  74. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-id.js +40 -0
  75. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-is.js +48 -0
  76. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-it-CH.js +40 -0
  77. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-it.js +40 -0
  78. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ja.js +40 -0
  79. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ka.js +51 -0
  80. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-kk.js +40 -0
  81. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-km.js +40 -0
  82. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ko.js +40 -0
  83. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ky.js +41 -0
  84. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-lb.js +48 -0
  85. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-lt.js +48 -0
  86. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-lv.js +48 -0
  87. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-mk.js +40 -0
  88. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ml.js +40 -0
  89. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ms.js +40 -0
  90. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nb.js +52 -0
  91. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nl-BE.js +40 -0
  92. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nl.js +40 -0
  93. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nn.js +52 -0
  94. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-no.js +53 -0
  95. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-pl.js +40 -0
  96. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-pt-BR.js +48 -0
  97. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-pt.js +47 -0
  98. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-rm.js +64 -0
  99. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ro.js +43 -0
  100. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ru.js +40 -0
  101. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sk.js +40 -0
  102. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sl.js +41 -0
  103. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sq.js +40 -0
  104. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sr-SR.js +40 -0
  105. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sr.js +40 -0
  106. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sv.js +40 -0
  107. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ta.js +56 -0
  108. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-th.js +40 -0
  109. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-tj.js +40 -0
  110. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-tr.js +40 -0
  111. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-uk.js +41 -0
  112. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-vi.js +40 -0
  113. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-zh-CN.js +40 -0
  114. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-zh-HK.js +40 -0
  115. data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-zh-TW.js +40 -0
  116. data/app/assets/javascripts/jquery-ui-patch-1131/ie.js +20 -0
  117. data/app/assets/javascripts/jquery-ui-patch-1131/jquery-patch.js +91 -0
  118. data/app/assets/javascripts/jquery-ui-patch-1131/jquery-var-for-color.js +24 -0
  119. data/app/assets/javascripts/jquery-ui-patch-1131/keycode.js +51 -0
  120. data/app/assets/javascripts/jquery-ui-patch-1131/labels.js +71 -0
  121. data/app/assets/javascripts/jquery-ui-patch-1131/plugin.js +49 -0
  122. data/app/assets/javascripts/jquery-ui-patch-1131/position.js +513 -0
  123. data/app/assets/javascripts/jquery-ui-patch-1131/safe-active-element.js +46 -0
  124. data/app/assets/javascripts/jquery-ui-patch-1131/safe-blur.js +27 -0
  125. data/app/assets/javascripts/jquery-ui-patch-1131/scroll-parent.js +50 -0
  126. data/app/assets/javascripts/jquery-ui-patch-1131/tabbable.js +41 -0
  127. data/app/assets/javascripts/jquery-ui-patch-1131/unique-id.js +54 -0
  128. data/app/assets/javascripts/jquery-ui-patch-1131/vendor/jquery-color/LICENSE.txt +43 -0
  129. data/app/assets/javascripts/jquery-ui-patch-1131/vendor/jquery-color/jquery.color.js +722 -0
  130. data/app/assets/javascripts/jquery-ui-patch-1131/version.js +20 -0
  131. data/app/assets/javascripts/jquery-ui-patch-1131/widget.js +758 -0
  132. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/accordion.js +627 -0
  133. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/autocomplete.js +685 -0
  134. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/button.js +454 -0
  135. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/checkboxradio.js +289 -0
  136. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/controlgroup.js +304 -0
  137. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/datepicker.js +2243 -0
  138. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/dialog.js +968 -0
  139. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/draggable.js +1268 -0
  140. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/droppable.js +508 -0
  141. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/menu.js +720 -0
  142. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/mouse.js +241 -0
  143. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/progressbar.js +184 -0
  144. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/resizable.js +1225 -0
  145. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/selectable.js +321 -0
  146. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/selectmenu.js +702 -0
  147. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/slider.js +760 -0
  148. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/sortable.js +1622 -0
  149. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/spinner.js +588 -0
  150. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/tabs.js +931 -0
  151. data/app/assets/javascripts/jquery-ui-patch-1131/widgets/tooltip.js +533 -0
  152. data/app/assets/javascripts/jquery-ui-patch-1131.js +56 -0
  153. data/app/assets/stylesheets/jquery-ui-patch-1131/accordion.css +26 -0
  154. data/app/assets/stylesheets/jquery-ui-patch-1131/all.css +14 -0
  155. data/app/assets/stylesheets/jquery-ui-patch-1131/autocomplete.css +19 -0
  156. data/app/assets/stylesheets/jquery-ui-patch-1131/base.css +32 -0
  157. data/app/assets/stylesheets/jquery-ui-patch-1131/button.css +85 -0
  158. data/app/assets/stylesheets/jquery-ui-patch-1131/checkboxradio.css +37 -0
  159. data/app/assets/stylesheets/jquery-ui-patch-1131/controlgroup.css +67 -0
  160. data/app/assets/stylesheets/jquery-ui-patch-1131/core.css +100 -0
  161. data/app/assets/stylesheets/jquery-ui-patch-1131/datepicker.css +188 -0
  162. data/app/assets/stylesheets/jquery-ui-patch-1131/dialog.css +104 -0
  163. data/app/assets/stylesheets/jquery-ui-patch-1131/draggable.css +15 -0
  164. data/app/assets/stylesheets/jquery-ui-patch-1131/menu.css +67 -0
  165. data/app/assets/stylesheets/jquery-ui-patch-1131/progressbar.css +31 -0
  166. data/app/assets/stylesheets/jquery-ui-patch-1131/resizable.css +81 -0
  167. data/app/assets/stylesheets/jquery-ui-patch-1131/selectable.css +20 -0
  168. data/app/assets/stylesheets/jquery-ui-patch-1131/selectmenu.css +53 -0
  169. data/app/assets/stylesheets/jquery-ui-patch-1131/slider.css +78 -0
  170. data/app/assets/stylesheets/jquery-ui-patch-1131/sortable.css +15 -0
  171. data/app/assets/stylesheets/jquery-ui-patch-1131/spinner.css +55 -0
  172. data/app/assets/stylesheets/jquery-ui-patch-1131/tabs.css +54 -0
  173. data/app/assets/stylesheets/jquery-ui-patch-1131/theme.css.erb +456 -0
  174. data/app/assets/stylesheets/jquery-ui-patch-1131/tooltip.css +22 -0
  175. data/app/assets/stylesheets/jquery-ui-patch-1131.css +1 -0
  176. data/jquery-ui-rails-patch-1131.gemspec +23 -0
  177. data/lib/jquery/ui/rails/engine.rb +8 -0
  178. data/lib/jquery/ui/rails/version.rb +8 -0
  179. data/lib/jquery/ui/rails.rb +2 -0
  180. data/lib/jquery-ui-rails-patch-1131.rb +1 -0
  181. metadata +251 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: eb4bdc0f4beee26c35dc7810da0061b95a1bff064a8fa56dc5878046cbf6dbce
4
+ data.tar.gz: b755a2f98dc9906f9675652521406606dca541fdc938a9df83eaa14533a8c25e
5
+ SHA512:
6
+ metadata.gz: b8297db1d2aad3f1b0e6086772fa1ab43edbb0fe2ae4cc7cbb018d51e444edcceb06ac22100065664d16a9bafa7df56df415a6034fac642fc9e414d897299254
7
+ data.tar.gz: 8c06ae6423aba8c8f27aba422cf52e64760d12397bd34698c3c62233699d439056d6a730dd2ed64fc8ae9a77b7494794fe6a8d19486558d1ea3b27b4e0c2d650
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ *.gem
2
+ Gemfile.lock
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "jquery-ui"]
2
+ path = jquery-ui
3
+ url = https://github.com/jquery/jquery-ui.git
data/.travis.yml ADDED
@@ -0,0 +1,2 @@
1
+ rvm:
2
+ - 2.2.2
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/History.md ADDED
@@ -0,0 +1,178 @@
1
+ # master
2
+
3
+ # 7.0.0
4
+
5
+ * Gem name changed due to conflicts with `jquery-ui`'s `1.12.1` version.
6
+ * **BREAKING CHANGE**: Require path changed.
7
+ * Change `//= require jquery-ui` to `//= require jquery-ui-patch-1131`
8
+
9
+ # 6.0.2
10
+
11
+ * Update to jQuery UI 1.13.1
12
+
13
+ # 6.0.1
14
+
15
+ * Fix "define is not defined" issue in `core.js`
16
+
17
+ # 6.0.0
18
+
19
+ * Update to jQuery UI 1.12.1
20
+ * The widget files moved. Change e.g. `require jquery-ui/sortable` to `require jquery-ui/widgets/sortable`
21
+
22
+ # 5.0.5
23
+
24
+ * Update to jQuery UI 1.11.4
25
+
26
+ # 5.0.4
27
+
28
+ * Update to jQuery UI 1.11.3
29
+
30
+ # 5.0.3
31
+
32
+ * Speed up: Only use .erb extension if `<%= %>` tags are used
33
+
34
+ # 5.0.2
35
+
36
+ * Update to jQuery UI 1.11.2
37
+
38
+ # 5.0.1
39
+
40
+ * Update to jQuery UI 1.11.1
41
+
42
+ # 5.0.0
43
+
44
+ * Update to jQuery UI 1.11.0
45
+ * Rename `jquery.ui.*.{js,css}` to `jquery-ui/*.{js,css}`
46
+ * Add jquery-ui.js and jquery-ui.css assets
47
+
48
+ # 4.2.1
49
+
50
+ * Update to jQuery UI 1.10.4
51
+
52
+ # 4.2.0
53
+
54
+ * Bump Rails dependency to `>=3.2.16`
55
+ * Re-release 4.1.1 as 4.2.0
56
+
57
+ # 4.1.2
58
+
59
+ * Re-release 4.1.0 as 4.1.2; last version compatible with Rails 3.1
60
+
61
+ # 4.1.1
62
+
63
+ * Declare image dependencies using `//= depend_on_asset`, to stop the
64
+ Sprockets cache from going stale.
65
+
66
+ # 4.1.0
67
+
68
+ * Add Jquery::Ui::Rails::JQUERY_UI_VERSION constant
69
+
70
+ # 4.0.5
71
+
72
+ * Remove unused dependency on the `jquery-rails` gem. If you get an error
73
+ "couldn't find file 'jquery'", you may need to explicitly add `gem
74
+ 'jquery-rails'` to your Gemfile.
75
+
76
+ # 4.0.4
77
+
78
+ * Include license in gemspec
79
+
80
+ # 4.0.3
81
+
82
+ * Upgrade to jQuery UI 1.10.3
83
+
84
+ # 4.0.2
85
+
86
+ * Rails 4 compatibility
87
+
88
+ # 4.0.1
89
+
90
+ * Add missing animated-overlay.gif asset and fix image path
91
+
92
+ # 4.0.0
93
+
94
+ * Upgrade to jQuery UI 1.10.0
95
+
96
+ * No more automatic `//= require jquery`
97
+ ([#30](https://github.com/jquery-ui-rails/jquery-ui-rails/pull/30), original
98
+ discussion at [#17](https://github.com/jquery-ui-rails/jquery-ui-rails/pull/17)).
99
+ This means that you have to add `//= require jquery` to your application.js
100
+ file before you require any of the jQuery UI JavaScript modules.
101
+
102
+ # 3.0.1
103
+
104
+ * Fix stylesheet dependencies
105
+
106
+ # 3.0.0
107
+
108
+ * Upgrade to jQuery UI 1.9.2
109
+ * Switched from storing the map of file dependencies locally to leveraging
110
+ the grunt build system's .json files for determining file dependencies.
111
+ This simplifies the maintenance of this wrapper project, and allows us to
112
+ delete dependencies.js
113
+ * Renamed jquery.effects.all to jquery.ui.effect.all, to match the effects files
114
+ renamed in 1.9.2 (see [Renamed all effects files][1])
115
+ * Changed license to MIT only instead of MIT or GPL, to match jQuery UI's
116
+ license (see [commit][2])
117
+
118
+ [1]: http://jqueryui.com/upgrade-guide/1.9/#renamed-all-effects-files
119
+ [2]: https://github.com/jquery/jquery-ui/commit/485ca7192ac57d018b8ce4f03e7dec6e694a53b7
120
+
121
+ # 2.0.2
122
+
123
+ * Upgrade to jQuery UI 1.8.24
124
+
125
+ # 2.0.1
126
+
127
+ * Add draggable and resizable to the dependencies of dialog (#1)
128
+
129
+ # 2.0.0
130
+
131
+ * Do not require the main datepicker module from datepicker i18n modules.
132
+ Fixes Heroku precompilation timeouts. If you are using a datepicker i18n
133
+ module, be sure to also require jquery.ui.datepicker. (#9)
134
+
135
+ # 1.1.1
136
+
137
+ * Upgrade to jQuery UI 1.8.23
138
+
139
+ # 1.1.0
140
+
141
+ * Upgrade to jQuery UI 1.8.22
142
+
143
+ # 1.0.0
144
+
145
+ * No change. Bumping version to indicate that jquery-ui-rails is considered
146
+ stable, and that we are following semver.
147
+
148
+ # 0.5.0
149
+
150
+ * Upgrade to jQuery UI 1.8.21
151
+
152
+ # 0.4.1
153
+
154
+ * Add jquery.effects.all
155
+
156
+ # 0.4.0
157
+
158
+ * Upgrade to jQuery UI 1.8.20
159
+
160
+ # 0.3.0
161
+
162
+ * Upgrade to jQuery UI 1.8.19
163
+
164
+ # 0.2.2
165
+
166
+ * Protect copyright notices against minification with `/*! ... */`
167
+
168
+ # 0.2.1
169
+
170
+ * Upgrade to jQuery UI 1.8.18
171
+
172
+ # 0.2.0
173
+
174
+ * Upgrade to jQuery UI 1.8.17
175
+
176
+ # 0.1.0
177
+
178
+ * Initial release packaging jQuery UI 1.8.16
data/License.txt ADDED
@@ -0,0 +1,2 @@
1
+ jQuery UI as well as this gem are licensed under the MIT license (see
2
+ jquery-ui/MIT-LICENSE.txt).
data/README.md ADDED
@@ -0,0 +1,311 @@
1
+ # jquery-ui-rails
2
+
3
+ [![Build Status](https://travis-ci.org/jquery-ui-rails/jquery-ui-rails.svg?branch=master)](https://travis-ci.org/jquery-ui-rails/jquery-ui-rails)
4
+ [![Dependency Status](https://gemnasium.com/jquery-ui-rails/jquery-ui-rails.svg)](https://gemnasium.com/jquery-ui-rails/jquery-ui-rails)
5
+
6
+ This gem packages the jQuery UI assets (JavaScripts, stylesheets, and
7
+ images) for the Rails [asset
8
+ pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
9
+ to download a custom package through the [web
10
+ interface](http://jqueryui.com/download) again.
11
+
12
+ See [VERSIONS.md](VERSIONS.md) to see which versions of jquery-ui-rails bundle
13
+ which versions of jQuery UI.
14
+
15
+ Warning: This gem is incompatible with the `jquery-rails` gem before version
16
+ 3.0.0! Strange things will happen if you use an earlier `jquery-rails`
17
+ version. Run `bundle list` to ensure that you either aren't using
18
+ `jquery-rails`, or at least version 3.0.0 of `jquery-rails`.
19
+
20
+ ## Usage
21
+
22
+ In your Gemfile, add:
23
+
24
+ ```ruby
25
+ gem 'jquery-ui-rails'
26
+ ```
27
+
28
+ ## Require Everything
29
+
30
+ To require all jQuery UI modules, add the following to your application.js:
31
+
32
+ ```javascript
33
+ //= require jquery-ui
34
+ ```
35
+
36
+ Also add the jQuery UI CSS to your application.css:
37
+
38
+ ```css
39
+ /*
40
+ *= require jquery-ui
41
+ */
42
+ ```
43
+
44
+ ### Warning:
45
+ Due to directory structure changes between jQuery UI 1.10, 1.11, and 1.12,
46
+ if you use version is lower than 6.0, you will have to use a different naming
47
+ for the files to require, please check following links for more information:
48
+ [for 5.0 users](https://github.com/jquery-ui-rails/jquery-ui-rails/blob/v5.0.5/README.md),
49
+ [for 4.2 users](https://github.com/jquery-ui-rails/jquery-ui-rails/blob/v4.2.1/README.md).
50
+
51
+ All images required by jQuery UI are automatically served through the asset
52
+ pipeline, so you are good to go! For example, this code will add a
53
+ [datepicker](http://jqueryui.com/demos/datepicker/):
54
+
55
+ ```javascript
56
+ $(function() {
57
+ $('.datepicker').datepicker();
58
+ });
59
+ ```
60
+
61
+ ## Require Specific Modules
62
+
63
+ The jQuery UI code weighs 51KB (minified + gzipped) and takes a while to
64
+ execute, so for production apps it's recommended to only include the modules
65
+ that your application actually uses. Dependencies are automatically resolved.
66
+ Simply pick one or more modules from the asset list below.
67
+
68
+ For example, if you only need the datepicker module, add this to your
69
+ application.js:
70
+
71
+ ```javascript
72
+ //= require jquery-ui/widgets/datepicker
73
+ ```
74
+
75
+ In your application.css, require the corresponding CSS module (notice
76
+ no `widgets/` subdirectory here):
77
+
78
+ ```css
79
+ /*
80
+ *= require jquery-ui/datepicker
81
+ */
82
+ ```
83
+
84
+ ## JavaScript Assets
85
+
86
+ ### UI Core
87
+
88
+ ```javascript
89
+ //= require jquery-ui/core
90
+ //= require jquery-ui/widget
91
+ //= require jquery-ui/position
92
+ ```
93
+
94
+ You usually do not need to require these directly, as they are pulled in by the
95
+ other JavaScript modules as needed.
96
+
97
+ ### Interactions
98
+
99
+ ```javascript
100
+ //= require jquery-ui/widgets/mouse
101
+ //= require jquery-ui/widgets/draggable
102
+ //= require jquery-ui/widgets/droppable
103
+ //= require jquery-ui/widgets/resizable
104
+ //= require jquery-ui/widgets/selectable
105
+ //= require jquery-ui/widgets/sortable
106
+ ```
107
+
108
+ For all but `jquery-ui/mouse` and `jquery-ui/droppable`, remember to `require` their matching CSS
109
+ files in your application.css as well.
110
+
111
+ ### Widgets
112
+
113
+ ```javascript
114
+ //= require jquery-ui/widgets/accordion
115
+ //= require jquery-ui/widgets/autocomplete
116
+ //= require jquery-ui/widgets/button
117
+ //= require jquery-ui/widgets/datepicker
118
+ //= require jquery-ui/widgets/dialog
119
+ //= require jquery-ui/widgets/menu
120
+ //= require jquery-ui/widgets/progressbar
121
+ //= require jquery-ui/widgets/selectmenu
122
+ //= require jquery-ui/widgets/slider
123
+ //= require jquery-ui/widgets/spinner
124
+ //= require jquery-ui/widgets/tabs
125
+ //= require jquery-ui/widgets/tooltip
126
+ ```
127
+
128
+ For all of these, remember to `require` their matching CSS files in your
129
+ application.css as well.
130
+
131
+ #### I18n
132
+
133
+ Datepicker has optional i18n modules for non-US locales, named
134
+ `jquery-ui/datepicker-xx[-YY]`
135
+ ([list](https://github.com/jquery-ui-rails/jquery-ui-rails/tree/master/app/assets/javascripts)),
136
+ for example:
137
+
138
+ ```javascript
139
+ //= require jquery-ui/widgets/datepicker
140
+ //= require jquery-ui/i18n/datepicker-pt-BR
141
+ ```
142
+
143
+ Note that you still need to include the main datepicker module. It is not
144
+ required automatically [for performance
145
+ reasons](https://github.com/jquery-ui-rails/jquery-ui-rails/issues/9#issuecomment-6524987).
146
+
147
+ ### Effects
148
+
149
+ ```javascript
150
+ //= require jquery-ui/effect.all
151
+ ```
152
+
153
+ OR
154
+
155
+ ```javascript
156
+ //= require jquery-ui/effect
157
+ //= require jquery-ui/effects/effect-blind
158
+ //= require jquery-ui/effects/effect-bounce
159
+ //= require jquery-ui/effects/effect-clip
160
+ //= require jquery-ui/effects/effect-drop
161
+ //= require jquery-ui/effects/effect-explode
162
+ //= require jquery-ui/effects/effect-fade
163
+ //= require jquery-ui/effects/effect-fold
164
+ //= require jquery-ui/effects/effect-highlight
165
+ //= require jquery-ui/effects/effect-puff
166
+ //= require jquery-ui/effects/effect-pulsate
167
+ //= require jquery-ui/effects/effect-scale
168
+ //= require jquery-ui/effects/effect-shake
169
+ //= require jquery-ui/effects/effect-size
170
+ //= require jquery-ui/effects/effect-slide
171
+ //= require jquery-ui/effects/effect-transfer
172
+ ```
173
+
174
+ ## Stylesheet Assets
175
+
176
+ ### UI Core
177
+
178
+ ```css
179
+ /*
180
+ *= require jquery-ui/core
181
+ *= require jquery-ui/theme
182
+ */
183
+ ```
184
+
185
+ You might want to require these if you do not use any of the following modules,
186
+ but still want jQuery UI's basic theming CSS. Otherwise they are automatically
187
+ pulled in as dependencies.
188
+
189
+ ### Interactions
190
+
191
+ ```css
192
+ /*
193
+ *= require jquery-ui/draggable
194
+ *= require jquery-ui/resizable
195
+ *= require jquery-ui/selectable
196
+ *= require jquery-ui/sortable
197
+ */
198
+ ```
199
+
200
+ ### Widgets
201
+
202
+ ```css
203
+ /*
204
+ *= require jquery-ui/accordion
205
+ *= require jquery-ui/autocomplete
206
+ *= require jquery-ui/button
207
+ *= require jquery-ui/datepicker
208
+ *= require jquery-ui/dialog
209
+ *= require jquery-ui/menu
210
+ *= require jquery-ui/progressbar
211
+ *= require jquery-ui/selectmenu
212
+ *= require jquery-ui/slider
213
+ *= require jquery-ui/spinner
214
+ *= require jquery-ui/tabs
215
+ *= require jquery-ui/tooltip
216
+ */
217
+ ```
218
+
219
+ ## Contributing
220
+
221
+ ### Bug Reports
222
+
223
+ For bugs in jQuery UI itself, head to the [jQuery UI Development
224
+ Center](http://jqueryui.com/development).
225
+
226
+ For bugs in this gem distribution, use the GitHub issue tracker.
227
+
228
+ ### Setup
229
+
230
+ The `jquery-ui-rails` gem should work in Ruby 1.8.7 apps. To run the rake
231
+ tasks, you need Ruby 1.9 however.
232
+
233
+ ```bash
234
+ git clone git://github.com/jquery-ui-rails/jquery-ui-rails.git
235
+ cd jquery-ui-rails
236
+ git submodule update --init
237
+ bundle install
238
+ bundle exec rake # rebuild assets
239
+ ```
240
+
241
+ Most of the code lives in the `Rakefile`. Pull requests are more than welcome!
242
+
243
+ ### Hacking jQuery UI
244
+
245
+ The jquery-ui-rails repository is
246
+ [contributor-friendly](http://www.solitr.com/blog/2012/04/contributor-friendly-gems/)
247
+ and has a git submodule containing the official [jquery-ui
248
+ repo](https://github.com/jquery/jquery-ui). This way it's easy to hack the
249
+ jQuery UI code:
250
+
251
+ ```bash
252
+ cd jquery-ui
253
+ git checkout master # or 1-8-stable
254
+ ... hack-hack-hack ...
255
+ bundle exec rake # rebuild assets based on your changes
256
+ ```
257
+
258
+ Assuming your app's Gemfile points at your jquery-ui-rails checkout (`gem
259
+ 'jquery-ui-rails', :path => '~/path/to/jquery-ui-rails'`), all you need to do
260
+ now is refresh your browser, and your changes to jQuery UI are live in your
261
+ Rails application.
262
+
263
+ You can send pull requests to the
264
+ [jquery-ui](https://github.com/jquery/jquery-ui) GitHub project straight out of
265
+ your submodule. See also their
266
+ [Getting Involved](http://wiki.jqueryui.com/w/page/35263114/Getting-Involved)
267
+ guide.
268
+
269
+ ### Testing
270
+
271
+ As a smoke test, a `testapp` application is available in the repository, which
272
+ displays a check mark and a datepicker to make sure the assets load correctly:
273
+
274
+ ```bash
275
+ cd testapp
276
+ bundle install
277
+ rails server
278
+ ```
279
+
280
+ Now point your browser at [http://localhost:3000/](http://localhost:3000/).
281
+
282
+ ### Releasing
283
+
284
+ Be sure that `VERSIONS.md`, `History.md` and `lib/jquery/ui/rails/version.rb`
285
+ are up-to-date. Then build and push like so:
286
+
287
+ ```bash
288
+ rake build
289
+ gem push pkg/jquery-ui-rails-X.Y.Z.gem
290
+ git tag vX.Y.Z
291
+ git push --tags
292
+ ```
293
+
294
+ ## Limitations
295
+
296
+ * Only the base theme (Smoothness) is included. Once it becomes possible to
297
+ [generate all theme
298
+ files](https://forum.jquery.com/topic/downloading-bundling-all-themes#14737000003080244)
299
+ from the jQuery UI sources, we can package all the other themes in the
300
+ [ThemeRoller](http://jqueryui.com/themeroller/) gallery.
301
+
302
+ Perhaps we can also add helper tasks to help developers generate assets for
303
+ their own custom themes or for third-party themes (like
304
+ [Selene](http://gravityonmars.github.com/Selene/)).
305
+
306
+ If you still want a different theme right now, you could probably download
307
+ a custom theme and require the theme CSS *after* requiring any other jQuery
308
+ UI CSS files you need, making sure to serve up the theme images correctly.
309
+ (This is arguably cumbersome, not officially supported by this gem, and
310
+ adds 1 KB overhead as both the base theme and the custom theme are served
311
+ up.)