hyper-component 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +42 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +299 -0
- data/LICENSE +21 -0
- data/Rakefile +2 -0
- data/hyper-component.gemspec +41 -0
- data/lib/hyper-component.rb +32 -0
- data/lib/hyperloop/component/version.rb +5 -0
- data/lib/react/react-source-browser.rb +3 -0
- metadata +278 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: beaf85bddc50c813a5fbd1206786520df1060a69
|
4
|
+
data.tar.gz: 775268d59de32eeb312b7575f508da632146727c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1b022e633e8bfb4d598b63fdd3c2b6d9d3d430f6b2042ec35514007e3897ef35d5430c1d23f71ad473b15e65e033a2ddaacdc3ad944e34f519c2becb3e0ce7a1
|
7
|
+
data.tar.gz: c61105f9343a9b0c694c257db03efbbda54f7fc892655b31d4799b5af89aa12b981d850078a3cf1fc87596209275dd62c5e10b8172b6346b3230f9b4789d76d6
|
data/.gitignore
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
*.rbc
|
2
|
+
capybara-*.html
|
3
|
+
.rspec
|
4
|
+
/log
|
5
|
+
/tmp
|
6
|
+
/db/*.sqlite3
|
7
|
+
/db/*.sqlite3-journal
|
8
|
+
/public/system
|
9
|
+
/coverage/
|
10
|
+
/spec/tmp
|
11
|
+
**.orig
|
12
|
+
rerun.txt
|
13
|
+
pickle-email-*.html
|
14
|
+
|
15
|
+
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
|
16
|
+
config/initializers/secret_token.rb
|
17
|
+
config/secrets.yml
|
18
|
+
|
19
|
+
# dotenv
|
20
|
+
# TODO Comment out this rule if environment variables can be committed
|
21
|
+
.env
|
22
|
+
|
23
|
+
## Environment normalization:
|
24
|
+
/.bundle
|
25
|
+
/vendor/bundle
|
26
|
+
|
27
|
+
# these should all be checked in to normalize the environment:
|
28
|
+
# Gemfile.lock, .ruby-version, .ruby-gemset
|
29
|
+
|
30
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
31
|
+
.rvmrc
|
32
|
+
|
33
|
+
# if using bower-rails ignore default bower_components path bower.json files
|
34
|
+
/vendor/assets/bower_components
|
35
|
+
*.bowerrc
|
36
|
+
bower.json
|
37
|
+
|
38
|
+
# Ignore pow environment settings
|
39
|
+
.powenv
|
40
|
+
|
41
|
+
# Ignore Byebug command history file.
|
42
|
+
.byebug_history
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at mitch@catprint.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,299 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
hyper-component (0.12.0)
|
5
|
+
hyper-react (>= 0.12.0)
|
6
|
+
hyperloop-config (>= 0.9.2)
|
7
|
+
opal-rails (~> 0.9.0)
|
8
|
+
react-rails (<= 1.10.0)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
abstract_type (0.0.7)
|
14
|
+
actioncable (5.0.2)
|
15
|
+
actionpack (= 5.0.2)
|
16
|
+
nio4r (>= 1.2, < 3.0)
|
17
|
+
websocket-driver (~> 0.6.1)
|
18
|
+
actionmailer (5.0.2)
|
19
|
+
actionpack (= 5.0.2)
|
20
|
+
actionview (= 5.0.2)
|
21
|
+
activejob (= 5.0.2)
|
22
|
+
mail (~> 2.5, >= 2.5.4)
|
23
|
+
rails-dom-testing (~> 2.0)
|
24
|
+
actionpack (5.0.2)
|
25
|
+
actionview (= 5.0.2)
|
26
|
+
activesupport (= 5.0.2)
|
27
|
+
rack (~> 2.0)
|
28
|
+
rack-test (~> 0.6.3)
|
29
|
+
rails-dom-testing (~> 2.0)
|
30
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
31
|
+
actionview (5.0.2)
|
32
|
+
activesupport (= 5.0.2)
|
33
|
+
builder (~> 3.1)
|
34
|
+
erubis (~> 2.7.0)
|
35
|
+
rails-dom-testing (~> 2.0)
|
36
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
37
|
+
activejob (5.0.2)
|
38
|
+
activesupport (= 5.0.2)
|
39
|
+
globalid (>= 0.3.6)
|
40
|
+
activemodel (5.0.2)
|
41
|
+
activesupport (= 5.0.2)
|
42
|
+
activerecord (5.0.2)
|
43
|
+
activemodel (= 5.0.2)
|
44
|
+
activesupport (= 5.0.2)
|
45
|
+
arel (~> 7.0)
|
46
|
+
activesupport (5.0.2)
|
47
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
|
+
i18n (~> 0.7)
|
49
|
+
minitest (~> 5.1)
|
50
|
+
tzinfo (~> 1.1)
|
51
|
+
adamantium (0.2.0)
|
52
|
+
ice_nine (~> 0.11.0)
|
53
|
+
memoizable (~> 0.4.0)
|
54
|
+
addressable (2.5.0)
|
55
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
56
|
+
arel (7.1.4)
|
57
|
+
ast (2.3.0)
|
58
|
+
babel-source (5.8.35)
|
59
|
+
babel-transpiler (0.7.0)
|
60
|
+
babel-source (>= 4.0, < 6)
|
61
|
+
execjs (~> 2.0)
|
62
|
+
builder (3.2.3)
|
63
|
+
byebug (9.0.6)
|
64
|
+
capybara (2.12.1)
|
65
|
+
addressable
|
66
|
+
mime-types (>= 1.16)
|
67
|
+
nokogiri (>= 1.3.3)
|
68
|
+
rack (>= 1.0.0)
|
69
|
+
rack-test (>= 0.5.4)
|
70
|
+
xpath (~> 2.0)
|
71
|
+
childprocess (0.6.2)
|
72
|
+
ffi (~> 1.0, >= 1.0.11)
|
73
|
+
cliver (0.3.2)
|
74
|
+
coderay (1.1.1)
|
75
|
+
coffee-script-source (1.12.2)
|
76
|
+
concord (0.1.5)
|
77
|
+
adamantium (~> 0.2.0)
|
78
|
+
equalizer (~> 0.0.9)
|
79
|
+
concurrent-ruby (1.0.5)
|
80
|
+
connection_pool (2.2.1)
|
81
|
+
diff-lcs (1.2.5)
|
82
|
+
equalizer (0.0.11)
|
83
|
+
erubis (2.7.0)
|
84
|
+
execjs (2.7.0)
|
85
|
+
ffi (1.9.18)
|
86
|
+
globalid (0.3.7)
|
87
|
+
activesupport (>= 4.1.0)
|
88
|
+
hike (1.2.3)
|
89
|
+
hyper-react (0.12.1)
|
90
|
+
hyper-store (>= 0.2.1)
|
91
|
+
hyperloop-config (>= 0.9.2)
|
92
|
+
opal (>= 0.8.0)
|
93
|
+
opal-activesupport (>= 0.2.0)
|
94
|
+
hyper-spec (0.1.0)
|
95
|
+
capybara
|
96
|
+
opal
|
97
|
+
parser
|
98
|
+
poltergeist
|
99
|
+
pry
|
100
|
+
rspec-rails
|
101
|
+
selenium-webdriver (= 2.53.4)
|
102
|
+
timecop
|
103
|
+
unparser (= 0.2.5)
|
104
|
+
hyper-store (0.2.1)
|
105
|
+
hyperloop-config (>= 0.9.2)
|
106
|
+
hyperloop-config (0.9.2)
|
107
|
+
opal
|
108
|
+
i18n (0.8.1)
|
109
|
+
ice_nine (0.11.2)
|
110
|
+
jquery-rails (4.2.2)
|
111
|
+
rails-dom-testing (>= 1, < 3)
|
112
|
+
railties (>= 4.2.0)
|
113
|
+
thor (>= 0.14, < 2.0)
|
114
|
+
listen (3.1.5)
|
115
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
116
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
117
|
+
ruby_dep (~> 1.2)
|
118
|
+
loofah (2.0.3)
|
119
|
+
nokogiri (>= 1.5.9)
|
120
|
+
mail (2.6.4)
|
121
|
+
mime-types (>= 1.16, < 4)
|
122
|
+
memoizable (0.4.2)
|
123
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
124
|
+
method_source (0.8.2)
|
125
|
+
mime-types (3.1)
|
126
|
+
mime-types-data (~> 3.2015)
|
127
|
+
mime-types-data (3.2016.0521)
|
128
|
+
mini_portile2 (2.1.0)
|
129
|
+
minitest (5.10.1)
|
130
|
+
nio4r (2.0.0)
|
131
|
+
nokogiri (1.7.0.1)
|
132
|
+
mini_portile2 (~> 2.1.0)
|
133
|
+
opal (0.10.3)
|
134
|
+
hike (~> 1.2)
|
135
|
+
sourcemap (~> 0.1.0)
|
136
|
+
sprockets (~> 3.1)
|
137
|
+
tilt (>= 1.4)
|
138
|
+
opal-activesupport (0.3.0)
|
139
|
+
opal (>= 0.5.0, < 1.0.0)
|
140
|
+
opal-browser (0.2.0)
|
141
|
+
opal
|
142
|
+
paggio
|
143
|
+
opal-jquery (0.4.2)
|
144
|
+
opal (>= 0.7.0, < 0.11.0)
|
145
|
+
opal-rails (0.9.1)
|
146
|
+
jquery-rails
|
147
|
+
opal (>= 0.8.0, < 0.11)
|
148
|
+
opal-activesupport (>= 0.0.5)
|
149
|
+
opal-jquery (~> 0.4.0)
|
150
|
+
opal-sprockets (~> 0.4.0)
|
151
|
+
rails (>= 4.0, < 6.0)
|
152
|
+
sprockets-rails (< 3.0)
|
153
|
+
opal-sprockets (0.4.0.0.10.0.3.0.0)
|
154
|
+
opal (~> 0.10.0)
|
155
|
+
sprockets (~> 3.0)
|
156
|
+
tilt (>= 1.4)
|
157
|
+
paggio (0.2.6)
|
158
|
+
parser (2.3.3.1)
|
159
|
+
ast (~> 2.2)
|
160
|
+
poltergeist (1.13.0)
|
161
|
+
capybara (~> 2.1)
|
162
|
+
cliver (~> 0.3.1)
|
163
|
+
websocket-driver (>= 0.2.0)
|
164
|
+
powerpack (0.1.1)
|
165
|
+
procto (0.0.3)
|
166
|
+
pry (0.10.4)
|
167
|
+
coderay (~> 1.1.0)
|
168
|
+
method_source (~> 0.8.1)
|
169
|
+
slop (~> 3.4)
|
170
|
+
pry-byebug (3.4.2)
|
171
|
+
byebug (~> 9.0)
|
172
|
+
pry (~> 0.10)
|
173
|
+
public_suffix (2.0.5)
|
174
|
+
rack (2.0.1)
|
175
|
+
rack-test (0.6.3)
|
176
|
+
rack (>= 1.0)
|
177
|
+
rails (5.0.2)
|
178
|
+
actioncable (= 5.0.2)
|
179
|
+
actionmailer (= 5.0.2)
|
180
|
+
actionpack (= 5.0.2)
|
181
|
+
actionview (= 5.0.2)
|
182
|
+
activejob (= 5.0.2)
|
183
|
+
activemodel (= 5.0.2)
|
184
|
+
activerecord (= 5.0.2)
|
185
|
+
activesupport (= 5.0.2)
|
186
|
+
bundler (>= 1.3.0, < 2.0)
|
187
|
+
railties (= 5.0.2)
|
188
|
+
sprockets-rails (>= 2.0.0)
|
189
|
+
rails-dom-testing (2.0.2)
|
190
|
+
activesupport (>= 4.2.0, < 6.0)
|
191
|
+
nokogiri (~> 1.6)
|
192
|
+
rails-html-sanitizer (1.0.3)
|
193
|
+
loofah (~> 2.0)
|
194
|
+
railties (5.0.2)
|
195
|
+
actionpack (= 5.0.2)
|
196
|
+
activesupport (= 5.0.2)
|
197
|
+
method_source
|
198
|
+
rake (>= 0.8.7)
|
199
|
+
thor (>= 0.18.1, < 2.0)
|
200
|
+
rainbow (2.2.1)
|
201
|
+
rake (10.5.0)
|
202
|
+
rb-fsevent (0.9.8)
|
203
|
+
rb-inotify (0.9.8)
|
204
|
+
ffi (>= 0.5.0)
|
205
|
+
react-rails (1.10.0)
|
206
|
+
babel-transpiler (>= 0.7.0)
|
207
|
+
coffee-script-source (~> 1.8)
|
208
|
+
connection_pool
|
209
|
+
execjs
|
210
|
+
railties (>= 3.2)
|
211
|
+
tilt
|
212
|
+
rspec (3.5.0)
|
213
|
+
rspec-core (~> 3.5.0)
|
214
|
+
rspec-expectations (~> 3.5.0)
|
215
|
+
rspec-mocks (~> 3.5.0)
|
216
|
+
rspec-core (3.5.4)
|
217
|
+
rspec-support (~> 3.5.0)
|
218
|
+
rspec-expectations (3.5.0)
|
219
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
220
|
+
rspec-support (~> 3.5.0)
|
221
|
+
rspec-mocks (3.5.0)
|
222
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
223
|
+
rspec-support (~> 3.5.0)
|
224
|
+
rspec-rails (3.5.2)
|
225
|
+
actionpack (>= 3.0)
|
226
|
+
activesupport (>= 3.0)
|
227
|
+
railties (>= 3.0)
|
228
|
+
rspec-core (~> 3.5.0)
|
229
|
+
rspec-expectations (~> 3.5.0)
|
230
|
+
rspec-mocks (~> 3.5.0)
|
231
|
+
rspec-support (~> 3.5.0)
|
232
|
+
rspec-steps (2.1.1)
|
233
|
+
rspec (>= 3.0, < 3.99)
|
234
|
+
rspec-support (3.5.0)
|
235
|
+
rubocop (0.47.1)
|
236
|
+
parser (>= 2.3.3.1, < 3.0)
|
237
|
+
powerpack (~> 0.1)
|
238
|
+
rainbow (>= 1.99.1, < 3.0)
|
239
|
+
ruby-progressbar (~> 1.7)
|
240
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
241
|
+
ruby-progressbar (1.8.1)
|
242
|
+
ruby_dep (1.5.0)
|
243
|
+
rubyzip (1.2.1)
|
244
|
+
selenium-webdriver (2.53.4)
|
245
|
+
childprocess (~> 0.5)
|
246
|
+
rubyzip (~> 1.0)
|
247
|
+
websocket (~> 1.0)
|
248
|
+
slop (3.6.0)
|
249
|
+
sourcemap (0.1.1)
|
250
|
+
sprockets (3.7.1)
|
251
|
+
concurrent-ruby (~> 1.0)
|
252
|
+
rack (> 1, < 3)
|
253
|
+
sprockets-rails (2.3.3)
|
254
|
+
actionpack (>= 3.0)
|
255
|
+
activesupport (>= 3.0)
|
256
|
+
sprockets (>= 2.8, < 4.0)
|
257
|
+
sqlite3 (1.3.13)
|
258
|
+
thor (0.19.4)
|
259
|
+
thread_safe (0.3.6)
|
260
|
+
tilt (2.0.6)
|
261
|
+
timecop (0.8.1)
|
262
|
+
tzinfo (1.2.2)
|
263
|
+
thread_safe (~> 0.1)
|
264
|
+
unicode-display_width (1.1.3)
|
265
|
+
unparser (0.2.5)
|
266
|
+
abstract_type (~> 0.0.7)
|
267
|
+
adamantium (~> 0.2.0)
|
268
|
+
concord (~> 0.1.5)
|
269
|
+
diff-lcs (~> 1.2.5)
|
270
|
+
equalizer (~> 0.0.9)
|
271
|
+
parser (~> 2.3.0)
|
272
|
+
procto (~> 0.0.2)
|
273
|
+
websocket (1.2.4)
|
274
|
+
websocket-driver (0.6.5)
|
275
|
+
websocket-extensions (>= 0.1.0)
|
276
|
+
websocket-extensions (0.1.2)
|
277
|
+
xpath (2.0.0)
|
278
|
+
nokogiri (~> 1.3)
|
279
|
+
|
280
|
+
PLATFORMS
|
281
|
+
ruby
|
282
|
+
|
283
|
+
DEPENDENCIES
|
284
|
+
bundler (~> 1.12)
|
285
|
+
hyper-component!
|
286
|
+
hyper-spec
|
287
|
+
listen
|
288
|
+
opal
|
289
|
+
opal-browser
|
290
|
+
pry-byebug
|
291
|
+
rails
|
292
|
+
rake (~> 10.0)
|
293
|
+
rspec
|
294
|
+
rspec-steps
|
295
|
+
rubocop
|
296
|
+
sqlite3
|
297
|
+
|
298
|
+
BUNDLED WITH
|
299
|
+
1.12.5
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Ruby Hyperloop
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, 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,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'hyperloop/component/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "hyper-component"
|
8
|
+
spec.version = Hyperloop::Component::VERSION
|
9
|
+
spec.authors = ["catmando"]
|
10
|
+
spec.email = ["mitch@catprint.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{The Hyperloop rendering engine. Write React components in Ruby.}
|
13
|
+
spec.homepage = "http://ruby-hyperloop.io"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency 'hyper-react', '>= 0.12.0'
|
22
|
+
spec.add_dependency 'hyperloop-config', '>= 0.9.2'
|
23
|
+
spec.add_dependency 'react-rails', '<= 1.10.0'
|
24
|
+
spec.add_dependency 'opal-rails', '~> 0.9.0'
|
25
|
+
|
26
|
+
spec.add_development_dependency 'hyper-spec'
|
27
|
+
spec.add_development_dependency 'listen'
|
28
|
+
spec.add_development_dependency 'opal'
|
29
|
+
spec.add_development_dependency 'opal-browser'
|
30
|
+
spec.add_development_dependency 'pry-byebug'
|
31
|
+
spec.add_development_dependency 'rails'
|
32
|
+
spec.add_development_dependency 'rspec'
|
33
|
+
spec.add_development_dependency 'rspec-steps'
|
34
|
+
spec.add_development_dependency 'sqlite3'
|
35
|
+
|
36
|
+
# Keep linter-rubocop happy
|
37
|
+
spec.add_development_dependency 'rubocop'
|
38
|
+
|
39
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
40
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
41
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require "hyperloop/component/version"
|
2
|
+
require 'hyperloop-config'
|
3
|
+
Hyperloop.import 'hyper-component'
|
4
|
+
if RUBY_ENGINE == 'opal'
|
5
|
+
module Hyperloop
|
6
|
+
class Component
|
7
|
+
# defining this before requring hyper-react will turn
|
8
|
+
# off the hyper-react deprecation notice
|
9
|
+
end
|
10
|
+
end
|
11
|
+
require 'hyper-react'
|
12
|
+
module React
|
13
|
+
module Component
|
14
|
+
class Base
|
15
|
+
def self.inherited(child)
|
16
|
+
debugger
|
17
|
+
# note this is turned off during old style testing: See the spec_helper
|
18
|
+
unless child.to_s == "React::Component::HyperTestDummy"
|
19
|
+
React::Component.deprecation_warning child, "The class name React::Component::Base has been deprecated. Use Hyperloop::Component instead."
|
20
|
+
end
|
21
|
+
child.include(ComponentNoNotice)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
else
|
27
|
+
require 'opal'
|
28
|
+
require 'react-rails'
|
29
|
+
require 'opal-rails'
|
30
|
+
require 'hyper-react'
|
31
|
+
Opal.append_path(File.expand_path('../', __FILE__).untaint)
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,278 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hyper-component
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- catmando
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: hyper-react
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.12.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.12.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hyperloop-config
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.9.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: react-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "<="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.10.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "<="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.10.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: opal-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.9.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.9.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: hyper-spec
|
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: listen
|
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: opal
|
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: opal-browser
|
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: pry-byebug
|
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: rails
|
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: rspec
|
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: rspec-steps
|
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: sqlite3
|
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
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: bundler
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '1.12'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '1.12'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rake
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '10.0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '10.0'
|
237
|
+
description:
|
238
|
+
email:
|
239
|
+
- mitch@catprint.com
|
240
|
+
executables: []
|
241
|
+
extensions: []
|
242
|
+
extra_rdoc_files: []
|
243
|
+
files:
|
244
|
+
- ".gitignore"
|
245
|
+
- CODE_OF_CONDUCT.md
|
246
|
+
- Gemfile
|
247
|
+
- Gemfile.lock
|
248
|
+
- LICENSE
|
249
|
+
- Rakefile
|
250
|
+
- hyper-component.gemspec
|
251
|
+
- lib/hyper-component.rb
|
252
|
+
- lib/hyperloop/component/version.rb
|
253
|
+
- lib/react/react-source-browser.rb
|
254
|
+
homepage: http://ruby-hyperloop.io
|
255
|
+
licenses:
|
256
|
+
- MIT
|
257
|
+
metadata: {}
|
258
|
+
post_install_message:
|
259
|
+
rdoc_options: []
|
260
|
+
require_paths:
|
261
|
+
- lib
|
262
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ">="
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: '0'
|
267
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
requirements: []
|
273
|
+
rubyforge_project:
|
274
|
+
rubygems_version: 2.5.1
|
275
|
+
signing_key:
|
276
|
+
specification_version: 4
|
277
|
+
summary: The Hyperloop rendering engine. Write React components in Ruby.
|
278
|
+
test_files: []
|