jquery-ui-rails 4.0.0 → 4.0.1

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.
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 4.0.1
4
+
5
+ * Add missing animated-overlay.gif asset and fix image path.
6
+
3
7
  # 4.0.0
4
8
 
5
9
  * Upgrade to jQuery UI 1.10.0
data/Rakefile CHANGED
@@ -179,7 +179,7 @@ task :stylesheets => :submodule do
179
179
  # Be cute: collapse multiple require comment blocks into one
180
180
  source_code.gsub!(/^( \*= require .*)\n \*\/(\n+)\/\*\n(?= \*= require )/, '\1\2')
181
181
  # Replace hard-coded image URLs with asset path helpers
182
- source_code.gsub!(/url\(images\/([-_.a-zA-Z0-9]+)\)/, 'url(<%= image_path("jquery-ui/\1") %>)')
182
+ source_code.gsub!(/url\("?images\/([-_.a-zA-Z0-9]+)"?\)/, 'url(<%= image_path("jquery-ui/\1") %>)')
183
183
  File.open("#{target_dir}/#{basename}.erb", "w") do |out|
184
184
  out.write(source_code)
185
185
  end
@@ -191,7 +191,7 @@ task :images => :submodule do
191
191
  target_dir = "vendor/assets/images/jquery-ui"
192
192
  mkdir_p target_dir
193
193
  Rake.rake_output_message 'Copying images'
194
- FileUtils.cp(Dir.glob("jquery-ui/themes/base/images/*.png"), target_dir)
194
+ FileUtils.cp(Dir.glob("jquery-ui/themes/base/images/*"), target_dir)
195
195
  end
196
196
 
197
197
  desc "Clean and then generate everything (default)"
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "4.0.0"
4
+ VERSION = "4.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -22,7 +22,7 @@
22
22
  height: 100%;
23
23
  }
24
24
  .ui-progressbar .ui-progressbar-overlay {
25
- background: url("images/animated-overlay.gif");
25
+ background: url(<%= image_path("jquery-ui/animated-overlay.gif") %>);
26
26
  height: 100%;
27
27
  filter: alpha(opacity=25);
28
28
  opacity: 0.25;
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: 4.0.0
4
+ version: 4.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: 2013-02-04 00:00:00.000000000 Z
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -79,6 +79,7 @@ files:
79
79
  - lib/jquery/ui/rails.rb
80
80
  - lib/jquery/ui/rails/engine.rb
81
81
  - lib/jquery/ui/rails/version.rb
82
+ - vendor/assets/images/jquery-ui/animated-overlay.gif
82
83
  - vendor/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
83
84
  - vendor/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png
84
85
  - vendor/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png
@@ -232,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
233
  version: '0'
233
234
  segments:
234
235
  - 0
235
- hash: -4313289766269492508
236
+ hash: 3054490988592401463
236
237
  required_rubygems_version: !ruby/object:Gem::Requirement
237
238
  none: false
238
239
  requirements: