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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ba232be35f794bab630db0215b3eddeec211dad
4
- data.tar.gz: a6503b7c1899de07423d637c3d1edcb01f1cda27
3
+ metadata.gz: 43ca88b5006faf19bff1e6d1ffb9f05d8b882de6
4
+ data.tar.gz: 46ed917818ee4cdff4a53b7c672a2ce02269ed9f
5
5
  SHA512:
6
- metadata.gz: 58f92ed5ff17659ff4778173777d13e95b6c148ee86dc04733e0031db6d01efda84b55f4008b3a931c6128f49f5a0578e1cf691880008198ebddd9338717d114
7
- data.tar.gz: 3eab9d6b0d418c703bdd8ed9c3bff3166681291300c6d37a8682e6093ef221f290217364c57a6653bf28526e0eaee50eae03eb1d1be2bf18789c3caf3ed5c0c9
6
+ metadata.gz: 260bda072394723244614a23f014daebbe428ffc40a7fcd0ee55a88f2bb5444c7cda3571c9c5858d9b2a445228c0958d3bdcb9c50dcf23f7ecc449d9a7f32192
7
+ data.tar.gz: e6530a704db9743f72e056d481db1681c63be07f6a3d90425959bd9ab10296ffa570c72d47da3fc30a294eeeed13d7b737c4da767c3181a3179b5bf5a4a18323
@@ -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)
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.9.32'
5
+ VERSION = '0.9.33'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwarrior
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.32
4
+ version: 0.9.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick