meshchat 0.11.1 → 0.11.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: f67f10629cb5af3827cf5ce5fcc8add279c62c87
4
- data.tar.gz: 1924e99f9fed8009945ad110ec5794a5436fa1d6
3
+ metadata.gz: 769222556d02960c10f6e09f5216979a9d3b99b0
4
+ data.tar.gz: d2fb3690c939227b155933e7f404cea22b4a8ab4
5
5
  SHA512:
6
- metadata.gz: df63be614e8298d186b439d5eabe5d1e25c8df5a883f9ac8fa9b592ba77e15d63ede3374714201b8579ca878286a62c0e5d4bedbc9814a7b99f8dc6efd52f9a2
7
- data.tar.gz: 64b7e73059734c02b9084e6aeb3cb7aa5bc64af4b4e19873b42b093934d31e8f405d4cc01c0b0843ed58ff91df2d8f5a4d882c0566eb8c4f3d2fa5d58d96ac55
6
+ metadata.gz: 5cf9b9d8a513a1a1e92e8e8b7afb1ada009dad234a3a935cc846b7bab8f34ced4539dbf643444b3c393ac6e9d5ee4309ea81b90b3da58956037dde9d355e6d2f
7
+ data.tar.gz: 273717543e8ec2081d2d2e7545da2fcea27eb398e7297eceb3f8a4a8976a86ce7f9f8c82d59772af1b4a42ff802de2af4caa476e90c0af0d2d7cb7122ea3d819
@@ -15,7 +15,7 @@ module Meshchat
15
15
  # input, X, Y, +Z, Z
16
16
  _, num, size, _, modifier = REGEX.match(input).to_a.map(&:to_i)
17
17
 
18
- result = Array.new(num) { rand(size + 1) }.inject(:+) + modifier
18
+ result = Array.new(num) { rand(size) + 1 }.inject(:+) + modifier
19
19
  @_input = "rolls #{num}d#{size}#{modifier != 0 ? "+#{modifier}" : ''} and gets #{result}"
20
20
  end
21
21
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Meshchat
3
- VERSION = '0.11.1'
3
+ VERSION = '0.11.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meshchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - L. Preston Sego III
@@ -366,6 +366,6 @@ rubyforge_project:
366
366
  rubygems_version: 2.5.1
367
367
  signing_key:
368
368
  specification_version: 4
369
- summary: Meshchat-0.11.1
369
+ summary: Meshchat-0.11.2
370
370
  test_files: []
371
371
  has_rdoc: