test-unit 3.1.4 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57805613cde6a22cb8cf71430b2c0ecde57ac984
4
- data.tar.gz: e5bdf146e30e219136e936f888987ea87e95ee1c
3
+ metadata.gz: 86673156c68b86e03890136de7cac26b04ebf6ba
4
+ data.tar.gz: e2e15e416b83d09eee253273f981ef4a9c2566f5
5
5
  SHA512:
6
- metadata.gz: 57453b7fdd0cce483d76874b7b159d2c9a6b66b552dc3fcbc3038ca12b332d44d00019bd2e345daf18a4974828ec13936dabf339368bf748b2e4498b63d18251
7
- data.tar.gz: 7fd93592e734a30c95b0591c477778c3ae9abf1dd70cc511b3b43dbdfcae1e532086742a252c7cc823aa2a46fd35a7750f584df870e7ff3f7f059b553077caca
6
+ metadata.gz: e6d3ea4e758eb002dad57e91d1db3a7f71ff12e1a6428c115db9c619cbd9b054606f74a8b9aeed216c6ab9d9a37d257d6f4521d9dcfbfa60966073c41b0b67fc
7
+ data.tar.gz: 09d14bdfc97c567d50c1b2feaac261cad406256c86bbe9be809c48f012dd845a76be20bd94e29190ce77580bfee96ddbc94f0f309b990eb97521cd22d72b9b59
@@ -1,5 +1,19 @@
1
1
  # News
2
2
 
3
+ ## 3.1.5 - 2015-10-09 {#version-3-1-5}
4
+
5
+ It's a Rack integration improvement release.
6
+
7
+ ### Improvements
8
+
9
+ * Renamed experimental top-level `run` method to `run_test` method
10
+ because `run` is conflicted with Rack.
11
+ [GitHub#32][GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
12
+
13
+ ### Thanks
14
+
15
+ * Yevhen Viktorov
16
+
3
17
  ## 3.1.4 - 2015-09-26 {#version-3-1-4}
4
18
 
5
19
  It's a minor improvement release.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # License: Ruby's or LGPLv2.1 or later
4
4
  #
@@ -24,9 +24,11 @@ module Test
24
24
  end
25
25
  end
26
26
 
27
- # experimental. It is for "ruby -rtest-unit -e run test/test_*.rb".
28
- # Is this API OK or dirty?
29
- def run
30
- self.class.send(:undef_method, :run)
31
- require "test/unit"
27
+ unless respond_to?(:run_test, true)
28
+ # experimental. It is for "ruby -rtest-unit -e run_test test/test_*.rb".
29
+ # Is this API OK or dirty?
30
+ def run_test
31
+ self.class.send(:undef_method, :run_test)
32
+ require "test/unit"
33
+ end
32
34
  end
@@ -1,5 +1,5 @@
1
1
  module Test
2
2
  module Unit
3
- VERSION = '3.1.4'
3
+ VERSION = '3.1.5'
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.4
4
+ version: 3.1.5
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-09-26 00:00:00.000000000 Z
12
+ date: 2015-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: power_assert