dcaba_studio_game 0.1.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1aa8a6e47aa0d82d4b96ba0489fbd186e5abd16e
4
- data.tar.gz: 200c6818f74ff56b74a5eefa36ac84f557045434
3
+ metadata.gz: 8ef5e73cc7b8aa029453ef102643486ffb00237e
4
+ data.tar.gz: 21b57c252c41401ff40e3fafa52127f827bc6d32
5
5
  SHA512:
6
- metadata.gz: 9251f0dea9509472f10f85d2d37fdaa171ceae37348d725239a7ada753630b9ee5c841a3353b0dc70067b8ffaa54dddbc94652521091e9fd7ceae1eaa26995f2
7
- data.tar.gz: e9cc07a85615eeeb919acfdedc421d3709e5063c0fa9492390dcd0c77f863d3ee7725667fe06fdbb3960e1a15948296638c5e17d875d13afe4f1b15a33f8e467
6
+ metadata.gz: d2f57cd1da5a34d0ec74742274de42b91a28cfefb5fe944e86372da08a2bdcccfb100681f150a35783b22e66394585c0e6511f3103c2a2f61981a843849c7c74
7
+ data.tar.gz: 1abbf9375ad6e52f92d0ca24a4b05904bfe2c1714a30ab89256453aed40c8196e2e00e1f0311bf794c926fdb63ffd0bdf07593643f99e569842c8b007b6427f4
data/README CHANGED
@@ -1 +1,2 @@
1
1
  Code developed to follow Pragmatic Studio's Ruby training!!
2
+ CI: https://travis-ci.org/dcaba/personal-training
@@ -8,7 +8,7 @@ module StudioGame
8
8
  roll
9
9
  end
10
10
  def roll
11
- @number=rand(1..6)
11
+ @number=rand(5)+1
12
12
  audit
13
13
  return @number
14
14
  end
@@ -8,7 +8,7 @@ module StudioGame
8
8
  attr_accessor :name
9
9
  include Playable
10
10
 
11
- def initialize (name=SecureRandom.urlsafe_base64(5), health=rand(1..200))
11
+ def initialize (name=SecureRandom.urlsafe_base64(5), health=rand(200))
12
12
  @name = name.capitalize
13
13
  @health = health
14
14
  @health=rand(200) if health.nil? == true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcaba_studio_game
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Caballero
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: "Code developed to follow Pragmatic Studio's Ruby training!! \n"
27
+ description: "Code developed to follow Pragmatic Studio's Ruby training!! \nCI: https://travis-ci.org/dcaba/personal-training\n"
28
28
  email: dcaba@github.com
29
29
  executables:
30
30
  - studio_game
@@ -56,7 +56,7 @@ files:
56
56
  - spec/studio_game/game_spec_save.out
57
57
  - spec/studio_game/player_spec.rb
58
58
  - spec/studio_game/treasure_trove_spec.rb
59
- homepage: http://www.odenum.com
59
+ homepage: https://github.com/dcaba/personal-training/tree/master/studio_game
60
60
  licenses:
61
61
  - MIT
62
62
  metadata: {}