jquery-ui-rails 5.0.2 → 5.0.3

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.

Files changed (24) hide show
  1. data/History.md +4 -0
  2. data/Rakefile +4 -2
  3. data/VERSIONS.md +1 -0
  4. data/app/assets/stylesheets/jquery-ui/{accordion.css.erb → accordion.css} +0 -0
  5. data/app/assets/stylesheets/jquery-ui/{all.css.erb → all.css} +0 -0
  6. data/app/assets/stylesheets/jquery-ui/{autocomplete.css.erb → autocomplete.css} +0 -0
  7. data/app/assets/stylesheets/jquery-ui/{base.css.erb → base.css} +0 -0
  8. data/app/assets/stylesheets/jquery-ui/{button.css.erb → button.css} +0 -0
  9. data/app/assets/stylesheets/jquery-ui/{core.css.erb → core.css} +0 -0
  10. data/app/assets/stylesheets/jquery-ui/{datepicker.css.erb → datepicker.css} +0 -0
  11. data/app/assets/stylesheets/jquery-ui/{dialog.css.erb → dialog.css} +0 -0
  12. data/app/assets/stylesheets/jquery-ui/{draggable.css.erb → draggable.css} +0 -0
  13. data/app/assets/stylesheets/jquery-ui/{menu.css.erb → menu.css} +0 -0
  14. data/app/assets/stylesheets/jquery-ui/{progressbar.css.erb → progressbar.css} +0 -0
  15. data/app/assets/stylesheets/jquery-ui/{resizable.css.erb → resizable.css} +0 -0
  16. data/app/assets/stylesheets/jquery-ui/{selectable.css.erb → selectable.css} +0 -0
  17. data/app/assets/stylesheets/jquery-ui/{selectmenu.css.erb → selectmenu.css} +0 -0
  18. data/app/assets/stylesheets/jquery-ui/{slider.css.erb → slider.css} +0 -0
  19. data/app/assets/stylesheets/jquery-ui/{sortable.css.erb → sortable.css} +0 -0
  20. data/app/assets/stylesheets/jquery-ui/{spinner.css.erb → spinner.css} +0 -0
  21. data/app/assets/stylesheets/jquery-ui/{tabs.css.erb → tabs.css} +0 -0
  22. data/app/assets/stylesheets/jquery-ui/{tooltip.css.erb → tooltip.css} +0 -0
  23. data/lib/jquery/ui/rails/version.rb +1 -1
  24. metadata +22 -22
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 5.0.3
4
+
5
+ * Speed up: Only use .erb extension if `<%= %>` tags are used
6
+
3
7
  # 5.0.2
4
8
 
5
9
  * Update to jQuery UI 1.11.2
data/Rakefile CHANGED
@@ -193,8 +193,10 @@ task :stylesheets => :submodule do
193
193
  source_code.gsub!(/^( \*= require .*)\n \*\/(\n+)\/\*\n(?= \*= require )/, '\1\2')
194
194
  source_code.gsub!(/\A(\/\*!.+?\*\/\s)/m, "\\1\n/*\n#{build_image_dependencies(source_code)} */\n\n") unless build_image_dependencies(source_code).empty?
195
195
  # Replace hard-coded image URLs with asset path helpers
196
- source_code.gsub!(/url\("?images\/([-_.a-zA-Z0-9]+)"?\)/, 'url(<%= image_path("jquery-ui/\1") %>)')
197
- File.open("#{target_ui_dir}/#{basename}.erb", "w") do |out|
196
+ image_re = /url\("?images\/([-_.a-zA-Z0-9]+)"?\)/
197
+ extname = source_code =~ image_re ? ".erb" : ""
198
+ source_code.gsub!(image_re, 'url(<%= image_path("jquery-ui/\1") %>)')
199
+ File.open("#{target_ui_dir}/#{basename}#{extname}", "w") do |out|
198
200
  out.write(source_code)
199
201
  end
200
202
  end
@@ -2,6 +2,7 @@
2
2
 
3
3
  | Gem | jQuery UI |
4
4
  |--------|-----------|
