turbolinks 1.3.0 → 1.3.1

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: 1263ec55bfcb3699eb35184773029a0f1366b9af
4
- data.tar.gz: 25bd7c81bfc177362c28bef759e0da5c98ddb354
3
+ metadata.gz: fa1a853f7bfa398507ab56f01f6f60e701e5d610
4
+ data.tar.gz: 1b905b7d3b6d6d536766371fecada3d7c8e033e3
5
5
  SHA512:
6
- metadata.gz: 401359f94e306dbb1314e2dc1335b892124ce215b7e80289cfda10ba84c4ec09e064a6c1c0bc0f176bf9368db5bc3f36ede90549d7bd2a9d6d4094bfd0977bee
7
- data.tar.gz: fab798e6aeeea6c25bb0a522c632ae1813c1e10459c7a626a2db568590104e10ba017eb58add3261c7b1255dbd9326ebd8ee74f48765c87ced3e39761333f639
6
+ metadata.gz: 4e41529e84e22f5c3ca8bcf57587888efb44b670bd28e1c1cb1712e8c46fe4dc4576b0caf7287ebcea260970885d02dbb76fc3c2930785d6dcd845f21ad08f2b
7
+ data.tar.gz: 734e50ff840b75516f8645985e20c47419a74a3ec378a3d08396935eac562b3afebba6d7680d14a3ecf3195ad474b433e26ae7d40caf82c4507c7d77ed705e92
@@ -137,7 +137,8 @@ processResponse = ->
137
137
  xhr.getResponseHeader('Content-Type').match /^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/
138
138
 
139
139
  extractTrackAssets = (doc) ->
140
- (node.src || node.href) for node in doc.head.childNodes when node.getAttribute?('data-turbolinks-track')?
140
+ for node in doc.head.childNodes when node.getAttribute?('data-turbolinks-track')?
141
+ node.getAttribute('src') or node.getAttribute('href')
141
142
 
142
143
  assetsChanged = (doc) ->
143
144
  loadedAssets ||= extractTrackAssets document
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbolinks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-11 00:00:00.000000000 Z
11
+ date: 2013-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails
@@ -42,7 +42,8 @@ files:
42
42
  - test/other.html
43
43
  - test/reload.html
44
44
  homepage:
45
- licenses: []
45
+ licenses:
46
+ - MIT
46
47
  metadata: {}
47
48
  post_install_message:
48
49
  rdoc_options: []
@@ -60,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
61
  version: '0'
61
62
  requirements: []
62
63
  rubyforge_project:
63
- rubygems_version: 2.0.3
64
+ rubygems_version: 2.0.5
64
65
  signing_key:
65
66
  specification_version: 4
66
67
  summary: Turbolinks makes following links in your web application faster (use with