box_packer 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/box_packer.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ce2c981987679b3e0de5a70b09b693083faadd6
4
- data.tar.gz: ae8a381eca46ecaafe4de8479c95691731f90a13
3
+ metadata.gz: 500717c2ecd384e045a1896b6a99eabc55765b29
4
+ data.tar.gz: de40bda0f5fb060b5e50dee5e0038294877a44d9
5
5
  SHA512:
6
- metadata.gz: 0a6a7839bc8c180b9de63c768518500376651659e941ddc47464662be10d150f8a9865458d6b9f1e1bd36d80760e74533601b0370cf5df1c4c98127523e15f1a
7
- data.tar.gz: 3ee72ad9475d764d867fb63b32d9e95badbf84f5da53ef484b6fbb7a79b74d01eb9f171ac048cbd18f26170d670be33df80ad54fbb47a0514a686ae4b1cfbb4b
6
+ metadata.gz: 153af3ccf8ada5e2d9732b5de8de1716228c14e41ffb0f538711d3277d42b3891048098eb25f866fb6f100fc909a1ae00891ae7cb351e29af779244a1f3f2b71
7
+ data.tar.gz: 4afbe0d73c59d5458df1bc9adafe40cae06ed4c0d87524813fd304d597fd4076f98509923e8451282536385fb5398ab8d90f25a50ce506711280983bda415a3f
data/box_packer.rb CHANGED
@@ -31,7 +31,7 @@ module BoxPacker
31
31
  end
32
32
  break if item_has_been_packed
33
33
  end
34
- break if item_has_been_packed
34
+ next if item_has_been_packed
35
35
 
36
36
  # Can't fit in any of the spaces for the current packings
37
37
  # so lets try a new space the size of the container
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: box_packer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max White
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-21 00:00:00.000000000 Z
11
+ date: 2016-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec