minitest-server 1.0.4 → 1.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
- SHA1:
3
- metadata.gz: 97e2a1243b605181c638d6bb2f8573671146986c
4
- data.tar.gz: 5f0051d209693dd5cca103da5507d0721b3636d4
2
+ SHA256:
3
+ metadata.gz: da141c39cc26d3126fbcd7c7b22f4e39614ab75146208956b39955d92ae4f314
4
+ data.tar.gz: 53c66a1906007d91882e167310707278d99e0125a02306df869f6b728f9dc869
5
5
  SHA512:
6
- metadata.gz: fa7e18d88937623aa6cdb4dcbbce983bf2b3f2a5de9b9c7dbb5f326600ddf38c943a9bd36330ac6298114d3b7ea9f83447f83c88d56ad4c645cb61adac78b870
7
- data.tar.gz: 74ef751b6d92ba657b0cdffe947315820b9fc456960e0dcc63d8b06778f3576ad9f23ce14adf760f00a51a5921a1639424fad32f51d29dfe3d87367a17d9704a
6
+ metadata.gz: c075420adf2aadd5d92877d16ee2e5e2dbf8d4530a680c0f1cd40600281d9d9d14313f0cb107bec056b427de5fdbfa71dd8746b0175019a0f906ba1445356f6c
7
+ data.tar.gz: 303715d843967a993cec4cabd404088390d8afbfda5bcb5359953f625f2ea4f6694e316ed4d675d8d9444d14e3e6bcfe10e422b5c852dc83a1649e1ccfb4c91c
Binary file
data.tar.gz.sig CHANGED
@@ -1,5 +1,2 @@
1
- }�>���ۃ��ȡ��oT-n{>u4 jC�L���/2
2
- w��
3
- bR5݀��D��9���
4
- �����d��]�|��>�Q�59�,XHm�˴x1^�X~�q�ڢ�.���y�ݩGe�S�X6N�`շ՚�c���ƾ���'0Ӌ'��n<E�Rn" 2��/
5
- t�;g�[��[��n�&y�;�5��
1
+ .�~襸t�z�!�o��#^L;ȏ�TI���^������F� �6��jm Oaϒ _4,h?���3{�2�Q���R=fا�*q��#ȫ��%��CsNjC�LP� adeаX��\����^I�����FO�>I�&mP�,��|������� A����i�V�<+ec
2
+ j{��/��:�f��h��v����~%��}63ݭ����p�H��CA�`��V�e#��*/SM ����
@@ -1,3 +1,9 @@
1
+ === 1.0.5 / 2018-02-06
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Extended Minitest::ServerReporter#record to handle Minitest::Result.
6
+
1
7
  === 1.0.4 / 2016-05-02
2
8
 
3
9
  * 2 bug fixes:
@@ -3,7 +3,7 @@ require "tmpdir"
3
3
  require "minitest"
4
4
 
5
5
  class Minitest::Server
6
- VERSION = "1.0.4"
6
+ VERSION = "1.0.5"
7
7
 
8
8
  TOPDIR = Dir.pwd + "/"
9
9
 
@@ -31,10 +31,18 @@ class Minitest::ServerReporter < Minitest::AbstractReporter
31
31
  def record result
32
32
  r = result
33
33
  c = r.class
34
- file, = c.instance_method(r.name).source_location
34
+
35
+ if defined?(Minitest::Result) && Minitest::Result === r then
36
+ file, = r.source_location
37
+ cn = r.klass
38
+ else
39
+ file, = r.method(r.name).source_location
40
+ cn = c.name
41
+ end
42
+
35
43
  sanitize r.failures
36
44
 
37
- @mt_server.result file, c.name, r.name, r.failures, r.assertions, r.time
45
+ @mt_server.result file, cn, r.name, r.failures, r.assertions, r.time
38
46
  end
39
47
 
40
48
  def sanitize failures
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE1M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3GffBdtE3KGkU5xstFnXGajxuBRnL66E15KU0BNehVxdG258bdPu
28
+ EKN6MqBPftFiev3tuwqDV11r2GquDpniYcT+Mi8/PgeAgVT/afBeVgbB3KaZeTRR
29
+ AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
30
+ V+HB+LYYhXWitInO/eXxDrFB
31
31
  -----END CERTIFICATE-----
32
- date: 2016-05-03 00:00:00.000000000 Z
32
+ date: 2018-02-06 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: minitest
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '5.0'
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '5.0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rdoc
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '4.0'
55
55
  type: :development
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '4.0'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: hoe
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.15'
68
+ version: '3.16'
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.15'
75
+ version: '3.16'
76
76
  description: |-
77
77
  minitest-server provides a client/server setup with your minitest
78
78
  process, allowing your test run to send its results directly to a
@@ -86,7 +86,7 @@ extra_rdoc_files:
86
86
  - Manifest.txt
87
87
  - README.rdoc
88
88
  files:
89
- - .autotest
89
+ - ".autotest"
90
90
  - History.rdoc
91
91
  - Manifest.txt
92
92
  - README.rdoc
@@ -100,23 +100,23 @@ licenses:
100
100
  metadata: {}
101
101
  post_install_message:
102
102
  rdoc_options:
103
- - --main
103
+ - "--main"
104
104
  - README.rdoc
105
105
  require_paths:
106
106
  - lib
107
107
  required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.4.5
119
+ rubygems_version: 2.7.3
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: minitest-server provides a client/server setup with your minitest process,
metadata.gz.sig CHANGED
Binary file