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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f813a64484fe87456ad611e327054400b6f0a91c
4
- data.tar.gz: d716328b6a12fa24f1ceb657d8297bc17bfbdc11
3
+ metadata.gz: 92fb93c7d2fca03b028a77d3250b85d2713bffcc
4
+ data.tar.gz: 4919afeb5e28f21c1aa478a8e303f3d0210646eb
5
5
  SHA512:
6
- metadata.gz: 40ec686ad91b7d43faa62f2c2ac7f3d21ab15c7fbce9a2c751aa00361bcdac1338a7b455e3f2e52b770fc781de4cf7ca6d51af74083680e9eff1bf5114e44478
7
- data.tar.gz: 562c1b541bcec423768497eabeebc9e29f1923c2ebf98261b141533b4de8cbd5aa680a519202e005422ff871eb68b2a07b2bfb3bc141fb22063ddae5094c70c3
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.9.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.9.1
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-03-20 00:00:00.000000000 Z
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