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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0d683443097edaaf0474962450b19d28dbb31a6
4
- data.tar.gz: cb282795f4d050de0243161f6c4c43d7d46e86de
3
+ metadata.gz: c2a91a36ef40675b1914ed2cc9ec8cff9c5a3467
4
+ data.tar.gz: 38d4a8b642324ada4135d09563d8608b03aff559
5
5
  SHA512:
6
- metadata.gz: f33106e9ded82ca838c9a2aa96ad522d71089fcd05465c3bf8a3c465e0bccd341c2c231a195adcd42c1db9c2b56ddf763119656348556504b9ab47bb808fc992
7
- data.tar.gz: 151fbca598aaa3c91352298209b7755913745e1b52022298b65d3fcabf3e37dd96efadcddfe7513d2634d5db392347e8d01753e3efe04960252575b63c80edd4
6
+ metadata.gz: 60961468bf8b2b34b99722b3de3b7119b5208e9ae87e1ab8469cffd4ca5a19ce2c9c89b8b34fc43424b91eaaae13bd34169a987c05ff5ec5654ca9f9c2fd7a29
7
+ data.tar.gz: a351e944681dff70ea2fa8e21581ecb94301f1b028ac63237a2aa6a42e1a7f69f46ba396fc8cf85a7446614af4de19d83fe07cab9dd0a1c0d5a06a32906ba640
@@ -1,3 +1,7 @@
1
+ ## 4.2.1 (June 30, 2016) ##
2
+
3
+ * Fix error in the gem package.
4
+
1
5
  ## 4.2.0 (June 30, 2016) ##
2
6
 
3
7
  * Override `js_tempalte` hook in the Rails generator to allow Rails to
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Coffee
2
2
  module Rails
3
- VERSION = "4.2.0"
3
+ VERSION = "4.2.1"
4
4
  end
5
5
  end
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.0
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