dicebag 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dicebag +1 -1
  3. data/lib/dicebag/parser.rb +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c9b311916035f1eaf3e31fd09c0eba523bc426875ca25ea0929d131215df709
4
- data.tar.gz: 3c7c973630fdc29c654f3b90009d32652da06763a2e6a44fc5d2edb643215b96
3
+ metadata.gz: f932f637949ae902d7a548f3f840bbac83eb889986468e02c149b23800e00b04
4
+ data.tar.gz: 21e477659ac97f48eba24053a5a2e07852dbac9f2220a84474d04b4624e96395
5
5
  SHA512:
6
- metadata.gz: 735fae23c00f6c883f4370bd8ca2a9451b6747264664b820f6f2b36ea062c8f3167197be28e17c83978d82a887c2d71cf5236af5519865913f23a0773145d087
7
- data.tar.gz: 8c9c8fbc7ad416cf954da26a9118e040863a8cfb8b2ca0e71b9e8b0248d282ef0ff17bb66646433e93c6d55d8c359fc95962ceaba0205f8889500319271cd479
6
+ metadata.gz: c7ee0173f907cac2f49d5f7e04750e0ea29b88d1a85ad21adbfa57217c1ab85fd731693e085b8265cdae78b18c1deb96776841ed66f98e90baaef4efce91a7ea
7
+ data.tar.gz: a7a1e68d305dcf024506262e63d1f08f12e9042280dadd80f711e6e25b2ec2edb685d6b04f103b464fd5bd5db7a242384d753c2d444b8efb615f6834da3bd53b
data/bin/dicebag CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'optparse'
4
- # require 'dicebag'
4
+
5
5
  require_relative '../lib/dicebag'
6
6
 
7
7
  # Define the Dicebag CLI app
@@ -6,11 +6,11 @@ module DiceBag
6
6
  # Base rules.
7
7
  rule(:space?) { str(' ').repeat }
8
8
 
9
- # Numbers are limited to 3 digit places.
9
+ # Numbers are limited to 4 digit places.
10
10
  #
11
11
  # Why? To prevent abuse from people rolling: 999999999D999999999 and
12
12
  # 'DOS'-ing the app.
13
- rule(:number) { match('[0-9]').repeat(1, 3) }
13
+ rule(:number) { match('[0-9]').repeat(1, 4) }
14
14
  rule(:number?) { number.maybe }
15
15
 
16
16
  # Label rule
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dicebag
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
- - SynTruth
7
+ - Randy "syntruth" Carnahan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.1.2
79
+ rubygems_version: 3.3.26
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: 'Dice Bag: Ruby Dice Rolling Library'