minitest-bang 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/minitest/bang.rb +4 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTAxZWQ4YjU2MmZiYmYxNjI0MjEyY2EyMTNiYjVkNzZjMTI2NzQzZQ==
4
+ ZDk3MTM4MGY4MjBlY2MzMmE5OWIwNzA1YjU4NTMwMzkxOGM4ZTI5Ng==
5
5
  data.tar.gz: !binary |-
6
- MDIxMTEwYzJjMzhiNTE0ZmQ2MDIwODkwZDcwM2UxYThmMDFlZWZhZA==
6
+ MGNlN2NhNThiZDZlYTgwYzY1ZjQ2YjA0OTQ0ZmI5YWJiYjE2ODBlMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzAyZjYyZjhjZjNhZDRhNTFiMDczNWJkNTcyYjY4ZWY1MmVhYmRjOWE3MGY0
10
- YmNhNzVjYzBiNGVlNWNiZGU5OWEzOGYyODY5MzZlMzEwN2E1MWI2MTFhNmY1
11
- YmIzOWU2NzU0NTQ4NzYxYTg4M2I5MWZkOGQ2ZDZjYzZmM2NmNjA=
9
+ OGVmNWM5MGU5MGZlZTU1OWVlOTIwNTZhYjc3NjM5YzgwODdiYThjYzRhNmI0
10
+ ZWZkZTE3OWYxYTJkYjE3MDU3ZTBhMzUxMmVmYTY0ZjNiYzg2Mzg4M2VmYjQy
11
+ NDgyY2QwZDg5ZTM0MmYxZDdhNzhkZDYxZDY1NGVmOGYyN2VmMjA=
12
12
  data.tar.gz: !binary |-
13
- ZjJiYjRlMjExOWE5ZTZkYzExMmQ0ZDJkMGM3ZWFhMjgzZjMwZGFkZGMwMWEy
14
- ZTY2Zjg4YWFlMjIyMDBjZjIxMjhlZWNmOTBjYWM0ZDVmMzVjZWI1YzkxYzcw
15
- OGMzOTY3ODU2ODIzZTA3ZThhMDRhN2E0ODFiM2I1OTU1M2M1ZTE=
13
+ ODhlNjlkZmEzZmVjNDYyM2ZhZTY2ZTkxYTg4ZGI4MmYzZDJkNjQ2MjI5NDM4
14
+ ZjY4NGUyMmRjMTYzZDExMzQxNWNmMjExMjU2NzFkMGExY2ExYTY5NjRjN2M3
15
+ MDdlMjg1ZGZlODAzYThlMDI1OTVkYzhiN2JkODg0N2MwNjVlZWI=
data/lib/minitest/bang.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'set'
2
+ require 'minitest/spec'
2
3
 
3
4
  module Minitest::Spec::DSL
4
5
  def bangs
@@ -13,7 +14,7 @@ module Minitest::Spec::DSL
13
14
  end
14
15
  end
15
16
 
16
- module LetBang
17
+ module Bang
17
18
  def before_setup
18
19
  super
19
20
  self.class.bangs.each do |bang|
@@ -24,11 +25,11 @@ end
24
25
 
25
26
  if defined?(MiniTest::Test)
26
27
  class MiniTest::Test
27
- include LetBang
28
+ include Bang
28
29
  end
29
30
  end
30
31
  if defined?(MiniTest::Unit::TestCase)
31
32
  class MiniTest::Unit::TestCase
32
- include LetBang
33
+ include Bang
33
34
  end
34
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-bang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Stevens