5
+ | 5.0.3 | 1.11.2 |
5
6
  | 5.0.2 | 1.11.2 |
6
7
  | 5.0.1 | 1.11.1 |
7
8
  | 5.0.0 | 1.11.0 |
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "5.0.2"
4
+ VERSION = "5.0.3"
5
5
  JQUERY_UI_VERSION = "1.11.2"
6
6
  end
7
7
  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: 5.0.2
4
+ version: 5.0.3
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: 2014-10-17 00:00:00.000000000 Z
12
+ date: 2014-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -187,26 +187,26 @@ files:
187
187
  - app/assets/javascripts/jquery-ui/tooltip.js
188
188
  - app/assets/javascripts/jquery-ui/widget.js
189
189
  - app/assets/stylesheets/jquery-ui.css
190
- - app/assets/stylesheets/jquery-ui/accordion.css.erb
191
- - app/assets/stylesheets/jquery-ui/all.css.erb
192
- - app/assets/stylesheets/jquery-ui/autocomplete.css.erb
193
- - app/assets/stylesheets/jquery-ui/base.css.erb
194
- - app/assets/stylesheets/jquery-ui/button.css.erb
195
- - app/assets/stylesheets/jquery-ui/core.css.erb
196
- - app/assets/stylesheets/jquery-ui/datepicker.css.erb
197
- - app/assets/stylesheets/jquery-ui/dialog.css.erb
198
- - app/assets/stylesheets/jquery-ui/draggable.css.erb
199
- - app/assets/stylesheets/jquery-ui/menu.css.erb
200
- - app/assets/stylesheets/jquery-ui/progressbar.css.erb
201
- - app/assets/stylesheets/jquery-ui/resizable.css.erb
202
- - app/assets/stylesheets/jquery-ui/selectable.css.erb
203
- - app/assets/stylesheets/jquery-ui/selectmenu.css.erb
204
- - app/assets/stylesheets/jquery-ui/slider.css.erb
205
- - app/assets/stylesheets/jquery-ui/sortable.css.erb
206
- - app/assets/stylesheets/jquery-ui/spinner.css.erb
207
- - app/assets/stylesheets/jquery-ui/tabs.css.erb
190
+ - app/assets/stylesheets/jquery-ui/accordion.css
191
+ - app/assets/stylesheets/jquery-ui/all.css
192
+ - app/assets/stylesheets/jquery-ui/autocomplete.css
193
+ - app/assets/stylesheets/jquery-ui/base.css
194
+ - app/assets/stylesheets/jquery-ui/button.css
195
+ - app/assets/stylesheets/jquery-ui/core.css
196
+ - app/assets/stylesheets/jquery-ui/datepicker.css
197
+ - app/assets/stylesheets/jquery-ui/dialog.css
198
+ - app/assets/stylesheets/jquery-ui/draggable.css
199
+ - app/assets/stylesheets/jquery-ui/menu.css
200
+ - app/assets/stylesheets/jquery-ui/progressbar.css
201
+ - app/assets/stylesheets/jquery-ui/resizable.css
202
+ - app/assets/stylesheets/jquery-ui/selectable.css
203
+ - app/assets/stylesheets/jquery-ui/selectmenu.css
204
+ - app/assets/stylesheets/jquery-ui/slider.css
205
+ - app/assets/stylesheets/jquery-ui/sortable.css
206
+ - app/assets/stylesheets/jquery-ui/spinner.css
207
+ - app/assets/stylesheets/jquery-ui/tabs.css
208
208
  - app/assets/stylesheets/jquery-ui/theme.css.erb
209
- - app/assets/stylesheets/jquery-ui/tooltip.css.erb
209
+ - app/assets/stylesheets/jquery-ui/tooltip.css
210
210
  - lib/jquery-ui-rails.rb
211
211
  - lib/jquery/ui/rails.rb
212
212
  - lib/jquery/ui/rails/engine.rb
@@ -226,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  segments:
228
228
  - 0
229
- hash: 859178943120223495
229
+ hash: -57978946298023344
230
230
  required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  none: false
232
232
  requirements: