middleman-react 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.cane +4 -0
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/Appraisals +16 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +131 -0
- data/LICENSE +20 -0
- data/README.md +10 -0
- data/Rakefile +36 -0
- data/fixtures/app/config.rb +1 -0
- data/lib/middleman-react.rb +6 -0
- data/lib/middleman-react/extension.rb +15 -0
- data/lib/middleman-react/jsx.rb +22 -0
- data/lib/middleman-react/jsx/template.rb +15 -0
- data/lib/middleman-react/version.rb +6 -0
- data/middleman-react.gemspec +33 -0
- data/script/bootstrap +5 -0
- data/script/spec +7 -0
- data/spec/features/support/env.rb +9 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/use_coveralls.rb +2 -0
- data/spec/use_simplecov.rb +15 -0
- data/travis.yml +16 -0
- metadata +250 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 35510ec9e91bb2fd6a8a200f6817d22e8f695095
|
4
|
+
data.tar.gz: 700329f8bd7d2dcba06feda459014cd06f47cc20
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3035b2b0bf86be8bba70568b477bc1a37496f146f516fce62a7e2154edb9a20ae7cc56a29b95263173567bff1cf9edebebf156b15bb3f62286d7a8f435d3317d
|
7
|
+
data.tar.gz: 8c46110512f2967bb9fb5e7967d34d0abf8452c198b5852b400c5cf7a4f8a681173a4daff895241f6f87c3e4a7c753a8c1b88bcc515173163e7a0557ad006760
|
data/.cane
ADDED
data/.gitignore
ADDED
data/.rspec
ADDED
data/Appraisals
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
appraise "middleman-3.0" do
|
2
|
+
gem 'middleman', '~> 3.0'
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise "middleman-3.1" do
|
6
|
+
gem 'middleman', '~> 3.1'
|
7
|
+
end
|
8
|
+
|
9
|
+
appraise "middleman-3.2" do
|
10
|
+
gem 'middleman', '~> 3.2'
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise "middleman-3.2-therubyracer" do
|
14
|
+
gem 'middleman', '~> 3.2'
|
15
|
+
gem 'therubyracer', '0.12.0', :platform => :mri
|
16
|
+
end
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
middleman-react (0.0.2)
|
5
|
+
execjs
|
6
|
+
middleman-core (>= 3.0)
|
7
|
+
react-source (= 0.8.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activesupport (3.2.16)
|
13
|
+
i18n (~> 0.6, >= 0.6.4)
|
14
|
+
multi_json (~> 1.0)
|
15
|
+
appraisal (0.5.2)
|
16
|
+
bundler
|
17
|
+
rake
|
18
|
+
aruba (0.5.4)
|
19
|
+
childprocess (>= 0.3.6)
|
20
|
+
cucumber (>= 1.1.1)
|
21
|
+
rspec-expectations (>= 2.7.0)
|
22
|
+
ast (1.1.0)
|
23
|
+
builder (3.2.2)
|
24
|
+
cane (2.6.1)
|
25
|
+
parallel
|
26
|
+
childprocess (0.4.0)
|
27
|
+
ffi (~> 1.0, >= 1.0.11)
|
28
|
+
coderay (1.1.0)
|
29
|
+
coveralls (0.7.0)
|
30
|
+
multi_json (~> 1.3)
|
31
|
+
rest-client
|
32
|
+
simplecov (>= 0.7)
|
33
|
+
term-ansicolor
|
34
|
+
thor
|
35
|
+
cucumber (1.3.10)
|
36
|
+
builder (>= 2.1.2)
|
37
|
+
diff-lcs (>= 1.1.3)
|
38
|
+
gherkin (~> 2.12)
|
39
|
+
multi_json (>= 1.7.5, < 2.0)
|
40
|
+
multi_test (>= 0.0.2)
|
41
|
+
diff-lcs (1.2.5)
|
42
|
+
docile (1.1.3)
|
43
|
+
execjs (2.0.2)
|
44
|
+
ffi (1.9.3)
|
45
|
+
gherkin (2.12.2)
|
46
|
+
multi_json (~> 1.3)
|
47
|
+
i18n (0.6.9)
|
48
|
+
json (1.8.1)
|
49
|
+
listen (1.3.1)
|
50
|
+
rb-fsevent (>= 0.9.3)
|
51
|
+
rb-inotify (>= 0.9)
|
52
|
+
rb-kqueue (>= 0.2)
|
53
|
+
method_source (0.8.2)
|
54
|
+
middleman-core (3.2.2)
|
55
|
+
activesupport (~> 3.2.6)
|
56
|
+
bundler (~> 1.1)
|
57
|
+
i18n (~> 0.6.9)
|
58
|
+
listen (~> 1.1)
|
59
|
+
rack (>= 1.4.5)
|
60
|
+
rack-test (~> 0.6.1)
|
61
|
+
thor (>= 0.15.2, < 2.0)
|
62
|
+
tilt (~> 1.4.1)
|
63
|
+
mime-types (2.1)
|
64
|
+
multi_json (1.8.4)
|
65
|
+
multi_test (0.0.3)
|
66
|
+
parallel (0.9.2)
|
67
|
+
parser (2.1.4)
|
68
|
+
ast (~> 1.1)
|
69
|
+
slop (~> 3.4, >= 3.4.5)
|
70
|
+
powerpack (0.0.9)
|
71
|
+
pry (0.9.12.4)
|
72
|
+
coderay (~> 1.0)
|
73
|
+
method_source (~> 0.8)
|
74
|
+
slop (~> 3.4)
|
75
|
+
rack (1.5.2)
|
76
|
+
rack-test (0.6.2)
|
77
|
+
rack (>= 1.0)
|
78
|
+
rainbow (1.99.1)
|
79
|
+
rake (0.9.6)
|
80
|
+
rb-fsevent (0.9.4)
|
81
|
+
rb-inotify (0.9.3)
|
82
|
+
ffi (>= 0.5.0)
|
83
|
+
rb-kqueue (0.2.0)
|
84
|
+
ffi (>= 0.5.0)
|
85
|
+
rdoc (3.12.2)
|
86
|
+
json (~> 1.4)
|
87
|
+
react-source (0.8.0)
|
88
|
+
rest-client (1.6.7)
|
89
|
+
mime-types (>= 1.16)
|
90
|
+
rspec (2.14.1)
|
91
|
+
rspec-core (~> 2.14.0)
|
92
|
+
rspec-expectations (~> 2.14.0)
|
93
|
+
rspec-mocks (~> 2.14.0)
|
94
|
+
rspec-core (2.14.7)
|
95
|
+
rspec-expectations (2.14.5)
|
96
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
97
|
+
rspec-mocks (2.14.5)
|
98
|
+
rubocop (0.16.0)
|
99
|
+
parser (~> 2.1)
|
100
|
+
powerpack (~> 0.0.6)
|
101
|
+
rainbow (>= 1.1.4)
|
102
|
+
simplecov (0.8.2)
|
103
|
+
docile (~> 1.1.0)
|
104
|
+
multi_json
|
105
|
+
simplecov-html (~> 0.8.0)
|
106
|
+
simplecov-html (0.8.0)
|
107
|
+
slop (3.4.7)
|
108
|
+
term-ansicolor (1.2.2)
|
109
|
+
tins (~> 0.8)
|
110
|
+
thor (0.18.1)
|
111
|
+
tilt (1.4.1)
|
112
|
+
tins (0.13.2)
|
113
|
+
yard (0.8.7.3)
|
114
|
+
|
115
|
+
PLATFORMS
|
116
|
+
ruby
|
117
|
+
|
118
|
+
DEPENDENCIES
|
119
|
+
appraisal
|
120
|
+
aruba
|
121
|
+
cane
|
122
|
+
coveralls
|
123
|
+
cucumber
|
124
|
+
middleman-react!
|
125
|
+
pry
|
126
|
+
rake (~> 0.9.2)
|
127
|
+
rdoc (~> 3.9)
|
128
|
+
rspec
|
129
|
+
rubocop
|
130
|
+
simplecov
|
131
|
+
yard (~> 0.8.0)
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Justin Morris
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'bundler'
|
6
|
+
|
7
|
+
Bundler::GemHelper.install_tasks
|
8
|
+
|
9
|
+
require 'appraisal'
|
10
|
+
require 'rake/clean'
|
11
|
+
require 'rspec/core/rake_task'
|
12
|
+
|
13
|
+
namespace :spec do
|
14
|
+
begin
|
15
|
+
require 'cane/rake_task'
|
16
|
+
desc "Run cane to check quality metrics"
|
17
|
+
Cane::RakeTask.new(:quality) do |cane|
|
18
|
+
cane.abc_max = 10
|
19
|
+
cane.add_threshold 'coverage/covered_percent', :>=, 74
|
20
|
+
cane.no_style = true
|
21
|
+
end
|
22
|
+
|
23
|
+
task :default => :quality
|
24
|
+
rescue LoadError
|
25
|
+
warn "cane not available, quality task not provided."
|
26
|
+
end
|
27
|
+
|
28
|
+
desc 'Run unit specs'
|
29
|
+
RSpec::Core::RakeTask.new(:unit) do |spec|
|
30
|
+
spec.pattern = "spec/unit/*_spec.rb"
|
31
|
+
spec.rspec_opts = "--require spec_helper"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
desc 'Default: run unit tests.'
|
36
|
+
task :default => ['spec:unit']
|
@@ -0,0 +1 @@
|
|
1
|
+
activate :react
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'middleman-core'
|
2
|
+
require 'middleman-react/jsx'
|
3
|
+
require 'middleman-react/jsx/template'
|
4
|
+
|
5
|
+
# Middleman extension entry point
|
6
|
+
module Middleman
|
7
|
+
module React
|
8
|
+
class Extension < Middleman::Extension
|
9
|
+
def initialize(app, options_hash = {}, &block)
|
10
|
+
::Tilt.register 'jsx', Middleman::React::Template
|
11
|
+
::Sprockets.register_engine 'jsx', Middleman::React::Template
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'execjs'
|
2
|
+
require 'react/source'
|
3
|
+
|
4
|
+
module Middleman
|
5
|
+
module React
|
6
|
+
module JSX
|
7
|
+
def self.context
|
8
|
+
contents =
|
9
|
+
# If execjs uses therubyracer, there is no 'global'. Make sure
|
10
|
+
# we have it so JSX script can work properly.
|
11
|
+
'var global = global || this;' +
|
12
|
+
File.read(::React::Source.bundled_path_for('JSXTransformer.js'))
|
13
|
+
@context ||= ExecJS.compile(contents)
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.transform(code)
|
17
|
+
result = context.call('JSXTransformer.transform', code)
|
18
|
+
return result['code']
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'tilt'
|
2
|
+
|
3
|
+
module Middleman
|
4
|
+
module React
|
5
|
+
class Template < Tilt::Template
|
6
|
+
self.default_mime_type = 'application/javascript'
|
7
|
+
|
8
|
+
def prepare; end
|
9
|
+
|
10
|
+
def evaluate(scope, locals, &block)
|
11
|
+
@output ||= JSX::transform(data)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require File.expand_path('../lib/middleman-react/version', __FILE__)
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = Middleman::React::PACKAGE
|
7
|
+
gem.version = Middleman::React::VERSION
|
8
|
+
gem.platform = Gem::Platform::RUBY
|
9
|
+
gem.authors = ["Justin Morris"]
|
10
|
+
gem.email = ["desk@pixelbloom.com"]
|
11
|
+
gem.homepage = "https://github.com/plasticine/middleman-react"
|
12
|
+
gem.summary = %q{Ruby gem for automatically transforming JSX and using React in Middleman.}
|
13
|
+
gem.description = %q{Ruby gem for automatically transforming JSX and using React in Middleman.}
|
14
|
+
gem.license = 'MIT'
|
15
|
+
gem.files = `git ls-files`.split("\n")
|
16
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
gem.require_paths = ["lib"]
|
18
|
+
|
19
|
+
gem.add_dependency "middleman-core", [">= 3.0"]
|
20
|
+
gem.add_dependency "execjs"
|
21
|
+
gem.add_dependency "react-source", "0.8.0"
|
22
|
+
|
23
|
+
gem.add_development_dependency "appraisal"
|
24
|
+
gem.add_development_dependency "aruba"
|
25
|
+
gem.add_development_dependency "cane"
|
26
|
+
gem.add_development_dependency "coveralls"
|
27
|
+
gem.add_development_dependency "cucumber"
|
28
|
+
gem.add_development_dependency "rake"
|
29
|
+
gem.add_development_dependency "rspec"
|
30
|
+
gem.add_development_dependency "rubocop"
|
31
|
+
gem.add_development_dependency "simplecov"
|
32
|
+
gem.add_development_dependency "pry"
|
33
|
+
end
|
data/script/bootstrap
ADDED
data/script/spec
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
ENV["TEST"] = "true"
|
2
|
+
ENV["AUTOLOAD_SPROCKETS"] = "false"
|
3
|
+
|
4
|
+
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
5
|
+
|
6
|
+
require "middleman-core"
|
7
|
+
require "middleman-core/step_definitions"
|
8
|
+
|
9
|
+
# require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-react')
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
if ENV['COVERAGE']
|
2
|
+
require_relative 'use_coveralls' if ENV['TRAVIS']
|
3
|
+
require_relative 'use_simplecov'
|
4
|
+
end
|
5
|
+
|
6
|
+
RSpec.configure do |config|
|
7
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
8
|
+
config.run_all_when_everything_filtered = true
|
9
|
+
config.filter_run :focus
|
10
|
+
config.order = 'random'
|
11
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
puts "[Simplecov] enabled"
|
2
|
+
require 'simplecov'
|
3
|
+
|
4
|
+
class SimpleCov::Formatter::QualityFormatter
|
5
|
+
def format(result)
|
6
|
+
SimpleCov::Formatter::HTMLFormatter.new.format(result)
|
7
|
+
File.open("coverage/covered_percent", "w") do |f|
|
8
|
+
f.puts result.source_files.covered_percent.to_f
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
SimpleCov.formatter = SimpleCov::Formatter::QualityFormatter
|
14
|
+
|
15
|
+
SimpleCov.start 'rails'
|
data/travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
language: ruby
|
2
|
+
bundler_args: --binstubs
|
3
|
+
rvm:
|
4
|
+
- 2.1.0
|
5
|
+
- 2.0.0
|
6
|
+
- 1.9.3
|
7
|
+
script:
|
8
|
+
- script/spec
|
9
|
+
gemfile:
|
10
|
+
- gemfiles/middleman-3.0.gemfile
|
11
|
+
- gemfiles/middleman-3.1.gemfile
|
12
|
+
- gemfiles/middleman-3.2.gemfile
|
13
|
+
matrix:
|
14
|
+
include:
|
15
|
+
- rvm: 2.0.0
|
16
|
+
env: COVERAGE=true
|
metadata
ADDED
@@ -0,0 +1,250 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: middleman-react
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Justin Morris
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: middleman-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: execjs
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: react-source
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.8.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.8.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: appraisal
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aruba
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: cane
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coveralls
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: cucumber
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: simplecov
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pry
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description: Ruby gem for automatically transforming JSX and using React in Middleman.
|
196
|
+
email:
|
197
|
+
- desk@pixelbloom.com
|
198
|
+
executables: []
|
199
|
+
extensions: []
|
200
|
+
extra_rdoc_files: []
|
201
|
+
files:
|
202
|
+
- .cane
|
203
|
+
- .gitignore
|
204
|
+
- .rspec
|
205
|
+
- Appraisals
|
206
|
+
- Gemfile
|
207
|
+
- Gemfile.lock
|
208
|
+
- LICENSE
|
209
|
+
- README.md
|
210
|
+
- Rakefile
|
211
|
+
- fixtures/app/config.rb
|
212
|
+
- lib/middleman-react.rb
|
213
|
+
- lib/middleman-react/extension.rb
|
214
|
+
- lib/middleman-react/jsx.rb
|
215
|
+
- lib/middleman-react/jsx/template.rb
|
216
|
+
- lib/middleman-react/version.rb
|
217
|
+
- middleman-react.gemspec
|
218
|
+
- script/bootstrap
|
219
|
+
- script/spec
|
220
|
+
- spec/features/support/env.rb
|
221
|
+
- spec/spec_helper.rb
|
222
|
+
- spec/use_coveralls.rb
|
223
|
+
- spec/use_simplecov.rb
|
224
|
+
- travis.yml
|
225
|
+
homepage: https://github.com/plasticine/middleman-react
|
226
|
+
licenses:
|
227
|
+
- MIT
|
228
|
+
metadata: {}
|
229
|
+
post_install_message:
|
230
|
+
rdoc_options: []
|
231
|
+
require_paths:
|
232
|
+
- lib
|
233
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - '>='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
243
|
+
requirements: []
|
244
|
+
rubyforge_project:
|
245
|
+
rubygems_version: 2.1.11
|
246
|
+
signing_key:
|
247
|
+
specification_version: 4
|
248
|
+
summary: Ruby gem for automatically transforming JSX and using React in Middleman.
|
249
|
+
test_files: []
|
250
|
+
has_rdoc:
|