acpc_table_manager 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fa5f98954ab8a4efc2090a89478d447a2d2a9c0
4
- data.tar.gz: 8e2eaa55099066e62d89c583796966ef4432eaa6
3
+ metadata.gz: edf5a8be9c785714d85039c41837822b15613037
4
+ data.tar.gz: 34e0384418eb667c4fa16f3bd0f39743cd97d45f
5
5
  SHA512:
6
- metadata.gz: 7ec7782bc01519101d88bebc6b16cdffc2333192f8024b220bdf93c0e9b859f9f4652f2f475d9c386084b024df7399662f2682d23931e69856723ff5b5cd3cad
7
- data.tar.gz: b9ab7094f9e74de741009b8c550cd348b6cd679c26c2ba138c223bcbed48a27fb976236b1ddaea9c558bfb5bdfa21b2717db71b6dc4c9386100d87274008f898
6
+ metadata.gz: a6aaddf1189a3b2aafa93ad17bf16098e2ec7d284252e302abe5e2b16a548ec17be36a1a12faad923e8bc7189631f374cdc81d0c339d4b66a97a760ce863dae1
7
+ data.tar.gz: 376b054bc5d77727f7bb939834a893861b98bff098e6729b39b70e899c9bc7fcc13dfc3d55ed57f46b15ee97d8bb3ebe447efbf117b4dcf3d4bbd62d92fe821c
@@ -114,8 +114,8 @@ class Match
114
114
  name
115
115
  end
116
116
  def new_random_seed
117
- random_float = rand
118
- random_int = (random_float * 10**random_float.to_s.length).to_i
117
+ # The ACPC dealer requires 32 bit random seeds
118
+ rand(2**33 - 1)
119
119
  end
120
120
  def new_random_seat(num_players)
121
121
  rand(num_players) + 1
@@ -1,3 +1,3 @@
1
1
  module AcpcTableManager
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_table_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-02 00:00:00.000000000 Z
11
+ date: 2016-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pony