MtgDbClient 0.0.1 → 0.0.2

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: 8b8d521c692827950e1ed1171bfe49e1435bb845
4
- data.tar.gz: 11f557bef676a4264b0c8d5b42ef71db9a2957dc
3
+ metadata.gz: aed2b67453334ccc26e01ab6bb8aa9190a5aeacc
4
+ data.tar.gz: 3b67e2a42ae7bb6cb2751631e5df39921d5527a9
5
5
  SHA512:
6
- metadata.gz: c61b9c89b367010a79d8cf0aa8458453bc406d04733c0146adccab0c19be68b91390325e5a7bc15757e13d7483e06d250914400d8c5207e52c81ec824997daca
7
- data.tar.gz: 4758b50b36da62231a4b63e3263900243eace1d0c2c216b4ec327c644f9b56c55fd0fd670c4678fd3de641e2cc44a00b8cbb2b2ef95ff326526890f40f7ae605
6
+ metadata.gz: bf46f433ea45aa2bd2eba843438d7af5f8a0373dde4b0c7598fb4b2949fd989520fd9dd0f501344775ee50fc800345dca4a5054bf7c275e77f804534058d37a1
7
+ data.tar.gz: 97103f98a8b29d454d55ca4bbb923310cf55809164f5368f01bceb4c68df86829623a991d64de8e93eab03ab5861cf9837cc59925983b401d2d9e42d75256ff0
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # MtgDbClient
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/MtgDbClient.svg)](http://badge.fury.io/rb/MtgDbClient)
4
+
3
5
  This is a simple api wrapper gem for the MtgDb Api found at 'http://api.mtgdb.info'. This is a 1:1 representation of the C# wrapper.
4
6
 
5
7
  ####Dependencies
@@ -22,9 +24,9 @@ Or install it yourself as:
22
24
  ## Usage
23
25
  To get started using MtgDbClient first setup the client
24
26
 
25
- require "mtgdbclient"
27
+ require "MtgDbClient"
26
28
 
27
- client = MtgDbClient.new
29
+ client = MtgDbClient::Client.new
28
30
 
29
31
  ###Configuration
30
32
 
@@ -68,7 +68,7 @@ module MtgDbClient
68
68
  end
69
69
 
70
70
  def filter_cards(property, value)
71
- self.class.get(URI.escape("/cards/#{property}=#{value}"))
71
+ self.class.get(URI.escape("/cards/?#{property}=#{value}"))
72
72
  end
73
73
 
74
74
  def get_card_in_set(set_id, collector_number)
@@ -1,3 +1,3 @@
1
1
  module MtgDbClient
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: MtgDbClient
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
  - Chase Park