jquery-rails-cdn 0.2.0 → 0.2.1
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/README.md +2 -2
- data/lib/jquery-rails-cdn.rb +1 -1
- data/lib/jquery-rails-cdn/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -64,10 +64,10 @@ Note that valid CDN symbols are:
|
|
|
64
64
|
It will generate the following on production:
|
|
65
65
|
|
|
66
66
|
```html
|
|
67
|
-
<script src="
|
|
67
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
|
|
68
68
|
<script type="text/javascript">
|
|
69
69
|
//<![CDATA[
|
|
70
|
-
window.jQuery || document.write(unescape('%3Cscript src="/assets/jquery-
|
|
70
|
+
window.jQuery || document.write(unescape('%3Cscript src="/assets/jquery-3aaa3fa0b0207a1abcd30555987cd4cc.js" type="text/javascript">%3C/script>'))
|
|
71
71
|
//]]>
|
|
72
72
|
</script>
|
|
73
73
|
```
|
data/lib/jquery-rails-cdn.rb
CHANGED
|
@@ -9,7 +9,7 @@ module Jquery::Rails::Cdn
|
|
|
9
9
|
:google => "//ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_VERSION}/jquery.min.js",
|
|
10
10
|
:microsoft => "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-#{JQUERY_VERSION}.min.js",
|
|
11
11
|
:jquery => "http://code.jquery.com/jquery-#{JQUERY_VERSION}.min.js",
|
|
12
|
-
:yandex => "http://yandex.st/jquery/#{JQUERY_VERSION}/jquery.js"
|
|
12
|
+
:yandex => "http://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.2.
|
|
4
|
+
version: 0.2.1
|
|
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-08-
|
|
12
|
+
date: 2012-08-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: jquery-rails
|