rack-jquery_ui 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +10 -0
- data/lib/rack/jquery_ui/version.rb +15 -5
- metadata +2 -2
data/CHANGES.md
CHANGED
@@ -1,7 +1,17 @@
|
|
1
1
|
# CH CH CHANGES #
|
2
2
|
|
3
|
+
## v0.0.5 ##
|
4
|
+
|
5
|
+
Friday the 7th of March 2013
|
6
|
+
|
7
|
+
* Added some code that checks whether the constants holding the version numbers have already been defined, and warns. It give a stronger warning if the version numbers differ. It won't _always_ cause a problem that they differ, but if I CDN goes down it's likely, so caveat emptor is the phrase of the day.
|
8
|
+
|
9
|
+
----
|
10
|
+
|
3
11
|
## v0.0.4 ##
|
4
12
|
|
13
|
+
Thursday the 6th of March 2013
|
14
|
+
|
5
15
|
* Using the rack-jquery-helpers library now, to help cut down on duplicated code.
|
6
16
|
* Cleaned up the examples a bit.
|
7
17
|
|
@@ -1,10 +1,20 @@
|
|
1
1
|
module Rack
|
2
2
|
class JQueryUI
|
3
|
-
VERSION = "0.0.
|
4
|
-
JQUERY_UI_VERSION = "1.10.1"
|
3
|
+
VERSION = "0.0.5"
|
5
4
|
|
6
|
-
# This is
|
7
|
-
|
8
|
-
|
5
|
+
# This is here in case another rack-jquery_ui library has already been loaded.
|
6
|
+
jquery_ui_version = "1.10.1"
|
7
|
+
if defined? JQUERY_UI_VERSION
|
8
|
+
warn "JQUERY_UI_VERSION was already defined."
|
9
|
+
unless JQUERY_UI_VERSION == jquery_ui_version
|
10
|
+
warn "The JQUERY_UI_VERSION defined is #{JQUERY_UI_VERSION} but the version this library wants to use is #{jquery_ui_version}. You have been warned!"
|
11
|
+
end
|
12
|
+
else
|
13
|
+
JQUERY_UI_VERSION = jquery_ui_version
|
14
|
+
|
15
|
+
# This is the release date of the jQuery file, it makes an easy "Last-Modified" date for setting the headers around caching.
|
16
|
+
# @todo remember to change Last-Modified with each release!
|
17
|
+
JQUERY_UI_VERSION_DATE = "Fri, 15 Feb 2013 00:00:00 GMT"
|
18
|
+
end
|
9
19
|
end
|
10
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-jquery_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
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-03-
|
12
|
+
date: 2013-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|