matest 1.4.0 → 1.4.1

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: 74fc41b6ca3f18bac9a2414bd7b6084b4061b05a
4
- data.tar.gz: 95492497f03ee0b221644c7f615ad72ebe14db25
3
+ metadata.gz: 5343d40a5235496d63d71af86f7737997f675284
4
+ data.tar.gz: ac0b79083aa656a8c1fc19ccd65133b9bef3de46
5
5
  SHA512:
6
- metadata.gz: 219eab6da19166f386ee78efbd8ea50bb11f63263db871fd54f8f68f126bf77ea57896837a4e9ea15a95a2c6261591fec149426ddd19fd13f787ce6aff8a1935
7
- data.tar.gz: 19178193c386f74cd6c550b71a7564260ebef1662314937c6ae6d7ac17a49d3febb3f2420885d6eabfc6fdc66503e341a1f2aff31fb2ccdd6f50b3359431ff13
6
+ metadata.gz: 7e8628d367ed45aa2784bdaff0b071edbea48e7d883fdb1d09aa4d09e7634dd01e3be2b23fdebe5ca46fc47972e20a87762b9d7ea61c29aaaadc853392e5a8c1
7
+ data.tar.gz: 68201c248f577c38728c4350db7a6a1c98134f03cc4e9a0fdbddf11ca3f1b0935cc0f258b1ee33e08cfa3c2c75b13243b9c08a8bb84345203a3f1f89751233b6
data/bin/matest CHANGED
@@ -3,7 +3,12 @@
3
3
  require "time"
4
4
  start_time = Time.now
5
5
 
6
- $LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
6
+ if File.exist?(File.expand_path('../../spec', __FILE__))
7
+ $LOAD_PATH.unshift(File.expand_path('../../spec', __FILE__))
8
+ end
9
+ if File.exist?(File.expand_path('../../test', __FILE__))
10
+ $LOAD_PATH.unshift(File.expand_path('../../test', __FILE__))
11
+ end
7
12
 
8
13
  require "matest"
9
14
  require "rake"
@@ -40,4 +45,3 @@ puts "Elapsed: #{time_elapsed} seconds."
40
45
 
41
46
 
42
47
  exit(1) unless info[:success]
43
-
@@ -1,3 +1,3 @@
1
1
  module Matest
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
@@ -1,6 +1,4 @@
1
- Matest.configure do |c|
2
- c.use_color
3
- end
1
+ require "spec_helper"
4
2
 
5
3
  scope do
6
4
  spec { true }
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  scope do
2
4
  let(:a) { true }
3
5
  spec do
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  def is_even?(val)
2
4
  val % 2 == 0
3
5
  end
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  scope "A" do
2
4
  spec "A.0" do
3
5
  false
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  scope do
2
4
  test do
3
5
  true
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  scope do
2
4
  let(:three) { 3 }
3
5
  xspec "variables and lets" do
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  scope do
2
4
  spec do
3
5
  1 == 1
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  scope do
2
4
  let(:m1) { :m1 }
3
5
  let!(:m3) { :m3 }
@@ -1,3 +1,5 @@
1
+ require "spec_helper"
2
+
1
3
  xscope "slow" do
2
4
  spec { sleep(0.5); true }
3
5
  spec { sleep(0.5); true }
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,4 @@
1
- # $LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
1
+ Matest.configure do |c|
2
+ c.use_color
3
+ end
2
4
 
3
- # require "minitest/autorun"
4
-
5
- # require "matest"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti
@@ -105,7 +105,6 @@ files:
105
105
  - spec/matest_specs/scope_spec.rb
106
106
  - spec/matest_specs/scoping_stuff_spec.rb
107
107
  - spec/matest_specs/slow_spec.rb
108
- - spec/matest_specs/spec_helper.rb
109
108
  - spec/spec_helper.rb
110
109
  homepage: ''
111
110
  licenses:
@@ -142,5 +141,4 @@ test_files:
142
141
  - spec/matest_specs/scope_spec.rb
143
142
  - spec/matest_specs/scoping_stuff_spec.rb
144
143
  - spec/matest_specs/slow_spec.rb
145
- - spec/matest_specs/spec_helper.rb
146
144
  - spec/spec_helper.rb
@@ -1,3 +0,0 @@
1
- $LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
2
-
3
- require "matest"