jquery-ui-rails 4.0.5 → 4.1.0

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.0
4
+
5
+ * Add Jquery::Ui::Rails::JQUERY_UI_VERSION constant
6
+
3
7
  # 4.0.5
4
8
 
5
9
  * Remove unused dependency on the `jquery-rails` gem. If you get an error
data/README.md CHANGED
@@ -8,6 +8,9 @@ pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
8
8
  to download a custom package through the [web
9
9
  interface](http://jqueryui.com/download) again.
10
10
 
11
+ See [VERSIONS.md](VERSIONS.md) to see which versions of jquery-ui-rails bundle
12
+ which versions of jQuery UI.
13
+
11
14
  Also check out the
12
15
  [jquery-ui-sass-rails](https://github.com/jhilden/jquery-ui-sass-rails) gem,
13
16
  which allows you to override theme variables with Sass.
data/Rakefile CHANGED
@@ -94,9 +94,11 @@ end
94
94
 
95
95
  desc "Generate the JavaScript assets"
96
96
  task :javascripts => :submodule do
97
+ Rake.rake_output_message 'Generating javascripts'
98
+
97
99
  target_dir = "app/assets/javascripts"
98
100
  mkdir_p target_dir
99
- Rake.rake_output_message 'Generating javascripts'
101
+
100
102
  Dir.glob("jquery-ui/ui/*.js").each do |path|
101
103
  basename = File.basename(path)
102
104
  dep_modules = get_js_dependencies(basename).map(&method(:remove_js_extension))
@@ -140,9 +142,10 @@ end
140
142
 
141
143
  desc "Generate the CSS assets"
142
144
  task :stylesheets => :submodule do
145
+ Rake.rake_output_message 'Generating stylesheets'
146
+
143
147
  target_dir = "app/assets/stylesheets"
144
148
  mkdir_p target_dir
145
- Rake.rake_output_message 'Generating stylesheets'
146
149
 
147
150
  css_dir = "jquery-ui/themes/base"
148
151
  Dir.glob("#{css_dir}/*.css").each do |path|
@@ -188,14 +191,30 @@ end
188
191
 
189
192
  desc "Generate the image assets"
190
193
  task :images => :submodule do
194
+ Rake.rake_output_message 'Copying images'
195
+
191
196
  target_dir = "app/assets/images/jquery-ui"
192
197
  mkdir_p target_dir
193
- Rake.rake_output_message 'Copying images'
198
+
194
199
  FileUtils.cp(Dir.glob("jquery-ui/themes/base/images/*"), target_dir)
195
200
  end
196
201
 
202
+ desc "Update Jquery::Ui::Rails::JQUERY_UI_VERSION"
203
+ task :version => :submodule do
204
+ Rake.rake_output_message "Setting Jquery::Ui::Rails::JQUERY_UI_VERSION = \"#{version}\""
205
+
206
+ versionRb = 'lib/jquery/ui/rails/version.rb'
207
+ versionRbSource = File.read(versionRb)
208
+ versionDefinition = "JQUERY_UI_VERSION = \"#{version}\""
209
+ versionRbSource.sub! /JQUERY_UI_VERSION = "[^"]*"/, versionDefinition \
210
+ or fail "Could not find JQUERY_UI_VERSION in #{versionRb}"
211
+ File.open(versionRb, 'w') do |out|
212
+ out.write(versionRbSource)
213
+ end
214
+ end
215
+
197
216
  desc "Clean and then generate everything (default)"
198
- task :assets => [:clean, :javascripts, :stylesheets, :images]
217
+ task :assets => [:clean, :javascripts, :stylesheets, :images, :version]
199
218
 
200
219
  task :build => :assets
201
220
 
data/VERSIONS.md ADDED
@@ -0,0 +1,27 @@
1
+ # Bundled Versions
2
+
3
+ | Gem | jQuery UI |
4
+ |--------|-----------|
5
+ | 4.1.0 | 1.10.3 |
6
+ | 4.0.5 | 1.10.3 |
7
+ | 4.0.4 | 1.10.3 |
8
+ | 4.0.3 | 1.10.3 |
9
+ | 4.0.2 | 1.10.0 |
10
+ | 4.0.1 | 1.10.0 |
11
+ | 4.0.0 | 1.10.0 |
12
+ | 3.0.1 | 1.9.2 |
13
+ | 3.0.0 | 1.9.2 |
14
+ | 2.0.2 | 1.8.24 |
15
+ | 2.0.1 | 1.8.23 |
16
+ | 2.0.0 | 1.8.23 |
17
+ | 1.1.1 | 1.8.23 |
18
+ | 1.1.0 | 1.8.22 |
19
+ | 1.0.0 | 1.8.21 |
20
+ | 0.5.0 | 1.8.21 |
21
+ | 0.4.1 | 1.8.20 |
22
+ | 0.4.0 | 1.8.20 |
23
+ | 0.3.0 | 1.8.19 |
24
+ | 0.2.2 | 1.8.18 |
25
+ | 0.2.1 | 1.8.18 |
26
+ | 0.2.0 | 1.8.17 |
27
+ | 0.1.0 | 1.8.16 |
@@ -1,7 +1,8 @@
1
1
  module Jquery
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "4.0.5"
4
+ VERSION = "4.1.0"
5
+ JQUERY_UI_VERSION = "1.10.3"
5
6
  end
6
7
  end
7
8
  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.0.5
4
+ version: 4.1.0
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-09-21 00:00:00.000000000 Z
12
+ date: 2013-10-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -59,6 +59,7 @@ files:
59
59
  - License.txt
60
60
  - README.md
61
61
  - Rakefile
62
+ - VERSIONS.md
62
63
  - app/assets/images/jquery-ui/animated-overlay.gif
63
64
  - app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
64
65
  - app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png
@@ -218,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
219
  version: '0'
219
220
  segments:
220
221
  - 0
221
- hash: -1641329107782459314
222
+ hash: 3188749179776094098
222
223
  required_rubygems_version: !ruby/object:Gem::Requirement
223
224
  none: false
224
225
  requirements: