gemwarrior 0.9.32 → 0.9.33
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.
- checksums.yaml +4 -4
- data/bin/gemwarrior +10 -10
- data/lib/gemwarrior/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43ca88b5006faf19bff1e6d1ffb9f05d8b882de6
|
|
4
|
+
data.tar.gz: 46ed917818ee4cdff4a53b7c672a2ce02269ed9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 260bda072394723244614a23f014daebbe428ffc40a7fcd0ee55a88f2bb5444c7cda3571c9c5858d9b2a445228c0958d3bdcb9c50dcf23f7ecc449d9a7f32192
|
|
7
|
+
data.tar.gz: e6530a704db9743f72e056d481db1681c63be07f6a3d90425959bd9ab10296ffa570c72d47da3fc30a294eeeed13d7b737c4da767c3181a3179b5bf5a4a18323
|
data/bin/gemwarrior
CHANGED
|
@@ -17,6 +17,16 @@ def parse_options_cli
|
|
|
17
17
|
:use_wordnik => false,
|
|
18
18
|
:extra_command => nil
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
options_file = read_options_file
|
|
22
|
+
|
|
23
|
+
unless options_file.nil?
|
|
24
|
+
sound_option = options_file[0][1].eql?('false') ? false : true
|
|
25
|
+
wordnik_option = options_file[1][1].eql?('false') ? false : true
|
|
26
|
+
|
|
27
|
+
options[:sound] = sound_option
|
|
28
|
+
options[:use_wordnik] = wordnik_option
|
|
29
|
+
end
|
|
20
30
|
|
|
21
31
|
optparse = OptionParser.new do |opts|
|
|
22
32
|
opts.on('-b', '--beast', 'Enable debug[beastmode]') do
|
|
@@ -86,16 +96,6 @@ end
|
|
|
86
96
|
begin
|
|
87
97
|
options = parse_options_cli
|
|
88
98
|
|
|
89
|
-
options_file = read_options_file
|
|
90
|
-
|
|
91
|
-
unless options_file.nil?
|
|
92
|
-
sound_option = options_file[0][1].eql?('false') ? false : true
|
|
93
|
-
wordnik_option = options_file[1][1].eql?('false') ? false : true
|
|
94
|
-
|
|
95
|
-
options[:sound] = sound_option
|
|
96
|
-
options[:use_wordnik] = wordnik_option
|
|
97
|
-
end
|
|
98
|
-
|
|
99
99
|
Gemwarrior::Game.new(options)
|
|
100
100
|
rescue => error
|
|
101
101
|
print_error(error)
|
data/lib/gemwarrior/version.rb
CHANGED