Sha256: 3c3acd712a70ff7b34f0bfcf2e4cff6e17af7c3ff3594db601814c5a8b2a0a90

Contents?: true

Size: 544 Bytes

Versions: 2

Compression:

Stored size: 544 Bytes

Contents

require 'bundler'
Bundler.require

require 'opal-sprockets'
require 'opal-rspec'

OPAL_SPROCKETS_SERVER = defined?(Opal::Sprockets::Server) ? Opal::Sprockets::Server : Opal::Server

sprockets_env = Opal::RSpec::SprocketsEnvironment.new(
  spec_pattern         = 'spec-opal/**/*_spec.{rb,opal}',
  spec_exclude_pattern = nil,
  spec_files           = nil,
  default_path         = 'spec-opal')

run OPAL_SPROCKETS_SERVER.new(sprockets: sprockets_env) { |s|
  s.main = 'opal/rspec/sprockets_runner'
  s.append_path 'spec-opal'
  s.debug = true
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-haml-0.5.1 config.ru
opal-haml-0.5.0 config.ru