torquespec 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
+ require 'torquespec'
1
2
  require 'rspec/core'
2
3
  require 'drb'
3
- require 'torquespec/torquespec'
4
4
 
5
5
  module TorqueSpec
6
6
  class Daemon
@@ -33,6 +33,10 @@ module TorqueSpec
33
33
  def self.rubylib
34
34
  Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "../../..", "*{spec,diff-lcs}*/lib"))).join(":")
35
35
  end
36
+ # The way client-side specs are passed to the daemon
37
+ def self.specs
38
+ RSpec::configuration.files_to_run.map {|f| File.expand_path(f) }.inspect
39
+ end
36
40
  end
37
41
 
38
42
  # Default TorqueSpec options
@@ -1,3 +1,3 @@
1
1
  module TorqueSpec
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquespec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Crossley