redshift_sanitizer 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: dd0ac4ce40e117f6b0bd5d985425b3c9c817064da3196f125d495a4fc5e0aca3
4
- data.tar.gz: cac6f603db89580fa098bd441d80445e15eb58cdf406f2c0d89552c999ec93ca
3
+ metadata.gz: dffd72ce813ac88705592b9bd6f929af88fdea989486855a3a503068793fe241
4
+ data.tar.gz: 79b2267f07f44939ad17388434f91d4f715392b288b49e8d57747616b9298a5b
5
5
  SHA512:
6
- metadata.gz: 864d0ca437f17ec824e9341b3b9a54c8a0f12c3a25eb55744f3fcbe6c563e3f2ad9e39410ee822cc39814958212b590fcb94b397dc2067f5bef59641d4020326
7
- data.tar.gz: 1bd7221e6f8402f2d72acbff8c36aacbcef9fbbfac710c1a7c05212d44140ed54c57b718a79cbaa9d971b8de37358cb639ac5ff319895e013d3062c726b16aba
6
+ metadata.gz: 86a81e3e2081b8b7f180ca8519e084f9cb28d5c48bd47a624abdaa0cdc92552c5ee7358b908197e639a911bc39dbdf0184f5d2200ff39e9f4cc08bcdb33f7cde
7
+ data.tar.gz: 854605bbe5fffde81b950aa0501838aa1ab6f933c390a6b2b397325109152455bb6d78b1fe241ae4075aa95a76fac0b0f36acbc8d8bb924d1231cd6218b6112c
@@ -12,4 +12,8 @@
12
12
 
13
13
  ## [0.1.2] - 2019-11-05
14
14
 
15
- - Only remove \u0000, rather all possible null characters
15
+ - Only remove \u0000, rather all possible null characters
16
+
17
+ ## [0.1.3] - 2020-01-03
18
+
19
+ - Fix the chinese character encode bug
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- redshift_sanitizer (0.1.2)
4
+ redshift_sanitizer (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -41,7 +41,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
41
41
 
42
42
  ## Contributing
43
43
 
44
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/redshift_sanitizer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
44
+ Bug reports and pull requests are welcome on GitHub at https://github.com/branliang/redshift_sanitizer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
45
45
 
46
46
  ## License
47
47
 
@@ -49,4 +49,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
49
49
 
50
50
  ## Code of Conduct
51
51
 
52
- Everyone interacting in the RedshiftSanitizer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/redshift_sanitizer/blob/master/CODE_OF_CONDUCT.md).
52
+ Everyone interacting in the RedshiftSanitizer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/branliang/redshift_sanitizer/blob/master/CODE_OF_CONDUCT.md).
@@ -25,7 +25,7 @@ module RedshiftSanitizer
25
25
  end
26
26
 
27
27
  # Remove invalid UTF-8 character
28
- text = text.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: configuration.replace)
28
+ text = text.encode('UTF-8', invalid: :replace, undef: :replace, replace: configuration.replace)
29
29
 
30
30
  # Remove delimeter
31
31
  text = text.gsub(configuration.delimeter, configuration.replace)
@@ -1,3 +1,3 @@
1
1
  module RedshiftSanitizer
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redshift_sanitizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BranLiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2020-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler