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 +4 -4
- data/lib/botemon/smogon/pokemon.rb +5 -5
- data/lib/botemon/version.rb +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: 3dd3d52a460f55c3d43843f5932f07c780ee78e0
|
4
|
+
data.tar.gz: 774aa6d90ff59356bff82a159c053c3fe11f19ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/botemon/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2014-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|