test-unit 3.1.8 → 3.1.9

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: 5844bfd9d0754f090d6234c91739e29922476a05
4
- data.tar.gz: 8b1eeab14fe29d9451f73a456792d47079cbca41
3
+ metadata.gz: 0e5507f35462b1608a59aa1f0f7d0e54d96dd43a
4
+ data.tar.gz: dee213b7aca1b25bde8d9146bcf261fa26c1b568
5
5
  SHA512:
6
- metadata.gz: 85cd16c83e1572e93970165b9e0d6b8845d366a381b6c7e424d63750dbe6d48029e1ed409e6e9bbca54bee29edbe1c28ac9c2f31b4534283b89adb549351d356
7
- data.tar.gz: 023ef74d97b7f612dfb927d99763ccaaf82c3758e17a9806a345f87878186db6f59c0a9fd4a17b1b0a1f89a6c635fed32be98c82e7bae7f1152e25d84878931a
6
+ metadata.gz: affeab595b2905bbd82452433a03adfb31c7feb3a9fddbb4ad014c0485da49785ce1f6e46f410f4bba54beee7718c611139c292516655ad6dbeff900855d4e0f
7
+ data.tar.gz: ee76f1bf9e5ccec72af8d348d2c9b90874ad25bfbc0ef54a58561a03a7cd6f19ca8786e908e6bbbf22c1874cc1763b79fbd33a7ba8f920fb0949e43d629a0668
@@ -1,5 +1,18 @@
1
1
  # News
2
2
 
3
+ ## 3.1.9 - 2016-05-20 {#version-3-1-9}
4
+
5
+ ### Fixes
6
+
7
+ * Fixed conflict with test-unit-power_assert.
8
+ [GitHub#120][Patch by Kazuki Tsujimoto]
9
+
10
+ * Fixed a bug that path in `$LOAD_PATH` may be removed.
11
+
12
+ ### Thanks
13
+
14
+ * Kazuki Tsujimoto
15
+
3
16
  ## 3.1.8 - 2016-03-19 {#version-3-1-8}
4
17
 
5
18
  ### Improvements
@@ -131,6 +131,8 @@ module Test
131
131
  return yield if path.nil?
132
132
 
133
133
  path = path.to_s
134
+ return yield if $LOAD_PATH.index(path)
135
+
134
136
  begin
135
137
  $LOAD_PATH.unshift(path)
136
138
  yield
@@ -12,8 +12,8 @@ module Test
12
12
  TESTUNIT_RB_FILE = /\.rb\Z/
13
13
 
14
14
  POWERASSERT_PREFIX =
15
- defined?(PowerAssert) ?
16
- PowerAssert.method(:start).source_location[0].split(TESTUNIT_FILE_SEPARATORS)[0..-2] :
15
+ defined?(::PowerAssert) ?
16
+ ::PowerAssert.method(:start).source_location[0].split(TESTUNIT_FILE_SEPARATORS)[0..-2] :
17
17
  nil
18
18
 
19
19
  module_function
@@ -1,5 +1,5 @@
1
1
  module Test
2
2
  module Unit
3
- VERSION = '3.1.8'
3
+ VERSION = '3.1.9'
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.8
4
+ version: 3.1.9
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: 2016-03-19 00:00:00.000000000 Z
12
+ date: 2016-05-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: power_assert
@@ -234,44 +234,44 @@ signing_key:
234
234
  specification_version: 4
235
235
  summary: An xUnit family unit testing framework for Ruby.
236
236
  test_files:
237
- - test/test-code-snippet.rb
238
- - test/test-fault-location-detector.rb
239
- - test/test-attribute.rb
240
- - test/test-priority.rb
241
- - test/test-color-scheme.rb
242
- - test/test-failure.rb
243
- - test/test-color.rb
244
237
  - test/ui/test_testrunmediator.rb
238
+ - test/util/test-method-owner-finder.rb
239
+ - test/util/test-output.rb
240
+ - test/util/test_observable.rb
241
+ - test/util/test_procwrapper.rb
242
+ - test/util/test_backtracefilter.rb
243
+ - test/test-test-result.rb
244
+ - test/test-assertions.rb
245
245
  - test/test-attribute-matcher.rb
246
- - test/test-test-suite.rb
247
- - test/test-test-suite-creator.rb
248
- - test/test-diff.rb
249
- - test/test-emacs-runner.rb
250
- - test/test-data.rb
246
+ - test/test-code-snippet.rb
247
+ - test/collector/test_objectspace.rb
248
+ - test/collector/test-descendant.rb
249
+ - test/collector/test-load.rb
250
+ - test/collector/test_dir.rb
251
251
  - test/fixtures/header.csv
252
- - test/fixtures/header.tsv
253
- - test/fixtures/no-header.tsv
252
+ - test/fixtures/header-label.csv
254
253
  - test/fixtures/plus.csv
254
+ - test/fixtures/no-header.tsv
255
255
  - test/fixtures/no-header.csv
256
256
  - test/fixtures/header-label.tsv
257
- - test/fixtures/header-label.csv
258
- - test/test-assertions.rb
259
- - test/test-test-result.rb
257
+ - test/fixtures/header.tsv
258
+ - test/test-failure.rb
259
+ - test/test-test-suite.rb
260
+ - test/run-test.rb
261
+ - test/test-emacs-runner.rb
260
262
  - test/testunit-test-util.rb
261
- - test/collector/test-load.rb
262
- - test/collector/test_dir.rb
263
- - test/collector/test_objectspace.rb
264
- - test/collector/test-descendant.rb
263
+ - test/test-fault-location-detector.rb
264
+ - test/test-test-case.rb
265
+ - test/test-omission.rb
266
+ - test/test-notification.rb
267
+ - test/test-fixture.rb
268
+ - test/test-test-suite-creator.rb
269
+ - test/test-diff.rb
270
+ - test/test-color-scheme.rb
271
+ - test/test-data.rb
265
272
  - test/test-error.rb
266
- - test/run-test.rb
273
+ - test/test-priority.rb
267
274
  - test/test-pending.rb
268
- - test/test-fixture.rb
269
- - test/util/test-output.rb
270
- - test/util/test-method-owner-finder.rb
271
- - test/util/test_observable.rb
272
- - test/util/test_procwrapper.rb
273
- - test/util/test_backtracefilter.rb
274
- - test/test-notification.rb
275
- - test/test-omission.rb
276
- - test/test-test-case.rb
275
+ - test/test-color.rb
276
+ - test/test-attribute.rb
277
277
  has_rdoc: