turbograft 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32b31520529d838a4c5045f602072c593e2934d7
4
- data.tar.gz: 2e4a8c36bfe9f8a1160611f3fc43e869b9c42d4f
3
+ metadata.gz: 339420a1b56e444a79742242d2869ae2bba8247f
4
+ data.tar.gz: 6e0deb25a236353a81614717832c8ebc879faba5
5
5
  SHA512:
6
- metadata.gz: 7a3d5f7aa1f4ae0f8d09eb21db59baf3389af2b19859df422a53049ebae852a8af73d211ae940bc227ee457153a7a9ead49be1182ab08b78002fd82948adcb23
7
- data.tar.gz: 694571fbbecaf72f7d8e1d0b2ac13d8531916e9bb5d41036e8363735d8e3636c8ba0bb949bc813fdeabbd57aea87fec55751a0f71d28cd3527db99c22607ff8e
6
+ metadata.gz: 343f99d91124eb41e6b50f9cb46a5ed20bf08e11f29cd10c0ad7bcc86fe1e24db027a5c7e4fdc6ace66a7d3ec951995d667174fafa6a80a5bea4e28a85e58272
7
+ data.tar.gz: 0c17a4a20d47a58148d87eed573e130950f39473886e19dcfa0d965921c0dff9d032c764066749b58702ddf2d5fa443506253a708d9c3c4bfd9617f57d166789
@@ -163,6 +163,7 @@ class window.Turbolinks
163
163
  throw new Error "Turbolinks refresh: Refresh key elements must have an id."
164
164
 
165
165
  if newNode = body.querySelector("##{ nodeId }")
166
+ newNode = newNode.cloneNode(true)
166
167
  existingNode.parentNode.replaceChild(newNode, existingNode)
167
168
 
168
169
  if newNode.nodeName == 'SCRIPT' && newNode.getAttribute("data-turbolinks-eval") != "false"
@@ -1,3 +1,3 @@
1
1
  module TurboGraft
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbograft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristian Plettenberg-Dussault
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-01-14 00:00:00.000000000 Z
16
+ date: 2015-01-15 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: coffee-rails