rack-jquery_ui-themes 0.0.2 → 0.0.3
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/CHANGES.md +8 -0
- data/Gemfile +0 -1
- data/README.md +3 -3
- data/lib/rack/jquery_ui/themes/version.rb +1 -1
- data/rack-jquery_ui-themes.gemspec +1 -1
- metadata +2 -2
data/CHANGES.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -27,7 +27,7 @@ Rack::JQueryUI::Theme doesn't sound right to me, as it's accessing the _Themes_
|
|
27
27
|
Have a look in the examples directory, but here's a snippet.
|
28
28
|
|
29
29
|
* Install it (see below)
|
30
|
-
* `require 'rack/jquery_ui'`.
|
30
|
+
* `require 'rack/jquery_ui/themes'`.
|
31
31
|
* Put this in your middleware stack: `use Rack::JQuery::Themes, :theme => "vader"`
|
32
32
|
* Put this in the head of your layout (the example is Haml but you can use whatever you like)
|
33
33
|
|
@@ -38,7 +38,7 @@ Have a look in the examples directory, but here's a snippet.
|
|
38
38
|
|
39
39
|
Now you have the script tags to Google's CDN in the head (you can also use Media Temple or Microsoft, see the docs).
|
40
40
|
|
41
|
-
It also adds in a bit of javascript that will load in a locally kept version of jQuery, just incase the CDN is unreachable. The script will use the "/js/jquery-ui/1.10.1/themes/:THEME/jquery-ui.min.css" path (or, instead of 1.10.1, whatever is in {Rack::JQueryUI::
|
41
|
+
It also adds in a bit of javascript that will load in a locally kept version of jQuery, just incase the CDN is unreachable. The script will use the "/js/jquery-ui/1.10.1/themes/:THEME/jquery-ui.min.css" path (or, instead of 1.10.1, whatever is in {Rack::JQueryUI::JQUERY_UI_VERSION}), where `:THEME` is the name of the theme you specified, the default being `base`.
|
42
42
|
|
43
43
|
That was easy.
|
44
44
|
|
@@ -48,7 +48,7 @@ You have to have loaded jQuery _before_ using the CDN helper, as Rack::jQueryUI:
|
|
48
48
|
|
49
49
|
## Version numbers ##
|
50
50
|
|
51
|
-
This library uses [semver](http://semver.org/) to version the **library**. That means the library version is ***not*** an indicator of quality but a way to manage changes. The version of jQuery-UI can be found in the lib/rack/jquery_ui/themes/version.rb file, or via the {Rack::JQueryUI::
|
51
|
+
This library uses [semver](http://semver.org/) to version the **library**. That means the library version is ***not*** an indicator of quality but a way to manage changes. The version of jQuery-UI can be found in the lib/rack/jquery_ui/themes/version.rb file, or via the {Rack::JQueryUI::JQUERY_UI_VERSION} constant.
|
52
52
|
|
53
53
|
## Installation
|
54
54
|
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Rack::JQueryUI::Themes::VERSION
|
9
9
|
spec.authors = ["Iain Barnett"]
|
10
10
|
spec.email = ["iainspeed@gmail.com"]
|
11
|
-
spec.description = %
|
11
|
+
spec.description = %Q{jQuery-UI themes CDN script tags and fallback in one neat package. Current version is for jQuery-UI v#{Rack::JQueryUI::JQUERY_UI_VERSION}}
|
12
12
|
spec.summary = %q{The description says it all.}
|
13
13
|
spec.homepage = "https://github.com/yb66/rack-jquery_ui-themes"
|
14
14
|
spec.license = "MIT"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-jquery_ui-themes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
description: jQuery-UI themes CDN script tags and fallback in one neat package. Current
|
79
|
-
version is for jQuery-UI
|
79
|
+
version is for jQuery-UI v1.10.1
|
80
80
|
email:
|
81
81
|
- iainspeed@gmail.com
|
82
82
|
executables: []
|