pokegem 0.0.1 → 0.0.2

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: c416d3bd0c2b32768ee01685ac28811e336af232
4
- data.tar.gz: 23dde4cc22569030f8f4ea1af0d2baae2218c779
3
+ metadata.gz: 31865ee7bfd332b7d13afbd76874e194a7a8a523
4
+ data.tar.gz: 2abed3e397c086b90759dce06473bfa3054ea081
5
5
  SHA512:
6
- metadata.gz: b742b836958025667e93a454f69c67f55355f0f9dbfca7cde226efb5480579c786d3f92a6d05b9b15b3d3ccdc4bfda6d76c80aeb4b7830c5791d21f322b57eec
7
- data.tar.gz: 04b5e6b409dc1431bb458ce534667e9a8e9ab78cd6f0024ca46799723ce019103d87d8551857fcf9328cb6535b0ee1ff6540894876feb87c12f95115654ffea9
6
+ metadata.gz: b68853262a66ad7189e167ddecfe21d6e610ac0f4e11402fbd341343aac19530b8e413acb34b1a9166477eb9515ed935743281bc09d796f49a9f8097261bb995
7
+ data.tar.gz: 4ed736cf6b5baa2fb7ab28d5e2719c286fe6bbafc8807237f480817b0620414a3ca407965d6e346a82d7cca888f7e7c03be835f0aac85119e703db36416108a3
data/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # Pokegem
2
2
 
3
- Simple to use, with basic caching
3
+ http://pokeapi.co/
4
+
5
+ Simple to use wrapper for the pokeapi, with basic caching
4
6
 
5
7
  Resources:
6
8
  ```
7
- pokedex_id, pokemon, pokemon_id, move_id, ability_id, type_id, egg_id, description_id, sprite_id, game_id
9
+ pokedex, pokemon, pokemon, move, ability, type, egg, description, sprite, game
8
10
  ```
9
11
 
10
12
  ## Usage
data/lib/pokegem.rb CHANGED
@@ -5,7 +5,7 @@ require 'json'
5
5
  module Pokegem
6
6
  class << self
7
7
  BASE_URL = 'http://pokeapi.co/api/v1'
8
- RESOURCES = %w(pokedex_id pokemon pokemon_id move_id ability_id type_id egg_id description_id sprite_id game_id)
8
+ RESOURCES = %w(pokedex pokemon pokemon move ability type egg description sprite game)
9
9
 
10
10
  def init_hash; RESOURCES.reduce({}) { |h, r| h.merge! r => {} } end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module Pokegem
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pokegem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Weaver