gistyle 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/gistyle/version.rb +1 -1
- data/vendor/assets/javascripts/gistyle.js +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9982cf03a09806cca6ee70d6d152430530cfee3a
|
4
|
+
data.tar.gz: 2c303f7611fb6685f7da2f1578a0850142ab13d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c07307f395e930578b8429779a6ddc98942bb9de55353da57646c86afa18f73e4caa6d97a43cc6e1ab37d21d0799b45087cf5fc349561c2066b41ee1dcffc92d
|
7
|
+
data.tar.gz: b38eb3c364628742956ba79616fcb2c4c62088584199ae9d0e9bcce80b3c8a76f6ab01287ae15f9685c1e9720fa47f1d3997a3c3e6df077cb45484484ddb4960
|
data/README.md
CHANGED
@@ -98,4 +98,8 @@ A few general aliases are included by default:
|
|
98
98
|
|
99
99
|
Aliases can be cleared by calling either:
|
100
100
|
* `GIStyle.clear_aliases_for_controller(controller)` or
|
101
|
-
* `GIStyle.clear_all_aliases()`.
|
101
|
+
* `GIStyle.clear_all_aliases()`.
|
102
|
+
|
103
|
+
## Turbolinks Compatibility
|
104
|
+
|
105
|
+
It dosen't support turbolinks with version 1.x, please upgrade to 2.x if you want to make it work.
|
data/lib/gistyle/version.rb
CHANGED
@@ -64,4 +64,5 @@ GIStyle.alias(undefined, 'edit', '_edit_update');
|
|
64
64
|
GIStyle.alias(undefined, 'update', '_edit_update');
|
65
65
|
GIStyle.alias(undefined, '_edit_update', '_form');
|
66
66
|
|
67
|
-
|
67
|
+
var turbolinkSupported = typeof(Turbolinks) !== "undefined" && Turbolinks !== null && Turbolinks.supported;
|
68
|
+
$(document).on(turbolinkSupported ? 'page:change' : 'ready', GIStyle.init);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gistyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Jian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07
|
11
|
+
date: 2014-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: GIStyle is a Rails plug-in for DOM-based routing of Javascript, inspired
|
14
14
|
from Paul Irish and Jason Garber.
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 2.
|
88
|
+
rubygems_version: 2.4.2
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: GIStyle is a Rails plug-in for DOM-based routing of Javascript.
|