test-unit 3.1.2 → 3.1.3

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: 8be7959401728df47bc4b88eac23413dbd3a86c3
4
- data.tar.gz: e33ff36797d6460493b4ffafe735d7e0e7f705b5
3
+ metadata.gz: e9def7f8553bdcaaefdc8a289cdaf35bf1a9fbcb
4
+ data.tar.gz: 707bef5ddbcc5c8c768bd2b0a7e923b6c1a85bcb
5
5
  SHA512:
6
- metadata.gz: 069c7c7921016c4aa8c120cc8b35269a92e1d7648af633ad788a65ab9a57e77616d9522a95a76f6f0c46407a49ac55091c2362d37d2254133154e5bccd231e52
7
- data.tar.gz: b9141346b7b729e185b1a6dc7608eb594a8ec361cfb6591aa21379c1c0a246b797f2f852971c31aca0f372ff1e9908165a0bc1f58264c93678435566b0e41a15
6
+ metadata.gz: 0aa58204ba7a0edcea7204eba1dbbb607645061214ef59f72702a034f9819c0b8c3b517b5bf8a0d6891de27707bba0a37b319c3aef373562fbefe21aff183a8a
7
+ data.tar.gz: 57dae04e712d130a912e63f7dead347e31920d0bdc62f18ecc01270986c931b3e4e5bc02d99c085f4f86fc251462140c3b599b9fff87adca0d9ab69aea016991
@@ -1,5 +1,31 @@
1
1
  # News
2
2
 
3
+ ## 3.1.3 - 2015-07-26 {#version-3-1-3}
4
+
5
+ It's a bug fix release.
6
+
7
+ ### Improvements
8
+
9
+ * Removed unused `TODO` file. [GitHub#108][Patch by takiy33]
10
+
11
+ ### Fixes
12
+
13
+ * `--location`: Fixed a bug that `--location LINE` doesn't work when
14
+ test script is specified as relative path. [Reported by TOMITA Masahiro]
15
+
16
+ The following doesn't work:
17
+
18
+ % ruby ./test.rb --location 10
19
+
20
+ The following works:
21
+
22
+ % ruby test.rb --location 10
23
+
24
+ ### Thanks
25
+
26
+ * takiy33
27
+ * TOMITA Masahiro
28
+
3
29
  ## 3.1.2 - 2015-06-09 {#version-3-1-2}
4
30
 
5
31
  It's command line option improvements fix release.
@@ -121,12 +121,12 @@ module Test
121
121
  if source_location
122
122
  path, line = source_location
123
123
  else
124
- path, line, = caller[0].split(/:(\d+)/,2)
124
+ path, line, = caller[0].split(/:(\d+)/, 2)
125
125
  line = line.to_i if line
126
126
  end
127
127
  method_locations << {
128
128
  :method_name => stringified_name,
129
- :path => path,
129
+ :path => File.expand_path(path),
130
130
  :line => line,
131
131
  }
132
132
  added_method_names[stringified_name] = true
@@ -1,5 +1,5 @@
1
1
  module Test
2
2
  module Unit
3
- VERSION = '3.1.2'
3
+ VERSION = '3.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-09 00:00:00.000000000 Z
12
+ date: 2015-07-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: power_assert
@@ -113,7 +113,6 @@ files:
113
113
  - PSFL
114
114
  - README.md
115
115
  - Rakefile
116
- - TODO
117
116
  - doc/text/how-to.md
118
117
  - doc/text/news.md
119
118
  - lib/test-unit.rb
data/TODO DELETED
@@ -1 +0,0 @@
1
- Do you have it?