scion 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/scion/cli.rb +2 -2
- data/lib/scion/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: f136c5dd6722fdca198f938cad0c51894a271eb4
|
4
|
+
data.tar.gz: 542deff390963062ebdcc7eb473475edd1cdb1e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d4fb6e53129880c4e596a2777500290f3132b1ab36aa5803aebfdb2c1e9c365d2f9221d893e64790378207bd94cf159ef9c4de999c06d17c19ee62dac1f53d
|
7
|
+
data.tar.gz: 514b928586f36cb68c6525da339ba96e1c76ab89f59f76deb7569a9a0a24662ddea5dcb07641bd8ce6825ca34ebf7e76052eed1bef21f51eb417b964c5293c20
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@ This is a general gem to help play the game Scion, or any other White Wolf games
|
|
11
11
|
$ scion help
|
12
12
|
> Commands:
|
13
13
|
> scion help [COMMAND] # Describe available commands or one specific command
|
14
|
-
> scion roll DICE AUTO_SUCCESSES [NUM_SIDES] [THRESHOLD] # Roll number of DICE, adding a certain AUTO_SUCCESSES
|
14
|
+
> scion roll DICE [AUTO_SUCCESSES] [NUM_SIDES] [THRESHOLD] # Roll number of DICE, adding a certain AUTO_SUCCESSES
|
15
15
|
|
16
16
|
## Contributing
|
17
17
|
|
data/lib/scion/cli.rb
CHANGED
@@ -2,8 +2,8 @@ require 'thor'
|
|
2
2
|
|
3
3
|
module Scion
|
4
4
|
class CLI < Thor
|
5
|
-
desc 'roll DICE AUTO_SUCCESSES [NUM_SIDES] [THRESHOLD]', 'Roll number of DICE, adding a certain AUTO_SUCCESSES'
|
6
|
-
def roll(dice, auto_successes, num_sides = 10, threshold = 7)
|
5
|
+
desc 'roll DICE [AUTO_SUCCESSES] [NUM_SIDES] [THRESHOLD]', 'Roll number of DICE, adding a certain AUTO_SUCCESSES'
|
6
|
+
def roll(dice, auto_successes = 0, num_sides = 10, threshold = 7)
|
7
7
|
dice = Integer(dice)
|
8
8
|
auto_successes = Integer(auto_successes)
|
9
9
|
num_sides = Integer(num_sides)
|
data/lib/scion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Hendrix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|