coffee-rails 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/coffee/rails/js_hook.rb +15 -0
- data/lib/coffee/rails/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2a91a36ef40675b1914ed2cc9ec8cff9c5a3467
|
4
|
+
data.tar.gz: 38d4a8b642324ada4135d09563d8608b03aff559
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60961468bf8b2b34b99722b3de3b7119b5208e9ae87e1ab8469cffd4ca5a19ce2c9c89b8b34fc43424b91eaaae13bd34169a987c05ff5ec5654ca9f9c2fd7a29
|
7
|
+
data.tar.gz: a351e944681dff70ea2fa8e21581ecb94301f1b028ac63237a2aa6a42e1a7f69f46ba396fc8cf85a7446614af4de19d83fe07cab9dd0a1c0d5a06a32906ba640
|
data/CHANGELOG.md
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
module Coffee
|
2
|
+
module Rails
|
3
|
+
module JsHook
|
4
|
+
extend ActiveSupport::Concern
|
5
|
+
|
6
|
+
included do
|
7
|
+
no_tasks do
|
8
|
+
redefine_method :js_template do |source, destination|
|
9
|
+
template(source + '.coffee', destination + '.coffee')
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/coffee/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coffee-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Santiago Pastorino
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- lib/assets/javascripts/coffee-script.js.erb
|
58
58
|
- lib/coffee-rails.rb
|
59
59
|
- lib/coffee/rails/engine.rb
|
60
|
+
- lib/coffee/rails/js_hook.rb
|
60
61
|
- lib/coffee/rails/template_handler.rb
|
61
62
|
- lib/coffee/rails/version.rb
|
62
63
|
- lib/rails/generators/coffee/assets/assets_generator.rb
|