ajaxify_rails 0.8.7 → 0.8.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a84383737717ce252fe45c89ea84693b0a6d719b
|
4
|
+
data.tar.gz: 18e8fe53205f0e551092cfe68f606838978a4039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e1815b5ab4694988502d0ecdb51bab11bd89022a68c979ec4beddbcbe9d7ace079b93f272b5abbbb33fedae6283ff7a63d0ce18b17feb886c76904a26304697
|
7
|
+
data.tar.gz: 3884f121f8bb524a98de9f605b308a9dd6d255cf60e84283dcf210372db0bd07c1c435c94ed3df036cdf04e0db54ed95be3cf73742139204d07352bfe30dc99e
|
@@ -317,7 +317,8 @@ scroll_page_to_top = ->
|
|
317
317
|
|
318
318
|
reload_page_if_assets_stale = (url, jqXHR) ->
|
319
319
|
digest_header = jqXHR.getResponseHeader('Ajaxify-Assets-Digest')
|
320
|
-
|
320
|
+
meta_asset_digest = $("meta[name='ajaxify:assets-digest']").attr('content')
|
321
|
+
if digest_header and meta_asset_digest != '' and digest_header != meta_asset_digest
|
321
322
|
document.location.href = url
|
322
323
|
|
323
324
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ajaxify_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nico Ritsche
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|