coffee_controllers-rails 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20cff1742f76502e27deb389e261ac0d57c2bb42
4
- data.tar.gz: c423f32d9217ac2eff47bee6d4198314fa7cb835
3
+ metadata.gz: 6305c2dcc2a4cef2e4533d78c5ec229d06899413
4
+ data.tar.gz: 1f8315070f422185906bf667711ce6dc1dfc8c4b
5
5
  SHA512:
6
- metadata.gz: faab6c7797857d865c99ced441019cf079bbb610902c5946b3d06ed5cee74847af2edea547fb39263251275225bdba48cba327b65daab2393a93c278fd0077ce
7
- data.tar.gz: 1ca87eef6c348e3a26890b18f057f015f2cbef7e83382062667334f1fabb7b37c0281641cf4538c6a22b98012cce994e1c9df239648b20af1cbdccc08fc9483e
6
+ metadata.gz: e610e3cbc21dd4d010287baff755baee5adc04b5b1833ce44a7e1bef5e035657a8b5fc1bb2170191d7676db51f6ec8a6dc6df28aac6ab6c35e400558b1c60ed6
7
+ data.tar.gz: 7c0be19daa034223a78e52b94f6c712b36b4ee320d3d1d0e4201d11b991aa52661a5058c7891a3e69eab942e9d2bff26986c5169cc341ae9405d6f5deac30726
data/README.md CHANGED
@@ -110,6 +110,11 @@ class HomeController
110
110
 
111
111
  [jerodsanto.net](http://jerodsanto.net/2012/02/a-simple-pattern-to-namespace-and-selectively-execute-certain-bits-of-javascript-depending-on-which-rails-controller-and-action-are-active/)
112
112
 
113
+ ## Todo
114
+
115
+ - Lacking some JS tests
116
+ - Get rid of the `setController` step
117
+
113
118
  ## Contributing
114
119
 
115
120
  Questions or problems? Please post them on the [issue tracker](https://github.com/imaboldcompany/coffee_controllers-rails/issues).
@@ -1,6 +1,6 @@
1
1
  # Attach a function to be executed when the DOM is loaded
2
2
  ready = (fn) ->
3
- unless document.readyState is "loading"
3
+ if document.readyState is "complete"
4
4
  fn()
5
5
  else
6
6
  document.addEventListener "DOMContentLoaded", fn
@@ -1,5 +1,5 @@
1
1
  module CoffeeControllers
2
2
  module Rails
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffee_controllers-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Ferraz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails