react-rails 0.11.1.0 → 0.12.0.0

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: 88e5a32b9b96e7ecb7712ef3601b9794c0f08b07
4
- data.tar.gz: 9934d3723a2791c797d0ce6ebde15aadbaede383
3
+ metadata.gz: f69624b4d6916d39ecc65d34359c3fc79627ad11
4
+ data.tar.gz: 69458a21552bb2d26ee85e06a5dcf6135fa18359
5
5
  SHA512:
6
- metadata.gz: 35a65a8b632c87883a71de0e8acc21e8d7707d023b9c35619aa4dfdb41d39a6e90768775f3f4ea7841510d409992ae64a286230d8cd693a261aaa04eb3e75377
7
- data.tar.gz: 3ea96ae8861a3dd3b1fd0125871d02640b8d61a05b3701e340fb25d9beb791eefb4246dcc6c1c0e5f9aee5e5d360c7f670ec6ea9990c987952eb0a7e2c215c63
6
+ metadata.gz: 40ca9dac691814175e87b321863088183dd24adec3dcf68b669c5f0235a8f013b9e141766103b546b044b5414fcbd6e25e28ff33a623fda2e7cfcaecb416c514
7
+ data.tar.gz: 6f22dbbc17234482426fc496b9657343ce5a554f920f2ade47584a4d46c0af2e56d9ad8bba3d425fc8f6f54e3279a44136207a5490372cfdf3edc018614056ba
data/README.md CHANGED
@@ -17,7 +17,7 @@ As with all gem dependencies, we strongly recommend adding `react-rails` to your
17
17
  ```ruby
18
18
  # Gemfile
19
19
 
20
- gem 'react-rails', '~> 0.10.0.0'
20
+ gem 'react-rails', '~> 0.12.0.0'
21
21
  ```
22
22
 
23
23
 
@@ -46,7 +46,7 @@ Alternatively, you can include it directly as a separate script tag:
46
46
 
47
47
  ### JSX
48
48
 
49
- To transform your JSX into JS, simply create `.js.jsx` files, and ensure that the file has the `/** @jsx React.DOM */` docblock. These files will be transformed on request, or precompiled as part of the `assets:precompile` task.
49
+ To transform your JSX into JS, simply create `.js.jsx` files. These files will be transformed on request, or precompiled as part of the `assets:precompile` task.
50
50
 
51
51
 
52
52
  ## Configuring
@@ -80,11 +80,9 @@ end
80
80
 
81
81
  ## CoffeeScript
82
82
 
83
- It is possible to use JSX with CoffeeScript. The caveat is that you will still need to include the docblock. Since CoffeeScript doesn't allow `/* */` style comments, we need to do something a little different. We also need to embed JSX inside backticks so CoffeeScript ignores the syntax it doesn't understand. Here's an example:
83
+ It is possible to use JSX with CoffeeScript. We need to embed JSX inside backticks so CoffeeScript ignores the syntax it doesn't understand. Here's an example:
84
84
 
85
85
  ```coffee
86
- ###* @jsx React.DOM ###
87
-
88
86
  Component = React.createClass
89
87
  render: ->
90
88
  `<ExampleComponent videos={this.props.videos} />`
@@ -2,7 +2,7 @@ module React
2
2
  module Rails
3
3
  # Version numbers will track react-source, but we'll add another level so
4
4
  # that we can increment, but have some amount of stability.
5
- VERSION = '0.11.1.0'
5
+ VERSION = '0.12.0.0'
6
6
  end
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1.0
4
+ version: 0.12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul O’Shannessy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.11.1
89
+ version: '0.12'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.11.1
96
+ version: '0.12'
97
97
  description: Compile your JSX on demand or precompile for production.
98
98
  email:
99
99
  - paul@oshannessy.com