fast_spork_runner 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,12 +36,16 @@ def to_argument(line)
36
36
  return line.chomp
37
37
  end
38
38
 
39
-
40
39
  def rspec(*files)
41
40
  files.each do |file|
42
41
  $spec_server.run(config << file, STDERR, STDOUT)
43
42
  end
44
43
  end
44
+ alias spec rspec
45
+
46
+ def all
47
+ "spec"
48
+ end
45
49
 
46
50
  puts <<DESC
47
51
 
@@ -49,7 +53,8 @@ Example:
49
53
  > rspec 'spec/models/user_spec.rb'
50
54
  or
51
55
  > rspec 'spec/models/user_spec.rb', 'spec/models/membership_spec.rb'
52
-
56
+ or run all spec
57
+ > rspec all
53
58
  DESC
54
59
 
55
60
  IRB.start
@@ -1,3 +1,3 @@
1
1
  module FastSporkRunner
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_spork_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-21 00:00:00.000000000Z
12
+ date: 2012-06-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Exec rspec more faster
15
15
  email:
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project: fast_spork_runner
50
- rubygems_version: 1.8.15
50
+ rubygems_version: 1.8.24
51
51
  signing_key:
52
52
  specification_version: 3
53
53
  summary: Fast spork spec runner