test-unit-activesupport 1.0.7 → 1.0.8

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: bdb05ea66376ab05edd5395677e80eb93ab89524
4
- data.tar.gz: a51ff514a188676a42fbdc532b541ae0e46964d5
3
+ metadata.gz: 0f65ca78a0316a8c2f209619049a0ea774e0d209
4
+ data.tar.gz: ef551024cfccd3edad972c2b24acc0e0ffe89a07
5
5
  SHA512:
6
- metadata.gz: 391e6a663e1f42c1bb8f9fe4fb21ac85e319a17be3e27e9d3912694fbc3c1e250e01944cabb83e210c512ffb7dcb8f3ddb4746a4ec440ba828308691386f445b
7
- data.tar.gz: 5618e4c62493e962f74d4a4b6ace199d931608f19b4742d8899284f4b079d576b6ed5c635c6b77d600c1fd350783c9d37a99638574737e30eedba4ba86a2841f
6
+ metadata.gz: 9b4910a608793950d8ebc44ee000c19fe31c6d4c63010751305360441b27196fc9b55530b07d0129ed11731d45fcba5cec69733dddc940ff17abe4ac97c8858f
7
+ data.tar.gz: 0bd81fe51b1a491ca637350db9852690db18a828c9559c685aedbebe9cbb32f186ee417db7656fd54e26fb285f3246034086323b64141499e0ab08d3bad09929
data/doc/text/news.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # News
2
2
 
3
+ ## 1.0.8 - 2016-12-20 {#1-0-8}
4
+
5
+ ### Fixes
6
+
7
+ * Supported Active Support 4 again.
8
+ [GitHub#12][Patch by Akira Matsuda]
9
+
10
+ ### Thanks
11
+
12
+ * Akira Matsuda
13
+
3
14
  ## 1.0.7 - 2016-12-15 {#1-0-7}
4
15
 
5
16
  ### Improvements
@@ -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
- require 'active_support/testing/file_fixtures'
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
@@ -17,7 +17,7 @@
17
17
  module Test
18
18
  module Unit
19
19
  module ActiveSupport
20
- VERSION = "1.0.7"
20
+ VERSION = "1.0.8"
21
21
  end
22
22
  end
23
23
  end
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.7
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-15 00:00:00.000000000 Z
11
+ date: 2016-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport