jquery-ui-rails 4.1.1 → 4.1.2

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 4.1.2
4
+
5
+ * Re-release 4.1.0 as 4.1.2; last version compatible with Rails 3.1
6
+
3
7
  # 4.1.1
4
8
 
5
9
  * Declare image dependencies using `//= depend_on_asset`, to stop the
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # jquery-ui-rails
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/joliss/jquery-ui-rails.png?branch=master)](http://travis-ci.org/joliss/jquery-ui-rails) [![Dependency Status](https://gemnasium.com/joliss/jquery-ui-rails.png)](https://gemnasium.com/joliss/jquery-ui-rails)
3
+ [![Build Status](https://secure.travis-ci.org/joliss/jquery-ui-rails.png?branch=master)](http://travis-ci.org/joliss/jquery-ui-rails)
4
+ [![Dependency Status](https://gemnasium.com/joliss/jquery-ui-rails.png)](https://gemnasium.com/joliss/jquery-ui-rails)
4
5
 
5
- This gem packages the jQuery UI 1.10.0 assets (JavaScripts, stylesheets, and
6
+ This gem packages the jQuery UI assets (JavaScripts, stylesheets, and
6
7
  images) for the Rails 3.1+ [asset
7
8
  pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
8
9
  to download a custom package through the [web
data/Rakefile CHANGED
@@ -1,4 +1,3 @@
1
- Encoding.default_external = "UTF-8" if defined?(Encoding)
2
1
  require 'json'
3
2
  require 'bundler/gem_tasks'
4
3
 
@@ -88,13 +87,6 @@ def protect_copyright_notice(source_code)
88
87
  source_code.gsub!(/\A\s*\/\*\r?\n/, "/*!\n")
89
88
  end
90
89
 
91
- def build_image_dependencies(source_code)
92
- image_dependencies = Set.new source_code.scan(/url\("?images\/([-_.a-zA-Z0-9]+)"?\)/).map(&:first)
93
- code = image_dependencies.inject("") do |acc, img|
94
- acc += " *= depend_on_asset \"jquery-ui/#{img}\"\n"
95
- end
96
- end
97
-
98
90
  desc "Remove the app directory"
99
91
  task :clean do
100
92
  rm_rf 'app'
@@ -189,7 +181,6 @@ task :stylesheets => :submodule do
189
181
  }
190
182
  # Be cute: collapse multiple require comment blocks into one
191
183
  source_code.gsub!(/^( \*= require .*)\n \*\/(\n+)\/\*\n(?= \*= require )/, '\1\2')
192
- source_code.gsub!(/\A(\/\*!.+?\*\/\s)/m, "\\1\n/*\n#{build_image_dependencies(source_code)} */\n\n") unless build_image_dependencies(source_code).empty?
193
184
  # Replace hard-coded image URLs with asset path helpers
194
185
  source_code.gsub!(/url\("?images\/([-_.a-zA-Z0-9]+)"?\)/, 'url(<%= image_path("jquery-ui/\1") %>)')
195
186
  File.open("#{target_dir}/#{basename}.erb", "w") do |out|
data/VERSIONS.md CHANGED
@@ -1,7 +1,8 @@
1
- # Bundled Versions
1
+ # Bundled Versions [![Analytics](https://ga-beacon.appspot.com/UA-46802684-1/jquery-ui-rails/VERSIONS.md?pixel)](https://github.com/igrigorik/ga-beacon)
2
2
 
3
3
  | Gem | jQuery UI |
4
4
  |--------|-----------|
5
+ | 4.1.2 | 1.10.3 |
5
6
  | 4.1.1 | 1.10.3 |
6
7
  | 4.1.0 | 1.10.3 |
7
8
  | 4.0.5 | 1.10.3 |
@@ -8,11 +8,6 @@
8
8
  *
9
9
  * http://docs.jquery.com/UI/Progressbar#theming
10
10
  */
11
-
12
- /*
13
- *= depend_on_asset "jquery-ui/animated-overlay.gif"
14
- */
15
-
16
11
  /*
17
12
  *= require jquery.ui.core
18
13
  *= require jquery.ui.theme
@@ -10,23 +10,6 @@
10
10
  *
11
11
  * To view and modify this theme, visit http://jqueryui.com/themeroller/
12
12
  */
13
-
14
- /*
15
- *= depend_on_asset "jquery-ui/ui-bg_flat_75_ffffff_40x100.png"
16
- *= depend_on_asset "jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png"
17
- *= depend_on_asset "jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png"
18
- *= depend_on_asset "jquery-ui/ui-bg_glass_75_dadada_1x400.png"
19
- *= depend_on_asset "jquery-ui/ui-bg_glass_65_ffffff_1x400.png"
20
- *= depend_on_asset "jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png"
21
- *= depend_on_asset "jquery-ui/ui-bg_glass_95_fef1ec_1x400.png"
22
- *= depend_on_asset "jquery-ui/ui-icons_222222_256x240.png"
23
- *= depend_on_asset "jquery-ui/ui-icons_888888_256x240.png"
24
- *= depend_on_asset "jquery-ui/ui-icons_454545_256x240.png"
25
- *= depend_on_asset "jquery-ui/ui-icons_2e83ff_256x240.png"
26
- *= depend_on_asset "jquery-ui/ui-icons_cd0a0a_256x240.png"
27
- *= depend_on_asset "jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png"
28
- */
29
-
30
13
  /*
31
14
  *= require jquery.ui.core
32
15
  */
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "4.1.1"
4
+ VERSION = "4.1.2"
5
5
  JQUERY_UI_VERSION = "1.10.3"
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: 4.1.1
4
+ version: 4.1.2
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-12-15 00:00:00.000000000 Z
12
+ date: 2014-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  segments:
221
221
  - 0
222
- hash: -786868778311295094
222
+ hash: 2217752725647097527
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  none: false
225
225
  requirements: