test-unit-activesupport 1.0.8 → 1.0.9
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 +4 -4
- data/doc/text/news.md +11 -0
- data/lib/test/unit/active_support.rb +8 -0
- data/lib/test/unit/active_support/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aed9d1a340f08ed230f9ee71a37ef837fad81b46
|
4
|
+
data.tar.gz: 3219a38b5460b420224b92b51bc068297709f798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 444784182d3328b2326f1272e293f81fe4e57a678b69e949f1344e7c2b5eea146ec9f869388c8d0e3630a09837c9ba4f4ac07b1426bf955e2234cdc78f8fc87a
|
7
|
+
data.tar.gz: ee73e619f1e793c6a6b9285246ebfd38c702d1a681963851998a8a7e1ffb2434209d343683939f6e3948203a683004280c78e2d4731004e0012ac3b0d253390d
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.0.9 - 2017-07-26 {#1-0-9}
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Supported `#before_setup` and `#after_teardown`.
|
8
|
+
[GitHub:test-unit-rails#15][Reported by naofumi-fujii]
|
9
|
+
|
10
|
+
### Thanks
|
11
|
+
|
12
|
+
* naofumi-fujii
|
13
|
+
|
3
14
|
## 1.0.8 - 2016-12-20 {#1-0-8}
|
4
15
|
|
5
16
|
### Fixes
|
@@ -52,6 +52,14 @@ module ActiveSupport
|
|
52
52
|
# set in test-unit 3
|
53
53
|
Assertion = Test::Unit::AssertionFailedError
|
54
54
|
|
55
|
+
setup :before => :prepend
|
56
|
+
def before_setup
|
57
|
+
end
|
58
|
+
|
59
|
+
teardown :after => :append
|
60
|
+
def after_teardown
|
61
|
+
end
|
62
|
+
|
55
63
|
# rails 4.1 (action dispatch assertions) needs the 'message'
|
56
64
|
# method which is not defined in test-unit 3
|
57
65
|
def message(msg=nil, ending=nil, &default)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit-activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|