test-unit-activesupport 1.0.3 → 1.0.4

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: 58c8b794162d8c26c21f4e5702f5b026e8dfd973
4
- data.tar.gz: 5cb2acc74181c30775006b54658d380d243ec64c
3
+ metadata.gz: 11c017e732873fd505ddcaee5fe8043ab8cd5ab2
4
+ data.tar.gz: a5498cb302285ef52a3f73826b590a132d16d7cd
5
5
  SHA512:
6
- metadata.gz: 314c7eacac425849f55959eb2e0f3ae9eb653fd3cb70ea7144125ece69ff7fa9122acc67669fae1a0f9d43966610cb53e0b8916abc2165fecba21d48539636ca
7
- data.tar.gz: 2fd3f7ba4a4ec11a01a9d2df3235d99ae5a2608fdacb466bb05d2045d7f196caadd4c8b8b77ab6fca418cc3892b09e8864d4fb2ce0e0cd5c9791a18b36c93779
6
+ metadata.gz: 22830d6b068f704c1c4fff64e689706c4116d76e3430f494b8994a4a8c7f2604aaef1e3c773fd1ee9c2d56f02c70cdfcd3df0e38b57eab97d9b3a0059bfbcafe
7
+ data.tar.gz: cf32e3f468efcc86e6ac340528aee31858ea0ed0f2724decd175875a3bb8782a75f8293f36eeeabf7340ebc339869a83cd5d2b9e7fb302362b199de6c158bdd2
@@ -0,0 +1,45 @@
1
+ # test-unit-activesupport
2
+
3
+ [![](https://travis-ci.org/test-unit/test-unit-activesupport.svg?branch=master)](https://travis-ci.org/test-unit/test-unit-activesupport)
4
+
5
+ [Web site](https://test-unit.github.io/#test-unit-activesupport)
6
+
7
+ ## Description
8
+
9
+ test-unit-activesupport is an ActiveSupport adapter for test-unit 3. You can use full test-unit 3 features with `ActiveSupport::TestCase`.
10
+
11
+ ## Install
12
+
13
+ Require `test/unit/active_support`:
14
+
15
+ ```
16
+ require "test/unit/active_support"
17
+ require "active_support"
18
+ ```
19
+
20
+ Now you can use full test-unit 3.x features with ActiveSupport.
21
+
22
+ ```
23
+ require "test/unit/active_support"
24
+ require "active_support"
25
+
26
+ class YourTest < ActiveSupport::TestCase
27
+ # ...
28
+ end
29
+ ```
30
+
31
+ ## License
32
+
33
+ LGPLv2.1 or later.
34
+
35
+ (Kouhei Sutou has a right to change the license including contributed patches.)
36
+
37
+ ## Authors
38
+
39
+ * Kouhei Sutou
40
+ * Haruka Yoshihara
41
+
42
+ ## Thanks
43
+
44
+ * Michael Grosser
45
+ * Shinta Koyanagi
@@ -0,0 +1,61 @@
1
+ # News
2
+
3
+ ## 1.0.4 - 2015-08-28 {#1-0-4}
4
+
5
+ Action Mailer support fix release.
6
+
7
+ ### Improvements
8
+
9
+ * Migrated document markup to Markdown from Textile.
10
+ [GitHub#5][GitHub#7][GitHub#8][Patch by Shinta Koyanagi]
11
+ * Supported Action Mailer. [GitHub#9][Patch by Akira Matsuda]
12
+
13
+ ### Thanks
14
+
15
+ * Shinta Koyanagi
16
+ * Akira Matsuda
17
+
18
+ ## 1.0.3 - 2015-02-03 {#1-0-3}
19
+
20
+ Bug fix release.
21
+
22
+ ### Fixes
23
+
24
+ * Supported below missing assertions from
25
+ `ActiveSupport::Testing::Assertions`.
26
+ [GitHub#4][Patch by Shinta Koyanagi]
27
+ * `assert_not`
28
+ * `assert_difference`
29
+ * `assert_no_difference`
30
+
31
+ ### Thanks
32
+
33
+ * Shinta Koyanagi
34
+
35
+ ## 1.0.2 - 2014-09-04 {#1-0-2}
36
+
37
+ ActiveSupport 4.0.0 support improved release.
38
+
39
+ ### Improvements
40
+
41
+ * Supported ActiveSupport 4.0.0 later.
42
+ Rails <~ 3.2 isn't supported in this release, so if you use it,
43
+ please use test-unit-activesupport 1.0.1.
44
+
45
+ ## 1.0.1 - 2012-07-20 {#1-0-1}
46
+
47
+ ActiveSupport 2.3.14 support improved release.
48
+
49
+ ### Improvements
50
+
51
+ * Supported ActiveSupport 2.3.14.
52
+ [GitHub#1] [GitHub#2]
53
+ [Reported by Michael Grosser]
54
+
55
+ ### Thanks
56
+
57
+ * Michael Grosser
58
+
59
+ ## 1.0.0 - 2012-06-03 {#1-0-0}
60
+
61
+ The first release!!!
@@ -18,6 +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/,
25
+ "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
30
+ end
31
+ end
21
32
 
22
33
  module ActiveSupport
23
34
  if const_defined?(:TestCase)
@@ -19,7 +19,7 @@
19
19
  module Test
20
20
  module Unit
21
21
  module ActiveSupport
22
- VERSION = "1.0.3"
22
+ VERSION = "1.0.4"
23
23
  end
24
24
  end
25
25
  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.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-03 00:00:00.000000000 Z
11
+ date: 2015-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: RedCloth
98
+ name: kramdown
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -117,9 +117,9 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - COPYING
119
119
  - Gemfile
120
- - README.textile
120
+ - README.md
121
121
  - Rakefile
122
- - doc/text/news.textile
122
+ - doc/text/news.md
123
123
  - lib/test/unit/active_support.rb
124
124
  - lib/test/unit/active_support/version.rb
125
125
  - test/run-test.rb
@@ -148,7 +148,7 @@ rubygems_version: 2.2.2
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: test-unit-activesupport is an ActiveSupport adapter for test-unit 3. You
151
- can use full test-unit 3 features with @ActiveSupport::TestCase@.
151
+ can use full test-unit 3 features with `ActiveSupport::TestCase`.
152
152
  test_files:
153
153
  - test/run-test.rb
154
154
  - test/test_assertions.rb
@@ -1,43 +0,0 @@
1
- h1. test-unit-activesupport
2
-
3
- !https://travis-ci.org/test-unit/test-unit-activesupport.svg?branch=master!:https://travis-ci.org/test-unit/test-unit-activesupport
4
-
5
- "Web site":https://test-unit.github.io/#test-unit-activesupport
6
-
7
- h2. Description
8
-
9
- test-unit-activesupport is an ActiveSupport adapter for test-unit 3. You can use full test-unit 3 features with @ActiveSupport::TestCase@.
10
-
11
- h2. Install
12
-
13
- Require @test/unit/active_support@:
14
-
15
- <pre>require "test/unit/active_support"
16
- require "active_support"
17
- </pre>
18
-
19
- Now you can use full test-unit 3.x features with ActiveSupport.
20
-
21
- <pre>require "test/unit/active_support"
22
- require "active_support"
23
-
24
- class YourTest < ActiveSupport::TestCase
25
- # ...
26
- end
27
- </pre>
28
-
29
- h2. License
30
-
31
- LGPLv2.1 or later.
32
-
33
- (Kouhei Sutou has a right to change the license including contributed patches.)
34
-
35
- h2. Authors
36
-
37
- * Kouhei Sutou
38
- * Haruka Yoshihara
39
-
40
- h2. Thanks
41
-
42
- * Michael Grosser
43
- * Shinta Koyanagi
@@ -1,45 +0,0 @@
1
- h1. News
2
-
3
- h2(#1-0-3). 1.0.3 - 2015-02-03
4
-
5
- Bug fix release.
6
-
7
- h3. Fixes
8
-
9
- * Supported below missing assertions from @ActiveSupport::Testing::Assertions@.
10
- [GitHub#4][Patch by Shinta Koyanagi]
11
- ** @assert_not@
12
- ** @assert_difference@
13
- ** @assert_no_difference@
14
-
15
- h3. Thanks
16
-
17
- * Shinta Koyanagi
18
-
19
- h2(#1-0-2). 1.0.2 - 2014-09-04
20
-
21
- ActiveSupport 4.0.0 support improved release.
22
-
23
- h3. Improvements
24
-
25
- * Supported ActiveSupport 4.0.0 later.
26
- Rails <~ 3.2 isn't supported in this release, so if you use it,
27
- please use test-unit-activesupport 1.0.1.
28
-
29
- h2(#1-0-1). 1.0.1 - 2012-07-20
30
-
31
- ActiveSupport 2.3.14 support improved release.
32
-
33
- h3. Improvements
34
-
35
- * Supported ActiveSupport 2.3.14.
36
- [GitHub#1] [GitHub#2]
37
- [Reported by Michael Grosser]
38
-
39
- h3. Thanks
40
-
41
- * Michael Grosser
42
-
43
- h2(#1-0-0). 1.0.0 - 2012-06-03
44
-
45
- The first release!!!