mistaker 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c599e4bbea945f91c6e5b6333037e18c51323d7721b49e40e46d75bcef816a7b
4
+ data.tar.gz: 53970a7bb6d7507f6204f0f425c4c2e21f3abaccca5df4978e1039b03a9047f7
5
+ SHA512:
6
+ metadata.gz: 027f082c6bf5efbc9440781bab619bc5d453a4104f86ce350ef6d5a5c0f3b38c3ea2229540b4f9f69bb973e2b7d3fbfb397e8da1d15da1fc7f10dc408db573e3
7
+ data.tar.gz: b3f73c5379f18970d9795161e539e0d67c97d0fc56a0479812e9fd83c5111b4534dc1a41813caa5eb2b9a39a6ef2e07a35e737eab9a1a004a76cf16c0516d36a
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .idea
10
+ # rspec failure tracking
11
+ *.gem
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.2
6
+ before_install: gem install bundler -v 2.1.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at mcowden@codeforamerica.org. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in mistaker.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,34 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mistaker (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.4.4)
10
+ rake (12.3.3)
11
+ rspec (3.10.0)
12
+ rspec-core (~> 3.10.0)
13
+ rspec-expectations (~> 3.10.0)
14
+ rspec-mocks (~> 3.10.0)
15
+ rspec-core (3.10.1)
16
+ rspec-support (~> 3.10.0)
17
+ rspec-expectations (3.10.1)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.10.0)
20
+ rspec-mocks (3.10.2)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.10.0)
23
+ rspec-support (3.10.2)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ mistaker!
30
+ rake (~> 12.0)
31
+ rspec (~> 3.0)
32
+
33
+ BUNDLED WITH
34
+ 2.1.4
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Michael Cowden
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Mistaker
2
+
3
+ Mistaker is a gem for emulating common data entry errors that arise from transcription, OCR and numerical data entry. Use the gem to generate common variations of strings, numerics and dates you might find in older, hand entered data sets.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'mistaker'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install mistaker
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+
25
+ Mistaker::Name.mistake 'FALLOUT'
26
+
27
+ ```
28
+
29
+ ## Development
30
+
31
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
32
+
33
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
34
+
35
+ ## Contributing
36
+
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mistaker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/mistaker/blob/master/CODE_OF_CONDUCT.md).
38
+
39
+
40
+ ## License
41
+
42
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
43
+
44
+ ## Code of Conduct
45
+
46
+ Everyone interacting in the Mistaker project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mistaker/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mistaker"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/mistaker.rb ADDED
@@ -0,0 +1,164 @@
1
+ require "mistaker/version"
2
+ require "mistaker/base"
3
+ require "mistaker/date"
4
+ require "mistaker/number"
5
+ require "mistaker/name"
6
+
7
+ module Mistaker
8
+ class Error < StandardError; end
9
+
10
+ NUMBER_MAX = 5
11
+ DATE_MAX = 8
12
+ NAME_MAX = 7
13
+
14
+ ONE_DIGIT_UP, ONE_DIGIT_DOWN, NUMERIC_KEY_PAD, DIGIT_SHIFT, MISREAD, KEY_SWAP = (0..NUMBER_MAX).to_a
15
+ MONTH_DAY_SWAP, ONE_DECADE_DOWN, Y2K = ((NUMBER_MAX + 1)..DATE_MAX).to_a
16
+
17
+ DROPPED_LETTER, DOUBLE_LETTER, MISREAD_LETTER, MISTYPED_LETTER, EXTRA_LETTER, VOWEL_REPLACEMENT, CONSONANT_REPLACEMENT = (0..NAME_MAX).to_a
18
+
19
+ MISREAD_NUMBERS = {
20
+ '0' => '8',
21
+ '1' => '7',
22
+ '2' => '5',
23
+ '3' => '8',
24
+ '4' => '9',
25
+ '5' => '6',
26
+ '6' => '5',
27
+ '7' => '1',
28
+ '8' => '3',
29
+ '9' => '4'
30
+ }.freeze
31
+
32
+ MISREAD_LETTERS = {
33
+ 'A' => 'E',
34
+ 'B' => 'D',
35
+ 'C' => 'E',
36
+ 'D' => 'B',
37
+ 'E' => 'A',
38
+ 'F' => 'F',
39
+ 'G' => 'C',
40
+ 'H' => 'M',
41
+ 'I' => 'L',
42
+ 'J' => 'Q',
43
+ 'K' => 'X',
44
+ 'L' => 'I',
45
+ 'M' => 'H',
46
+ 'N' => 'N',
47
+ 'O' => 'A',
48
+ 'P' => 'Q',
49
+ 'Q' => 'G',
50
+ 'R' => 'V',
51
+ 'S' => 'Z',
52
+ 'T' => 'I',
53
+ 'U' => 'V',
54
+ 'V' => 'U',
55
+ 'W' => 'W',
56
+ 'X' => 'K',
57
+ 'Y' => 'T',
58
+ 'Z' => 'S',
59
+ ' ' => ' '
60
+ }.freeze
61
+
62
+ MISTYPED_LETTERS = {
63
+ 'A' => 'S',
64
+ 'B' => 'G',
65
+ 'C' => 'V',
66
+ 'D' => 'F',
67
+ 'E' => 'A',
68
+ 'F' => 'G',
69
+ 'G' => 'F',
70
+ 'H' => 'J',
71
+ 'I' => 'U',
72
+ 'J' => 'H',
73
+ 'K' => 'L',
74
+ 'L' => 'P',
75
+ 'M' => 'N',
76
+ 'N' => 'N',
77
+ 'O' => 'H',
78
+ 'P' => 'O',
79
+ 'Q' => 'W',
80
+ 'R' => 'E',
81
+ 'S' => 'D',
82
+ 'T' => 'R',
83
+ 'U' => 'Y',
84
+ 'V' => 'C',
85
+ 'W' => 'Q',
86
+ 'X' => 'C',
87
+ 'Y' => 'U',
88
+ 'Z' => 'X',
89
+ ' ' => ' '
90
+ }.freeze
91
+
92
+ TEN_KEYS = {
93
+ '0' => '1',
94
+ '1' => '4',
95
+ '2' => '5',
96
+ '3' => '6',
97
+ '4' => '1',
98
+ '5' => '2',
99
+ '6' => '3',
100
+ '7' => '4',
101
+ '8' => '5',
102
+ '9' => '6'
103
+ }.freeze
104
+
105
+ MISHEARD_LETTERS = {
106
+ 'A' => 'AE',
107
+ 'E' => 'EE',
108
+ 'I' => 'E',
109
+ 'O' => 'OU',
110
+ 'U' => 'O',
111
+ 'Y' => 'JA',
112
+ 'B' => 'P',
113
+ 'C' => 'K',
114
+ 'D' => 'T',
115
+ 'F' => 'VA',
116
+ 'G' => 'CH',
117
+ 'H' => 'GH',
118
+ 'J' => 'Y',
119
+ 'K' => 'C',
120
+ 'L' => 'LL',
121
+ 'M' => 'MM',
122
+ 'N' => 'MN',
123
+ 'P' => 'B',
124
+ 'Q' => 'CU',
125
+ 'R' => 'RR',
126
+ 'S' => 'SS',
127
+ 'T' => 'D',
128
+ 'V' => 'F',
129
+ 'W' => 'WH',
130
+ 'X' => 'CKS',
131
+ 'Z' => 'D',
132
+ ' ' => ' '
133
+ }.freeze
134
+
135
+ EXTRA_LETTERS = {
136
+ 'A' => 'E',
137
+ 'B' => 'S',
138
+ 'C' => 'E',
139
+ 'D' => 'T',
140
+ 'E' => 'S',
141
+ 'F' => 'E',
142
+ 'G' => 'UE',
143
+ 'H' => 'S',
144
+ 'I' => 'E',
145
+ 'J' => 'S',
146
+ 'K' => 'S',
147
+ 'L' => 'L',
148
+ 'M' => 'N',
149
+ 'N' => 'E',
150
+ 'O' => 'T',
151
+ 'P' => 'H',
152
+ 'Q' => 'UE',
153
+ 'R' => 'E',
154
+ 'S' => 'S',
155
+ 'T' => 'T',
156
+ 'U' => 'E',
157
+ 'V' => 'E',
158
+ 'W' => 'E',
159
+ 'X' => 'E',
160
+ 'Y' => 'S',
161
+ 'Z' => 'E',
162
+ ' ' => ''
163
+ }.freeze
164
+ end
@@ -0,0 +1,18 @@
1
+ module Mistaker
2
+ class Base
3
+ attr_reader :str, :rand, :length
4
+
5
+ def self.mistake(str)
6
+ new(str).mistake
7
+ end
8
+
9
+ def initialize(str = nil)
10
+ @str = str
11
+ @rand = Random.new
12
+ end
13
+
14
+ def reformat(str)
15
+ str
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,95 @@
1
+ require 'date'
2
+
3
+ module Mistaker
4
+ class Date < Base
5
+ YEAR, MONTH, DAY = (0..2).to_a
6
+
7
+ def reformat(str)
8
+ case str
9
+ when /\A(\d{1,2})\/(\d{1,2})\/(\d{4})\z/
10
+ "#{$3}-#{$1.rjust(2, '0')}-#{$2.rjust(2, '0')}"
11
+ when /\A(\d{1,2})\/(\d{1,2})\/(\d{2})\z/
12
+ "20#{$3}-#{$1.rjust(2, '0')}-#{$2.rjust(2, '0')}"
13
+ when /\A(\d{4})\-(\d{2})\-(\d{2})\z/
14
+ str
15
+ else
16
+ ::Date.parse(str).to_s
17
+ end
18
+ end
19
+
20
+ def mistake(err_type = rand.rand(DATE_MAX), mdy = rand.rand(3))
21
+ @str = reformat(str)
22
+ y,m,d = reformat(str).split('-').map &:to_i
23
+
24
+ case err_type
25
+ when ONE_DIGIT_UP
26
+ case mdy
27
+ when YEAR
28
+ y += 1
29
+ when MONTH
30
+ m += 1
31
+ when DAY
32
+ d += 1
33
+ end
34
+ when ONE_DIGIT_DOWN
35
+ case mdy
36
+ when YEAR
37
+ y -= 1
38
+ when MONTH
39
+ m -= 1
40
+ when DAY
41
+ d -= 1
42
+ end
43
+ when KEY_SWAP
44
+ case mdy
45
+ when YEAR
46
+ y = y.to_s
47
+ a,b = y[2],y[3]
48
+ y[2], y[3] = b, a
49
+ when MONTH
50
+ m = m.to_s.rjust(2,'0')
51
+ m.reverse!
52
+ when DAY
53
+ d = d.to_s.rjust(2,'0')
54
+ d.reverse!
55
+ end
56
+ when ONE_DECADE_DOWN
57
+ y -= 10
58
+ when Y2K
59
+ y = y >= 2000 ? "00#{y.to_s[2..3]}" : "20#{y.to_s[2..3]}"
60
+ when MONTH_DAY_SWAP
61
+ m, d = d, m
62
+ when MISREAD
63
+ case mdy
64
+ when YEAR
65
+ y = y.to_s
66
+ y[2] = MISREAD_NUMBERS[y[2]]
67
+ when MONTH
68
+ m = m.to_s
69
+ m[m.length - 1] = MISREAD_NUMBERS[m[m.length - 1]]
70
+ when DAY
71
+ d = d.to_s
72
+ d[d.length - 1] = MISREAD_NUMBERS[d[d.length - 1]]
73
+ end
74
+ when NUMERIC_KEY_PAD
75
+ case mdy
76
+ when YEAR
77
+ y = y.to_s
78
+ y[3] = TEN_KEYS[y[3]]
79
+ when MONTH
80
+ m = m.to_s
81
+ m[m.length - 1] = TEN_KEYS[m[m.length - 1]]
82
+ when DAY
83
+ d = d.to_s
84
+ d[d.length - 1] = TEN_KEYS[d[d.length - 1]]
85
+ end
86
+ when DIGIT_SHIFT
87
+ d = m
88
+ m = y.to_s[2..3]
89
+ y = "00#{y.to_s[0..1]}"
90
+ end
91
+
92
+ "#{y}-#{m.to_s.rjust(2,'0')}-#{d.to_s.rjust(2,'0')}"
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,31 @@
1
+ module Mistaker
2
+ class Name < Base
3
+ def reformat(str)
4
+ str.to_s.tr('^A-z ', '').upcase
5
+ end
6
+
7
+ def mistake(err_type = rand.rand(NAME_MAX), index = nil)
8
+ @str = reformat(@str)
9
+ @length = @str.length
10
+
11
+ index ||= rand.rand(@length)
12
+
13
+ case err_type
14
+ when DROPPED_LETTER
15
+ @str.slice! index
16
+ when DOUBLE_LETTER
17
+ @str.insert(index, @str[index])
18
+ when MISREAD_LETTER
19
+ @str[index] = MISREAD_LETTERS[@str[index]]
20
+ when MISTYPED_LETTER
21
+ @str[index] = MISTYPED_LETTERS[@str[index]]
22
+ when EXTRA_LETTER
23
+ @str << EXTRA_LETTERS[@str[@length - 1]]
24
+ when MISHEARD_LETTERS
25
+ @str = "#{ @str.slice(0...index) }#{ MISHEARD_LETTERS[@str[index]] }#{ @str.slice((index+1)..@length) }"
26
+ end
27
+
28
+ @str
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,40 @@
1
+ module Mistaker
2
+ class Number < Base
3
+ def reformat(str)
4
+ str.to_s.tr('^0-9', '')
5
+ end
6
+
7
+ def mistake(err_type = rand.rand(NUMBER_MAX), index = nil)
8
+ @str = reformat(@str)
9
+ @length = @str.length
10
+
11
+ index ||= rand.rand(@length)
12
+
13
+ n = @str[index].to_i
14
+
15
+ case err_type
16
+ when ONE_DIGIT_UP
17
+ n += 1
18
+ when ONE_DIGIT_DOWN
19
+ n -= 1
20
+ when KEY_SWAP
21
+ a, b = @str[index], @str[(index - 1).abs]
22
+ @str[index], @str[(index - 1).abs] = b, a
23
+ return str
24
+ when NUMERIC_KEY_PAD
25
+ n = TEN_KEYS[n.to_s].to_i
26
+ when DIGIT_SHIFT
27
+ if index >= @length
28
+ return '0' * @length
29
+ else
30
+ return ('0' * index + @str)[0...@length]
31
+ end
32
+ when MISREAD
33
+ n = MISREAD_NUMBERS[n.to_s].to_i
34
+ end
35
+
36
+ @str[index] = n.abs.to_s
37
+ @str
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,3 @@
1
+ module Mistaker
2
+ VERSION = "0.1.0"
3
+ end
data/mistaker.gemspec ADDED
@@ -0,0 +1,19 @@
1
+ require_relative 'lib/mistaker/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "mistaker"
5
+ spec.version = Mistaker::VERSION
6
+ spec.authors = ["Michael Cowden"]
7
+ spec.email = ["mcowden@codeforamerica.org"]
8
+
9
+ spec.summary = %q{Gem for emulating data entry errors}
10
+ spec.license = "MIT"
11
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
12
+
13
+ # Specify which files should be added to the gem when it is released.
14
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
15
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
16
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ end
18
+ spec.require_paths = ["lib"]
19
+ end
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mistaker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Michael Cowden
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-04-07 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ - mcowden@codeforamerica.org
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - ".rspec"
22
+ - ".travis.yml"
23
+ - CODE_OF_CONDUCT.md
24
+ - Gemfile
25
+ - Gemfile.lock
26
+ - LICENSE.txt
27
+ - README.md
28
+ - Rakefile
29
+ - bin/console
30
+ - bin/setup
31
+ - lib/mistaker.rb
32
+ - lib/mistaker/base.rb
33
+ - lib/mistaker/date.rb
34
+ - lib/mistaker/name.rb
35
+ - lib/mistaker/number.rb
36
+ - lib/mistaker/version.rb
37
+ - mistaker.gemspec
38
+ homepage:
39
+ licenses:
40
+ - MIT
41
+ metadata: {}
42
+ post_install_message:
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.3.0
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ requirements: []
57
+ rubygems_version: 3.1.4
58
+ signing_key:
59
+ specification_version: 4
60
+ summary: Gem for emulating data entry errors
61
+ test_files: []