Skip to content

Releases: MagicTheGathering/mtg-sdk-ruby

Add color_identity

08 Oct 21:20
Compare
Choose a tag to compare
v3.2.0

Version 3.2.0

Added method: Set.where

31 Oct 17:12
Compare
Choose a tag to compare

Somehow, the Set.where method was never added. Whoops.

Version 3.0.0 - Updated dependencies, removed support for ruby 1.9

17 Jul 17:48
Compare
Choose a tag to compare

Ruby version 1.9 is no longer supported, and all package dependencies have been upgraded.

Two new fields added

24 May 03:44
Compare
Choose a tag to compare

Card now has a set_name field, and the foreign_names field also includes an image_url.

Dependencies Updated

21 May 05:27
Compare
Choose a tag to compare

Explicitly specifying gem dependencies now.

Bug Fix for #3

19 Apr 21:47
Compare
Choose a tag to compare

The 'names' property was not properly being set from the response. This has now been fixed.

'get' method removed, 'all' is now used to fetch data

29 Mar 01:52
Compare
Choose a tag to compare

Previously, you would use the 'get' method to fetch a specific page of data (does not automatically page through data). Now, the 'all' method will page through data for you, but also only fetch a specific page if the page parameter is specified. Example:

MTG::Card.where(page: 1).all

That will only return the first page of data.

Bug Fix: Added multi_xml as dependency

28 Mar 23:30
Compare
Choose a tag to compare

Bug fix for #1. 'multi_xml' now a dependency.

Added method 'all' to Card and Set.

22 Jan 00:55
Compare
Choose a tag to compare

You can now get all cards (pagination handled for you) via the following:

MTG::Card.all

You can even filter on fields with this method

MTG::Card.where(subtypes: 'elf,warrior').all

You can also get all sets

MTG::Set.all