botemon 0.5.5.4 → 0.5.6

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: 56738b36178f8df057fe81ca5f10be9dee619518
4
- data.tar.gz: e98e005004eecbe693163352acf186966864b096
3
+ metadata.gz: 29d96a74ad04f3740b9336ef500d67f503c17075
4
+ data.tar.gz: 14d37848d6438fc3c0e00ac93942278314f73ef5
5
5
  SHA512:
6
- metadata.gz: 18f2f7488eb487a6344c73e2e2b10124a0c25eba88c725055d8d24e64696a2e79f10a7e296b69eac24a841b619f3799b8eabf97b6979be2fc2afe049d87c4aab
7
- data.tar.gz: f4c4e0736ef3f4c82458a3733a1a6ee8fb81a541e1dff4dd18ba600eb4ad8accb6fed88f2569dd280efd1f3b20bbc8dde467d043af3a987379fe967fc7183549
6
+ metadata.gz: acf0491879044920589236d88f5653eae81368cd870b7ea7175dce43f3aa8bed62457d54589809710a3f952e0ec4ef1a2a4ec868efbe79b35820655451391147
7
+ data.tar.gz: 65958846dc87235e0fd5a78f4ed59323e98a5f603a1d212f9452b4cca7b21bb4ea477302a963f86f57cb251d8c0c3f2a248e5090f667b444a474205d7d61b7e8
@@ -19,10 +19,10 @@
19
19
 
20
20
  module Smogon
21
21
  class Pokemon
22
- attr_accessor :name, :_name, :types, :tier, :abilities, :base_stats
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(?/)}"
25
+ "Name: #{name}\nAbility: #{abilities.join(', ')}\nType: #{types.join(?/)}\nTier: #{tier}\nBase stats: #{base_stats.join(?/)}\nMoves: #{moves.join(', ')}"
26
26
  end
27
27
 
28
28
  def clues
@@ -37,6 +37,7 @@ module Smogon
37
37
  pokemon.tier = ary['tier']
38
38
  pokemon.abilities = ary['abilities']
39
39
  pokemon.base_stats = ary['base_stats']
40
+ pokemon.moves = ary['moves']
40
41
  }
41
42
  end
42
43
 
@@ -46,7 +47,8 @@ module Smogon
46
47
  'types' => types,
47
48
  'tier' => tier,
48
49
  'abilities' => abilities,
49
- 'base_stats' => base_stats
50
+ 'base_stats' => base_stats,
51
+ 'moves' => moves
50
52
  }
51
53
  end
52
54
 
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Botemon
21
21
  def self.version
22
- '0.5.5.4'
22
+ '0.5.6'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5.4
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-21 00:00:00.000000000 Z
11
+ date: 2013-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri