maxitest 1.1.0 → 1.1.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: fec4b2042bdb1ce3625660fcdc9a261459cec658
4
- data.tar.gz: ca8e8e50b9bc577c4a2b9577dcbb19df1195b660
3
+ metadata.gz: 6d3e08045adfb27cc7dae2148e8c04b42348ce24
4
+ data.tar.gz: 6eaef29aefa9af504efe5e55e4b34def5f73adc8
5
5
  SHA512:
6
- metadata.gz: b01a59d5303d1c6ccc02365f157fc00e8882e82e521b8a1282ba46c066c4c5a1a0a038ca58c7cb1112a2271f0f790f9504b4e6222d2250158931dfa1f50af27f
7
- data.tar.gz: c4c75f4ee02a4d1230ccefd7b9f62165623cdaa03c66cc27e8a53239ce13162e0cc9020593f41bb371ba33a8e50eacd8a8f34b6fedac3bdee4ff4f9eba2c29e2
6
+ metadata.gz: e3f3787f6bba56ed7b327d2d0a7d1483bd7356e9227dfff9cf53ee188388935a0b8d506701b93f8023221a2380c751adde3c8bfee41d9b140561e2967978a93f
7
+ data.tar.gz: 8171a31646a24f0c1ca7bb9e5159fe76fbfd29803bc35ce7a7517b4c034c5e0b6fdf4b08e363940c0a9c3f61fc9948d4448f32d8e2b7d518af20f41b5d9e3758
@@ -6,7 +6,7 @@ if $stdout.tty?
6
6
  Minitest::RG.rg!
7
7
  end
8
8
 
9
- require "maxitest/verbose_backtraces"
9
+ require "maxitest/verbose_backtrace"
10
10
 
11
11
  require "maxitest/vendor/line"
12
12
  Minitest.extensions << "line"
@@ -19,7 +19,7 @@ end
19
19
  Minitest.extensions << 'maxitest_verbose_backtrace'
20
20
  Minitest.extend Maxitest::VerboseBacktrace
21
21
 
22
- Minitest::Assertion.class_eval do
22
+ module Maxitest::VerboseAssertion
23
23
  def message
24
24
  if Maxitest::VerboseBacktrace.verbose
25
25
  "#{self.class}: #{super}\n #{backtrace.join "\n "}"
@@ -28,3 +28,5 @@ Minitest::Assertion.class_eval do
28
28
  end
29
29
  end
30
30
  end
31
+
32
+ Minitest::Assertion.send(:include, Maxitest::VerboseAssertion)
@@ -1,3 +1,3 @@
1
1
  module Maxitest
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
@@ -105,7 +105,7 @@ files:
105
105
  - lib/maxitest/vendor/line.rb
106
106
  - lib/maxitest/vendor/rg.rb
107
107
  - lib/maxitest/vendor/testrbl.rb
108
- - lib/maxitest/verbose_backtraces.rb
108
+ - lib/maxitest/verbose_backtrace.rb
109
109
  - lib/maxitest/version.rb
110
110
  - lib/maxitest/xit.rb
111
111
  homepage: https://github.com/grosser/maxitest