jquery-ui-rails 3.0.0 → 3.0.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 +4 -0
- data/README.md +11 -8
- data/Rakefile +10 -3
- data/lib/jquery/ui/rails/version.rb +1 -1
- data/vendor/assets/stylesheets/jquery.ui.autocomplete.css.erb +1 -0
- data/vendor/assets/stylesheets/jquery.ui.dialog.css.erb +2 -0
- data/vendor/assets/stylesheets/jquery.ui.spinner.css.erb +1 -0
- metadata +3 -3
data/History.md
CHANGED
data/README.md
CHANGED
@@ -97,11 +97,14 @@ their matching CSS files in your application.css as well.
|
|
97
97
|
//= require jquery.ui.accordion
|
98
98
|
//= require jquery.ui.autocomplete
|
99
99
|
//= require jquery.ui.button
|
100
|
+
//= require jquery.ui.datepicker
|
100
101
|
//= require jquery.ui.dialog
|
102
|
+
//= require jquery.ui.menu
|
103
|
+
//= require jquery.ui.progressbar
|
101
104
|
//= require jquery.ui.slider
|
105
|
+
//= require jquery.ui.spinner
|
102
106
|
//= require jquery.ui.tabs
|
103
|
-
//= require jquery.ui.
|
104
|
-
//= require jquery.ui.progressbar
|
107
|
+
//= require jquery.ui.tooltip
|
105
108
|
```
|
106
109
|
|
107
110
|
For all of these, remember to `require` their matching CSS files in your
|
@@ -174,11 +177,14 @@ pulled in as dependencies.
|
|
174
177
|
*= require jquery.ui.accordion
|
175
178
|
*= require jquery.ui.autocomplete
|
176
179
|
*= require jquery.ui.button
|
180
|
+
*= require jquery.ui.datepicker
|
177
181
|
*= require jquery.ui.dialog
|
182
|
+
*= require jquery.ui.menu
|
183
|
+
*= require jquery.ui.progressbar
|
178
184
|
*= require jquery.ui.slider
|
185
|
+
*= require jquery.ui.spinner
|
179
186
|
*= require jquery.ui.tabs
|
180
|
-
*= require jquery.ui.
|
181
|
-
*= require jquery.ui.progressbar
|
187
|
+
*= require jquery.ui.tooltip
|
182
188
|
*/
|
183
189
|
```
|
184
190
|
|
@@ -189,10 +195,7 @@ pulled in as dependencies.
|
|
189
195
|
For bugs in jQuery UI itself, head to the [jQuery UI Development
|
190
196
|
Center](http://jqueryui.com/development).
|
191
197
|
|
192
|
-
For bugs in this gem distribution, use the GitHub issue tracker.
|
193
|
-
the asset dependencies between files are set up by this gem, not by the jQuery
|
194
|
-
UI upstream. If you find that a JavaScript or CSS file does not pull in its
|
195
|
-
dependencies correctly, please open an issue!
|
198
|
+
For bugs in this gem distribution, use the GitHub issue tracker.
|
196
199
|
|
197
200
|
### Setup
|
198
201
|
|
data/Rakefile
CHANGED
@@ -144,19 +144,26 @@ task :stylesheets => :submodule do
|
|
144
144
|
target_dir = "vendor/assets/stylesheets"
|
145
145
|
mkdir_p target_dir
|
146
146
|
Rake.rake_output_message 'Generating stylesheets'
|
147
|
-
|
147
|
+
|
148
|
+
css_dir = "jquery-ui/themes/base"
|
149
|
+
Dir.glob("#{css_dir}/*.css").each do |path|
|
148
150
|
basename = File.basename(path)
|
149
151
|
source_code = File.read(path)
|
150
152
|
source_code.gsub!('@VERSION', version)
|
151
153
|
protect_copyright_notice(source_code)
|
152
154
|
extra_dependencies = []
|
153
|
-
extra_dependencies << 'jquery.ui.core' unless basename =~ /\.(all|base|core)\./
|
154
155
|
# Is "theme" listed among the dependencies for the matching JS file?
|
155
|
-
unless basename =~ /\.(all|base|core
|
156
|
+
unless basename =~ /\.(all|base|core)\./
|
156
157
|
dependencies = DEPENDENCY_HASH[basename.sub(/\.css/, '.js')]
|
157
158
|
if dependencies.nil?
|
158
159
|
puts "Warning: No matching JavaScript dependencies found for #{basename}"
|
160
|
+
extra_dependencies << 'jquery.ui.core'
|
159
161
|
else
|
162
|
+
dependencies.each do |dependency|
|
163
|
+
dependency = dependency.sub(/\.js$/, '')
|
164
|
+
dependent_stylesheet = "#{dependency}.css"
|
165
|
+
extra_dependencies << dependency if File.exists?("#{css_dir}/#{dependent_stylesheet}")
|
166
|
+
end
|
160
167
|
extra_dependencies << 'jquery.ui.theme'
|
161
168
|
end
|
162
169
|
end
|
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: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -227,7 +227,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
227
227
|
version: '0'
|
228
228
|
segments:
|
229
229
|
- 0
|
230
|
-
hash:
|
230
|
+
hash: 393996521315772752
|
231
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
232
|
none: false
|
233
233
|
requirements:
|