reins 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/reins/version.rb +1 -1
- data/vendor/assets/javascripts/reins.js +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 137f4565dcf589231dfb8739385d468e729daa12025bed971669bd970f444af7
|
4
|
+
data.tar.gz: 5625e356655c0d77f38a6b2f955540020a21b72c480218c06979f641b789c302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d63c9481a40df5ab560f10936109e58401c77298502c0daba171687f6ac32f4f4859db4bbc3831583f909cd5a2d7534ce95767a5b69d434baf7c2ec0cadd28b
|
7
|
+
data.tar.gz: 543f427e6a4a765ab4574aaea210ed1f018751bc04bfe28627a12f5b97da25eab0c2d87c9e4da885060e4469493d6d08241622b1eb5a9ffb09c14fbf5ac67e24
|
data/lib/reins/version.rb
CHANGED
@@ -47,4 +47,7 @@ var r = {
|
|
47
47
|
* When page is ready, run javascript controller#action that corresponds to
|
48
48
|
* current rails controller#action.
|
49
49
|
*/
|
50
|
-
|
50
|
+
if (Turbolinks !== null && Turbolinks.supported)
|
51
|
+
$(document).on('turbolinks:load', r.call_js_controller);
|
52
|
+
else
|
53
|
+
$(document).on('ready', r.call_js_controller);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Goncalves
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.7.3
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Reins! Rein in your javascript
|