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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c3c46a22371cf5d5dcaaad8a7579cd346c32439f7ea0dfefb59f58972da7e0e
4
- data.tar.gz: a3884d158b30816d2c712d2e3511143ac337b264c7e75cba6f479a978699b47f
3
+ metadata.gz: 876fae06d90ffcfa93a6ff2c543595b317be2c6c6f8cf3d311d6c2851206b793
4
+ data.tar.gz: 3bbac8434283bc50469928db836a390cab625e77bdfccb12db6345593b53809a
5
5
  SHA512:
6
- metadata.gz: 67a9c55e750216d5f607414bee1717e8c793ba3fae818ac9d1f707deacbc3292e42e9cd99b5a22c8dc51031646ea116da77fa5341e226f04d3c27606f050c82f
7
- data.tar.gz: c249a389f7cfce920c5d13e70be9585dcd9a1e3eaf0cc641d415554010df0cd51e621057b0c9307736a814d9924397d82fdc7c332587b6138731ef8f38da29e8
6
+ metadata.gz: 0f219d09e54f88bea303576c363d1f62a4e9f00540c49ace087d5f4789ad7f200a915c2d3e36f19bd8aa5cd17a1d054629cba7cd41bd9631202c2656a013942b
7
+ data.tar.gz: b33866fd2549c75554b34419df98969d1672287645384149a537869f884a76dd6634a143c20aadfa11689978c7be4e2e2973f38ab315d2cb87161546b2a56bd2
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Seshbot
2
2
  module Packing
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seshbot-packing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun