test-unit-activesupport 1.0.7 → 1.0.8
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 +6 -2
- 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: 0f65ca78a0316a8c2f209619049a0ea774e0d209
|
|
4
|
+
data.tar.gz: ef551024cfccd3edad972c2b24acc0e0ffe89a07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b4910a608793950d8ebc44ee000c19fe31c6d4c63010751305360441b27196fc9b55530b07d0129ed11731d45fcba5cec69733dddc940ff17abe4ac97c8858f
|
|
7
|
+
data.tar.gz: 0bd81fe51b1a491ca637350db9852690db18a828c9559c685aedbebe9cbb32f186ee417db7656fd54e26fb285f3246034086323b64141499e0ab08d3bad09929
|
data/doc/text/news.md
CHANGED
|
@@ -20,7 +20,11 @@ require "test-unit"
|
|
|
20
20
|
require "active_support"
|
|
21
21
|
require 'active_support/core_ext/class/attribute'
|
|
22
22
|
require "active_support/testing/assertions"
|
|
23
|
-
|
|
23
|
+
begin
|
|
24
|
+
require 'active_support/testing/file_fixtures'
|
|
25
|
+
rescue LoadError
|
|
26
|
+
# Active Support < 5 doesn't have file_fixtures
|
|
27
|
+
end
|
|
24
28
|
|
|
25
29
|
as_test_case_name = "active_support/test_case.rb"
|
|
26
30
|
unless $LOADED_FEATURES.any? {|feature| feature.end_with?(as_test_case_name)}
|
|
@@ -42,7 +46,7 @@ module ActiveSupport
|
|
|
42
46
|
|
|
43
47
|
class TestCase < ::Test::Unit::TestCase
|
|
44
48
|
include ActiveSupport::Testing::Assertions
|
|
45
|
-
include ActiveSupport::Testing::FileFixtures
|
|
49
|
+
include ActiveSupport::Testing::FileFixtures if defined?(ActiveSupport::Testing::FileFixtures)
|
|
46
50
|
|
|
47
51
|
# shoulda needs ActiveSupport::TestCase::Assertion, which is not
|
|
48
52
|
# set in test-unit 3
|
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.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-12-
|
|
11
|
+
date: 2016-12-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|