Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad8e003

Browse files
committed
Upgrade jQuery UI to 1.8.20; use package.json instead of version.txt
1 parent 1fd74b0 commit ad8e003

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

History.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.4.0
2+
3+
* Upgrade to jQuery UI 1.8.20
4+
15
# 0.3.0
26

37
* Upgrade to jQuery UI 1.8.19

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![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)
44

5-
This gem packages the jQuery UI 1.8.19 assets (JavaScripts, stylesheets, and
5+
This gem packages the jQuery UI 1.8.20 assets (JavaScripts, stylesheets, and
66
images) for the Rails 3.1+ [asset
77
pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
88
to download a custom package through the [web
@@ -111,7 +111,7 @@ application.css as well.
111111

112112
Datepicker has optional i18n modules for non-US locales, named
113113
`jquery.ui.datepicker-xx[-YY]`
114-
([list](https://github.com/jquery/jquery-ui/tree/1.8.19/ui/i18n)), for example:
114+
([list](https://github.com/jquery/jquery-ui/tree/1.8.20/ui/i18n)), for example:
115115

116116
```javascript
117117
//= require jquery.ui.datepicker-pt-BR

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DEPENDENCY_HASH = JSON.load(File.read('dependencies.js'))
55
LANGUAGE_REGEX = /-[-a-zA-Z]+(?=\.js\z)/
66

77
def version
8-
File.read("jquery-ui/version.txt").strip
8+
JSON.load(File.read('jquery-ui/package.json'))['version']
99
end
1010

1111
task :submodule do

jquery-ui-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
1919

2020
s.files = `git ls-files`.split("\n").reject { |f| f =~ /^testapp|^jquery-ui/ } + \
2121
Dir.glob("vendor/**/*") + \
22-
Dir.glob('jquery-ui/*LICENSE.txt') + ['jquery-ui/version.txt']
22+
Dir.glob('jquery-ui/*LICENSE.txt') + ['jquery-ui/package.json']
2323
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
2424
s.require_path = 'lib'
2525
end

0 commit comments

Comments
 (0)