auto_js 0.9.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/auto_js.coffee +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92fb93c7d2fca03b028a77d3250b85d2713bffcc
|
4
|
+
data.tar.gz: 4919afeb5e28f21c1aa478a8e303f3d0210646eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 538bc4e887c79d35326424ad9b2afde8a3c148eb3c3c0ed72569af2981e2ec90ab014349ee49183d56b6724c6ef5f4bf2d153e8c2806f61937055eb5a19eef31
|
7
|
+
data.tar.gz: 2e9732f1591022d5cb0b9bd4f364a924037f9478b25fbfb805cf7c53f6392d7f90db3400bf5e56760d63219b5cd7b0f7f5be1569a94368cfbf843a462e9ff217
|
@@ -1,7 +1,7 @@
|
|
1
1
|
do ->
|
2
2
|
|
3
3
|
app_name = "auto_js_rails"
|
4
|
-
version_number = "0.
|
4
|
+
version_number = "1.0.0"
|
5
5
|
|
6
6
|
###
|
7
7
|
# auto_js configuration
|
@@ -93,8 +93,8 @@ do ->
|
|
93
93
|
if self.vars._page_initialized
|
94
94
|
return
|
95
95
|
|
96
|
-
controller = document.body.getAttribute('data-controller')
|
97
|
-
action = document.body.getAttribute('data-action')
|
96
|
+
controller = document.body.getAttribute('data-controller').replace("/","-")
|
97
|
+
action = document.body.getAttribute('data-action').replace("/","-")
|
98
98
|
|
99
99
|
self.scopes._exec controller
|
100
100
|
self.scopes._exec controller, action
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Fuller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Easily organizes a project's custom javascript and executes appropriate
|
14
14
|
snippits automatically. Turbolinks compatible. Fills the gap between rails default
|