dice_roller 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/dice_roller/cli.rb +3 -0
  2. metadata +24 -40
@@ -93,6 +93,9 @@ class DiceRoller::Cli
93
93
  puts "Invalid option"
94
94
  puts options
95
95
  exit
96
+ rescue OptionParser::AmbiguousOption => e
97
+ puts options
98
+ exit
96
99
  end
97
100
 
98
101
  return if $TEST
metadata CHANGED
@@ -1,70 +1,54 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dice_roller
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 2
9
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Alex Chvatal
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-04-27 00:00:00 -04:00
18
- default_executable:
12
+ date: 2012-05-01 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
- description: " dice_roller is a pure ruby application that rolls dice for role playing games.\n it is primarily built to handle d20 or Storytelling style rolls.\n"
22
- email:
14
+ description: ! " dice_roller is a pure ruby application that rolls dice for role
15
+ playing games.\n it is primarily built to handle d20 or Storytelling style rolls.\n"
16
+ email:
23
17
  - m.chvatal@gmail.com
24
- executables:
18
+ executables:
25
19
  - dice_roller
26
20
  extensions: []
27
-
28
21
  extra_rdoc_files: []
29
-
30
- files:
22
+ files:
31
23
  - lib/dice_roller/cli.rb
32
24
  - lib/dice_roller/dice.rb
33
25
  - lib/dice_roller/dice_pool.rb
34
26
  - lib/dice_roller/dice_result.rb
35
27
  - lib/dice_roller.rb
36
28
  - bin/dice_roller
37
- has_rdoc: true
38
29
  homepage: https://github.com/yithian/dice_roller
39
- licenses:
30
+ licenses:
40
31
  - GPL
41
32
  post_install_message:
42
33
  rdoc_options: []
43
-
44
- require_paths:
34
+ require_paths:
45
35
  - lib
46
- required_ruby_version: !ruby/object:Gem::Requirement
36
+ required_ruby_version: !ruby/object:Gem::Requirement
47
37
  none: false
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- segments:
52
- - 0
53
- version: "0"
54
- required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
43
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- segments:
60
- - 0
61
- version: "0"
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
62
48
  requirements: []
63
-
64
49
  rubyforge_project:
65
- rubygems_version: 1.3.7
50
+ rubygems_version: 1.8.24
66
51
  signing_key:
67
52
  specification_version: 3
68
53
  summary: a dice roller for games
69
54
  test_files: []
70
-