Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- adds coveralls - attempts to load teaspoon from master so that can be tested - updates for teaspoon 0.8.0 - updates version to match teaspoon
- Loading branch information
Showing
12 changed files
with
44 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
pkg/ | ||
tmp | ||
tags | ||
coverage/ | ||
|
||
spec/dummy/log/*.log | ||
spec/dummy/tmp/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
language: ruby | ||
before_script: | ||
- 'gem install specific_install && gem specific_install -l git@github.com:modeset/teaspoon.git' | ||
rvm: | ||
- 1.9.3 | ||
- 2.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
# encoding: utf-8 | ||
$:.push File.expand_path('../lib', __FILE__) | ||
require 'guard/teaspoon/version' | ||
$:.push File.expand_path("../lib", __FILE__) | ||
|
||
# Maintain your gem's version: | ||
require "guard/teaspoon/version" | ||
|
||
# Describe your gem and declare its dependencies: | ||
Gem::Specification.new do |s| | ||
s.name = 'guard-teaspoon' | ||
s.name = "guard-teaspoon" | ||
s.version = Guard::TeaspoonVersion::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.license = 'MIT' | ||
s.authors = ['jejacks0n'] | ||
s.email = ['info@modeset.com'] | ||
s.homepage = 'https://rubygems.org/gems/guard-teaspoon' | ||
s.summary = 'Guard plugin for Teaspoon' | ||
s.description = 'Guard::Teaspoon automatically runs your Javascript tests with all the features of Teaspoon.' | ||
|
||
s.required_ruby_version = '>= 1.9.2' | ||
s.authors = ["jejacks0n", "jayzes", "jedschneider"] | ||
s.email = ["info@modeset.com"] | ||
s.homepage = "https://rubygems.org/gems/guard-teaspoon" | ||
s.summary = "Guard plugin for Teaspoon" | ||
s.description = "Guard::Teaspoon automatically runs your Javascript tests with all the features of Teaspoon." | ||
s.license = "MIT" | ||
|
||
s.add_runtime_dependency 'guard', '~> 2.2' | ||
s.add_runtime_dependency 'teaspoon', '>= 0.7.7' | ||
s.files = Dir["{lib}/**/*"] + ["MIT.LICENSE", "README.md"] | ||
s.test_files = `git ls-files -- {spec,test}/*`.split("\n") | ||
|
||
s.files = Dir['{lib}/**/*'] + ['MIT.LICENSE', 'README.md'] | ||
s.test_files = Dir['{spec}/**/*'] | ||
s.require_path = 'lib' | ||
s.add_dependency "guard", "~> 2.2" | ||
s.add_dependency "teaspoon", ">= 0.8.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ def resolve(original_paths) | |
end | ||
end | ||
end | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Guard | ||
module TeaspoonVersion | ||
VERSION = '1.0.0' | ||
VERSION = "0.8.0" | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
# This file allows you to override various Teaspoon configuration directives when running from the command line. It is not | ||
# required from within the Rails environment, so overriding directives that have been defined within the initializer | ||
# is not possible. | ||
# | ||
# Set RAILS_ROOT and load the environment. | ||
ENV["RAILS_ROOT"] = File.expand_path("../../", __FILE__) | ||
require File.expand_path("../../config/environment", __FILE__) | ||
|
||
# Provide default configuration. | ||
# | ||
# You can override various configuration directives defined here by using arguments with the teaspoon command. | ||
# | ||
# teaspoon --driver=selenium --suppress-log | ||
# rake teaspoon DRIVER=selenium SUPPRESS_LOG=false | ||
Teaspoon.setup do |config| | ||
# Driver | ||
#config.driver = "phantomjs" # available: phantomjs, selenium | ||
#config.phantomjs_bin = nil | ||
# Set RAILS_ROOT and load the environment if it's not already loaded. | ||
unless defined?(Rails) | ||
ENV["RAILS_ROOT"] = File.expand_path("../../", __FILE__) | ||
require File.expand_path("../../config/environment", __FILE__) | ||
end | ||
|
||
# Behaviors | ||
#config.server_timeout = 20 # timeout for starting the server | ||
#config.fail_fast = true # abort after the first failing suite | ||
Teaspoon.configure do |config| | ||
config.suite do |suite| | ||
suite.use_framework :jasmine, "1.3.1" | ||
end | ||
|
||
# Output | ||
#config.formatters = "dot" # available: dot, tap_y, swayze_or_oprah | ||
#config.suppress_log = false # suppress logs coming from console[log/error/debug] | ||
#config.color = true | ||
config.suite :targeted do |suite| | ||
suite.matcher = "spec/javascripts/**/*_tspec.{js,js.coffee,coffee}" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters