spork-minitest 1.0.0.beta1 → 1.0.0.beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Readme.md CHANGED
@@ -51,7 +51,7 @@ To fix that add the following to the very top of your test helper:
51
51
 
52
52
  You can specify different test helper when starting spork and run tests as usual.
53
53
 
54
- HELPER_FILE=spec/spec_helper.rb spork
54
+ HELPER_FILE=spec/spec_helper.rb spork minitest
55
55
 
56
56
  ### [Autotest][]
57
57
 
@@ -69,3 +69,7 @@ You can run all tests over Spork by adding the following lines to your .autotest
69
69
  end
70
70
 
71
71
  [Autotest]: https://github.com/seattlerb/zentest
72
+
73
+ ## License
74
+
75
+ Spork-MiniTest is released under the [MIT License](http://www.opensource.org/licenses/MIT).
@@ -1,8 +1,9 @@
1
1
  class Spork::TestFramework::MiniTest < Spork::TestFramework
2
2
  DEFAULT_PORT = 8988
3
+ DEFAULT_HELPER_FILES = %w[test/minitest_helper.rb test/test_helper.rb spec/spec_helper.rb]
3
4
 
4
5
  def self.helper_file
5
- ENV['HELPER_FILE'] || "test/test_helper.rb"
6
+ ENV['HELPER_FILE'] || DEFAULT_HELPER_FILES.find{ |f| File.exist?(f) }
6
7
  end
7
8
 
8
9
  def run_tests(argv, stderr, stdout)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "spork-minitest"
3
- s.version = "1.0.0.beta1"
3
+ s.version = "1.0.0.beta2"
4
4
  s.authors = ["Semyon Perepelitsa"]
5
5
  s.email = ["sema@sema.in"]
6
6
  s.homepage = "https://github.com/semaperepelitsa/spork-minitest"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spork-minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta1
4
+ version: 1.0.0.beta2
5
5
  prerelease: 6
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-09-25 00:00:00.000000000 Z
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spork
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: 1.3.1
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 1.8.23
72
+ rubygems_version: 1.8.24
73
73
  signing_key:
74
74
  specification_version: 3
75
75
  summary: MiniTest runner for Spork