escape-room 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9689c8757fb50ad38757025143e777f8363eaa237f318ce48ab61d5eccc7cfe0
4
- data.tar.gz: c7ab9a9f6239e0edd1d1163336229cf89f8219ff46ddc246683f675334a4cb6a
3
+ metadata.gz: 4b71013c365304da6575762cc2dfd9e8bbb3055ca5106f02ae53ef8010ffc808
4
+ data.tar.gz: ff77b336fa2873cfe3254a3fbb2efb2a48e087893daa73fdd83e14deaa64d228
5
5
  SHA512:
6
- metadata.gz: c1fa93a2e0b3e2970266c17a7b68cc4b63f3b828164160e45eeb829fe1a004ec65d66dc8e35f68f95d5c0d9b92f57e5eb4027aa310cb11481138b483eafa4e37
7
- data.tar.gz: 12e49a1e3b118b31857aa99447cbf5dbf835e0a536df48b89170c868b13d40c73636af98df94f1aed8cffe5d7f63a40be5596f47f265c6e7a29cc37e3b280150
6
+ metadata.gz: 9d7943c64979176ea85f1c0be51af92164e625074979a03f4dd61f761f34ebcbccb2cbd5eb5baa94a5c62b24b21b2834a67b1051e7c452baefb0ccfe7578c5c3
7
+ data.tar.gz: 90e8f54252e551c880e31a70467033d2bca1fd329131f024afa82a5d5ffb5dfaffd646ca491898effd15dfe5924e1465936a31d4d6a3b1a249eb9cd5c7ea10a1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- escape-room (0.0.2)
4
+ escape-room (0.0.3)
5
5
  thor
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -54,21 +54,19 @@ Once the CLI loops through all of the questions, you will get a message with a c
54
54
 
55
55
  ### Installation
56
56
 
57
- 1. Pull down this repository
57
+ 1. Install the gem
58
58
 
59
59
  ```
60
- git clone https://github.com/jwright/escape
60
+ gem install escape-room
61
61
  ```
62
-
63
- 2. `cd` into this directory
62
+ 2. Configure your welcome message, questions, answers, and code at [./configuration.yml](./configuration.yml)
64
63
 
65
64
  ```
66
- cd escape
65
+ cd $GEM_HOME/gems/escape-room-0.0.3
66
+ nano configuration.yml
67
67
  ```
68
68
 
69
- 3. Configure your welcome message, questions, answers, and code at [./configuration.yml](./configuration.yml)
70
-
71
- 4. Run the application at the command line
69
+ 3. Run the application at the command line
72
70
 
73
71
  ```
74
72
  escape
@@ -77,6 +75,7 @@ escape
77
75
  ## RELEASING A NEW GEM
78
76
 
79
77
  1. Bump the VERSION in `lib/escape/version.rb`
78
+ 1. Bundle install `bundle install`
80
79
  1. Commit changes and push to GitHub
81
80
  1. run `bundle exec rake release`
82
81
 
@@ -4,7 +4,8 @@ module Escape
4
4
  def start(questions, clues)
5
5
  questions.each_with_index do |question, index|
6
6
  answer = runner.ask(question.text)
7
- runner.say(question.correct?(answer) ? Clue.new(clues).correct(index) : Clue.new(clues).incorrect(index))
7
+ clue = question.correct?(answer) ? Clue.new(clues).correct(index) : Clue.new(clues).incorrect(index)
8
+ runner.say("YOUR NEXT CLUE IS '#{clue}'")
8
9
  runner.say
9
10
  end
10
11
  end
@@ -1,3 +1,3 @@
1
1
  module Escape
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escape-room
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Wright