utf8_sanitizer 1.02 → 1.03

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: f0e4ff707e58e6238c6f62c2b8818b783406240a40e537663e928a914198e199
4
- data.tar.gz: cff25ea7735710a5ed4d8c5fe1f779688d9f9117880e710e998c2eaef5ac8e3a
3
+ metadata.gz: f3af373906de0aed05e9ec71862c16d3f7490848c54c3ead081da4c079ff7d6e
4
+ data.tar.gz: 85fb56afd39099e4b703069636cade9a0f29466bbc5bcdf83844fb074e60391a
5
5
  SHA512:
6
- metadata.gz: a6b37f0b41b0f4340d350438580e83c78719ffc83c1fc91cf0580eb921354ba9e661215bd710ee4f7391bb9920dde812b0735c4c367ea0381b60f9304a3770ae
7
- data.tar.gz: 8785995ab6dc235136a9e83f5ffb7e4d74fe5a4cee2d67539b0b0dd864542f6e959c10156e22e3ece65020e3f58c41e369b90267fdf2c6d0a86b41e0ad156254
6
+ metadata.gz: d8126f79434982d50f062f655819033dbc4e4aa0c8033e636bd459497c8391b78200b21a228dbd4d6e8c645247cf773355bf26a6bc37a1e22a4674df4056711c
7
+ data.tar.gz: 614d7e2f06747ac19afcee095365bff4a4dadf6020f6e78ff53f968c26aeb15901523eaeef9be77e8ef2a09e4b680376b6f8c801dc28520a980fb07de01b484e
data/.gitignore CHANGED
@@ -12,5 +12,4 @@ utf8_sanitizer-*.gem
12
12
  .idea/
13
13
  .xlsx
14
14
  .txt
15
- .csv
16
- !extensions.csv
15
+ !seed.csv
data/README.md CHANGED
@@ -96,7 +96,7 @@ The `:stats` are a breakdown of the results. `:defective_rows` and `:error_rows`
96
96
 
97
97
  Below is an example of the returned data (`:stats`, `:file_path`, `:data`)
98
98
 
99
- **`sanitized_data` is a local variable, which you can name anything you like, but it must be assigned in the following syntax: `[:data][:valid_data]` and `[:data][:encoded_data]`, etc.**
99
+ `sanitized_data` is a local variable, which you can name anything you like, but it must be assigned in the following syntax: `[:data][:valid_data]` and `[:data][:encoded_data]`, etc.
100
100
 
101
101
  ```
102
102
  { stats:
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ task :console do
15
15
  ARGV.clear
16
16
  orig_hashes = [{ :row_id=>"1", :url=>"stanleykaufman.com", :act_name=>"Stanley Chevrolet Kaufman\x99_\xCC", :street=>"825 E Fair St", :city=>"Kaufman", :state=>"TX", :zip=>"75142", :phone=>"(888) 457-4391\r\n" }]
17
17
 
18
- # sanitized_data = Utf8Sanitizer.sanitize(file_path: './lib/utf8_sanitizer/csv/seeds_dirty_1.csv')
18
+ # sanitized_data = Utf8Sanitizer.sanitize(file_path: './lib/utf8_sanitizer/csv/seed.csv')
19
19
  # sanitized_data = Utf8Sanitizer.sanitize(data: orig_hashes)
20
20
  sanitized_data = Utf8Sanitizer.sanitize
21
21
  puts sanitized_data.inspect
@@ -1,4 +1,4 @@
1
1
  module Utf8Sanitizer
2
2
  # VERSION = "0.0.1-rc.1"
3
- VERSION = '1.02'.freeze
3
+ VERSION = '1.03'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utf8_sanitizer
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.02'
4
+ version: '1.03'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Booth
@@ -200,15 +200,7 @@ files:
200
200
  - bin/console
201
201
  - bin/setup
202
202
  - lib/utf8_sanitizer.rb
203
- - lib/utf8_sanitizer/csv/extensions.csv
204
- - lib/utf8_sanitizer/csv/seeds_clean.csv
205
- - lib/utf8_sanitizer/csv/seeds_dirty.csv
206
- - lib/utf8_sanitizer/csv/seeds_dirty_1.csv
207
- - lib/utf8_sanitizer/csv/seeds_mega.csv
208
- - lib/utf8_sanitizer/csv/seeds_mini.csv
209
- - lib/utf8_sanitizer/csv/seeds_mini.csv,
210
- - lib/utf8_sanitizer/csv/seeds_mini_10.csv
211
- - lib/utf8_sanitizer/csv/seeds_mini_2_bug.csv
203
+ - lib/utf8_sanitizer/csv/seed.csv
212
204
  - lib/utf8_sanitizer/utf.rb
213
205
  - lib/utf8_sanitizer/version.rb
214
206
  - utf8_sanitizer.gemspec
@@ -1 +0,0 @@
1
- aaa