Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix spec runners to use explicit paths
  • Loading branch information
adambeynon committed Dec 17, 2013
1 parent 00f5ae8 commit 382b3cf
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -2,6 +2,6 @@ source "https://rubygems.org"
gemspec

gem 'opal', :github => 'opal/opal'
gem 'opal-rspec', '0.3.0.beta1'
gem 'opal-rspec', '0.3.0.beta2'

gem 'rake'
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -4,11 +4,11 @@ Bundler::GemHelper.install_tasks

require 'opal/rspec/rake_task'
Opal::RSpec::RakeTask.new(:default) do |s|
s.index_path = 'spec/jquery/index.html'
s.index_path = 'spec/jquery/index.html.erb'
end

Opal::RSpec::RakeTask.new(:zepto) do |s|
s.index_path = 'spec/zepto/index.html'
s.index_path = 'spec/zepto/index.html.erb'
end

desc "Build build/opal-jquery.js"
Expand Down
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -5,6 +5,6 @@ run Opal::Server.new { |s|
s.main = 'opal/rspec/sprockets_runner'
s.append_path 'spec'
s.debug = false
s.index_path = 'spec/jquery/index.html'
s.index_path = 'spec/jquery/index.html.erb'
}

2 changes: 1 addition & 1 deletion opal-jquery.gemspec
Expand Up @@ -15,6 +15,6 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ['lib']

s.add_runtime_dependency 'opal', '~> 0.6.0'
s.add_runtime_dependency 'opal', ['>= 0.5.0', '< 1.0.0']
s.add_development_dependency 'opal-rspec', '~> 0.3.0'
end
File renamed without changes.
File renamed without changes.

0 comments on commit 382b3cf

Please sign in to comment.