change how includes work and shuffle things around
This commit is contained in:
parent
23bd56ee21
commit
8b8fc32f80
@ -9,6 +9,7 @@ end
|
|||||||
|
|
||||||
$:.unshift(File.join(gem_dir, 'lib'))
|
$:.unshift(File.join(gem_dir, 'lib'))
|
||||||
require 'jasmine-headless-webkit'
|
require 'jasmine-headless-webkit'
|
||||||
|
|
||||||
require 'jasmine/headless/errors'
|
require 'jasmine/headless/errors'
|
||||||
require 'jasmine/headless/runner'
|
require 'jasmine/headless/runner'
|
||||||
require 'jasmine/headless/options'
|
require 'jasmine/headless/options'
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
$:.push File.expand_path("../lib", __FILE__)
|
$:.push File.expand_path("../lib", __FILE__)
|
||||||
require "jasmine-headless-webkit/version"
|
require "jasmine/headless/version"
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "jasmine-headless-webkit"
|
s.name = "jasmine-headless-webkit"
|
||||||
s.version = Jasmine::Headless::Webkit::VERSION
|
s.version = Jasmine::Headless::VERSION
|
||||||
s.platform = Gem::Platform::RUBY
|
s.platform = Gem::Platform::RUBY
|
||||||
s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"]
|
s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"]
|
||||||
s.email = ["john@coswellproductions.com"]
|
s.email = ["john@coswellproductions.com"]
|
||||||
|
@ -1,10 +1,19 @@
|
|||||||
module Jasmine
|
module Jasmine
|
||||||
|
autoload :FilesList, 'jasmine/files_list'
|
||||||
|
autoload :TemplateWriter, 'jasmine/template_writer'
|
||||||
|
|
||||||
module Headless
|
module Headless
|
||||||
autoload :CoffeeScriptCache, 'jasmine/headless/coffee_script_cache'
|
autoload :CoffeeScriptCache, 'jasmine/headless/coffee_script_cache'
|
||||||
autoload :SpecFileAnalyzer, 'jasmine/headless/spec_file_analyzer'
|
autoload :SpecFileAnalyzer, 'jasmine/headless/spec_file_analyzer'
|
||||||
autoload :CacheableAction, 'jasmine/headless/cacheable_action'
|
autoload :CacheableAction, 'jasmine/headless/cacheable_action'
|
||||||
|
autoload :VERSION, 'jasmine/headless/version'
|
||||||
|
autoload :Runner, 'jasmine/headless/runner'
|
||||||
|
autoload :Options, 'jasmine/headless/options'
|
||||||
|
autoload :Task, 'jasmine/headless/task'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require 'jasmine/headless/errors'
|
||||||
|
|
||||||
require 'jasmine/headless/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
|
require 'jasmine/headless/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
module Jasmine
|
|
||||||
module Headless
|
|
||||||
module Webkit
|
|
||||||
VERSION = "0.6.4"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
@ -1,4 +1,3 @@
|
|||||||
require 'jasmine/headless/coffee_script_cache'
|
|
||||||
require 'jasmine-core'
|
require 'jasmine-core'
|
||||||
require 'iconv'
|
require 'iconv'
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
require 'jasmine/headless/task'
|
|
||||||
|
|
||||||
module Jasmine
|
module Jasmine
|
||||||
module Headless
|
module Headless
|
||||||
class Railtie < Rails::Railtie
|
class Railtie < Rails::Railtie
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
require 'jasmine/headless/errors'
|
|
||||||
require 'jasmine/headless/options'
|
|
||||||
|
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
||||||
require 'coffee-script'
|
require 'coffee-script'
|
||||||
require 'rainbow'
|
require 'rainbow'
|
||||||
|
|
||||||
require 'jasmine/files_list'
|
|
||||||
require 'jasmine/template_writer'
|
|
||||||
|
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
|
||||||
module Jasmine
|
module Jasmine
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
require 'jasmine/headless/runner'
|
|
||||||
|
|
||||||
module Digest
|
module Digest
|
||||||
class JasmineTest
|
class JasmineTest
|
||||||
def self.file(file)
|
def self.file(file)
|
||||||
|
5
lib/jasmine/headless/version.rb
Normal file
5
lib/jasmine/headless/version.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module Jasmine
|
||||||
|
module Headless
|
||||||
|
VERSION = "0.6.4"
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user