sprockets-coffee-react 2.1.0 → 2.4.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: 1cc6d5c14586eb02a11bbb8c93ac2b9bc58491de
4
- data.tar.gz: 0edcd832269fba99a0de1b8c631f733ab56e3c9c
3
+ metadata.gz: 77d455dfd32c436f95d67b4a54c7a0f66a02939c
4
+ data.tar.gz: a0da097ee32a8f316fad67830229cc678ce68d9b
5
5
  SHA512:
6
- metadata.gz: da262a94d1393db898f416c894805940dc5b596bb1ed38496141c6b848c6fdfcb60c35afaeb1ffc351dab7b7ca1f532feff109efe99908bdaf870c4f35f7a8d7
7
- data.tar.gz: 34af12168ae7d2009aa655c2faf2a6a8638c424ba1b78fd913277ed72ddff602e1f97d94456de08286faf2899efd2407756b4612708c413fefad2158e46a3427
6
+ metadata.gz: c3090b034e51ecc13a888fae30874f3b126fd9971c680a2fd3077c739daa2097dbc093eca77d0729773294d03db65702ed3eae3fe8366c90f5432d235d4d9fdc
7
+ data.tar.gz: d8a53135ef0751c864df6cb17f997460c2399c249f9c7f326463a9be57c4626f5fc0f71466000e242c0acef8594b707bc15243856c25c467d4561d14b5149011
@@ -5,7 +5,7 @@ require 'coffee-react'
5
5
  module Sprockets
6
6
  # Preprocessor that runs CJSX source files through coffee-react-transform
7
7
  class CoffeeReact < Tilt::Template
8
- CJSX_EXTENSION = /\.cjsx[^\/]*?$/
8
+ CJSX_EXTENSION = /\.(:?cjsx|coffee)[^\/]*?$/
9
9
  CJSX_PRAGMA = /^\s*#[ \t]*@cjsx/i
10
10
 
11
11
  def prepare
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-coffee-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Friend
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-01 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-react
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
19
+ version: 2.4.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.1.0
26
+ version: 2.4.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coffee-script
29
29
  requirement: !ruby/object:Gem::Requirement