rollr 1.0.1 → 1.0.2

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: 107c19f3d3fb4c489bf0cd139aa3b7220407a929
4
- data.tar.gz: 4c39c86ddcc4c4741d6f69754ca8a812bd2f5d20
3
+ metadata.gz: 8bbb146f1eda263836dc19aed6e53a76129cb5a0
4
+ data.tar.gz: eecf8f87f9f7bfb30de9fa9ef71d60ef1d1af93b
5
5
  SHA512:
6
- metadata.gz: d233a5b67b864749d0a5bdf4a7ad2b39c23e7d2a5306310f5250cfc15a88e5a4886df36b0d634adea26d19477dddbc0c03ee4384486b58c6336ce7d695b468a8
7
- data.tar.gz: 927817bb49c9b13c649b08dc65eef1ec046999051155831698a3388e6593363f325178a837d335121b859a49a5334d89d2b12b0e6548da60094d9ae375e1dbe0
6
+ metadata.gz: e9f86b226855254ffdc52f2d4f7ece33a19c1ca8df49ca7478d9f24c242dc482c193025d46429287a89dae40f365a84203dfc24a510f0cee62769f45ead8d8d6
7
+ data.tar.gz: 232417404aa539c83c8585099f581bc42e2b9acb412777e23677b067c394321a34d99e741cb97c4aa7130362f6e47439797f82e48d11d1ca1a016e5b5750ce48
data/lib/rollr/die.rb CHANGED
@@ -18,7 +18,7 @@ module Rollr
18
18
  private
19
19
 
20
20
  def single_roll
21
- SecureRandom.random_number(sides)
21
+ SecureRandom.random_number(sides) + 1
22
22
  end
23
23
 
24
24
  def array_of_rolls(number)
data/lib/rollr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rollr
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Jarvis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-29 00:00:00.000000000 Z
11
+ date: 2016-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler