minitest-around 0.0.3 → 0.0.4.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cbd215c95fc994a58bae7a6508150790135d3e4
4
- data.tar.gz: 9e373be1bae1648df5c4ce123a00b2f1d427081a
3
+ metadata.gz: c7889abc7572cf4d9dae98626f7dbf64b99b2979
4
+ data.tar.gz: 3bc0310add3845d18d8d400e922e77d6b6f1d2a6
5
5
  SHA512:
6
- metadata.gz: ff8210289854a8fb09c72a909d3ffc9ab1e2071d83b588758eda0bee3b3cb826461c8096e6e332b3fed68a07d038d696adbb0415f24d4ae20f4278e25af1aac1
7
- data.tar.gz: 6c8ed398fbfa9b6d6b4f7bbf1009bf0380db8db8cd3fcd4ac68b667fb41132a6b491e9c1242a382eb5d66e2e8f7eeea08e47a86624655fb97acf0f2957877b9d
6
+ metadata.gz: 6b36670d785db7b0356a1469a417c3df7f086b82450bac67e0e302386a0c3d4b773d2ceb34aa86c1d558f11aa4468161cd006c41af88ab259a342ff75d52cf39
7
+ data.tar.gz: 73ccba5fcdc3d126f32149073b62676e7c00116b6a26cf81408e174badcd10778661d6f1b6cbdbeb3b34bc579a07e7f30bc1538432c0aba3565673af52e1a109
data/Rakefile CHANGED
@@ -4,9 +4,18 @@ desc 'Default: run unit tests.'
4
4
  task :default => :test
5
5
 
6
6
  # Test
7
+ TEST_FILES = FileList.new('test/*_{test,spec}.rb')
8
+
9
+ desc "Run all tests"
10
+ task :test do
11
+ TEST_FILES.each do |test_file|
12
+ sh "bundle", "exec", "rake", "test:isolated", "TEST=#{test_file}"
13
+ end
14
+ end
15
+
7
16
  require 'rake/testtask'
8
- Rake::TestTask.new(:test) do |test|
9
- test.test_files = FileList.new('test/*_{test,spec}.rb')
17
+ Rake::TestTask.new(:"test:isolated") do |test|
18
+ test.test_files = TEST_FILES
10
19
  test.libs << 'test'
11
20
  test.verbose = true
12
21
  end
@@ -1,5 +1,8 @@
1
1
  require 'minitest/spec'
2
2
 
3
+ require 'minitest/around/version'
4
+ require 'minitest/around/unit'
5
+
3
6
  class MiniTest::Spec
4
7
  def self.around(&outer)
5
8
  define_method(:around) do |&inner|
@@ -1,4 +1,5 @@
1
1
  require 'minitest/unit'
2
+ require 'minitest/around/version'
2
3
 
3
4
  class MiniTest::Unit::TestCase
4
5
  def run_test(name)
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Around
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4.pre'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  require 'minitest/autorun'
2
- require 'minitest/around'
2
+ require 'minitest/around/spec'
3
3
 
4
4
  describe "MiniTest Around" do
5
5
  describe "without around" do
@@ -1,5 +1,5 @@
1
1
  require 'minitest/autorun'
2
- require 'minitest/around'
2
+ require 'minitest/around/unit'
3
3
 
4
4
  class TestWithoutAround < MiniTest::Unit::TestCase
5
5
  def test_no_around_defined
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-around
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Suschlik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-04 00:00:00.000000000 Z
11
+ date: 2013-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -76,9 +76,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - '>='
79
+ - - '>'
80
80
  - !ruby/object:Gem::Version
81
- version: '0'
81
+ version: 1.3.1
82
82
  requirements: []
83
83
  rubyforge_project: minitest-around
84
84
  rubygems_version: 2.0.3
@@ -86,3 +86,4 @@ signing_key:
86
86
  specification_version: 4
87
87
  summary: Around block for minitest.
88
88
  test_files: []
89
+ has_rdoc: