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

Commit

Permalink
Ensure dependencies get required
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Jan 8, 2014
1 parent d2e853d commit a157318
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Gemfile
@@ -1,2 +1,7 @@
source 'https://rubygems.org'
gemspec

gem 'opal', :github => 'opal/opal'
gem 'opal-jquery', :github => 'opal/opal-jquery'
gem 'opal-activesupport', :github => 'opal/opal-activesupport'
gem 'opal-rspec', '0.3.0.beta2'
8 changes: 8 additions & 0 deletions config.ru
@@ -0,0 +1,8 @@
require 'bundler'
Bundler.require

run Opal::Server.new { |s|
s.main = 'opal/rspec/sprockets_runner'
s.append_path 'spec'
s.debug = false
}
2 changes: 2 additions & 0 deletions opal/vienna/history_router.rb
@@ -1,3 +1,5 @@
require 'opal-jquery'

module Vienna
class HistoryRouter
attr_reader :path, :routes
Expand Down
2 changes: 2 additions & 0 deletions opal/vienna/router.rb
@@ -1,3 +1,5 @@
require 'native'

module Vienna
class Router
attr_reader :path, :routes
Expand Down
2 changes: 1 addition & 1 deletion vienna.gemspec
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ['lib']

s.add_dependency 'opal', ['>= 0.5.0', '< 0.7.0']
s.add_dependency 'opal', ['>= 0.5.0', '< 1.0.0']
s.add_dependency 'opal-jquery'
s.add_dependency 'opal-activesupport'

Expand Down

0 comments on commit a157318

Please sign in to comment.