coffee-react 0.2.2 → 0.3.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.
data/lib/coffee_react.rb CHANGED
@@ -7,12 +7,8 @@ module CoffeeReact
7
7
  CompilationError = ExecJS::ProgramError
8
8
 
9
9
  module Source
10
- def self.gem_dir
11
- Gem::Specification.find_by_name('coffee-react').gem_dir
12
- end
13
-
14
10
  def self.path
15
- @path ||= "#{gem_dir}/coffee-react-transform.js"
11
+ @path ||= File.expand_path('../coffee-react-transform.js', File.dirname(__FILE__))
16
12
  end
17
13
 
18
14
  def self.path=(path)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffee-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.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-06-05 00:00:00.000000000 Z
11
+ date: 2014-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs
@@ -38,9 +38,24 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: " ruby-coffee-react is a bridge to the npm coffee-react-transform
42
56
  module, which \n transforms CJSX (Coffeescript with React JSX-style markup) into
43
- valid Coffeescript.\n"
57
+ valid Coffeescript.\n If you want to use CJSX with Rails/Sprockets, see the sprockets-coffee-react
58
+ gem.\n"
44
59
  email: james@jsdf.co
45
60
  executables: []
46
61
  extensions: []
@@ -74,5 +89,5 @@ rubyforge_project:
74
89
  rubygems_version: 2.2.2
75
90
  signing_key:
76
91
  specification_version: 4
77
- summary: Ruby Coffeescript React CJSX Transformer Compiler
92
+ summary: coffee-react-transform for ruby
78
93
  test_files: []