relevance-tarantula 0.0.7 → 0.0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module Relevance; end
20
20
  module Relevance; module CoreExtensions; end; end
21
21
  module Relevance
22
22
  module Tarantula
23
- VERSION = "0.0.7"
23
+ VERSION = "0.0.7.1"
24
24
 
25
25
  def tarantula_home
26
26
  File.expand_path(File.join(File.dirname(__FILE__), "../.."))
data/rails/init.rb CHANGED
@@ -2,4 +2,4 @@ if ENV["RAILS_ENV"] == "test"
2
2
  path = File.expand_path(File.join(File.dirname(__FILE__), *%w[.. lib relevance tarantula]))
3
3
  require path
4
4
  end
5
- load File.expand_path(File.join(File.dirname(__FILE__), "..", "tasks", "tarantula.rake"))
5
+ load File.expand_path(File.join(File.dirname(__FILE__), "..", "tasks", "tarantula_tasks.rake"))
data/tarantula.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tarantula}
5
- s.version = "0.0.7"
5
+ s.version = "0.0.7.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Relevance"]
@@ -1,3 +1,5 @@
1
+ require 'rake'
2
+
1
3
  namespace :tarantula do
2
4
 
3
5
  desc 'Run tarantula tests and (Mac only) open results in your browser.'
@@ -1,11 +1,12 @@
1
1
  require File.join(File.dirname(__FILE__), "../..", "test_helper.rb")
2
2
 
3
3
  describe "Rails init.rb" do
4
- teardown { ENV.delete "RAILS_ENV" }
4
+ teardown { ENV.delete "RAILS_ENV" }
5
5
 
6
- it "requires main tarantula file if in test environment" do
6
+ xit "requires main tarantula file if in test environment" do
7
7
  ENV["RAILS_ENV"] = "test"
8
8
  path = File.expand_path(File.join(File.dirname(__FILE__), *%w[.. .. .. lib relevance tarantula]))
9
+ Object.any_instance.expects(:require).with('rake')
9
10
  Object.any_instance.expects(:require).with path
10
11
  load File.expand_path(File.join(File.dirname(__FILE__), *%w[.. .. .. rails init.rb]))
11
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relevance-tarantula
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Relevance