confidential_info_redactor 0.0.4 → 0.0.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
  SHA1:
3
- metadata.gz: 98f0c2eb76b4611aa20d01368d0e0959dae8227c
4
- data.tar.gz: 4f111f34bdcae76aac7dec708cf18849a0acfe24
3
+ metadata.gz: aa103ea97296b63392c2927acf0f4c4b79efb681
4
+ data.tar.gz: 06cd44370c0f8865169c22ce93a9e3cf54ad1be7
5
5
  SHA512:
6
- metadata.gz: 5b3ff265c5856191751d0b58f36097b52bd261695da72ad8684aa5ea55afdbf5a58bf6ef6b21865c0bbdf8e62a3c7f247658b2594170d19c81cf4990eb585ff6
7
- data.tar.gz: e46e3dfb9f73465386e074c28a81abbf14b7f196071932e42e4c71a7b2337fbd963c38f53f87ac8c9af35d5fb38b463fe2932c83a0724a0a17fbb468a2007c15
6
+ metadata.gz: e85f58426c5799bbd33f6d3dc832939dd416778befcd9c9dc3f8a3418a17c45849e101c74253ef4488b1a70a0852feb873c787c635203f0b35bfecf6dfe8a5f0
7
+ data.tar.gz: 01cb809f3946face5ddde576b456764f0fb565bfa549423d17470f056907f8cfb35dd2f5828b802654f0e9515fb88d671235b5c76a501ccc143f4dcb59de2955
data/README.md CHANGED
@@ -51,7 +51,7 @@ ConfidentialInfoRedactor::Redactor.new(text: text).dates
51
51
  # => 'Coca-Cola announced a merger with Pepsi that will happen on <redacted date> for $200,000,000,000. Please contact John Smith at j.smith@example.com or visit http://www.super-fake-merger.com.'
52
52
 
53
53
  ConfidentialInfoRedactor::Redactor.new(text: text).numbers
54
- # => 'Coca-Cola announced a merger with Pepsi that will happen on December 15th, 2020 for <redacted number>. Please contact John Smith at j.smith@example.com or visit http://www.super-fake-merger.com.'
54
+ # => 'Coca-Cola announced a merger with Pepsi that will happen on December <redacted number>, <redacted number> for <redacted number>. Please contact John Smith at j.smith@example.com or visit http://www.super-fake-merger.com.'
55
55
 
56
56
  ConfidentialInfoRedactor::Redactor.new(text: text).emails
57
57
  # => 'Coca-Cola announced a merger with Pepsi that will happen on December 15th, 2020 for $200,000,000,000. Please contact John Smith at <redacted> or visit http://www.super-fake-merger.com.'
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
  spec.required_ruby_version = '>= 2.1.0'
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "bundler", "~> 1.6"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "rspec"
25
25
  spec.add_runtime_dependency "pragmatic_segmenter"
@@ -1,3 +1,3 @@
1
1
  module ConfidentialInfoRedactor
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confidential_info_redactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement