jquery-ui-rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jquery-ui-rails might be problematic. Click here for more details.
- data/History.md +8 -4
- data/README.md +28 -31
- data/jquery-ui/version.txt +1 -1
- data/lib/jquery/ui/rails/version.rb +1 -1
- metadata +10 -8
data/History.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# 0.2.1
|
2
2
|
|
3
|
-
* Upgrade to jQuery UI 1.8.
|
3
|
+
* Upgrade to jQuery UI 1.8.18
|
4
4
|
|
5
|
-
#
|
5
|
+
# 0.2.0
|
6
6
|
|
7
|
-
*
|
7
|
+
* Upgrade to jQuery UI 1.8.17
|
8
|
+
|
9
|
+
# 0.1.0
|
10
|
+
|
11
|
+
* Initial release packaging jQuery UI 1.8.16
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# jquery-ui-rails
|
2
2
|
|
3
|
-
This gem packages the jQuery UI assets (JavaScripts, stylesheets, and
|
4
|
-
for the Rails 3.1+ [asset
|
3
|
+
This gem packages the jQuery UI 1.8.18 assets (JavaScripts, stylesheets, and
|
4
|
+
images) for the Rails 3.1+ [asset
|
5
5
|
pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
|
6
6
|
to download a custom package through the [web
|
7
7
|
interface](http://jqueryui.com/download) again.
|
@@ -66,8 +66,6 @@ In your application.css, require the corresponding CSS module:
|
|
66
66
|
|
67
67
|
## JavaScript Assets
|
68
68
|
|
69
|
-
Pick and choose from the following modules:
|
70
|
-
|
71
69
|
### UI Core
|
72
70
|
|
73
71
|
```javascript
|
@@ -111,7 +109,7 @@ application.css as well.
|
|
111
109
|
|
112
110
|
Datepicker has optional i18n modules for non-US locales, named
|
113
111
|
`jquery.ui.datepicker-xx[-YY]`
|
114
|
-
([list](https://github.com/jquery/jquery-ui/tree/1.8.
|
112
|
+
([list](https://github.com/jquery/jquery-ui/tree/1.8.18/ui/i18n)), for example:
|
115
113
|
|
116
114
|
```javascript
|
117
115
|
//= require jquery.ui.datepicker-pt-BR
|
@@ -175,15 +173,6 @@ pulled in as dependencies.
|
|
175
173
|
*/
|
176
174
|
```
|
177
175
|
|
178
|
-
## Theming
|
179
|
-
|
180
|
-
The CSS files automatically pull in the standard theme file where necessary. If
|
181
|
-
you want a different theme, you could probably download a theme from the
|
182
|
-
[ThemeRoller](http://jqueryui.com/themeroller/) and require the theme CSS
|
183
|
-
*after* requiring any other jQuery UI CSS files you need, making sure to serve
|
184
|
-
up the theme images correctly. (This is arguably cumbersome, not officially
|
185
|
-
supported by this gem, and adds 1 KB overhead. See also Limitations below.)
|
186
|
-
|
187
176
|
## Contributing
|
188
177
|
|
189
178
|
### Bug Reports
|
@@ -245,20 +234,28 @@ rails server
|
|
245
234
|
|
246
235
|
Now point your browser at [http://localhost:3000/](http://localhost:3000/).
|
247
236
|
|
248
|
-
|
249
|
-
|
250
|
-
*
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
237
|
+
## Limitations
|
238
|
+
|
239
|
+
* Only the base theme (Smoothness) is included. Once it becomes possible to
|
240
|
+
[generate all theme
|
241
|
+
files](https://forum.jquery.com/topic/downloading-bundling-all-themes#14737000003080244)
|
242
|
+
from the jQuery UI sources, we can package all the other themes in the
|
243
|
+
[ThemeRoller](http://jqueryui.com/themeroller/) gallery.
|
244
|
+
|
245
|
+
If you still want a different theme right now, you could probably download
|
246
|
+
a custom theme and require the theme CSS *after* requiring any other jQuery
|
247
|
+
UI CSS files you need, making sure to serve up the theme images correctly.
|
248
|
+
(This is arguably cumbersome, not officially supported by this gem, and
|
249
|
+
adds 1 KB overhead as both the base theme and the custom theme are served
|
250
|
+
up.)
|
251
|
+
|
252
|
+
* The `jquery.ui.all.js` file is named `jquery-ui.js` in the official
|
253
|
+
distribution. We should follow their naming. But jquery-rails provides a
|
254
|
+
`jquery-ui.js` asset as well, so until that is removed from the
|
255
|
+
jquery-rails gem (see issue
|
256
|
+
[#46](https://github.com/rails/jquery-rails/issues/46)), we cannot
|
257
|
+
distribute `jquery-ui.js` without risking conflicts.
|
258
|
+
|
259
|
+
To reduce confusion, as long as there is no `jquery-ui.js`, we also do not
|
260
|
+
distribute the official `jquery-ui-i18n.js` and `jquery-ui.css`. The latter
|
261
|
+
is available as `jquery.ui.all.css` however.
|
data/jquery-ui/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.18
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-ui-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &24479240 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *24479240
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &24478420 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *24478420
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: execjs
|
38
|
-
requirement: &
|
38
|
+
requirement: &24477340 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '1.0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *24477340
|
47
47
|
description: jQuery UI's JavaScript, CSS, and image files packaged for the Rails 3.1+
|
48
48
|
asset pipeline
|
49
49
|
email:
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- vendor/assets/javascripts/jquery.ui.datepicker-nl.js
|
92
92
|
- vendor/assets/javascripts/jquery.ui.datepicker-hr.js
|
93
93
|
- vendor/assets/javascripts/jquery.effects.blind.js
|
94
|
+
- vendor/assets/javascripts/jquery.ui.datepicker-hi.js
|
94
95
|
- vendor/assets/javascripts/jquery.ui.datepicker-zh-TW.js
|
95
96
|
- vendor/assets/javascripts/jquery.ui.datepicker-vi.js
|
96
97
|
- vendor/assets/javascripts/jquery.ui.slider.js
|
@@ -134,6 +135,7 @@ files:
|
|
134
135
|
- vendor/assets/javascripts/jquery.ui.datepicker-es.js
|
135
136
|
- vendor/assets/javascripts/jquery.ui.datepicker-rm.js
|
136
137
|
- vendor/assets/javascripts/jquery.ui.datepicker-lb.js
|
138
|
+
- vendor/assets/javascripts/jquery.ui.datepicker-km.js
|
137
139
|
- vendor/assets/javascripts/jquery.ui.datepicker-bg.js
|
138
140
|
- vendor/assets/javascripts/jquery.ui.datepicker-sk.js
|
139
141
|
- vendor/assets/javascripts/jquery.ui.datepicker-he.js
|