jquery-rails-cdn 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -1
- data/lib/jquery-rails-cdn.rb +2 -2
- data/lib/jquery-rails-cdn/version.rb +1 -1
- metadata +9 -4
data/README.md
CHANGED
@@ -27,8 +27,10 @@ On top of that, if you're using asset pipeline, you may have noticed that the ma
|
|
27
27
|
|
28
28
|
Changelog:
|
29
29
|
|
30
|
+
* v0.3.0: Microsoft and Yandex are now always scheme-less. (Thanks to @atipugin)
|
31
|
+
* v0.2.1: Use minified version for Yandex. (Thanks to @atipugin)
|
30
32
|
* v0.2.0: (Incompatible Change) Google CDN is now always scheme-less. Add Yandex CDN for Russian users. (Thanks to @ai)
|
31
|
-
* v0.1.0: Added `:google_schemeless` for sites that support both
|
33
|
+
* v0.1.0: Added `:google_schemeless` for sites that support both SSL and non-SSL.
|
32
34
|
* v0.0.1: Initial release
|
33
35
|
|
34
36
|
## Installation
|
data/lib/jquery-rails-cdn.rb
CHANGED
@@ -7,9 +7,9 @@ module Jquery::Rails::Cdn
|
|
7
7
|
OFFLINE = (Rails.env.development? or Rails.env.test?)
|
8
8
|
URL = {
|
9
9
|
:google => "//ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_VERSION}/jquery.min.js",
|
10
|
-
:microsoft => "
|
10
|
+
:microsoft => "//ajax.aspnetcdn.com/ajax/jQuery/jquery-#{JQUERY_VERSION}.min.js",
|
11
11
|
:jquery => "http://code.jquery.com/jquery-#{JQUERY_VERSION}.min.js",
|
12
|
-
:yandex => "
|
12
|
+
:yandex => "//yandex.st/jquery/#{JQUERY_VERSION}/jquery.min.js"
|
13
13
|
}
|
14
14
|
|
15
15
|
def jquery_url(name, options = {})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-rails-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2012-
|
12
|
+
date: 2012-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-rails
|
@@ -54,17 +54,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
54
|
- - ! '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
hash: -221945476204649298
|
57
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
61
|
none: false
|
59
62
|
requirements:
|
60
63
|
- - ! '>='
|
61
64
|
- !ruby/object:Gem::Version
|
62
65
|
version: '0'
|
66
|
+
segments:
|
67
|
+
- 0
|
68
|
+
hash: -221945476204649298
|
63
69
|
requirements: []
|
64
70
|
rubyforge_project:
|
65
|
-
rubygems_version: 1.8.
|
71
|
+
rubygems_version: 1.8.24
|
66
72
|
signing_key:
|
67
73
|
specification_version: 3
|
68
74
|
summary: Add CDN support to jquery-rails
|
69
75
|
test_files: []
|
70
|
-
has_rdoc:
|