jquery-ui-rails-cdn 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b76f8063458b4351d8bb2de8c9657a6076b97af5
4
- data.tar.gz: e7e4c69217e9086f942d505f769386f98302942f
3
+ metadata.gz: 6e2ba4c99ce15e6292e35ceea3763fe4f94ebd50
4
+ data.tar.gz: 5f22ff4fe405e0b7b48f77caf5491d478313fa7e
5
5
  SHA512:
6
- metadata.gz: e710b8214fd15252ef055ae7206c0d08393e9d8bc2b80b47f8f2e52b3a11f893d92e753b1332311cfe14c7ebd09ac3c4820f1666411ec16b0830a7a3fc1f29c0
7
- data.tar.gz: 57a48a027f019a53680b9636b0bcaf21f69e9bd0d06c0a28b1476d5955d9d3d49edc6a2e63f0146a1273a2a27aeee11e026f836fb47192f4ba5083beced7ea6a
6
+ metadata.gz: 9a92732d5f8b6f3017868c5b8338b2d2724eee23d95a958275a533f8afc91e94d9a98328dcc34f05adab09f0bb9a37c550bccedcc78ebdf092eca345c574ca3b
7
+ data.tar.gz: 9b67925e2431ed2179713dff94321cf1fdddf065926fe5eb1267da78dd6708fe45b3f789af10805773c3f0ca6e6aba42b4e43d139436d34144a2a10ef8f3f9dd
data/README.md CHANGED
@@ -29,6 +29,7 @@ On top of that, if you're using asset pipeline, you may have noticed that the ma
29
29
 
30
30
  Changelog:
31
31
 
32
+ * v0.1.4: Stop exposing ```force: true``` to the tag
32
33
  * v0.1.3: Various bugfixes
33
34
  * v0.1.2: Compatibility fix + various gem spec changes
34
35
  * v0.1.1: Readme fix
@@ -19,10 +19,10 @@ module Jquery::Ui::Rails::Cdn
19
19
  end
20
20
 
21
21
  def jquery_ui_include_tag(name, options = {})
22
- return javascript_include_tag(:'jquery.ui.all') if OFFLINE and !options[:force]
22
+ return javascript_include_tag('jquery.ui.all') if !options.delete(:force) and OFFLINE
23
23
 
24
24
  [ javascript_include_tag(jquery_ui_url(name, options)),
25
- javascript_tag("window.jQuery.ui || document.write(unescape('#{javascript_include_tag(:'jquery.ui.all').gsub('<','%3C').gsub("\n",'%0A')}'))")
25
+ javascript_tag("window.jQuery.ui || document.write(unescape('#{javascript_include_tag('jquery.ui.all').gsub('<','%3C').gsub("\n",'%0A')}'))")
26
26
  ].join("\n").html_safe
27
27
  end
28
28
  end
@@ -2,7 +2,7 @@ module Jquery
2
2
  module Ui
3
3
  module Rails
4
4
  module Cdn
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-ui-rails-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikhail Pobolovets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-05 00:00:00.000000000 Z
11
+ date: 2014-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-ui-rails