shuffle 1.0.0 → 1.0.1

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/lib/shuffle.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c34142f489737ec0eeed113ed8f3a94f972d8612
4
- data.tar.gz: c2f5833985a6eaa20c2ff2807ec524488a2f0dea
3
+ metadata.gz: 6b150b63fe7afa8b73b0cabfa5d73c96819cad69
4
+ data.tar.gz: c2513827f18323419ddf376dab0d210f3cd244f8
5
5
  SHA512:
6
- metadata.gz: e530762102c7548889c184eff7dc82a671e3954e4f6eb542e63b4853e9465a7fea7a4aabacc5bb0f1bc5c97073b4aefe089f5688c055aec587b96215306d4571
7
- data.tar.gz: b278e589e1bc1362be9b443e55ff3a4f4606b652d16f81e44f945d40365ed03cc258a410b9dcda78d9dce305a7190caf5a17d0ae6bf12518de39f9a2cedb42cb
6
+ metadata.gz: dd11544146709e2a29f328be2c9c447d2d9eb58a5005fd0e4ca0d5bf7d4023d4639001b5557c7c1c2f12782e9c9aaa3c78dd2ab0ccfff99858e857b21c7ddff8
7
+ data.tar.gz: d2b17c42b31f9f6f818dc415cc0f10532e44f01ef018c8b4849075d3579780d00ebf7ab5ebf9c53b07f89f97d371532439b9e4dc128326fc6c80cc6681eb6dde
@@ -19,7 +19,7 @@ class Shuffle
19
19
  end
20
20
  end
21
21
 
22
- def shuffle(size)
22
+ def shuffle(size = 1)
23
23
  shuffled_sequence = sequence.length > 1 ? shuffler(size) : sequence
24
24
 
25
25
  rejoin ? shuffled_sequence.join : shuffled_sequence
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shuffle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Senter