botemon 0.5.6 → 0.5.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29d96a74ad04f3740b9336ef500d67f503c17075
4
- data.tar.gz: 14d37848d6438fc3c0e00ac93942278314f73ef5
3
+ metadata.gz: b84ac56a6722239232b61f370bec3c9eb03e7d36
4
+ data.tar.gz: e27aeea4ce042d866e3f269c60da4a20f7b898be
5
5
  SHA512:
6
- metadata.gz: acf0491879044920589236d88f5653eae81368cd870b7ea7175dce43f3aa8bed62457d54589809710a3f952e0ec4ef1a2a4ec868efbe79b35820655451391147
7
- data.tar.gz: 65958846dc87235e0fd5a78f4ed59323e98a5f603a1d212f9452b4cca7b21bb4ea477302a963f86f57cb251d8c0c3f2a248e5090f667b444a474205d7d61b7e8
6
+ metadata.gz: 54410698aa226dbe63eec98dba8e3fe4c66a54de016d6c2f0d3ade439ac6b561d52d6955cfed414fb3eacc2f6ffe4870acc962b1e1878d96a7e113838d44485b
7
+ data.tar.gz: 9b6a528cf5810968c0bf0384854b77f01eee8c8e7292c4ee65e45a9a2064e94a91c7374fdb19f9990c1dd1be7ff77f9732058efee8589cdca13844a0eb544efd
@@ -22,11 +22,11 @@ module Smogon
22
22
  attr_accessor :name, :_name, :types, :tier, :abilities, :base_stats, :moves
23
23
 
24
24
  def to_s
25
- "Name: #{name}\nAbility: #{abilities.join(', ')}\nType: #{types.join(?/)}\nTier: #{tier}\nBase stats: #{base_stats.join(?/)}\nMoves: #{moves.join(', ')}"
25
+ "Name: #{@name}\nAbility: #{@abilities.join(', ')}\nType: #{@types.join(?/)}\nTier: #{@tier}\nBase stats: #{@base_stats.join(?/)}\nMoves: #{@moves.take(20).join(', ')}..."
26
26
  end
27
27
 
28
28
  def clues
29
- "Ability: #{abilities.join(', ')}\nType: #{types.join(?/)}\nTier: #{tier}\nBase stats: #{base_stats.join(?/)}"
29
+ "Ability: #{@abilities.join(', ')}\nType: #{@types.join(?/)}\nTier: #{@tier}\nBase stats: #{@base_stats.join(?/)}"
30
30
  end
31
31
 
32
32
  def self.to_pokemon(ary)
@@ -42,13 +42,14 @@ module Smogon
42
42
  end
43
43
 
44
44
  def to_ary
45
- { 'name' => name,
45
+ {
46
+ 'name' => name,
46
47
  '_name' => _name,
47
48
  'types' => types,
48
49
  'tier' => tier,
49
50
  'abilities' => abilities,
50
51
  'base_stats' => base_stats,
51
- 'moves' => moves
52
+ 'moves' => moves
52
53
  }
53
54
  end
54
55
 
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Botemon
21
21
  def self.version
22
- '0.5.6'
22
+ '0.5.6.1'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano