poor-pokemon-cli 1.0.0 → 1.0.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.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/poor-pokemon/cli.rb +4 -2
- data/lib/poor-pokemon/version.rb +1 -1
- data/poor-pokemon-cli-gem.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e80775cdc66a0432b3846cba082d4a24bb98839f
|
4
|
+
data.tar.gz: e851a381fdf0724e22d570c1487cd31750d1a007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcce10c94102521101ac80c608866e7a2f4404c49d8aac421fd445e1e2a3ef0b32ab477067afeaf78de5becd88823dc507b32d1ec488c0561d62235d4bd14d5f
|
7
|
+
data.tar.gz: 05204d76afdd64ece93bef8511c3c7e2a36a462691821fe405269eda5de078c12b9ab8065df52b67061e91a354f83ef1084b67b5cee3a9b8ed335c22529d3d1c
|
data/README.md
CHANGED
@@ -17,4 +17,7 @@ Run: `poor-pokemon` after installing the gem.
|
|
17
17
|
Bug reports and pull requests are welcome on GitHub at https://github.com/mahdiASC/cli-data-gem-assessment-v-000. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
18
18
|
|
19
19
|
## License
|
20
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
20
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
21
|
+
|
22
|
+
##To-Do List
|
23
|
+
Add tests (Rake)
|
data/lib/poor-pokemon/cli.rb
CHANGED
@@ -395,8 +395,10 @@ class PoorPokemon::CLI
|
|
395
395
|
|
396
396
|
def currentStatus
|
397
397
|
#prints current status for both sides
|
398
|
-
|
399
|
-
puts "
|
398
|
+
sepLine
|
399
|
+
puts "###CURRENT STATUS###"
|
400
|
+
puts "Your #{@player.currentPokemon.name.upcase} has #{@player.currentPokemon.hp} HP"
|
401
|
+
puts "Enemy #{@enemy.currentPokemon.name.upcase} has #{@enemy.currentPokemon.hp} HP"
|
400
402
|
sepLine
|
401
403
|
end
|
402
404
|
|
data/lib/poor-pokemon/version.rb
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.description = "A simple pokemon CLI"
|
10
10
|
spec.summary = "In this simple CLI gem game, the player selects whatever pokemon they want from their pokedex to be added to their roster of 6, and then battles against an opponent, \"Poorly Designed Boss\"."
|
11
11
|
spec.version = PoorPokemon::VERSION
|
12
|
-
spec.homepage = '
|
12
|
+
spec.homepage = 'https://github.com/mahdiASC/cli-data-gem-assessment-v-000'
|
13
13
|
spec.date = Time.now.utc.strftime("%Y-%m-%d")
|
14
14
|
spec.files = `git ls-files`.split($\)
|
15
15
|
spec.executables = ["poor-pokemon"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poor-pokemon-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mahdi Shadkam-Farrokhi
|
@@ -66,7 +66,7 @@ files:
|
|
66
66
|
- lib/poor-pokemon/version.rb
|
67
67
|
- poor-pokemon-cli-gem.gemspec
|
68
68
|
- spec.md
|
69
|
-
homepage:
|
69
|
+
homepage: https://github.com/mahdiASC/cli-data-gem-assessment-v-000
|
70
70
|
licenses:
|
71
71
|
- MIT
|
72
72
|
metadata: {}
|