minitest-reporters 1.1.9 → 1.1.10

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: 96201df6278602cd2ee2d2622be4c861370e685a
4
- data.tar.gz: 10fa8aeb3226a51e8b1d6f39d556b41526ddebae
3
+ metadata.gz: ce517a3d6274f82db0abbc7548f984fcb261b98a
4
+ data.tar.gz: 95dc7a814ab0b89b4848eca6711c5996f2b7cfdf
5
5
  SHA512:
6
- metadata.gz: 288eaa8a9326127787b2d1a3e832cfd217da30aa7b14088e36c13422bfb7351a9ac643a62b41b35f50a6ae5e1c04a8e4896709a681453f1e658428ff6343b936
7
- data.tar.gz: 1deac0fb46c152e942599f6ec6739253f3b0266319d29458b4f7e2d9d81224ccd6d69284d77bc907372bb0edf5a169eab150ccbc7844f2da9bbd9dc0b3bea155
6
+ metadata.gz: 1f0b4f404ffaf1c4a963d0719ab014fc30fcbc54eb8a6e3ec309790d5c5ec64ede3c97eefa6a3d4aac9635893f152a6ef4fe6859eb0bc34d355598851e301f06
7
+ data.tar.gz: 50788d259de624ba7029b2714c2e2bf3cc077c36295d000adb0db8725463a29868320b453020bd83f10d5804035aeddfe01637a45d4466eb0340e71d691154f0
@@ -90,8 +90,8 @@ else
90
90
 
91
91
  def before_test(test)
92
92
  super
93
- fqn = "#{test.class.name}.#{test.name}"
94
- log(@message_factory.create_test_started(test.name, minitest_test_location(fqn)))
93
+ location = test.class.instance_method(test.name).source_location
94
+ log(@message_factory.create_test_started(test.name, "file://#{location[0]}:#{location[1]}"))
95
95
  end
96
96
 
97
97
  #########
@@ -104,11 +104,6 @@ else
104
104
  msg
105
105
  end
106
106
 
107
- def minitest_test_location(fqn)
108
- return nil if (fqn.nil?)
109
- "ruby_minitest_qn://#{fqn}"
110
- end
111
-
112
107
  def with_result(test)
113
108
  exception = test.failure
114
109
  msg = exception.nil? ? "" : "#{exception.class.name}: #{exception.message}"
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.1.9'
3
+ VERSION = '1.1.10'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-01 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest