redshift_sanitizer 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/redshift_sanitizer.rb +1 -1
- data/lib/redshift_sanitizer/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: dffd72ce813ac88705592b9bd6f929af88fdea989486855a3a503068793fe241
|
4
|
+
data.tar.gz: 79b2267f07f44939ad17388434f91d4f715392b288b49e8d57747616b9298a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86a81e3e2081b8b7f180ca8519e084f9cb28d5c48bd47a624abdaa0cdc92552c5ee7358b908197e639a911bc39dbdf0184f5d2200ff39e9f4cc08bcdb33f7cde
|
7
|
+
data.tar.gz: 854605bbe5fffde81b950aa0501838aa1ab6f933c390a6b2b397325109152455bb6d78b1fe241ae4075aa95a76fac0b0f36acbc8d8bb924d1231cd6218b6112c
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
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/
|
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/
|
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).
|
data/lib/redshift_sanitizer.rb
CHANGED
@@ -25,7 +25,7 @@ module RedshiftSanitizer
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# Remove invalid UTF-8 character
|
28
|
-
text = text.encode('UTF-8',
|
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)
|
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.
|
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:
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|