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 +4 -4
- data/lib/files_check.rb +1 -1
- data/lib/jishan_fast_track_gem/version.rb +1 -1
- data/lib/jishan_fast_track_gem.rb +12 -12
- data/lib/rebate_calculator.rb +0 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd81f5228a282fbdef3de4815bf6e8d778dc0a9ade0cb6c030e6a5226c061ea
|
4
|
+
data.tar.gz: afb1c85bc7d0b8e9fb640e727ff2d6d2669630cb6e746aa5f332382f422a80e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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|
|
@@ -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
|
-
|
10
|
+
john.instruction
|
11
11
|
john_files = Files_check.new("John Files")
|
12
|
-
|
12
|
+
john_files.instruction
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
list_zone_1 = Manage_list.new("zone 1")
|
17
|
+
list_zone_2 = Manage_list.new("zone 2")
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
list_zone_1.add_applicant("John")
|
20
|
+
list_zone_1.add_applicant("Sab")
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
list_zone_2.add_applicant("Peppy")
|
23
|
+
list_zone_2.add_applicant("sup")
|
24
|
+
list_zone_2.remove_applicant("Peppy")
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
p list_zone_1.list_detail
|
27
|
+
p list_zone_2.list_detail
|
28
28
|
|
29
|
-
|
29
|
+
p Manage_list.display_processing_number
|
30
30
|
|
31
31
|
john_rebate = Rebate_calculator.new
|
32
32
|
john_rebate.instruction
|
data/lib/rebate_calculator.rb
CHANGED