jquery-rails-cdn 0.4.0 → 1.0.0
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.
- checksums.yaml +4 -4
- data/README.md +2 -0
- 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: 659232ecbdba2e203db471e4e906ff893bfcf570
|
|
4
|
+
data.tar.gz: d8b5d35d495644669777ceafbdeb672e6959ef5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93da0c54fb1fa3e851c91f1c0714d2afafc7e6599da54ac2203cbcb3419e7373c99a90f909853b5e6070255ac044b28c78ee9710518c1e5dd72189cc163ffca6
|
|
7
|
+
data.tar.gz: 2174c4d3dc7de0e55ff8be67ad370ac9c23d2c8bfee379ff9b903f9226d0e591761bd226dc2c005cb3a058c1bd8aec7239c23682ed48e55f416d64ef73b7b915
|
data/README.md
CHANGED
|
@@ -27,6 +27,8 @@ 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
|
+
* v1.0.0: Options like `defer: true` or `data-turbolinks-eval: false` are allowed to be passed. (Thanks to @mkitt)
|
|
31
|
+
* v0.4.0: Added Cloudflare. (Thanks to @damonmorgan)
|
|
30
32
|
* v0.3.0: Microsoft and Yandex are now always scheme-less. (Thanks to @atipugin)
|
|
31
33
|
* v0.2.1: Use minified version for Yandex. (Thanks to @atipugin)
|
|
32
34
|
* v0.2.0: (Incompatible Change) Google CDN is now always scheme-less. Add Yandex CDN for Russian users. (Thanks to @ai)
|
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) if OFFLINE and !options[:force]
|
|
21
|
+
return javascript_include_tag(:jquery, options) if OFFLINE and !options[:force]
|
|
22
22
|
|
|
23
23
|
[ javascript_include_tag(jquery_url(name, options)),
|
|
24
24
|
javascript_tag("window.jQuery || document.write(unescape('#{javascript_include_tag(:jquery).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: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kenn Ejima
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jquery-rails
|