tobi-mastermind 1.0 → 1.1

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.
@@ -1,17 +1,17 @@
1
- lib_master = File.expand_path('../mastermind/tobi', __FILE__)
2
- $LOAD_PATH.unshift(lib_master) unless $LOAD_PATH.include?(lib_master)
3
- require 'ui'
4
- require 'gamehelper'
5
-
6
- module MasterMind
7
- module Tobi
8
- extend GameHelper
9
- VERSION = 1.0
10
-
11
- def self.start
12
- puts UI::WELCOME_MESSAGE
13
- print UI::OPTIONS_MESSAGE + UI::INPUT_PROMPT
14
- user_choice
15
- end
16
- end
1
+ lib_master = File.expand_path('../mastermind/tobi', __FILE__)
2
+ $LOAD_PATH.unshift(lib_master) unless $LOAD_PATH.include?(lib_master)
3
+ require 'ui'
4
+ require 'gamehelper'
5
+
6
+ module MasterMind
7
+ module Tobi
8
+ VERSION = 1.0
9
+
10
+ def self.start
11
+ gamehelper = GameHelper.new
12
+ puts UI::WELCOME_MESSAGE
13
+ print UI::OPTIONS_MESSAGE + UI::INPUT_PROMPT
14
+ gamehelper.user_choice
15
+ end
16
+ end
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tobi-mastermind
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobi Oduah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-14 00:00:00.000000000 Z
11
+ date: 2015-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler