maxitest 0.0.4 → 0.0.5

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: 3211b6b7a1c6213a5af9de6db125e4a50c2d50a0
4
- data.tar.gz: 6fe5502ec58d0a1812487a4148274aad471e43fa
3
+ metadata.gz: 63d1e9c4bb62f38867ffed9a061c639f2726371f
4
+ data.tar.gz: f678636ae4d38cef099a82fd8e6d0ca6d293d352
5
5
  SHA512:
6
- metadata.gz: 9e727a2b1d819113115f46dd5df390cd83c47963393f6e2af89580fcea0309fda0564289bf626cde4e3757b550445e7c21c4dbee51867ca12abbec50d69f5523
7
- data.tar.gz: 82747c5415fdafebcb10479f42a04cebb6177ad526e7574d55db5e122f8f4486799d0f5612e582c83004179b602f8a5897d3378acfe6dc4da41f2cca2b2f472b
6
+ metadata.gz: 0c25363ed5eff711abe65784ddb657c801c1fa4cfb13e3a04bd2e4298a454dd2733a5f27e42d778b3b701b0f82d7a0bd07554b6f25312c6cc11331d4a5d2c0c2
7
+ data.tar.gz: 6bf5c87dde9d3816816b1a37ba2994d175acb9295cfb6e8869d9583d8fdbeefcad8694f9e1d025813e216d008919be132008e680aa7c84b8acffff6a8f6ec18f
@@ -13,6 +13,7 @@ require "minitest/autorun"
13
13
  require "maxitest/vendor/around"
14
14
  require "maxitest/trap"
15
15
  require "maxitest/let_bang"
16
+ require "maxitest/pending"
16
17
 
17
18
  Minitest::Spec::DSL.send(:alias_method, :context, :describe)
18
19
 
@@ -0,0 +1,13 @@
1
+ module Maxitest
2
+ module Pending
3
+ def pending(reason=nil)
4
+ yield
5
+ rescue Minitest::Assertion
6
+ skip reason
7
+ else
8
+ raise "Fixed"
9
+ end
10
+ end
11
+ end
12
+
13
+ Minitest::Test.send(:include, Maxitest::Pending)
@@ -1,3 +1,3 @@
1
1
  module Maxitest
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-16 00:00:00.000000000 Z
11
+ date: 2014-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -99,6 +99,7 @@ files:
99
99
  - lib/maxitest/autorun.rb
100
100
  - lib/maxitest/implicit_subject.rb
101
101
  - lib/maxitest/let_bang.rb
102
+ - lib/maxitest/pending.rb
102
103
  - lib/maxitest/trap.rb
103
104
  - lib/maxitest/vendor/around.rb
104
105
  - lib/maxitest/vendor/line.rb