diff --git a/.gitignore b/.gitignore index 8ec284f..1ddced4 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,9 @@ build-iPhoneSimulator/ # JetBrains IDEs .idea/* + +# Output +pdfs/* +pdfs*/* +!pdfs/template/* +!pdfs*/template/* diff --git a/.rubocop.yml b/.rubocop.yml index 699cd78..b9cae22 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,205 @@ AllCops: Exclude: - '**/*_test.rb' - - './vendor/bundle/**/*' \ No newline at end of file + - './vendor/bundle/**/*' + +Gemspec/DeprecatedAttributeAssignment: # new in 1.30 + Enabled: true +Gemspec/DevelopmentDependencies: # new in 1.44 + Enabled: true +Gemspec/RequireMFA: # new in 1.23 + Enabled: true +Layout/LineContinuationLeadingSpace: # new in 1.31 + Enabled: true +Layout/LineContinuationSpacing: # new in 1.31 + Enabled: true +Layout/LineEndStringConcatenationIndentation: # new in 1.18 + Enabled: true +Layout/SpaceBeforeBrackets: # new in 1.7 + Enabled: true +Lint/AmbiguousAssignment: # new in 1.7 + Enabled: true +Lint/AmbiguousOperatorPrecedence: # new in 1.21 + Enabled: true +Lint/AmbiguousRange: # new in 1.19 + Enabled: true +Lint/ConstantOverwrittenInRescue: # new in 1.31 + Enabled: true +Lint/DeprecatedConstants: # new in 1.8 + Enabled: true +Lint/DuplicateBranch: # new in 1.3 + Enabled: true +Lint/DuplicateMagicComment: # new in 1.37 + Enabled: true +Lint/DuplicateMatchPattern: # new in 1.50 + Enabled: true +Lint/DuplicateRegexpCharacterClassElement: # new in 1.1 + Enabled: true +Lint/EmptyBlock: # new in 1.1 + Enabled: true +Lint/EmptyClass: # new in 1.3 + Enabled: true +Lint/EmptyInPattern: # new in 1.16 + Enabled: true +Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21 + Enabled: true +Lint/ItWithoutArgumentsInBlock: # new in 1.59 + Enabled: true +Lint/LambdaWithoutLiteralBlock: # new in 1.8 + Enabled: true +Lint/LiteralAssignmentInCondition: # new in 1.58 + Enabled: true +Lint/MixedCaseRange: # new in 1.53 + Enabled: true +Lint/NoReturnInBeginEndBlocks: # new in 1.2 + Enabled: true +Lint/NonAtomicFileOperation: # new in 1.31 + Enabled: true +Lint/NumberedParameterAssignment: # new in 1.9 + Enabled: true +Lint/OrAssignmentToConstant: # new in 1.9 + Enabled: true +Lint/RedundantDirGlobSort: # new in 1.8 + Enabled: true +Lint/RedundantRegexpQuantifiers: # new in 1.53 + Enabled: true +Lint/RefinementImportMethods: # new in 1.27 + Enabled: true +Lint/RequireRangeParentheses: # new in 1.32 + Enabled: true +Lint/RequireRelativeSelfPath: # new in 1.22 + Enabled: true +Lint/SymbolConversion: # new in 1.9 + Enabled: true +Lint/ToEnumArguments: # new in 1.1 + Enabled: true +Lint/TripleQuotes: # new in 1.9 + Enabled: true +Lint/UnexpectedBlockArity: # new in 1.5 + Enabled: true +Lint/UnmodifiedReduceAccumulator: # new in 1.1 + Enabled: true +Lint/UselessRescue: # new in 1.43 + Enabled: true +Lint/UselessRuby2Keywords: # new in 1.23 + Enabled: true +Metrics/CollectionLiteralLength: # new in 1.47 + Enabled: true +Naming/BlockForwarding: # new in 1.24 + Enabled: true +Security/CompoundHash: # new in 1.28 + Enabled: true +Security/IoMethods: # new in 1.22 + Enabled: true +Style/ArgumentsForwarding: # new in 1.1 + Enabled: true +Style/ArrayIntersect: # new in 1.40 + Enabled: true +Style/CollectionCompact: # new in 1.2 + Enabled: true +Style/ComparableClamp: # new in 1.44 + Enabled: true +Style/ConcatArrayLiterals: # new in 1.41 + Enabled: true +Style/DataInheritance: # new in 1.49 + Enabled: true +Style/DirEmpty: # new in 1.48 + Enabled: true +Style/DocumentDynamicEvalDefinition: # new in 1.1 + Enabled: true +Style/EmptyHeredoc: # new in 1.32 + Enabled: true +Style/EndlessMethod: # new in 1.8 + Enabled: true +Style/EnvHome: # new in 1.29 + Enabled: true +Style/ExactRegexpMatch: # new in 1.51 + Enabled: true +Style/FetchEnvVar: # new in 1.28 + Enabled: true +Style/FileEmpty: # new in 1.48 + Enabled: true +Style/FileRead: # new in 1.24 + Enabled: true +Style/FileWrite: # new in 1.24 + Enabled: true +Style/HashConversion: # new in 1.10 + Enabled: true +Style/HashExcept: # new in 1.7 + Enabled: true +Style/IfWithBooleanLiteralBranches: # new in 1.9 + Enabled: true +Style/InPatternThen: # new in 1.16 + Enabled: true +Style/MagicCommentFormat: # new in 1.35 + Enabled: true +Style/MapCompactWithConditionalBlock: # new in 1.30 + Enabled: true +Style/MapToHash: # new in 1.24 + Enabled: true +Style/MapToSet: # new in 1.42 + Enabled: true +Style/MinMaxComparison: # new in 1.42 + Enabled: true +Style/MultilineInPatternThen: # new in 1.16 + Enabled: true +Style/NegatedIfElseCondition: # new in 1.2 + Enabled: true +Style/NestedFileDirname: # new in 1.26 + Enabled: true +Style/NilLambda: # new in 1.3 + Enabled: true +Style/NumberedParameters: # new in 1.22 + Enabled: true +Style/NumberedParametersLimit: # new in 1.22 + Enabled: true +Style/ObjectThen: # new in 1.28 + Enabled: true +Style/OpenStructUse: # new in 1.23 + Enabled: true +Style/OperatorMethodCall: # new in 1.37 + Enabled: true +Style/QuotedSymbols: # new in 1.16 + Enabled: true +Style/RedundantArgument: # new in 1.4 + Enabled: true +Style/RedundantArrayConstructor: # new in 1.52 + Enabled: true +Style/RedundantConstantBase: # new in 1.40 + Enabled: true +Style/RedundantCurrentDirectoryInPath: # new in 1.53 + Enabled: true +Style/RedundantDoubleSplatHashBraces: # new in 1.41 + Enabled: true +Style/RedundantEach: # new in 1.38 + Enabled: true +Style/RedundantFilterChain: # new in 1.52 + Enabled: true +Style/RedundantHeredocDelimiterQuotes: # new in 1.45 + Enabled: true +Style/RedundantInitialize: # new in 1.27 + Enabled: true +Style/RedundantLineContinuation: # new in 1.49 + Enabled: true +Style/RedundantRegexpArgument: # new in 1.53 + Enabled: true +Style/RedundantRegexpConstructor: # new in 1.52 + Enabled: true +Style/RedundantSelfAssignmentBranch: # new in 1.19 + Enabled: true +Style/RedundantStringEscape: # new in 1.37 + Enabled: true +Style/ReturnNilInPredicateMethodDefinition: # new in 1.53 + Enabled: true +Style/SelectByRegexp: # new in 1.22 + Enabled: true +Style/SingleLineDoEndBlock: # new in 1.57 + Enabled: true +Style/StringChars: # new in 1.12 + Enabled: true +Style/SuperWithArgsParentheses: # new in 1.58 + Enabled: true +Style/SwapValues: # new in 1.1 + Enabled: true +Style/YAMLFileRead: # new in 1.53 + Enabled: true \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 4403f44..ae67542 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,42 +2,50 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) - codecov (0.5.1) + codecov (0.6.0) simplecov (>= 0.15, < 0.22) - docile (1.3.5) - parallel (1.20.1) - parser (3.0.1.0) + docile (1.4.0) + json (2.7.1) + language_server-protocol (3.17.0.3) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) - power_assert (2.0.0) - rainbow (3.0.0) - rake (13.0.3) - regexp_parser (2.1.1) - rexml (3.2.5) - rubocop (1.12.1) + racc + power_assert (2.0.3) + racc (1.7.3) + rainbow (3.1.1) + rake (13.1.0) + regexp_parser (2.9.0) + rexml (3.2.6) + rubocop (1.60.2) + json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.2.0, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.4.1) - parser (>= 2.7.1.5) - ruby-progressbar (1.11.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) - simplecov_json_formatter (0.1.2) + simplecov_json_formatter (0.1.4) test-unit (3.4.0) power_assert - unicode-display_width (2.0.0) + unicode-display_width (2.5.0) PLATFORMS universal-darwin-20 universal-darwin-21 + universal-darwin-22 + universal-darwin-23 x86_64-linux DEPENDENCIES diff --git a/data/delegates.csv b/data/delegates.csv index 70faa4e..af1b271 100644 --- a/data/delegates.csv +++ b/data/delegates.csv @@ -2,159 +2,139 @@ School,Delegates Academies of Grand Island,2 Adams Central,6 Ainsworth,2 -Alliance,3 +Alliance,2 Amherst,4 Arlington,4 -Arlington ML,2 Ashland - Greenwood,4 Auburn,4 -Aurora,4 -Axtell Community,3 +Aurora,5 +Axtell,3 Beatrice,2 -Bellevue East,3 -Bellevue West,4 -Bennington,3 -Bishop Neumann,2 +Bellevue East,4 +Bellevue West,3 +Bennington,4 +Bishop Neumann,3 Blair,6 -Blue Hill,4 +Blue Hill,3 Boone Central,3 Boyd County,2 -Boyd County ML,2 Broken Bow,3 -Broken Bow ML,2 +Buena Vista,4 Cambridge,2 -Cedar Bluffs,3 +Cedar Bluffs,2 Centennial,3 -Centura,5 -Chadron,4 -Chase County,2 +Centura,4 +Chadron,3 +Chase County,3 Clarkson - Leigh,2 Columbus,3 -Concordia,2 Conestoga,3 +Creek Valley,2 Crete,5 -Diller - Odell,2 -Dorchester Public,3 -Douglas County West,3 -Dundy County Stratton,3 -Elkhorn,2 +Cross County,2 +Dorchester,3 +Dundy County Stratton,4 +Elkhorn,3 Elkhorn North,2 Elkhorn South,2 Elkhorn Valley,3 Elmwood - Murdock,3 Emerson - Hubbard,3 -Emerson - Hubbard ML,2 -Fairbury,3 +Fairbury,4 Fillmore Central,3 -Freeman,2 -Fremont,2 +Freeman,3 Gibbon,5 -Gibbon ML,3 -Giltner,2 -Grand Island Central Catholic,4 -Grand Island Northwest,3 -Gretna,3 +Giltner,3 +Grand Island Central Catholic,6 +Grand Island Northwest,2 +Gretna,4 Harvard,2 Hay Springs,2 Heartland,3 Hershey,5 Johnson - Brock,4 Johnson County Central,3 -Kearney,3 -Kenesaw,2 +Kearney,2 +Kenesaw,3 Lakeview,6 -Laurel - Concord,3 -Lawrence Nelson,3 +Laurel Concord Coleridge,3 +Lawrence Nelson,2 Lincoln East,3 -Lincoln Northeast,2 +Lincoln Northwest,2 Lincoln Southeast,2 -Lincoln Southwest,2 +Lincoln Southwest,3 Litchfield,2 -Litchfield ML,2 +Louisville,2 Loup City,2 -Loup City ML,2 -Loup County,3 -Lutheran High Northeast,3 +Lutheran High Northeast,4 Lyons - Decatur,2 -Malcolm,5 +Malcolm,6 Maywood,2 -Maywood ML,2 -McCook,2 McCool Junction,3 McPherson County,2 -Mercy,2 +Mercy,3 Meridian,2 -Meridian ML,2 -Milford,2 Minden,4 Mitchell,4 -Morrill,2 Neligh - Oakdale,3 Newman Grove,2 -Newman Grove ML,2 -Norfolk Catholic,2 Norris,2 -North Bend Central,3 -North Star,3 -Omaha Benson,2 -Omaha Central,3 -Omaha Marian,3 +North Star,4 +Omaha Central,2 +Omaha Marian,4 Omaha Northwest,2 Omaha South,2 Ord,2 -Ord ML,2 -Osmond,4 -Overton,2 +Osmond,3 Platteview,2 -Pleasanton,3 -Pleasanton ML,2 -Ponca,2 -Ravenna,3 -Raymond Central,4 -Raymond Central ML,2 -Riverside,2 -Roncalli Catholic,2 +Ponca,3 +Ravenna,2 +Raymond Central,3 Saint Paul,3 -Sandhills,2 -Sandhills ML,2 Sandy Creek,2 -Sandy Creek ML,2 +Sandhills,2 Sargent,3 -Sargent ML,2 -Scotus Central Catholic,2 Seward Senior,5 -Shelby,3 +Shelby-Rising City,3 Shickley,2 Silver Lake,3 -Skutt Catholic,4 -South Sioux City,2 -Southern Valley,2 -Southwest,2 -St. Cecilia,4 +Skutt Catholic,3 +Southern Valley,3 +Southwest,3 Stanton,2 Sterling,2 Summerland,3 Superior,2 -Sutherland,2 -Syracuse - Dunbar - Avoca,3 +Syracuse - Dunbar - Avoca,4 Tekamah - Herman,3 -Thayer Central,2 Tri - County,3 -Twin River,3 -Valentine,3 -Wahoo Public,3 +Twin River,4 +Valentine,2 +Wahoo,3 Wakefield,4 -Wakefield ML,2 Wausa,5 Waverly,3 -Wayne Community,3 -Weeping Water,2 +Wayne,3 +Weeping Water,3 West Point - Beemer,3 -Wilber Clatonia,5 +Wilber Clatonia,4 Wilcox - Hildreth,2 -Wilcox - Hildreth ML,2 William Jennings Bryan,2 Wood River,4 -Wymore Southern,3 York,3 -Yutan,2 \ No newline at end of file +Yutan,2 +Arlington - Middle School,2 +Blue Hill - Middle School,3 +Boyd County - Middle School,2 +Broken Bow - Middle School,2 +Chase County - Middle School,2 +Emerson - Hubbard - Middle School,2 +Fairbury - Middle School,3 +Gibbon - Middle School,3 +Maywood - Middle School,2 +Meridian School - Middle School,2 +Newman Grove - Middle School,2 +Ord - Middle School,2 +Raymond Central - Middle School,3 +Sandy Creek - Middle School,2 +Sargent - Middle School,2 \ No newline at end of file diff --git a/gen_tokens.rb b/gen_tokens.rb index f088124..841554c 100644 --- a/gen_tokens.rb +++ b/gen_tokens.rb @@ -33,7 +33,7 @@ class PDFWriter def self.write_latex_to_pdf(org, org_tex) # noinspection RegExpRedundantEscape pdf_name = format('%s.tex', FileName: org.gsub(/[\s().#!]/, '')) - File.open(pdf_name, 'w') { |f| f.write(org_tex) } + File.write(pdf_name, org_tex) output = `lualatex #{pdf_name} 2>&1` result = $CHILD_STATUS.success? if result @@ -70,8 +70,10 @@ def self.create_latex_content(tex_file, org, org_passwords) # @param [Integer] longest_org_name_length The length of the longest org name def self.print_progress_report(index, org, number_of_orgs, longest_name_length) percent_done = (index + 1.0) / number_of_orgs + # rubocop:disable Lint/FormatParameterMismatch format("\r%.2f%%%% [%s%s]: PDF generated for %-#{longest_name_length}s", 100 * percent_done, '=' * (15 * percent_done).ceil, ' ' * (15 * (1 - percent_done)).floor, org) + # rubocop:enable Lint/FormatParameterMismatch end # Create a unique PDF for each organization with its passwords @@ -150,7 +152,7 @@ def self.read_delegate_csv(file_name) warn format('Sorry, the file %s does not exist', File: file_name) exit 1 end - csv.delete_if { |line| line.join('') =~ /^\s*$/ } # delete blank lines + csv.delete_if { |line| line.join =~ /^\s*$/ } # delete blank lines csv end @@ -158,7 +160,7 @@ def self.read_delegate_csv(file_name) # @return [String] The randomized string # @private def self.random_string(length) - length.times.map { CHARS.sample }.join('') + length.times.map { CHARS.sample }.join end # @private @@ -257,7 +259,7 @@ def self.main(generate_pdfs) write_tokens_to_csv(all_tokens, ARGV[1]) puts get_token_count_report all_tokens - puts PDFWriter.create_pdfs(all_tokens, IO.read('pdfs/template/voting.tex')) if generate_pdfs + puts PDFWriter.create_pdfs(all_tokens, File.read('pdfs/template/voting.tex')) if generate_pdfs end end diff --git a/pdfs/AcademiesofGrandIsland.pdf b/pdfs/AcademiesofGrandIsland.pdf deleted file mode 100644 index 4636d84..0000000 Binary files a/pdfs/AcademiesofGrandIsland.pdf and /dev/null differ diff --git a/pdfs/AdamsCentral.pdf b/pdfs/AdamsCentral.pdf deleted file mode 100644 index 824137c..0000000 Binary files a/pdfs/AdamsCentral.pdf and /dev/null differ diff --git a/pdfs/Ainsworth.pdf b/pdfs/Ainsworth.pdf deleted file mode 100644 index c1da415..0000000 Binary files a/pdfs/Ainsworth.pdf and /dev/null differ diff --git a/pdfs/Alliance.pdf b/pdfs/Alliance.pdf deleted file mode 100644 index 60d11ca..0000000 Binary files a/pdfs/Alliance.pdf and /dev/null differ diff --git a/pdfs/Amherst.pdf b/pdfs/Amherst.pdf deleted file mode 100644 index a99fef6..0000000 Binary files a/pdfs/Amherst.pdf and /dev/null differ diff --git a/pdfs/Arlington.pdf b/pdfs/Arlington.pdf deleted file mode 100644 index 97a9c7e..0000000 Binary files a/pdfs/Arlington.pdf and /dev/null differ diff --git a/pdfs/ArlingtonML.pdf b/pdfs/ArlingtonML.pdf deleted file mode 100644 index 3c9e445..0000000 Binary files a/pdfs/ArlingtonML.pdf and /dev/null differ diff --git a/pdfs/Ashland-Greenwood.pdf b/pdfs/Ashland-Greenwood.pdf deleted file mode 100644 index 691ddb1..0000000 Binary files a/pdfs/Ashland-Greenwood.pdf and /dev/null differ diff --git a/pdfs/Auburn.pdf b/pdfs/Auburn.pdf deleted file mode 100644 index 7af29c6..0000000 Binary files a/pdfs/Auburn.pdf and /dev/null differ diff --git a/pdfs/Aurora.pdf b/pdfs/Aurora.pdf deleted file mode 100644 index 5200fe9..0000000 Binary files a/pdfs/Aurora.pdf and /dev/null differ diff --git a/pdfs/AxtellCommunity.pdf b/pdfs/AxtellCommunity.pdf deleted file mode 100644 index a178b1a..0000000 Binary files a/pdfs/AxtellCommunity.pdf and /dev/null differ diff --git a/pdfs/Beatrice.pdf b/pdfs/Beatrice.pdf deleted file mode 100644 index 86bc6c4..0000000 Binary files a/pdfs/Beatrice.pdf and /dev/null differ diff --git a/pdfs/BellevueEast.pdf b/pdfs/BellevueEast.pdf deleted file mode 100644 index 90769a9..0000000 Binary files a/pdfs/BellevueEast.pdf and /dev/null differ diff --git a/pdfs/BellevueWest.pdf b/pdfs/BellevueWest.pdf deleted file mode 100644 index a0b6e91..0000000 Binary files a/pdfs/BellevueWest.pdf and /dev/null differ diff --git a/pdfs/Bennington.pdf b/pdfs/Bennington.pdf deleted file mode 100644 index 18ad941..0000000 Binary files a/pdfs/Bennington.pdf and /dev/null differ diff --git a/pdfs/BishopNeumann.pdf b/pdfs/BishopNeumann.pdf deleted file mode 100644 index 09ba3ab..0000000 Binary files a/pdfs/BishopNeumann.pdf and /dev/null differ diff --git a/pdfs/Blair.pdf b/pdfs/Blair.pdf deleted file mode 100644 index 23cd0b9..0000000 Binary files a/pdfs/Blair.pdf and /dev/null differ diff --git a/pdfs/BlueHill.pdf b/pdfs/BlueHill.pdf deleted file mode 100644 index c33d07b..0000000 Binary files a/pdfs/BlueHill.pdf and /dev/null differ diff --git a/pdfs/BooneCentral.pdf b/pdfs/BooneCentral.pdf deleted file mode 100644 index f06b0d6..0000000 Binary files a/pdfs/BooneCentral.pdf and /dev/null differ diff --git a/pdfs/BoydCounty.pdf b/pdfs/BoydCounty.pdf deleted file mode 100644 index 0ee501c..0000000 Binary files a/pdfs/BoydCounty.pdf and /dev/null differ diff --git a/pdfs/BoydCountyML.pdf b/pdfs/BoydCountyML.pdf deleted file mode 100644 index cc7444e..0000000 Binary files a/pdfs/BoydCountyML.pdf and /dev/null differ diff --git a/pdfs/BrokenBow.pdf b/pdfs/BrokenBow.pdf deleted file mode 100644 index 4a066ff..0000000 Binary files a/pdfs/BrokenBow.pdf and /dev/null differ diff --git a/pdfs/BrokenBowML.pdf b/pdfs/BrokenBowML.pdf deleted file mode 100644 index e19602a..0000000 Binary files a/pdfs/BrokenBowML.pdf and /dev/null differ diff --git a/pdfs/Cambridge.pdf b/pdfs/Cambridge.pdf deleted file mode 100644 index 8a35a09..0000000 Binary files a/pdfs/Cambridge.pdf and /dev/null differ diff --git a/pdfs/CedarBluffs.pdf b/pdfs/CedarBluffs.pdf deleted file mode 100644 index c379e39..0000000 Binary files a/pdfs/CedarBluffs.pdf and /dev/null differ diff --git a/pdfs/Centennial.pdf b/pdfs/Centennial.pdf deleted file mode 100644 index 36494d0..0000000 Binary files a/pdfs/Centennial.pdf and /dev/null differ diff --git a/pdfs/Centura.pdf b/pdfs/Centura.pdf deleted file mode 100644 index 532deaa..0000000 Binary files a/pdfs/Centura.pdf and /dev/null differ diff --git a/pdfs/Chadron.pdf b/pdfs/Chadron.pdf deleted file mode 100644 index 927aadc..0000000 Binary files a/pdfs/Chadron.pdf and /dev/null differ diff --git a/pdfs/ChaseCounty.pdf b/pdfs/ChaseCounty.pdf deleted file mode 100644 index 22ce9fd..0000000 Binary files a/pdfs/ChaseCounty.pdf and /dev/null differ diff --git a/pdfs/Clarkson-Leigh.pdf b/pdfs/Clarkson-Leigh.pdf deleted file mode 100644 index 680aaf7..0000000 Binary files a/pdfs/Clarkson-Leigh.pdf and /dev/null differ diff --git a/pdfs/Columbus.pdf b/pdfs/Columbus.pdf deleted file mode 100644 index cefe160..0000000 Binary files a/pdfs/Columbus.pdf and /dev/null differ diff --git a/pdfs/Concordia.pdf b/pdfs/Concordia.pdf deleted file mode 100644 index cd52edd..0000000 Binary files a/pdfs/Concordia.pdf and /dev/null differ diff --git a/pdfs/Conestoga.pdf b/pdfs/Conestoga.pdf deleted file mode 100644 index 44af993..0000000 Binary files a/pdfs/Conestoga.pdf and /dev/null differ diff --git a/pdfs/Crete.pdf b/pdfs/Crete.pdf deleted file mode 100644 index 091b4f8..0000000 Binary files a/pdfs/Crete.pdf and /dev/null differ diff --git a/pdfs/Diller-Odell.pdf b/pdfs/Diller-Odell.pdf deleted file mode 100644 index fed4a06..0000000 Binary files a/pdfs/Diller-Odell.pdf and /dev/null differ diff --git a/pdfs/DorchesterPublic.pdf b/pdfs/DorchesterPublic.pdf deleted file mode 100644 index e130b65..0000000 Binary files a/pdfs/DorchesterPublic.pdf and /dev/null differ diff --git a/pdfs/DouglasCountyWest.pdf b/pdfs/DouglasCountyWest.pdf deleted file mode 100644 index d645603..0000000 Binary files a/pdfs/DouglasCountyWest.pdf and /dev/null differ diff --git a/pdfs/DundyCountyStratton.pdf b/pdfs/DundyCountyStratton.pdf deleted file mode 100644 index 9b14f33..0000000 Binary files a/pdfs/DundyCountyStratton.pdf and /dev/null differ diff --git a/pdfs/Elkhorn.pdf b/pdfs/Elkhorn.pdf deleted file mode 100644 index 9177498..0000000 Binary files a/pdfs/Elkhorn.pdf and /dev/null differ diff --git a/pdfs/ElkhornNorth.pdf b/pdfs/ElkhornNorth.pdf deleted file mode 100644 index a4a8360..0000000 Binary files a/pdfs/ElkhornNorth.pdf and /dev/null differ diff --git a/pdfs/ElkhornSouth.pdf b/pdfs/ElkhornSouth.pdf deleted file mode 100644 index 4794da0..0000000 Binary files a/pdfs/ElkhornSouth.pdf and /dev/null differ diff --git a/pdfs/ElkhornValley.pdf b/pdfs/ElkhornValley.pdf deleted file mode 100644 index 6040a65..0000000 Binary files a/pdfs/ElkhornValley.pdf and /dev/null differ diff --git a/pdfs/Elmwood-Murdock.pdf b/pdfs/Elmwood-Murdock.pdf deleted file mode 100644 index 797304f..0000000 Binary files a/pdfs/Elmwood-Murdock.pdf and /dev/null differ diff --git a/pdfs/Emerson-Hubbard.pdf b/pdfs/Emerson-Hubbard.pdf deleted file mode 100644 index a4b28ca..0000000 Binary files a/pdfs/Emerson-Hubbard.pdf and /dev/null differ diff --git a/pdfs/Emerson-HubbardML.pdf b/pdfs/Emerson-HubbardML.pdf deleted file mode 100644 index 667a0a7..0000000 Binary files a/pdfs/Emerson-HubbardML.pdf and /dev/null differ diff --git a/pdfs/Fairbury.pdf b/pdfs/Fairbury.pdf deleted file mode 100644 index 7fcd6eb..0000000 Binary files a/pdfs/Fairbury.pdf and /dev/null differ diff --git a/pdfs/FillmoreCentral.pdf b/pdfs/FillmoreCentral.pdf deleted file mode 100644 index 82cbc63..0000000 Binary files a/pdfs/FillmoreCentral.pdf and /dev/null differ diff --git a/pdfs/Freeman.pdf b/pdfs/Freeman.pdf deleted file mode 100644 index b71989e..0000000 Binary files a/pdfs/Freeman.pdf and /dev/null differ diff --git a/pdfs/Fremont.pdf b/pdfs/Fremont.pdf deleted file mode 100644 index 9983686..0000000 Binary files a/pdfs/Fremont.pdf and /dev/null differ diff --git a/pdfs/Gibbon.pdf b/pdfs/Gibbon.pdf deleted file mode 100644 index cb9805b..0000000 Binary files a/pdfs/Gibbon.pdf and /dev/null differ diff --git a/pdfs/GibbonML.pdf b/pdfs/GibbonML.pdf deleted file mode 100644 index b798559..0000000 Binary files a/pdfs/GibbonML.pdf and /dev/null differ diff --git a/pdfs/Giltner.pdf b/pdfs/Giltner.pdf deleted file mode 100644 index 844b689..0000000 Binary files a/pdfs/Giltner.pdf and /dev/null differ diff --git a/pdfs/GrandIslandCentralCatholic.pdf b/pdfs/GrandIslandCentralCatholic.pdf deleted file mode 100644 index f929de9..0000000 Binary files a/pdfs/GrandIslandCentralCatholic.pdf and /dev/null differ diff --git a/pdfs/GrandIslandNorthwest.pdf b/pdfs/GrandIslandNorthwest.pdf deleted file mode 100644 index 9bdd259..0000000 Binary files a/pdfs/GrandIslandNorthwest.pdf and /dev/null differ diff --git a/pdfs/Gretna.pdf b/pdfs/Gretna.pdf deleted file mode 100644 index 47af495..0000000 Binary files a/pdfs/Gretna.pdf and /dev/null differ diff --git a/pdfs/Harvard.pdf b/pdfs/Harvard.pdf deleted file mode 100644 index cacb18e..0000000 Binary files a/pdfs/Harvard.pdf and /dev/null differ diff --git a/pdfs/HaySprings.pdf b/pdfs/HaySprings.pdf deleted file mode 100644 index a7b8ce5..0000000 Binary files a/pdfs/HaySprings.pdf and /dev/null differ diff --git a/pdfs/Heartland.pdf b/pdfs/Heartland.pdf deleted file mode 100644 index 7f9094a..0000000 Binary files a/pdfs/Heartland.pdf and /dev/null differ diff --git a/pdfs/Hershey.pdf b/pdfs/Hershey.pdf deleted file mode 100644 index a5d7559..0000000 Binary files a/pdfs/Hershey.pdf and /dev/null differ diff --git a/pdfs/Johnson-Brock.pdf b/pdfs/Johnson-Brock.pdf deleted file mode 100644 index 006d284..0000000 Binary files a/pdfs/Johnson-Brock.pdf and /dev/null differ diff --git a/pdfs/JohnsonCountyCentral.pdf b/pdfs/JohnsonCountyCentral.pdf deleted file mode 100644 index 59c5b86..0000000 Binary files a/pdfs/JohnsonCountyCentral.pdf and /dev/null differ diff --git a/pdfs/Kearney.pdf b/pdfs/Kearney.pdf deleted file mode 100644 index a2576af..0000000 Binary files a/pdfs/Kearney.pdf and /dev/null differ diff --git a/pdfs/Kenesaw.pdf b/pdfs/Kenesaw.pdf deleted file mode 100644 index 2fa4c1f..0000000 Binary files a/pdfs/Kenesaw.pdf and /dev/null differ diff --git a/pdfs/Lakeview.pdf b/pdfs/Lakeview.pdf deleted file mode 100644 index e076de8..0000000 Binary files a/pdfs/Lakeview.pdf and /dev/null differ diff --git a/pdfs/Laurel-Concord.pdf b/pdfs/Laurel-Concord.pdf deleted file mode 100644 index c6902cf..0000000 Binary files a/pdfs/Laurel-Concord.pdf and /dev/null differ diff --git a/pdfs/LawrenceNelson.pdf b/pdfs/LawrenceNelson.pdf deleted file mode 100644 index 8042d15..0000000 Binary files a/pdfs/LawrenceNelson.pdf and /dev/null differ diff --git a/pdfs/LincolnEast.pdf b/pdfs/LincolnEast.pdf deleted file mode 100644 index 3dbf598..0000000 Binary files a/pdfs/LincolnEast.pdf and /dev/null differ diff --git a/pdfs/LincolnNortheast.pdf b/pdfs/LincolnNortheast.pdf deleted file mode 100644 index fe77d06..0000000 Binary files a/pdfs/LincolnNortheast.pdf and /dev/null differ diff --git a/pdfs/LincolnSoutheast.pdf b/pdfs/LincolnSoutheast.pdf deleted file mode 100644 index 080c138..0000000 Binary files a/pdfs/LincolnSoutheast.pdf and /dev/null differ diff --git a/pdfs/LincolnSouthwest.pdf b/pdfs/LincolnSouthwest.pdf deleted file mode 100644 index d967516..0000000 Binary files a/pdfs/LincolnSouthwest.pdf and /dev/null differ diff --git a/pdfs/Litchfield.pdf b/pdfs/Litchfield.pdf deleted file mode 100644 index 2861d7b..0000000 Binary files a/pdfs/Litchfield.pdf and /dev/null differ diff --git a/pdfs/LitchfieldML.pdf b/pdfs/LitchfieldML.pdf deleted file mode 100644 index a1b0954..0000000 Binary files a/pdfs/LitchfieldML.pdf and /dev/null differ diff --git a/pdfs/LoupCity.pdf b/pdfs/LoupCity.pdf deleted file mode 100644 index b836674..0000000 Binary files a/pdfs/LoupCity.pdf and /dev/null differ diff --git a/pdfs/LoupCityML.pdf b/pdfs/LoupCityML.pdf deleted file mode 100644 index 5e59e88..0000000 Binary files a/pdfs/LoupCityML.pdf and /dev/null differ diff --git a/pdfs/LoupCounty.pdf b/pdfs/LoupCounty.pdf deleted file mode 100644 index b3b9b06..0000000 Binary files a/pdfs/LoupCounty.pdf and /dev/null differ diff --git a/pdfs/LutheranHighNortheast.pdf b/pdfs/LutheranHighNortheast.pdf deleted file mode 100644 index 19c86c5..0000000 Binary files a/pdfs/LutheranHighNortheast.pdf and /dev/null differ diff --git a/pdfs/Lyons-Decatur.pdf b/pdfs/Lyons-Decatur.pdf deleted file mode 100644 index 5049ba7..0000000 Binary files a/pdfs/Lyons-Decatur.pdf and /dev/null differ diff --git a/pdfs/Malcolm.pdf b/pdfs/Malcolm.pdf deleted file mode 100644 index d6c620b..0000000 Binary files a/pdfs/Malcolm.pdf and /dev/null differ diff --git a/pdfs/Maywood.pdf b/pdfs/Maywood.pdf deleted file mode 100644 index ca4c2b0..0000000 Binary files a/pdfs/Maywood.pdf and /dev/null differ diff --git a/pdfs/MaywoodML.pdf b/pdfs/MaywoodML.pdf deleted file mode 100644 index c02796e..0000000 Binary files a/pdfs/MaywoodML.pdf and /dev/null differ diff --git a/pdfs/McCook.pdf b/pdfs/McCook.pdf deleted file mode 100644 index 03da9c9..0000000 Binary files a/pdfs/McCook.pdf and /dev/null differ diff --git a/pdfs/McCoolJunction.pdf b/pdfs/McCoolJunction.pdf deleted file mode 100644 index d15a879..0000000 Binary files a/pdfs/McCoolJunction.pdf and /dev/null differ diff --git a/pdfs/McPhersonCounty.pdf b/pdfs/McPhersonCounty.pdf deleted file mode 100644 index dcdac52..0000000 Binary files a/pdfs/McPhersonCounty.pdf and /dev/null differ diff --git a/pdfs/Mercy.pdf b/pdfs/Mercy.pdf deleted file mode 100644 index 1a188b8..0000000 Binary files a/pdfs/Mercy.pdf and /dev/null differ diff --git a/pdfs/Meridian.pdf b/pdfs/Meridian.pdf deleted file mode 100644 index 20cbb1d..0000000 Binary files a/pdfs/Meridian.pdf and /dev/null differ diff --git a/pdfs/MeridianML.pdf b/pdfs/MeridianML.pdf deleted file mode 100644 index 27f48a4..0000000 Binary files a/pdfs/MeridianML.pdf and /dev/null differ diff --git a/pdfs/Milford.pdf b/pdfs/Milford.pdf deleted file mode 100644 index 367dc94..0000000 Binary files a/pdfs/Milford.pdf and /dev/null differ diff --git a/pdfs/Minden.pdf b/pdfs/Minden.pdf deleted file mode 100644 index d34a032..0000000 Binary files a/pdfs/Minden.pdf and /dev/null differ diff --git a/pdfs/Mitchell.pdf b/pdfs/Mitchell.pdf deleted file mode 100644 index cd124c0..0000000 Binary files a/pdfs/Mitchell.pdf and /dev/null differ diff --git a/pdfs/Morrill.pdf b/pdfs/Morrill.pdf deleted file mode 100644 index 9581a45..0000000 Binary files a/pdfs/Morrill.pdf and /dev/null differ diff --git a/pdfs/Neligh-Oakdale.pdf b/pdfs/Neligh-Oakdale.pdf deleted file mode 100644 index 9bf9e8a..0000000 Binary files a/pdfs/Neligh-Oakdale.pdf and /dev/null differ diff --git a/pdfs/NewmanGrove.pdf b/pdfs/NewmanGrove.pdf deleted file mode 100644 index eb27f41..0000000 Binary files a/pdfs/NewmanGrove.pdf and /dev/null differ diff --git a/pdfs/NewmanGroveML.pdf b/pdfs/NewmanGroveML.pdf deleted file mode 100644 index db1772f..0000000 Binary files a/pdfs/NewmanGroveML.pdf and /dev/null differ diff --git a/pdfs/NorfolkCatholic.pdf b/pdfs/NorfolkCatholic.pdf deleted file mode 100644 index dff3de5..0000000 Binary files a/pdfs/NorfolkCatholic.pdf and /dev/null differ diff --git a/pdfs/Norris.pdf b/pdfs/Norris.pdf deleted file mode 100644 index 11d6d7b..0000000 Binary files a/pdfs/Norris.pdf and /dev/null differ diff --git a/pdfs/NorthBendCentral.pdf b/pdfs/NorthBendCentral.pdf deleted file mode 100644 index 0b83b47..0000000 Binary files a/pdfs/NorthBendCentral.pdf and /dev/null differ diff --git a/pdfs/NorthStar.pdf b/pdfs/NorthStar.pdf deleted file mode 100644 index e919979..0000000 Binary files a/pdfs/NorthStar.pdf and /dev/null differ diff --git a/pdfs/OmahaBenson.pdf b/pdfs/OmahaBenson.pdf deleted file mode 100644 index 73da0a5..0000000 Binary files a/pdfs/OmahaBenson.pdf and /dev/null differ diff --git a/pdfs/OmahaCentral.pdf b/pdfs/OmahaCentral.pdf deleted file mode 100644 index 6bfe6a6..0000000 Binary files a/pdfs/OmahaCentral.pdf and /dev/null differ diff --git a/pdfs/OmahaMarian.pdf b/pdfs/OmahaMarian.pdf deleted file mode 100644 index d6dd5da..0000000 Binary files a/pdfs/OmahaMarian.pdf and /dev/null differ diff --git a/pdfs/OmahaNorthwest.pdf b/pdfs/OmahaNorthwest.pdf deleted file mode 100644 index f9fa62c..0000000 Binary files a/pdfs/OmahaNorthwest.pdf and /dev/null differ diff --git a/pdfs/OmahaSouth.pdf b/pdfs/OmahaSouth.pdf deleted file mode 100644 index 6e66853..0000000 Binary files a/pdfs/OmahaSouth.pdf and /dev/null differ diff --git a/pdfs/Ord.pdf b/pdfs/Ord.pdf deleted file mode 100644 index 57ffe02..0000000 Binary files a/pdfs/Ord.pdf and /dev/null differ diff --git a/pdfs/OrdML.pdf b/pdfs/OrdML.pdf deleted file mode 100644 index 4c2271c..0000000 Binary files a/pdfs/OrdML.pdf and /dev/null differ diff --git a/pdfs/Osmond.pdf b/pdfs/Osmond.pdf deleted file mode 100644 index 4cf9a6e..0000000 Binary files a/pdfs/Osmond.pdf and /dev/null differ diff --git a/pdfs/Overton.pdf b/pdfs/Overton.pdf deleted file mode 100644 index fa10af1..0000000 Binary files a/pdfs/Overton.pdf and /dev/null differ diff --git a/pdfs/Platteview.pdf b/pdfs/Platteview.pdf deleted file mode 100644 index c62d1ef..0000000 Binary files a/pdfs/Platteview.pdf and /dev/null differ diff --git a/pdfs/Pleasanton.pdf b/pdfs/Pleasanton.pdf deleted file mode 100644 index bc401af..0000000 Binary files a/pdfs/Pleasanton.pdf and /dev/null differ diff --git a/pdfs/PleasantonML.pdf b/pdfs/PleasantonML.pdf deleted file mode 100644 index d32d69d..0000000 Binary files a/pdfs/PleasantonML.pdf and /dev/null differ diff --git a/pdfs/Ponca.pdf b/pdfs/Ponca.pdf deleted file mode 100644 index 0b68cec..0000000 Binary files a/pdfs/Ponca.pdf and /dev/null differ diff --git a/pdfs/Ravenna.pdf b/pdfs/Ravenna.pdf deleted file mode 100644 index 976106c..0000000 Binary files a/pdfs/Ravenna.pdf and /dev/null differ diff --git a/pdfs/RaymondCentral.pdf b/pdfs/RaymondCentral.pdf deleted file mode 100644 index 909fbb7..0000000 Binary files a/pdfs/RaymondCentral.pdf and /dev/null differ diff --git a/pdfs/RaymondCentralML.pdf b/pdfs/RaymondCentralML.pdf deleted file mode 100644 index 71b1b30..0000000 Binary files a/pdfs/RaymondCentralML.pdf and /dev/null differ diff --git a/pdfs/Riverside.pdf b/pdfs/Riverside.pdf deleted file mode 100644 index ded2dbc..0000000 Binary files a/pdfs/Riverside.pdf and /dev/null differ diff --git a/pdfs/RoncalliCatholic.pdf b/pdfs/RoncalliCatholic.pdf deleted file mode 100644 index eb9eb51..0000000 Binary files a/pdfs/RoncalliCatholic.pdf and /dev/null differ diff --git a/pdfs/SaintPaul.pdf b/pdfs/SaintPaul.pdf deleted file mode 100644 index dd3e93a..0000000 Binary files a/pdfs/SaintPaul.pdf and /dev/null differ diff --git a/pdfs/Sandhills.pdf b/pdfs/Sandhills.pdf deleted file mode 100644 index 76fe930..0000000 Binary files a/pdfs/Sandhills.pdf and /dev/null differ diff --git a/pdfs/SandhillsML.pdf b/pdfs/SandhillsML.pdf deleted file mode 100644 index 41fac59..0000000 Binary files a/pdfs/SandhillsML.pdf and /dev/null differ diff --git a/pdfs/SandyCreek.pdf b/pdfs/SandyCreek.pdf deleted file mode 100644 index 912883b..0000000 Binary files a/pdfs/SandyCreek.pdf and /dev/null differ diff --git a/pdfs/SandyCreekML.pdf b/pdfs/SandyCreekML.pdf deleted file mode 100644 index 125d3aa..0000000 Binary files a/pdfs/SandyCreekML.pdf and /dev/null differ diff --git a/pdfs/Sargent.pdf b/pdfs/Sargent.pdf deleted file mode 100644 index f98fd4b..0000000 Binary files a/pdfs/Sargent.pdf and /dev/null differ diff --git a/pdfs/SargentML.pdf b/pdfs/SargentML.pdf deleted file mode 100644 index d6f2e3a..0000000 Binary files a/pdfs/SargentML.pdf and /dev/null differ diff --git a/pdfs/ScotusCentralCatholic.pdf b/pdfs/ScotusCentralCatholic.pdf deleted file mode 100644 index 266dea2..0000000 Binary files a/pdfs/ScotusCentralCatholic.pdf and /dev/null differ diff --git a/pdfs/SewardSenior.pdf b/pdfs/SewardSenior.pdf deleted file mode 100644 index 2616be6..0000000 Binary files a/pdfs/SewardSenior.pdf and /dev/null differ diff --git a/pdfs/Shelby.pdf b/pdfs/Shelby.pdf deleted file mode 100644 index d36cc9c..0000000 Binary files a/pdfs/Shelby.pdf and /dev/null differ diff --git a/pdfs/Shickley.pdf b/pdfs/Shickley.pdf deleted file mode 100644 index 766f700..0000000 Binary files a/pdfs/Shickley.pdf and /dev/null differ diff --git a/pdfs/SilverLake.pdf b/pdfs/SilverLake.pdf deleted file mode 100644 index 29e637d..0000000 Binary files a/pdfs/SilverLake.pdf and /dev/null differ diff --git a/pdfs/SkuttCatholic.pdf b/pdfs/SkuttCatholic.pdf deleted file mode 100644 index 64dd0a3..0000000 Binary files a/pdfs/SkuttCatholic.pdf and /dev/null differ diff --git a/pdfs/SouthSiouxCity.pdf b/pdfs/SouthSiouxCity.pdf deleted file mode 100644 index 01b77ae..0000000 Binary files a/pdfs/SouthSiouxCity.pdf and /dev/null differ diff --git a/pdfs/SouthernValley.pdf b/pdfs/SouthernValley.pdf deleted file mode 100644 index 4825573..0000000 Binary files a/pdfs/SouthernValley.pdf and /dev/null differ diff --git a/pdfs/Southwest.pdf b/pdfs/Southwest.pdf deleted file mode 100644 index d66dd12..0000000 Binary files a/pdfs/Southwest.pdf and /dev/null differ diff --git a/pdfs/StCecilia.pdf b/pdfs/StCecilia.pdf deleted file mode 100644 index 513993e..0000000 Binary files a/pdfs/StCecilia.pdf and /dev/null differ diff --git a/pdfs/Stanton.pdf b/pdfs/Stanton.pdf deleted file mode 100644 index 5aced79..0000000 Binary files a/pdfs/Stanton.pdf and /dev/null differ diff --git a/pdfs/Sterling.pdf b/pdfs/Sterling.pdf deleted file mode 100644 index af3726a..0000000 Binary files a/pdfs/Sterling.pdf and /dev/null differ diff --git a/pdfs/Summerland.pdf b/pdfs/Summerland.pdf deleted file mode 100644 index df49bdd..0000000 Binary files a/pdfs/Summerland.pdf and /dev/null differ diff --git a/pdfs/Superior.pdf b/pdfs/Superior.pdf deleted file mode 100644 index 0c779c4..0000000 Binary files a/pdfs/Superior.pdf and /dev/null differ diff --git a/pdfs/Sutherland.pdf b/pdfs/Sutherland.pdf deleted file mode 100644 index d682e79..0000000 Binary files a/pdfs/Sutherland.pdf and /dev/null differ diff --git a/pdfs/Syracuse-Dunbar-Avoca.pdf b/pdfs/Syracuse-Dunbar-Avoca.pdf deleted file mode 100644 index d7ebfa0..0000000 Binary files a/pdfs/Syracuse-Dunbar-Avoca.pdf and /dev/null differ diff --git a/pdfs/Tekamah-Herman.pdf b/pdfs/Tekamah-Herman.pdf deleted file mode 100644 index eeefe63..0000000 Binary files a/pdfs/Tekamah-Herman.pdf and /dev/null differ diff --git a/pdfs/ThayerCentral.pdf b/pdfs/ThayerCentral.pdf deleted file mode 100644 index d4ce61b..0000000 Binary files a/pdfs/ThayerCentral.pdf and /dev/null differ diff --git a/pdfs/Tri-County.pdf b/pdfs/Tri-County.pdf deleted file mode 100644 index 4666d1f..0000000 Binary files a/pdfs/Tri-County.pdf and /dev/null differ diff --git a/pdfs/TwinRiver.pdf b/pdfs/TwinRiver.pdf deleted file mode 100644 index f7ee608..0000000 Binary files a/pdfs/TwinRiver.pdf and /dev/null differ diff --git a/pdfs/Valentine.pdf b/pdfs/Valentine.pdf deleted file mode 100644 index 27414aa..0000000 Binary files a/pdfs/Valentine.pdf and /dev/null differ diff --git a/pdfs/WahooPublic.pdf b/pdfs/WahooPublic.pdf deleted file mode 100644 index 99aa1ce..0000000 Binary files a/pdfs/WahooPublic.pdf and /dev/null differ diff --git a/pdfs/Wakefield.pdf b/pdfs/Wakefield.pdf deleted file mode 100644 index 2b4cd90..0000000 Binary files a/pdfs/Wakefield.pdf and /dev/null differ diff --git a/pdfs/WakefieldML.pdf b/pdfs/WakefieldML.pdf deleted file mode 100644 index 28f0d4b..0000000 Binary files a/pdfs/WakefieldML.pdf and /dev/null differ diff --git a/pdfs/Wausa.pdf b/pdfs/Wausa.pdf deleted file mode 100644 index 327164b..0000000 Binary files a/pdfs/Wausa.pdf and /dev/null differ diff --git a/pdfs/Waverly.pdf b/pdfs/Waverly.pdf deleted file mode 100644 index a1592e9..0000000 Binary files a/pdfs/Waverly.pdf and /dev/null differ diff --git a/pdfs/WayneCommunity.pdf b/pdfs/WayneCommunity.pdf deleted file mode 100644 index 08374f5..0000000 Binary files a/pdfs/WayneCommunity.pdf and /dev/null differ diff --git a/pdfs/WeepingWater.pdf b/pdfs/WeepingWater.pdf deleted file mode 100644 index f224601..0000000 Binary files a/pdfs/WeepingWater.pdf and /dev/null differ diff --git a/pdfs/WestPoint-Beemer.pdf b/pdfs/WestPoint-Beemer.pdf deleted file mode 100644 index 0acacd7..0000000 Binary files a/pdfs/WestPoint-Beemer.pdf and /dev/null differ diff --git a/pdfs/WilberClatonia.pdf b/pdfs/WilberClatonia.pdf deleted file mode 100644 index de85aee..0000000 Binary files a/pdfs/WilberClatonia.pdf and /dev/null differ diff --git a/pdfs/Wilcox-Hildreth.pdf b/pdfs/Wilcox-Hildreth.pdf deleted file mode 100644 index 1d35633..0000000 Binary files a/pdfs/Wilcox-Hildreth.pdf and /dev/null differ diff --git a/pdfs/Wilcox-HildrethML.pdf b/pdfs/Wilcox-HildrethML.pdf deleted file mode 100644 index 28b479d..0000000 Binary files a/pdfs/Wilcox-HildrethML.pdf and /dev/null differ diff --git a/pdfs/WilliamJenningsBryan.pdf b/pdfs/WilliamJenningsBryan.pdf deleted file mode 100644 index 2117851..0000000 Binary files a/pdfs/WilliamJenningsBryan.pdf and /dev/null differ diff --git a/pdfs/WoodRiver.pdf b/pdfs/WoodRiver.pdf deleted file mode 100644 index 2f7b50b..0000000 Binary files a/pdfs/WoodRiver.pdf and /dev/null differ diff --git a/pdfs/WymoreSouthern.pdf b/pdfs/WymoreSouthern.pdf deleted file mode 100644 index f2c13f1..0000000 Binary files a/pdfs/WymoreSouthern.pdf and /dev/null differ diff --git a/pdfs/York.pdf b/pdfs/York.pdf deleted file mode 100644 index 31cef5b..0000000 Binary files a/pdfs/York.pdf and /dev/null differ diff --git a/pdfs/Yutan.pdf b/pdfs/Yutan.pdf deleted file mode 100644 index 6a4f3dd..0000000 Binary files a/pdfs/Yutan.pdf and /dev/null differ diff --git a/vote_parser.rb b/vote_parser.rb index 933bb47..bbab752 100644 --- a/vote_parser.rb +++ b/vote_parser.rb @@ -18,7 +18,7 @@ def read_vote_csv(file_name) warn format('Sorry, the file %s does not exist', File: file_name) exit 1 end - csv.delete_if { |line| line.join('') =~ /^\s*$/ } # delete blank lines + csv.delete_if { |line| line.join =~ /^\s*$/ } # delete blank lines csv end @@ -129,7 +129,7 @@ def self.generate_vote_totals(vote_counts, used_tokens, votes, token_mapping) def self.init(vote_file, token_file) votes = read_vote_csv vote_file tokens = read_tokens token_file - token_mapping = tokens.map { |token| [token[1], token[0]] }.to_h + token_mapping = tokens.to_h { |token| [token[1], token[0]] } # get the column headers and remove them from the voting pool # @type [Hash{Integer => String}] @@ -187,7 +187,7 @@ def self.ballot_entry_string(candidate_name, votes, percent) end format("\t%s%-20s %4d vote%s (%.2f%%)\n", Name: "#{candidate_name}:", Votes: votes, - S: votes != 1 ? 's' : ' ', MjrMarker: majority_mark, Per: percent) + S: votes == 1 ? ' ' : 's', MjrMarker: majority_mark, Per: percent) end # Generate a formatted string of the number of abstention votes cast @@ -201,7 +201,7 @@ def self.abstention_count_string(vote_count, position_vote_count) if abstained.positive? format("\t %-20s %<AbsVotes>4d vote%<S>s\n", Title: 'Abstained:', AbsVotes: abstained, - S: abstained != 1 ? 's' : '') + S: abstained == 1 ? '' : 's') else '' end @@ -214,10 +214,10 @@ def self.abstention_count_string(vote_count, position_vote_count) # positions (does not count abstentions) # @return [String] the abstention counts, underline, position totals as a string def self.position_report_totals(vote_count, pos_total) - abstention_count_string(vote_count, pos_total) + '-' * 49 + + abstention_count_string(vote_count, pos_total) + ('-' * 49) + format("\n\t %<Title>-20s %<TotalVotes>4d vote%<S>s\n\n", Title: 'Total:', TotalVotes: vote_count, - S: vote_count != 1 ? 's' : '') + S: vote_count == 1 ? '' : 's') end # Generate the entire report for a given position