zeroclipboard-rails 0.1.1 → 0.1.2

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: 9e4d2a4aacf2d4176ab9a6d0ac2b0b3372e2801a
4
- data.tar.gz: e846236a9805c3289b24a38dd1e308776bdd1924
3
+ metadata.gz: 1b3dfdee780dda89330b45b7194f39c69774b05f
4
+ data.tar.gz: 2aafd72533be108f6044293f53677610df04fbcb
5
5
  SHA512:
6
- metadata.gz: 68e787f091f046d302a880e73d8ab3ceef84d0441471974c9c5b597bda2229a6a23051e30440551cde98a524f3676f4e30dc61b9e3f1214a4346c91db38c9e48
7
- data.tar.gz: 00c80fc2601c7dd983f1c360349f2b4a2d7f61daa84758f8c8607a10d9bc14121d7b280fe94572b6e8ab6c44bdfb10ed518ff567179e5e38dcf6742b97e23093
6
+ metadata.gz: f53858aa7e468e9a00017023de654d5ecab2e0fadcb948d1ec6b0d960c71b13179c03007591f2abc239acd0eda20dd031e996cdc0bac9dc232841ad7878dc8a5
7
+ data.tar.gz: 06f2bfa8921b27db1a171f43f96562bb50ad9f137febade101f72598c122f54f8eaeeb4ca1e77746c797da5bc87d3cf35823821c6c1e18bc21b9af8b48ead9db
@@ -1,4 +1,8 @@
1
1
  //= depend_on_asset "ZeroClipboard.swf"
2
- ZeroClipboard.config({
3
- swfPath: '<%= image_path "ZeroClipboard.swf" %>'
4
- });
2
+ <%
3
+ config = {
4
+ cacheBust: !Rails.configuration.assets.digest,
5
+ swfPath: image_path("ZeroClipboard.swf")
6
+ }
7
+ %>
8
+ ZeroClipboard.config(<%= config.to_json %>);
@@ -1,5 +1,5 @@
1
1
  module Zeroclipboard
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeroclipboard-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Wenz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-05 00:00:00.000000000 Z
12
+ date: 2016-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 2.4.8
63
+ rubygems_version: 2.4.6
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Adds the Javascript ZeroClipboard libary to Rails