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 +4 -4
- data/lib/meshchat/ui/command/roll.rb +1 -1
- data/lib/meshchat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 769222556d02960c10f6e09f5216979a9d3b99b0
|
4
|
+
data.tar.gz: d2fb3690c939227b155933e7f404cea22b4a8ab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|
data/lib/meshchat/version.rb
CHANGED
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.
|
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.
|
369
|
+
summary: Meshchat-0.11.2
|
370
370
|
test_files: []
|
371
371
|
has_rdoc:
|