coffee-rails 4.2.1 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/coffee/rails/template_handler.rb +4 -0
- data/lib/coffee/rails/version.rb +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3baf3a35ae9b39785fc2cd22057541973db1dbcd
|
4
|
+
data.tar.gz: a36de744d3e1aabab21e30ca789d20f8521c7d90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2dbffe9a2275488155f6cfe95cd39768a4eab5162b0ad9f200de9dc7470056bcecbb2d6701aa7a82388c2a65a3f028bdb9aee3226267e7028e32a6cde229a20
|
7
|
+
data.tar.gz: 88fed759a018c12fed99938cecb869dfc7a9fc2dca6e4ab84601f80f3d910091433cc99f0359aaa62f04479042aafd0353c66e45531b4e9355cbf51d34c6f502
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
+
## 4.2.2 (May 24, 2017) ##
|
2
|
+
|
3
|
+
* Support digest resolution for coffee templates.
|
4
|
+
|
1
5
|
## 4.2.1 (June 30, 2016) ##
|
2
6
|
|
3
7
|
* Fix error in the gem package.
|
4
8
|
|
5
9
|
## 4.2.0 (June 30, 2016) ##
|
6
10
|
|
7
|
-
* Override `
|
11
|
+
* Override `js_template` hook in the Rails generator to allow Rails to
|
8
12
|
be CoffeeScript agnostic.
|
9
13
|
|
10
14
|
## 4.1.1 (December 18, 2015) ##
|
@@ -15,4 +15,8 @@ end
|
|
15
15
|
|
16
16
|
ActiveSupport.on_load(:action_view) do
|
17
17
|
ActionView::Template.register_template_handler :coffee, Coffee::Rails::TemplateHandler
|
18
|
+
# Loads DependencyTracker
|
19
|
+
require 'action_view/dependency_tracker'
|
20
|
+
# Register ERB DependencyTracker for .coffee files to enable digesting.
|
21
|
+
ActionView::DependencyTracker.register_tracker :coffee, ActionView::DependencyTracker::ERBTracker
|
18
22
|
end
|
data/lib/coffee/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Santiago Pastorino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-script
|
@@ -31,9 +31,6 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 4.0.0
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 5.2.x
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -41,9 +38,6 @@ dependencies:
|
|
41
38
|
- - ">="
|
42
39
|
- !ruby/object:Gem::Version
|
43
40
|
version: 4.0.0
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 5.2.x
|
47
41
|
description: CoffeeScript adapter for the Rails asset pipeline.
|
48
42
|
email:
|
49
43
|
- santiago@wyeworks.com
|
@@ -82,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
76
|
version: '0'
|
83
77
|
requirements: []
|
84
78
|
rubyforge_project: coffee-rails
|
85
|
-
rubygems_version: 2.6.
|
79
|
+
rubygems_version: 2.6.11
|
86
80
|
signing_key:
|
87
81
|
specification_version: 4
|
88
82
|
summary: CoffeeScript adapter for the Rails asset pipeline.
|