slcsp 0.1.0 → 0.1.1

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: 54a9297dd49c608c030c86e0c5fad1533f71206e72ae5da0bcd06f72704e51b4
4
- data.tar.gz: 8f1663495f75425223f51384234e04581451f7e867d769c28cb92609dc7951b6
3
+ metadata.gz: 01dc79deff9936992c198fc68ea8bc12ef6f875aabfd7a78bb1ca1b9f85bdeed
4
+ data.tar.gz: ab678d04db9603600ef2c827c14f06954f9f9852ebc2931a885ad8c28e02cdf6
5
5
  SHA512:
6
- metadata.gz: 14019111a299e5006a21b9282d5971e863a14670083c1254192a5f2c7d7d06956cd1bf95920c4afddc29ddb87702605307d93e53f45694fc243b6e3ddd89e761
7
- data.tar.gz: 04ca56cef529b6a8567ad9a199809bb0de4154223e8525e4a5c8fd9e3a7c41e7d8bc6e2aa595cd6ddaaa359c851c671c7cee271bedc6591aa6b3eb30c7c47dcf
6
+ metadata.gz: f186391d093076c8c54be08b3842fd7b4a0ca91171dc86205ed3fab70258828d4ff5961ebe55f27bc8c7b5d9a5c10780f11961b7f931e81a77007a7d361a5fe8
7
+ data.tar.gz: 37185cee3c3988e7a103c7f69d0dbe3d61aad6eec479379b50376a0a2ea5ee0c48ce84f8c3dbfb19fec98039e5d4a360adafd38b6ae53712dca453d5c7ee599a
data/CHANGELOG.md CHANGED
@@ -3,3 +3,7 @@
3
3
  ## [0.1.0] - 2023-02-07
4
4
 
5
5
  - Initial release
6
+
7
+ ## [0.1.1] - 2023-02-09
8
+
9
+ - removed redundant print statements
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slcsp (0.1.0)
4
+ slcsp (0.1.1)
5
5
  thor
6
6
 
7
7
  GEM
data/comments.md CHANGED
@@ -3,11 +3,12 @@
3
3
  Welcome AdHoc professional. This is a repository with the source code of slcsp gem.
4
4
  There are two ways to see the desired output:
5
5
 
6
- ## Installation from rubygems.org
6
+ ## Installation and usage
7
7
 
8
8
  Provided, you have bundler installed
9
9
 
10
10
  $ gem install slcsp
11
+ $ slcsp match
11
12
 
12
13
  OR Use binary as is
13
14
 
data/lib/slcsp/cli.rb CHANGED
@@ -17,15 +17,10 @@ module Slcsp
17
17
 
18
18
  Slcsp::Config.configure do |config|
19
19
  config.zips_file = File.join(dir, 'data', 'zips.csv')
20
- say "configured zips file path to #{config.zips_file}"
21
20
  config.plans_file = File.join(dir, 'data', 'plans.csv')
22
- say "configured plans file path to #{config.plans_file}"
23
21
  config.slcsp_file = File.join(dir, 'data', 'slcsp.csv')
24
- say "configured slcsp file path to #{config.slcsp_file}"
25
22
  config.output_medium = $stdout
26
- say "configured output medium to be #{config.output_medium.inspect}"
27
23
  config.target_level = 'Silver'
28
- say "configured taregt level medium to be #{config.target_level}"
29
24
  end
30
25
  end
31
26
 
@@ -38,13 +33,8 @@ module Slcsp
38
33
  zip_parser = Slcsp::ZipParser.new(Slcsp::Config.zips_file, zip_index)
39
34
  plan_parser = Slcsp::PlanParser.new(Slcsp::Config.plans_file, plan_index)
40
35
 
41
- say "Started indexing zips file..."
42
36
  zip_parser.parse_and_record if zip_index.data.empty?
43
- say "Completed indexing zips file. Total: #{zip_index.data.size} records."
44
-
45
- say "Started indexing plans file..."
46
37
  plan_parser.parse_and_record if plan_index.data.empty?
47
- say "Completed indexing plans file. Total: #{plan_index.data.size} records."
48
38
 
49
39
  return zip_index, plan_index
50
40
  end
data/lib/slcsp/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Slcsp
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/slcsp.gemspec CHANGED
@@ -5,8 +5,8 @@ require_relative "lib/slcsp/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "slcsp"
7
7
  spec.version = Slcsp::VERSION
8
- spec.authors = ["Simon Bagreev"]
9
- spec.email = ["sbagreev@gmail.com"]
8
+ spec.authors = ["Anonymous"]
9
+ spec.email = ["anon@example.com"]
10
10
 
11
11
  spec.summary = "Ad Hoc home assignment"
12
12
  spec.description = "Calculate the second lowest cost silver plan"
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slcsp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Simon Bagreev
7
+ - Anonymous
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
@@ -68,7 +68,7 @@ dependencies:
68
68
  version: '0'
69
69
  description: Calculate the second lowest cost silver plan
70
70
  email:
71
- - sbagreev@gmail.com
71
+ - anon@example.com
72
72
  executables:
73
73
  - slcsp
74
74
  extensions: []