test-unit-activesupport 1.0.5 → 1.0.6

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: 76fb392d0238c623f18a187ed1779e46cfb2ca26
4
- data.tar.gz: 17d9425e51a78253b654527a3ff110523c049081
3
+ metadata.gz: ee232c1a36b8324a842707a1956fafef2fd3fbee
4
+ data.tar.gz: 9d6747dc2b117d9ed06c98db2d89cbc9938060dd
5
5
  SHA512:
6
- metadata.gz: 255b406c89dd43c9cfc39b862222f93bd90d775eb2e4150152c511a1c54980899c1459296985ab4a4f9693b4b41268fe8490bcc46b257a33bd665bf1a8e89539
7
- data.tar.gz: 2c1cce5ddf7b9a478a79e10e358cfaada44c77de54b8f908e47a1e3a6a5d3487ebd4e77d9458c511c04d83894bac20979dbf3a53b84760cffed3314b66afb688
6
+ metadata.gz: f4902be929ea3f959eb2d7073bea197abf31b08a989dfd5192b19d3ea6cacaff9ebbf717fcff744c29b13d18b942caf42397b3b3579ba60b6ea5c2ca688d4673
7
+ data.tar.gz: 09e9d30d6214d6a071ba24a2b9af599091529dc1fa58107c1beda3fe50c1959a1cc48e01f731b7f7a035065a0fd7fbcf1c45a7b4746cc1eb2867373b18955b4d
data/Rakefile CHANGED
@@ -48,6 +48,13 @@ document_task = Packnga::DocumentTask.new(spec) do |task|
48
48
  end
49
49
 
50
50
  Packnga::ReleaseTask.new(spec) do |task|
51
+ test_unit_github_io_dir_candidates = [
52
+ "../../www/test-unit.github.io",
53
+ ]
54
+ test_unit_github_io_dir = test_unit_github_io_dir_candidates.find do |dir|
55
+ File.directory?(dir)
56
+ end
57
+ task.index_html_dir = test_unit_github_io_dir
51
58
  end
52
59
 
53
60
  desc "Run test"
@@ -1,5 +1,18 @@
1
1
  # News
2
2
 
3
+ ## 1.0.6 - 2016-05-20 {#1-0-6}
4
+
5
+ Rails 5.0 RC1 support release.
6
+
7
+ ### Improves
8
+
9
+ * Supported Rails 5.0 RC1.
10
+ [Reported by Shinta Koyanagi]
11
+
12
+ ### Thanks
13
+
14
+ * Shinta Koyanagi
15
+
3
16
  ## 1.0.5 - 2016-03-05 {#1-0-5}
4
17
 
5
18
  Action Dispatch support fix release.
@@ -18,15 +18,17 @@
18
18
 
19
19
  require "test-unit"
20
20
  require "active_support/testing/assertions"
21
- $LOADED_FEATURES.size.times do |i|
22
- feature = $LOADED_FEATURES[i]
23
- if feature.end_with?("active_support/testing/assertions.rb")
24
- as_test_case_feature = feature.gsub(/testing\/assertions.rb\z/,
21
+
22
+ as_test_case_name = "active_support/test_case.rb"
23
+ unless $LOADED_FEATURES.any? {|feature| feature.end_with?(as_test_case_name)}
24
+ $LOADED_FEATURES.size.times do |i|
25
+ feature = $LOADED_FEATURES[i]
26
+ if feature.end_with?("active_support/testing/assertions.rb")
27
+ as_test_case_feature = feature.gsub(/testing\/assertions.rb\z/,
25
28
  "test_case.rb")
26
- $LOADED_FEATURES[i, 0] = as_test_case_feature
27
- break
28
- elsif feature.end_with?("active_support/test_case.rb")
29
- break
29
+ $LOADED_FEATURES[i, 0] = as_test_case_feature
30
+ break
31
+ end
30
32
  end
31
33
  end
32
34
 
@@ -1,6 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2012-2016 Kouhei Sutou <kou@clear-code.com>
4
2
  #
5
3
  # This library is free software; you can redistribute it and/or
6
4
  # modify it under the terms of the GNU Lesser General Public
@@ -19,7 +17,7 @@
19
17
  module Test
20
18
  module Unit
21
19
  module ActiveSupport
22
- VERSION = "1.0.5"
20
+ VERSION = "1.0.6"
23
21
  end
24
22
  end
25
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.5
4
+ version: 1.0.6
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-03-05 00:00:00.000000000 Z
11
+ date: 2016-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport