test-unit 3.3.4 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +11 -0
- data/lib/test/unit/code-snippet-fetcher.rb +4 -2
- data/lib/test/unit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a584be907dd430934f5a1c24e8dc859eda50290115cdf947d8daf2ea81d2178
|
4
|
+
data.tar.gz: 3d50831298ead40ec2405252e04363c13841f85402de11d7dba8f4528484b392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b84485dbac9ba0533be8586f8c13957b3509d82ea29274c4716c93c0e9ac0481150a4fb6590be60466d17feeb480de1fb0a79eea3f5f8462a6a3ac85e2dbace
|
7
|
+
data.tar.gz: 0b516c62f5ce1f23afed0eab2e7bd35416535b71c77ea0819db08b404fada1c0400bd20d497e573acae63c3d99539c96ab2df16f917315e37fadf561f4731c22
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.3.5 - 2020-01-10 {#version-3-3-5}
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Improved code snippet showing with different default external encoding.
|
8
|
+
[GitHub#166][Patch by Yuta Iwama]
|
9
|
+
|
10
|
+
### Thanks
|
11
|
+
|
12
|
+
* Yuta Iwama
|
13
|
+
|
3
14
|
## 3.3.4 - 2019-09-30 {#version-3-3-4}
|
4
15
|
|
5
16
|
### Improvements
|
@@ -31,9 +31,11 @@ module Test
|
|
31
31
|
break if first_line.nil?
|
32
32
|
encoding = detect_encoding(first_line) || Encoding::UTF_8
|
33
33
|
first_line.force_encoding(encoding)
|
34
|
-
file.set_encoding(encoding)
|
35
34
|
lines << first_line
|
36
|
-
|
35
|
+
file.each_line do |line|
|
36
|
+
line.force_encoding(encoding)
|
37
|
+
lines << line
|
38
|
+
end
|
37
39
|
end
|
38
40
|
lines
|
39
41
|
end
|
data/lib/test/unit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|