burger_game 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/burger_game.gemspec +1 -1
- data/lib/burger_game.rb +1 -1
- data/lib/screen_message.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ff046bbde51f8fb644e953a15408db621da8f8069a4c150b0dcf27b3ae990c8
|
4
|
+
data.tar.gz: b10a17bee2c77d1aa3f2bb05a9f0cc7cfb6e5d5e978d77ce35c441f3a8f10287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31f617550c7307b0efd7cc27a4c40c65dbedfe7c877f3d0cc0faeb828dd58433440da3b19d19087f628f2f53f4c285500b6916337f9e17d667021ea8d6be9e15
|
7
|
+
data.tar.gz: e73f18dbebbae5d4f2f0fa954f95318f9b6660dded8ea2ad34f418c60c27a801e8c27228e902e98ad95458fca78329b8b1f303e0a66c34835624e98f76e4d6b2
|
data/README.md
CHANGED
@@ -595,7 +595,7 @@ Another way to install this app is by using the bash script.
|
|
595
595
|
|
596
596
|
**Options** available:
|
597
597
|
|
598
|
-
Usage (bash script - install game): ./install.sh
|
598
|
+
Usage (bash script - install game): ./install.sh
|
599
599
|
|
600
600
|
Usage (bash script - run game): ./burger_game.sh [*OPTION*]
|
601
601
|
|
data/burger_game.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "burger_game"
|
3
|
-
s.version = "1.1.
|
3
|
+
s.version = "1.1.2"
|
4
4
|
s.summary = "A Ruby Burger Game"
|
5
5
|
s.description = "A simple text-based Ruby terminal game, that simulates a burger shop, where you need to build the meal for the customers with different requests and preferences."
|
6
6
|
s.authors = ["Jessica Gozali"]
|
data/lib/burger_game.rb
CHANGED
@@ -23,7 +23,7 @@ class BurgerGame
|
|
23
23
|
|
24
24
|
# Handle command line argument
|
25
25
|
opt_parser = OptionParser.new do |opt|
|
26
|
-
opt.banner = "Usage (Gem's executable): start_burger_game [OPTION]\nOR\nUsage (bash script - install game): install.sh
|
26
|
+
opt.banner = "Usage (Gem's executable): start_burger_game [OPTION]\nOR\nUsage (bash script - install game): install.sh\nUsage (bash script - run game): burger_game.sh [OPTION]\n\n"
|
27
27
|
|
28
28
|
opt.on("-h", "--help", "Print this Help menu for Burger Game.") do |arg|
|
29
29
|
puts opt
|
data/lib/screen_message.rb
CHANGED
@@ -110,7 +110,7 @@ class ScreenMessage
|
|
110
110
|
|
111
111
|
def display_win
|
112
112
|
title = " YOU WIN "
|
113
|
-
msg = "Ruby Burger has reached its goal!\n\nAll thanks to you and your brilliant burger stacking skill.\nNow is time to celebrate and give yourself a reward..." + "\n\n"
|
113
|
+
msg = "Ruby Burger has reached its goal!\n\nAll thanks to you and your brilliant burger stacking skill.\nNow is the time to celebrate and give yourself a reward..." + "\n\n"
|
114
114
|
msg += "A burger... and chips!" + "\n\n"
|
115
115
|
|
116
116
|
msg += " |\\ /| /|_/|" + "\n"
|