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

Commit dbafa4c

Browse files
committedOct 30, 2013
Add config.ru for running specs in browser [ci skip]
1 parent f2371e9 commit dbafa4c

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed
 

‎Gemfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source 'https://rubygems.org'
22
gemspec
33

4-
gem 'opal', :github => 'opal/opal'
5-
gem 'opal-jquery', :github => 'opal/opal-jquery'
6-
gem 'opal-rspec', :path => '../opal-rspec'
4+
gem 'opal', :github => 'opal/opal'
5+
gem 'opal-sprockets', :github => 'opal/opal-sprockets'
6+
gem 'opal-jquery', :github => 'opal/opal-jquery'
7+
gem 'opal-rspec', :path => '../opal-rspec'

‎config.ru

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require 'bundler'
2+
Bundler.require
3+
4+
Opal::Processor.source_map_enabled = false
5+
6+
run Opal::Server.new { |s|
7+
s.main = 'opal/rspec/sprockets_runner'
8+
s.append_path 'spec'
9+
s.debug = false
10+
}

0 commit comments

Comments
 (0)