botemon 0.5.7 → 0.5.8

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: 2179c0f12670f7491b138bdb2933c6a7952e0614
4
- data.tar.gz: 37d9f84691640a8cc25927b0028d6c39eb49e110
3
+ metadata.gz: 3dd3d52a460f55c3d43843f5932f07c780ee78e0
4
+ data.tar.gz: 774aa6d90ff59356bff82a159c053c3fe11f19ec
5
5
  SHA512:
6
- metadata.gz: cd34708b015bc66e0bce787ae9752701c89e2d94f146e70fa243f9fe67c1e8f472a350520ea87d28a7f655047423f50a42cd473988ebafe4105f78d13ba4599c
7
- data.tar.gz: 1656445d3fd2cd54f2bb6a11cc42b1ebf7f40f52405e6d90288c3fc107737f96f38345b2fe7d58862ec5531c12e8b1c4cc15670d83a483235ba2d879441db124
6
+ metadata.gz: f40774510b498882287deb18a8e01dd8bf05be72f31b68f711374fb008a6b373bccc2534fd5167aeb3b8a25edb26a7697163e0fa43b0a3a8fcd76d27081c7e16
7
+ data.tar.gz: 9c9b1f7656c8d655d5b6f89a3ad85f9416d5a8a36382bf99b0f5376b0c0b8bfff8d0aeaa04f1e505eb127652bd5eb3d18c747b9bb6116d4f08997ff7b68cdb2b
@@ -33,11 +33,11 @@ module Smogon
33
33
  return Pokemon.new.tap { |pokemon|
34
34
  pokemon.name = ary['name']
35
35
  pokemon._name = ary['_name']
36
- pokemon.types = ary['types']
37
- pokemon.tier = ary['tier']
38
- pokemon.abilities = ary['abilities']
39
- pokemon.base_stats = ary['base_stats']
40
- pokemon.moves = ary['moves']
36
+ pokemon.types = ary['types'] || ''
37
+ pokemon.tier = ary['tier'] || ''
38
+ pokemon.abilities = ary['abilities'] || ''
39
+ pokemon.base_stats = ary['base_stats'] ||
40
+ pokemon.moves = ary['moves'] || ''
41
41
  }
42
42
  end
43
43
 
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Botemon
21
21
  def self.version
22
- '0.5.7'
22
+ '0.5.8'
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.7
4
+ version: 0.5.8
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-25 00:00:00.000000000 Z
11
+ date: 2014-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri