jquery-rails-cdn 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jquery-rails-cdn.rb +1 -1
- data/lib/jquery-rails-cdn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c4e6d51db0f60d5e3a26d12c0a2d7b83d70c8d5
|
4
|
+
data.tar.gz: 83f2c3427276ef5b1b8ffc72a7dc05ea458fdfa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5e028fdb357b141e94ea66f917bc73e1892082fb337666fb50923fe6d410e17bb9adc184b3bbafb129c857303f8c9b192341eb78857bf429cfbaba032d89c03
|
7
|
+
data.tar.gz: 2261802cf08839060320e21ec4d1820b782c9b8d9b2f0471f3d13f149da7b62dbbace8508ea8a9482cc3433a7d7927b15dba1913bca0a3f605809e73bc8be848
|
data/lib/jquery-rails-cdn.rb
CHANGED
@@ -18,7 +18,7 @@ module Jquery::Rails::Cdn
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def jquery_include_tag(name, options = {})
|
21
|
-
return javascript_include_tag(:jquery, options) if
|
21
|
+
return javascript_include_tag(:jquery, options) if !options.delete(:force) and OFFLINE
|
22
22
|
|
23
23
|
[ javascript_include_tag(jquery_url(name), options),
|
24
24
|
javascript_tag("window.jQuery || document.write(unescape('#{javascript_include_tag(:jquery, options).gsub('<','%3C')}'))")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-rails-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenn Ejima
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|