middleman-react 0.11.1 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/middleman-react/version.rb +1 -1
- data/middleman-react.gemspec +1 -1
- data/spec/features/coffeescript.feature +2 -2
- data/spec/features/jsx.feature +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1918b93e67c412ddc111878452d2bcdd41ee2cd
|
4
|
+
data.tar.gz: bb32769e69a0077702b098db7e290456b178cac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 537d9c1b2a4f601be8e0b50efe7d76b6b91a50f42fe0b6e710712479a0e59f20e87986686b7380ade54274986e1e6aaca3548d7791ad3e14d64dbbad0c07cabc
|
7
|
+
data.tar.gz: 1ce4620240a4f437327ac9fdff295298794c2cc2655c5a8094cbd9f2113323590b7a84ece07847f1b97370be011175c4038734444c4d7e434fda40bdbc6696e4
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
middleman-react (0.
|
4
|
+
middleman-react (0.12.1)
|
5
5
|
execjs
|
6
6
|
middleman-core (>= 3.0)
|
7
|
-
react-source (~> 0.
|
7
|
+
react-source (~> 0.12.1)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -103,7 +103,7 @@ GEM
|
|
103
103
|
ffi (>= 0.5.0)
|
104
104
|
rdoc (3.12.2)
|
105
105
|
json (~> 1.4)
|
106
|
-
react-source (0.
|
106
|
+
react-source (0.12.1)
|
107
107
|
rspec (2.14.1)
|
108
108
|
rspec-core (~> 2.14.0)
|
109
109
|
rspec-expectations (~> 2.14.0)
|
data/middleman-react.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
|
19
19
|
gem.add_dependency "middleman-core", [">= 3.0"]
|
20
20
|
gem.add_dependency "execjs"
|
21
|
-
gem.add_dependency "react-source", "~> 0.
|
21
|
+
gem.add_dependency "react-source", "~> 0.12.1"
|
22
22
|
|
23
23
|
gem.add_development_dependency "aruba"
|
24
24
|
gem.add_development_dependency "cane"
|
@@ -16,8 +16,8 @@ Feature: Transforming JSX into Javascript when it is written in Coffeescript
|
|
16
16
|
(function() {
|
17
17
|
this.app.components.test = React.createClass({displayName: 'test',
|
18
18
|
render: function() {
|
19
|
-
return React.
|
20
|
-
TestComponent
|
19
|
+
return React.createElement("div", null,
|
20
|
+
React.createElement(TestComponent, {data: this.props.someData})
|
21
21
|
);
|
22
22
|
}
|
23
23
|
});
|
data/spec/features/jsx.feature
CHANGED
@@ -11,7 +11,7 @@ Feature: Transforming JSX into Javascript
|
|
11
11
|
Then the stdout from "cat assets/javascripts/plain_jsx.js" should contain exactly:
|
12
12
|
"""
|
13
13
|
/** @jsx React.DOM */
|
14
|
-
React.
|
14
|
+
React.createElement("div", null);
|
15
15
|
|
16
16
|
"""
|
17
17
|
And the exit status should be 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-react
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Morris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.12.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.12.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: aruba
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|