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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8559bf050780c83fa9e6ff438ac369f279e108300637b4f91766bf16e074b95a
4
- data.tar.gz: 250688e7308d7a22110bce25ce3e171fa0dd0cc9d2da828522b8ccefb30ec94e
3
+ metadata.gz: 9a584be907dd430934f5a1c24e8dc859eda50290115cdf947d8daf2ea81d2178
4
+ data.tar.gz: 3d50831298ead40ec2405252e04363c13841f85402de11d7dba8f4528484b392
5
5
  SHA512:
6
- metadata.gz: 19e0050adf3340836e1591632b001ac69c995497b37a55eb741d17a469f43d78e4b7160fc030b063ad334d79ea4ad904cadc219ffa6bed8324e3bc3cb83cb83e
7
- data.tar.gz: 6e2e87365ac089e6ee0d6ec168340384510be4c6f228f14092b5231731c0a9856077071eff267dd02dd9f81d188391d3a9e2bd29920b351849f786476b333774
6
+ metadata.gz: 9b84485dbac9ba0533be8586f8c13957b3509d82ea29274c4716c93c0e9ac0481150a4fb6590be60466d17feeb480de1fb0a79eea3f5f8462a6a3ac85e2dbace
7
+ data.tar.gz: 0b516c62f5ce1f23afed0eab2e7bd35416535b71c77ea0819db08b404fada1c0400bd20d497e573acae63c3d99539c96ab2df16f917315e37fadf561f4731c22
@@ -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
- lines.concat(file.readlines)
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
@@ -1,5 +1,5 @@
1
1
  module Test
2
2
  module Unit
3
- VERSION = "3.3.4"
3
+ VERSION = "3.3.5"
4
4
  end
5
5
  end
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
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: 2019-09-29 00:00:00.000000000 Z
12
+ date: 2020-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: power_assert