Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 5bd8eef

Browse files
committed
add another app
1 parent 09e52df commit 5bd8eef

File tree

72 files changed

+3238
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3238
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
source "http://rubygems.org"
2+
gem "rails"
3+
gem 'sqlite3'
4+
gem 'react-rails'
5+
gem 'opal'#, '~> 0.9.0'
6+
gem 'opal-rails'
7+
gem 'mini_racer'
8+
gem 'jquery-cookie-rails'
9+
gem 'byebug'
10+
gem 'pry-rails'
11+
gem 'pry-rescue'
12+
# change gems and bundle update opal-rspec-rails to switch opal version...
13+
#gem 'opal-rspec-rails', github: 'opal/opal-rspec-rails', ref: '0b8dc2745bee1aa59fe56323cc6d6493d2129cfc' # 9.0
14+
gem 'opal-rspec-rails', github: 'opal/opal-rspec-rails', ref: '65de2771a539cda44a84c75082306869284b2ab4' # 10.0
15+
gem 'hyper-react'
16+
gem 'hyper-mesh', path: "../"
17+
gem 'hyper-operation'
18+
gem 'web-console'
19+
gem 'hyper-trace'
20+
gem 'pry'
Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
GIT
2+
remote: git://github.com/opal/opal-rspec-rails.git
3+
revision: 65de2771a539cda44a84c75082306869284b2ab4
4+
ref: 65de2771a539cda44a84c75082306869284b2ab4
5+
specs:
6+
opal-rspec-rails (0.1.0)
7+
opal (~> 0.10.0)
8+
opal-rails (~> 0.9.0)
9+
opal-rspec (~> 0.6.0)
10+
11+
PATH
12+
remote: ../
13+
specs:
14+
hyper-mesh (0.6.1)
15+
activerecord (>= 0.3.0)
16+
hyper-component (>= 0.12.3)
17+
hyper-operation (>= 0.5.0)
18+
19+
GEM
20+
remote: http://rubygems.org/
21+
specs:
22+
actionmailer (4.2.8)
23+
actionpack (= 4.2.8)
24+
actionview (= 4.2.8)
25+
activejob (= 4.2.8)
26+
mail (~> 2.5, >= 2.5.4)
27+
rails-dom-testing (~> 1.0, >= 1.0.5)
28+
actionpack (4.2.8)
29+
actionview (= 4.2.8)
30+
activesupport (= 4.2.8)
31+
rack (~> 1.6)
32+
rack-test (~> 0.6.2)
33+
rails-dom-testing (~> 1.0, >= 1.0.5)
34+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
35+
actionview (4.2.8)
36+
activesupport (= 4.2.8)
37+
builder (~> 3.1)
38+
erubis (~> 2.7.0)
39+
rails-dom-testing (~> 1.0, >= 1.0.5)
40+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
41+
activejob (4.2.8)
42+
activesupport (= 4.2.8)
43+
globalid (>= 0.3.0)
44+
activemodel (4.2.8)
45+
activesupport (= 4.2.8)
46+
builder (~> 3.1)
47+
activerecord (4.2.8)
48+
activemodel (= 4.2.8)
49+
activesupport (= 4.2.8)
50+
arel (~> 6.0)
51+
activesupport (4.2.8)
52+
i18n (~> 0.7)
53+
minitest (~> 5.1)
54+
thread_safe (~> 0.3, >= 0.3.4)
55+
tzinfo (~> 1.1)
56+
addressable (2.5.0)
57+
public_suffix (~> 2.0, >= 2.0.2)
58+
arel (6.0.4)
59+
babel-source (5.8.35)
60+
babel-transpiler (0.7.0)
61+
babel-source (>= 4.0, < 6)
62+
execjs (~> 2.0)
63+
binding_of_caller (0.7.2)
64+
debug_inspector (>= 0.0.1)
65+
builder (3.2.3)
66+
byebug (9.0.5)
67+
coderay (1.1.1)
68+
coffee-script-source (1.12.2)
69+
concurrent-ruby (1.0.5)
70+
connection_pool (2.2.1)
71+
cookiejar (0.3.3)
72+
daemons (1.2.4)
73+
debug_inspector (0.0.2)
74+
em-http-request (1.1.5)
75+
addressable (>= 2.3.4)
76+
cookiejar (!= 0.3.1)
77+
em-socksify (>= 0.3)
78+
eventmachine (>= 1.0.3)
79+
http_parser.rb (>= 0.6.0)
80+
em-socksify (0.3.1)
81+
eventmachine (>= 1.0.0.beta.4)
82+
em-websocket (0.5.1)
83+
eventmachine (>= 0.12.9)
84+
http_parser.rb (~> 0.6.0)
85+
erubis (2.7.0)
86+
eventmachine (1.2.3)
87+
execjs (2.7.0)
88+
globalid (0.3.7)
89+
activesupport (>= 4.1.0)
90+
hike (1.2.3)
91+
http_parser.rb (0.6.0)
92+
httpclient (2.8.3)
93+
hyper-component (0.12.3)
94+
hyper-react (>= 0.12.3)
95+
hyperloop-config (>= 0.9.2)
96+
opal-rails (~> 0.9.0)
97+
react-rails (< 1.10.0)
98+
hyper-operation (0.5.3)
99+
activerecord (>= 0.3.0)
100+
hyper-component (>= 0.12.2)
101+
hyperloop-config (>= 0.9.7)
102+
mutations
103+
opal-activesupport
104+
pusher
105+
pusher-fake
106+
hyper-react (0.12.5)
107+
hyper-store (>= 0.2.1)
108+
hyperloop-config (>= 0.9.7)
109+
opal (>= 0.8.0)
110+
opal-activesupport (>= 0.2.0)
111+
hyper-store (0.2.1)
112+
hyperloop-config (>= 0.9.2)
113+
hyper-trace (0.3.1)
114+
hyperloop-config (0.9.7)
115+
opal
116+
opal-browser
117+
i18n (0.8.1)
118+
interception (0.5)
119+
jquery-cookie-rails (1.3.1.1)
120+
railties (>= 3.2.0, < 5.0)
121+
jquery-rails (4.3.1)
122+
rails-dom-testing (>= 1, < 3)
123+
railties (>= 4.2.0)
124+
thor (>= 0.14, < 2.0)
125+
libv8 (3.16.14.15)
126+
loofah (2.0.3)
127+
nokogiri (>= 1.5.9)
128+
mail (2.6.4)
129+
mime-types (>= 1.16, < 4)
130+
method_source (0.8.2)
131+
mime-types (3.1)
132+
mime-types-data (~> 3.2015)
133+
mime-types-data (3.2016.0521)
134+
mini_portile2 (2.1.0)
135+
minitest (5.10.1)
136+
multi_json (1.12.1)
137+
mutations (0.8.1)
138+
activesupport
139+
nokogiri (1.7.1)
140+
mini_portile2 (~> 2.1.0)
141+
opal (0.10.3)
142+
hike (~> 1.2)
143+
sourcemap (~> 0.1.0)
144+
sprockets (~> 3.1)
145+
tilt (>= 1.4)
146+
opal-activesupport (0.3.0)
147+
opal (>= 0.5.0, < 1.0.0)
148+
opal-browser (0.2.0)
149+
opal
150+
paggio
151+
opal-jquery (0.4.2)
152+
opal (>= 0.7.0, < 0.11.0)
153+
opal-rails (0.9.1)
154+
jquery-rails
155+
opal (>= 0.8.0, < 0.11)
156+
opal-activesupport (>= 0.0.5)
157+
opal-jquery (~> 0.4.0)
158+
opal-sprockets (~> 0.4.0)
159+
rails (>= 4.0, < 6.0)
160+
sprockets-rails (< 3.0)
161+
opal-rspec (0.6.0)
162+
opal (>= 0.10.0, < 0.11)
163+
opal-sprockets (0.4.0.0.10.0.3.0.0)
164+
opal (~> 0.10.0)
165+
sprockets (~> 3.0)
166+
tilt (>= 1.4)
167+
paggio (0.2.6)
168+
pry (0.10.4)
169+
coderay (~> 1.1.0)
170+
method_source (~> 0.8.1)
171+
slop (~> 3.4)
172+
pry-rails (0.3.4)
173+
pry (>= 0.9.10)
174+
pry-rescue (1.4.4)
175+
interception (>= 0.5)
176+
pry
177+
public_suffix (2.0.5)
178+
pusher (1.3.1)
179+
httpclient (~> 2.7)
180+
multi_json (~> 1.0)
181+
pusher-signature (~> 0.1.8)
182+
pusher-fake (1.8.0)
183+
em-http-request (~> 1.1)
184+
em-websocket (~> 0.5)
185+
multi_json (~> 1.6)
186+
thin (~> 1.5)
187+
pusher-signature (0.1.8)
188+
rack (1.6.5)
189+
rack-test (0.6.3)
190+
rack (>= 1.0)
191+
rails (4.2.8)
192+
actionmailer (= 4.2.8)
193+
actionpack (= 4.2.8)
194+
actionview (= 4.2.8)
195+
activejob (= 4.2.8)
196+
activemodel (= 4.2.8)
197+
activerecord (= 4.2.8)
198+
activesupport (= 4.2.8)
199+
bundler (>= 1.3.0, < 2.0)
200+
railties (= 4.2.8)
201+
sprockets-rails
202+
rails-deprecated_sanitizer (1.0.3)
203+
activesupport (>= 4.2.0.alpha)
204+
rails-dom-testing (1.0.8)
205+
activesupport (>= 4.2.0.beta, < 5.0)
206+
nokogiri (~> 1.6)
207+
rails-deprecated_sanitizer (>= 1.0.1)
208+
rails-html-sanitizer (1.0.3)
209+
loofah (~> 2.0)
210+
railties (4.2.8)
211+
actionpack (= 4.2.8)
212+
activesupport (= 4.2.8)
213+
rake (>= 0.8.7)
214+
thor (>= 0.18.1, < 2.0)
215+
rake (12.0.0)
216+
react-rails (1.9.0)
217+
babel-transpiler (>= 0.7.0)
218+
coffee-script-source (~> 1.8)
219+
connection_pool
220+
execjs
221+
railties (>= 3.2)
222+
tilt
223+
ref (2.0.0)
224+
slop (3.6.0)
225+
sourcemap (0.1.1)
226+
sprockets (3.7.1)
227+
concurrent-ruby (~> 1.0)
228+
rack (> 1, < 3)
229+
sprockets-rails (2.3.3)
230+
actionpack (>= 3.0)
231+
activesupport (>= 3.0)
232+
sprockets (>= 2.8, < 4.0)
233+
sqlite3 (1.3.11)
234+
therubyracer (0.12.2)
235+
libv8 (~> 3.16.14.0)
236+
ref
237+
thin (1.7.0)
238+
daemons (~> 1.0, >= 1.0.9)
239+
eventmachine (~> 1.0, >= 1.0.4)
240+
rack (>= 1, < 3)
241+
thor (0.19.4)
242+
thread_safe (0.3.6)
243+
tilt (2.0.7)
244+
tzinfo (1.2.3)
245+
thread_safe (~> 0.1)
246+
web-console (2.3.0)
247+
activemodel (>= 4.0)
248+
binding_of_caller (>= 0.7.2)
249+
railties (>= 4.0)
250+
sprockets-rails (>= 2.0, < 4.0)
251+
252+
PLATFORMS
253+
ruby
254+
255+
DEPENDENCIES
256+
byebug
257+
hyper-mesh!
258+
hyper-operation
259+
hyper-react
260+
hyper-trace
261+
jquery-cookie-rails
262+
opal
263+
opal-rails
264+
opal-rspec-rails!
265+
pry
266+
pry-rails
267+
pry-rescue
268+
rails
269+
react-rails
270+
sqlite3
271+
therubyracer
272+
web-console
273+
274+
BUNDLED WITH
275+
1.12.5
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env rake
2+
# Add your own tasks in files placed in lib/tasks ending in .rake,
3+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4+
5+
require File.expand_path('../config/application', __FILE__)
6+
7+
Dummy::Application.load_tasks
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require 'components'
2+
require 'react_ujs'
3+
Opal.load('components')
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# for whatever reason 9.0 needs this file to pass
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// normally its set up by Operations Client Drivers but we are just doing it here
2+
window.HyperloopEnginePath = "/rr"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the top of the
9+
* compiled file, but it's generally better to create a new file per style scope.
10+
*
11+
*= require_self
12+
*= require_tree .
13+
*/
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class ApplicationController < ActionController::Base
2+
#protect_from_forgery
3+
4+
def acting_user
5+
# cookies[:acting_user] and User.find_by_email(cookies[:acting_user])
6+
end
7+
8+
end
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class HomeController < ApplicationController
2+
3+
def index
4+
redirect_to "/spec-opal"
5+
end
6+
7+
end
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

0 commit comments

Comments
 (0)