seshbot-packing 0.3.0 → 0.4.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 +4 -4
- data/.gitignore +1 -0
- data/lib/seshbot/packing/package.rb +0 -4
- data/lib/seshbot/packing/recipe.rb +0 -18
- data/lib/seshbot/packing/version.rb +1 -1
- 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: 876fae06d90ffcfa93a6ff2c543595b317be2c6c6f8cf3d311d6c2851206b793
|
|
4
|
+
data.tar.gz: 3bbac8434283bc50469928db836a390cab625e77bdfccb12db6345593b53809a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f219d09e54f88bea303576c363d1f62a4e9f00540c49ace087d5f4789ad7f200a915c2d3e36f19bd8aa5cd17a1d054629cba7cd41bd9631202c2656a013942b
|
|
7
|
+
data.tar.gz: b33866fd2549c75554b34419df98969d1672287645384149a537869f884a76dd6634a143c20aadfa11689978c7be4e2e2973f38ab315d2cb87161546b2a56bd2
|
data/.gitignore
CHANGED
|
@@ -34,10 +34,6 @@ module Seshbot
|
|
|
34
34
|
return result if fulfilled_at < bundling_start_date # TODO remove bundling start date method
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
items.each do |item|
|
|
38
|
-
size = packaged_size(item["sku"])
|
|
39
|
-
end
|
|
40
|
-
|
|
41
37
|
# get a hash of {pack_6: 5, pack_12: 1}
|
|
42
38
|
product_type_counts = count_product_types(items)
|
|
43
39
|
|
|
@@ -21,24 +21,6 @@ module Seshbot
|
|
|
21
21
|
"input_quantity"=>2,
|
|
22
22
|
"output_fragment"=>"B312",
|
|
23
23
|
"output_quantity"=>1
|
|
24
|
-
},
|
|
25
|
-
"cans_twenty_four_pack_4"=>{
|
|
26
|
-
"input_fragment"=>"C306",
|
|
27
|
-
"input_quantity"=>4,
|
|
28
|
-
"output_fragment"=>"C324",
|
|
29
|
-
"output_quantity"=>1
|
|
30
|
-
},
|
|
31
|
-
"cans_twenty_four_pack_3"=>{
|
|
32
|
-
"input_fragment"=>"C306",
|
|
33
|
-
"input_quantity"=>3,
|
|
34
|
-
"output_fragment"=>"C318",
|
|
35
|
-
"output_quantity"=>1
|
|
36
|
-
},
|
|
37
|
-
"cans_twelve_pack"=>{
|
|
38
|
-
"input_fragment"=>"C306",
|
|
39
|
-
"input_quantity"=>2,
|
|
40
|
-
"output_fragment"=>"C312",
|
|
41
|
-
"output_quantity"=>1
|
|
42
24
|
}
|
|
43
25
|
}
|
|
44
26
|
end
|