jishan_fast_track_gem 0.1.16 → 0.1.17

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: bcb60c3065d08a743960f08beeae0ff05b06b1d62ed28cf253a3d6e2867bcf38
4
- data.tar.gz: daf7971c43aaa256d75994053c31d229f767adab626b6758705df0793e57b32a
3
+ metadata.gz: abd81f5228a282fbdef3de4815bf6e8d778dc0a9ade0cb6c030e6a5226c061ea
4
+ data.tar.gz: afb1c85bc7d0b8e9fb640e727ff2d6d2669630cb6e746aa5f332382f422a80e4
5
5
  SHA512:
6
- metadata.gz: 9c4214c6d2c1636b1daaea447545327d3168f320c2bbe27f9928c32fdc96fd93ca016505b066b962391f9bfe56c0097e82d3eee0ad7f5b05742e3db3b13de129
7
- data.tar.gz: d1ddaa69626a0aea99a1e95d05becbe54d0fbf87da2253fdb9bb79222ab2525bdeddb63a5ea92a768aa18a4c7ffc44406137432e68549326e493fab8867e740f
6
+ metadata.gz: 33f31847502b47c97ae6ad82983c7028a4516440c12f9b8e6aee711634e67f160424fbdbc0b0310cc26642a6c62e32a39ea287f3d61c22a1346b5ad888feb43e
7
+ data.tar.gz: ded496287f6da6fb91a63e658781c53aef21f35c2f7cb079263814e01b95470e2f4b78105f2d7485f3460b78c833128d15b50c9329ddb9c794c38369da4011c4
data/lib/files_check.rb CHANGED
@@ -57,7 +57,7 @@ attr_reader :file_list
57
57
 
58
58
  def eligible_quote(url)
59
59
  retailer = URI.parse(url).host
60
- csv_text = File.read("cec_approved_retailers.csv")
60
+ csv_text = File.read(__dir__ + "/cec_approved_retailers.csv")
61
61
  csv = CSV.parse(csv_text, headers: true)
62
62
 
63
63
  result = csv.find do |web|
@@ -1,3 +1,3 @@
1
1
  module JishanFastTrackGem
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
@@ -7,26 +7,26 @@ require_relative 'manage_list'
7
7
  # write the intro
8
8
  # Help file includes *comprehensive* instructions which *accurately* describe: steps to install the application; dependencies required by the application; system/hardware requirements; features of the application.
9
9
  john = Eligibility_check.new("John")
10
- # john.instruction
10
+ john.instruction
11
11
  john_files = Files_check.new("John Files")
12
- # john_files.instruction
12
+ john_files.instruction
13
13
 
14
14
 
15
15
 
16
- # list_zone_1 = Manage_list.new
17
- # list_zone_2 = Manage_list.new
16
+ list_zone_1 = Manage_list.new("zone 1")
17
+ list_zone_2 = Manage_list.new("zone 2")
18
18
 
19
- # list_zone_1.add_applicant("John")
20
- # list_zone_1.add_applicant("Sab")
19
+ list_zone_1.add_applicant("John")
20
+ list_zone_1.add_applicant("Sab")
21
21
 
22
- # list_zone_2.add_applicant("Peppy")
23
- # list_zone_2.add_applicant("sup")
24
- # list_zone_2.remove_applicant("Peppy")
22
+ list_zone_2.add_applicant("Peppy")
23
+ list_zone_2.add_applicant("sup")
24
+ list_zone_2.remove_applicant("Peppy")
25
25
 
26
- # p list_zone_1.list_detail
27
- # p list_zone_2.list_detail
26
+ p list_zone_1.list_detail
27
+ p list_zone_2.list_detail
28
28
 
29
- # p Manage_list.display_processing_number
29
+ p Manage_list.display_processing_number
30
30
 
31
31
  john_rebate = Rebate_calculator.new
32
32
  john_rebate.instruction
@@ -52,9 +52,6 @@ class Rebate_calculator
52
52
 
53
53
  def stc_calculator
54
54
  @stc = (@kw * @stc_rating * @deeming_year).floor
55
-
56
- p self
57
-
58
55
  rebate
59
56
  end
60
57
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jishan_fast_track_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jishan_Lu