mtg-db 1.5.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/data/sets.json +0 -182
  3. data/lib/mtg-db.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aefd20e3277cad019eeb16884a0d2bddcab853711271d91a53e751fbc6de33c6
4
- data.tar.gz: 06e91f347c916e49a41851e096b9e2c75c503ac98c4a410f9b5f0ca6f28cfb23
3
+ metadata.gz: 04a6e140281f2885e6319fd9d33c4c9abfd28141eb510b86f4fdb6a0cc38e4a4
4
+ data.tar.gz: 8e0e05e83fe369650448e90e675c1fe50dc42e3da60ce475170aaf30a4f5c413
5
5
  SHA512:
6
- metadata.gz: fb7f2e6fa1c3dabb0bc275365e88229230c8f03aa5480c40a0b85266a498ad87b01cfd1675f55041288ab24becff4103e329880efb54995131d7fcb85615fe18
7
- data.tar.gz: 93ee3bcce1b7becad41983eb0b1e5dccb1285bb4b5059ba3fb4f489d33d162209cbb369959229e31e64508e8d399c9455985a63fa53dd74687a235ddf8b04f5c
6
+ metadata.gz: b070bf4c15893a68815d989242bf8977dd74a6260910b449d5cbf6dc159209a461ee4e2d7db8565daa66f7698c4b8c20e34bcd7388bac7d1e725811763f703e3
7
+ data.tar.gz: 377bc60658fd298ba7919a90ca76816e25c4ab922b41020c58d0f4b04b7fcd5a9917ef83496de467b4216daf6133e87460b7aacb778969bf54e0ffb6f5ec8f27
@@ -2,535 +2,446 @@
2
2
  {
3
3
  "name": "Aether Revolt",
4
4
  "release_date": "January 20, 2017",
5
- "block": "Kaladesh Block",
6
5
  "code": "aer"
7
6
  },
8
7
  {
9
8
  "name": "Alara Reborn",
10
9
  "release_date": "April 30, 2009",
11
- "block": "Alara Block",
12
10
  "code": "arb"
13
11
  },
14
12
  {
15
13
  "name": "Alliances",
16
14
  "release_date": "June 10, 1996",
17
- "block": "Ice Age Block",
18
15
  "code": "all"
19
16
  },
20
17
  {
21
18
  "name": "Amonkhet",
22
19
  "release_date": "April 28, 2017",
23
- "block": "Amonkhet Block",
24
20
  "code": "akh"
25
21
  },
26
22
  {
27
23
  "name": "Amonkhet Invocations",
28
24
  "release_date": "April 28, 2017",
29
- "block": "Masterpiece Series",
30
25
  "code": "mps_akh"
31
26
  },
32
27
  {
33
28
  "name": "Anthologies",
34
29
  "release_date": "November 1998",
35
- "block": "Box Sets",
36
30
  "code": "ath"
37
31
  },
38
32
  {
39
33
  "name": "Antiquities",
40
34
  "release_date": "March 4, 1994",
41
- "block": "Early Sets",
42
35
  "code": "atq"
43
36
  },
44
37
  {
45
38
  "name": "Apocalypse",
46
39
  "release_date": "June 4, 2001",
47
- "block": "Invasion Block",
48
40
  "code": "apc"
49
41
  },
50
42
  {
51
43
  "name": "Arabian Nights",
52
44
  "release_date": "December 17, 1993",
53
- "block": "Early Sets",
54
45
  "code": "arn"
55
46
  },
56
47
  {
57
48
  "name": "Archenemy",
58
49
  "release_date": "June 18, 2010",
59
- "block": "Preconstructed Sets",
60
50
  "code": "arc"
61
51
  },
62
52
  {
63
53
  "name": "Archenemy: Nicol Bolas",
64
54
  "release_date": "June 16, 2017",
65
- "block": "Preconstructed Sets",
66
55
  "code": "e01"
67
56
  },
68
57
  {
69
58
  "name": "Avacyn Restored",
70
59
  "release_date": "May 4, 2012",
71
- "block": "Innistrad Block",
72
60
  "code": "avr"
73
61
  },
74
62
  {
75
63
  "name": "Battle Royale Box Set",
76
64
  "release_date": "November 12, 1999",
77
- "block": "Box Sets",
78
65
  "code": "brb"
79
66
  },
80
67
  {
81
68
  "name": "Battle for Zendikar",
82
69
  "release_date": "October 2, 2015",
83
- "block": "Battle for Zendikar Block",
84
70
  "code": "bfz"
85
71
  },
86
72
  {
87
73
  "name": "Battlebond",
88
74
  "release_date": "June 8, 2018",
89
- "block": "Preconstructed Sets",
90
75
  "code": "bbd"
91
76
  },
92
77
  {
93
78
  "name": "Beatdown Box Set",
94
79
  "release_date": "December 2000",
95
- "block": "Box Sets",
96
80
  "code": "btd"
97
81
  },
98
82
  {
99
83
  "name": "Betrayers of Kamigawa",
100
84
  "release_date": "February 4, 2005",
101
- "block": "Kamigawa Block",
102
85
  "code": "bok"
103
86
  },
104
87
  {
105
88
  "name": "Born of the Gods",
106
89
  "release_date": "February 7, 2014",
107
- "block": "Theros Block",
108
90
  "code": "bng"
109
91
  },
110
92
  {
111
93
  "name": "Champions of Kamigawa",
112
94
  "release_date": "October 1, 2004",
113
- "block": "Kamigawa Block",
114
95
  "code": "chk"
115
96
  },
116
97
  {
117
98
  "name": "Chronicles",
118
99
  "release_date": "July 1995",
119
- "block": "Compilation Sets",
120
100
  "code": "chr"
121
101
  },
122
102
  {
123
103
  "name": "Classic Sixth Edition",
124
104
  "release_date": "April 28, 1999",
125
- "block": "Core Sets",
126
105
  "code": "6ed"
127
106
  },
128
107
  {
129
108
  "name": "Coldsnap",
130
109
  "release_date": "July 21, 2006",
131
- "block": "Ice Age Block",
132
110
  "code": "csp"
133
111
  },
134
112
  {
135
113
  "name": "Commander",
136
114
  "release_date": "June 17, 2011",
137
- "block": "Preconstructed Sets",
138
115
  "code": "cmd"
139
116
  },
140
117
  {
141
118
  "name": "Commander 2013",
142
119
  "release_date": "November 1, 2013",
143
- "block": "Preconstructed Sets",
144
120
  "code": "c13"
145
121
  },
146
122
  {
147
123
  "name": "Commander 2014",
148
124
  "release_date": "November 7, 2014",
149
- "block": "Preconstructed Sets",
150
125
  "code": "c14"
151
126
  },
152
127
  {
153
128
  "name": "Commander 2015",
154
129
  "release_date": "November 13, 2015",
155
- "block": "Preconstructed Sets",
156
130
  "code": "c15"
157
131
  },
158
132
  {
159
133
  "name": "Commander 2016",
160
134
  "release_date": "November 11, 2016",
161
- "block": "Preconstructed Sets",
162
135
  "code": "c16"
163
136
  },
164
137
  {
165
138
  "name": "Commander 2017",
166
139
  "release_date": "August 25, 2017",
167
- "block": "Preconstructed Sets",
168
140
  "code": "c17"
169
141
  },
170
142
  {
171
143
  "name": "Commander 2018",
172
144
  "release_date": "August 10, 2018",
173
- "block": "Preconstructed Sets",
174
145
  "code": "c18"
175
146
  },
176
147
  {
177
148
  "name": "Commander Anthology",
178
149
  "release_date": "June 9, 2017",
179
- "block": "Preconstructed Sets",
180
150
  "code": "cma"
181
151
  },
182
152
  {
183
153
  "name": "Commander Anthology 2018",
184
154
  "release_date": "June 8, 2018",
185
- "block": "Preconstructed Sets",
186
155
  "code": "cm2"
187
156
  },
188
157
  {
189
158
  "name": "Commander's Arsenal",
190
159
  "release_date": "November 2, 2012",
191
- "block": "Preconstructed Sets",
192
160
  "code": "cm1"
193
161
  },
194
162
  {
195
163
  "name": "Conflux",
196
164
  "release_date": "February 6, 2009",
197
- "block": "Alara Block",
198
165
  "code": "con"
199
166
  },
200
167
  {
201
168
  "name": "Conspiracy",
202
169
  "release_date": "June 6, 2014",
203
- "block": "Preconstructed Sets",
204
170
  "code": "cns"
205
171
  },
206
172
  {
207
173
  "name": "Conspiracy: Take the Crown",
208
174
  "release_date": "August 26, 2016",
209
- "block": "Preconstructed Sets",
210
175
  "code": "cn2"
211
176
  },
212
177
  {
213
178
  "name": "Dark Ascension",
214
179
  "release_date": "February 3, 2012",
215
- "block": "Innistrad Block",
216
180
  "code": "dka"
217
181
  },
218
182
  {
219
183
  "name": "Darksteel",
220
184
  "release_date": "February 6, 2004",
221
- "block": "Mirrodin Block",
222
185
  "code": "dst"
223
186
  },
224
187
  {
225
188
  "name": "Deckmasters",
226
189
  "release_date": "December 2001",
227
- "block": "Box Sets",
228
190
  "code": "dkm"
229
191
  },
230
192
  {
231
193
  "name": "Dissension",
232
194
  "release_date": "May 5, 2006",
233
- "block": "Ravnica Block",
234
195
  "code": "dis"
235
196
  },
236
197
  {
237
198
  "name": "Dominaria",
238
199
  "release_date": "April 27, 2018",
239
- "block": "Non-Block Expansions",
240
200
  "code": "dom"
241
201
  },
242
202
  {
243
203
  "name": "Dragon's Maze",
244
204
  "release_date": "May 3, 2013",
245
- "block": "Return to Ravnica Block",
246
205
  "code": "dgm"
247
206
  },
248
207
  {
249
208
  "name": "Dragons of Tarkir",
250
209
  "release_date": "March 27, 2015",
251
- "block": "Khans of Tarkir Block",
252
210
  "code": "dtk"
253
211
  },
254
212
  {
255
213
  "name": "Duel Decks Anthology: Divine vs. Demonic",
256
214
  "release_date": "December 5, 2014",
257
- "block": "Duel Decks Series",
258
215
  "code": "dd3_dvd"
259
216
  },
260
217
  {
261
218
  "name": "Duel Decks Anthology: Elves vs. Goblins",
262
219
  "release_date": "December 5, 2014",
263
- "block": "Duel Decks Series",
264
220
  "code": "dd3_evg"
265
221
  },
266
222
  {
267
223
  "name": "Duel Decks Anthology: Garruk vs. Liliana",
268
224
  "release_date": "December 5, 2014",
269
- "block": "Duel Decks Series",
270
225
  "code": "dd3_gvl"
271
226
  },
272
227
  {
273
228
  "name": "Duel Decks Anthology: Jace vs. Chandra",
274
229
  "release_date": "December 5, 2014",
275
- "block": "Duel Decks Series",
276
230
  "code": "dd3_jvc"
277
231
  },
278
232
  {
279
233
  "name": "Duel Decks: Ajani vs. Nicol Bolas",
280
234
  "release_date": "September 2, 2011",
281
- "block": "Duel Decks Series",
282
235
  "code": "ddh"
283
236
  },
284
237
  {
285
238
  "name": "Duel Decks: Blessed vs. Cursed",
286
239
  "release_date": "February 26, 2016",
287
- "block": "Duel Decks Series",
288
240
  "code": "ddq"
289
241
  },
290
242
  {
291
243
  "name": "Duel Decks: Divine vs. Demonic",
292
244
  "release_date": "April 10, 2009",
293
- "block": "Duel Decks Series",
294
245
  "code": "ddc"
295
246
  },
296
247
  {
297
248
  "name": "Duel Decks: Elspeth vs. Tezzeret",
298
249
  "release_date": "September 3, 2010",
299
- "block": "Duel Decks Series",
300
250
  "code": "ddf"
301
251
  },
302
252
  {
303
253
  "name": "Duel Decks: Elves vs. Goblins",
304
254
  "release_date": "November 16, 2007",
305
- "block": "Duel Decks Series",
306
255
  "code": "evg"
307
256
  },
308
257
  {
309
258
  "name": "Duel Decks: Elves vs. Inventors",
310
259
  "release_date": "April 6, 2018",
311
- "block": "Duel Decks Series",
312
260
  "code": "ddu"
313
261
  },
314
262
  {
315
263
  "name": "Duel Decks: Garruk vs. Liliana",
316
264
  "release_date": "October 30, 2009",
317
- "block": "Duel Decks Series",
318
265
  "code": "ddd"
319
266
  },
320
267
  {
321
268
  "name": "Duel Decks: Heroes vs. Monsters",
322
269
  "release_date": "September 6, 2013",
323
- "block": "Duel Decks Series",
324
270
  "code": "ddl"
325
271
  },
326
272
  {
327
273
  "name": "Duel Decks: Izzet vs. Golgari",
328
274
  "release_date": "September 7, 2012",
329
- "block": "Duel Decks Series",
330
275
  "code": "ddj"
331
276
  },
332
277
  {
333
278
  "name": "Duel Decks: Jace vs. Chandra",
334
279
  "release_date": "November 7, 2008",
335
- "block": "Duel Decks Series",
336
280
  "code": "dd2"
337
281
  },
338
282
  {
339
283
  "name": "Duel Decks: Jace vs. Vraska",
340
284
  "release_date": "March 14, 2014",
341
- "block": "Duel Decks Series",
342
285
  "code": "ddm"
343
286
  },
344
287
  {
345
288
  "name": "Duel Decks: Kiora vs. Elspeth",
346
289
  "release_date": "February 27, 2015",
347
- "block": "Duel Decks Series",
348
290
  "code": "ddo"
349
291
  },
350
292
  {
351
293
  "name": "Duel Decks: Knights vs. Dragons",
352
294
  "release_date": "April 1, 2011",
353
- "block": "Duel Decks Series",
354
295
  "code": "ddg"
355
296
  },
356
297
  {
357
298
  "name": "Duel Decks: Merfolk vs. Goblins",
358
299
  "release_date": "November 10, 2017",
359
- "block": "Duel Decks Series",
360
300
  "code": "ddt"
361
301
  },
362
302
  {
363
303
  "name": "Duel Decks: Mind vs. Might",
364
304
  "release_date": "March 31, 2017",
365
- "block": "Duel Decks Series",
366
305
  "code": "dds"
367
306
  },
368
307
  {
369
308
  "name": "Duel Decks: Nissa vs. Ob Nixilis",
370
309
  "release_date": "September 2, 2016",
371
- "block": "Duel Decks Series",
372
310
  "code": "ddr"
373
311
  },
374
312
  {
375
313
  "name": "Duel Decks: Phyrexia vs. The Coalition",
376
314
  "release_date": "March 19, 2010",
377
- "block": "Duel Decks Series",
378
315
  "code": "dde"
379
316
  },
380
317
  {
381
318
  "name": "Duel Decks: Sorin vs. Tibalt",
382
319
  "release_date": "March 15, 2013",
383
- "block": "Duel Decks Series",
384
320
  "code": "ddk"
385
321
  },
386
322
  {
387
323
  "name": "Duel Decks: Speed vs. Cunning",
388
324
  "release_date": "September 5, 2014",
389
- "block": "Duel Decks Series",
390
325
  "code": "ddn"
391
326
  },
392
327
  {
393
328
  "name": "Duel Decks: Venser vs. Koth",
394
329
  "release_date": "March 30, 2012",
395
- "block": "Duel Decks Series",
396
330
  "code": "ddi"
397
331
  },
398
332
  {
399
333
  "name": "Duel Decks: Zendikar vs. Eldrazi",
400
334
  "release_date": "August 28, 2015",
401
- "block": "Duel Decks Series",
402
335
  "code": "ddp"
403
336
  },
404
337
  {
405
338
  "name": "Eighth Edition",
406
339
  "release_date": "July 28, 2003",
407
- "block": "Core Sets",
408
340
  "code": "8ed"
409
341
  },
410
342
  {
411
343
  "name": "Eldritch Moon",
412
344
  "release_date": "July 22, 2016",
413
- "block": "Shadows over Innistrad Block",
414
345
  "code": "emn"
415
346
  },
416
347
  {
417
348
  "name": "Eternal Masters",
418
349
  "release_date": "June 10, 2016",
419
- "block": "Compilation Sets",
420
350
  "code": "ema"
421
351
  },
422
352
  {
423
353
  "name": "Eventide",
424
354
  "release_date": "July 25, 2008",
425
- "block": "Lorwyn/Shadowmoor Block",
426
355
  "code": "eve"
427
356
  },
428
357
  {
429
358
  "name": "Exodus",
430
359
  "release_date": "June 15, 1998",
431
- "block": "Tempest Block",
432
360
  "code": "exo"
433
361
  },
434
362
  {
435
363
  "name": "Explorers of Ixalan",
436
364
  "release_date": "November 24, 2017",
437
- "block": "Preconstructed Sets",
438
365
  "code": "e02"
439
366
  },
440
367
  {
441
368
  "name": "Fallen Empires",
442
369
  "release_date": "November 15, 1994",
443
- "block": "Early Sets",
444
370
  "code": "fem"
445
371
  },
446
372
  {
447
373
  "name": "Fate Reforged",
448
374
  "release_date": "January 23, 2015",
449
- "block": "Khans of Tarkir Block",
450
375
  "code": "frf"
451
376
  },
452
377
  {
453
378
  "name": "Fifth Dawn",
454
379
  "release_date": "June 4, 2004",
455
- "block": "Mirrodin Block",
456
380
  "code": "5dn"
457
381
  },
458
382
  {
459
383
  "name": "Fifth Edition",
460
384
  "release_date": "March 24, 1997",
461
- "block": "Core Sets",
462
385
  "code": "5ed"
463
386
  },
464
387
  {
465
388
  "name": "Fourth Edition",
466
389
  "release_date": "April 1995",
467
- "block": "Core Sets",
468
390
  "code": "4ed"
469
391
  },
470
392
  {
471
393
  "name": "From the Vault: Angels",
472
394
  "release_date": "August 21, 2015",
473
- "block": "From the Vault Series",
474
395
  "code": "v15"
475
396
  },
476
397
  {
477
398
  "name": "From the Vault: Annihilation",
478
399
  "release_date": "August 22, 2014",
479
- "block": "From the Vault Series",
480
400
  "code": "v14"
481
401
  },
482
402
  {
483
403
  "name": "From the Vault: Dragons",
484
404
  "release_date": "August 29, 2008",
485
- "block": "From the Vault Series",
486
405
  "code": "drb"
487
406
  },
488
407
  {
489
408
  "name": "From the Vault: Exiled",
490
409
  "release_date": "August 28, 2009",
491
- "block": "From the Vault Series",
492
410
  "code": "v09"
493
411
  },
494
412
  {
495
413
  "name": "From the Vault: Legends",
496
414
  "release_date": "August 26, 2011",
497
- "block": "From the Vault Series",
498
415
  "code": "v11"
499
416
  },
500
417
  {
501
418
  "name": "From the Vault: Lore",
502
419
  "release_date": "August 19, 2016",
503
- "block": "From the Vault Series",
504
420
  "code": "v16"
505
421
  },
506
422
  {
507
423
  "name": "From the Vault: Realms",
508
424
  "release_date": "August 31, 2012",
509
- "block": "From the Vault Series",
510
425
  "code": "v12"
511
426
  },
512
427
  {
513
428
  "name": "From the Vault: Relics",
514
429
  "release_date": "August 27, 2010",
515
- "block": "From the Vault Series",
516
430
  "code": "v10"
517
431
  },
518
432
  {
519
433
  "name": "From the Vault: Transform",
520
434
  "release_date": "November 24, 2017",
521
- "block": "From the Vault Series",
522
435
  "code": "v17"
523
436
  },
524
437
  {
525
438
  "name": "From the Vault: Twenty",
526
439
  "release_date": "August 23, 2013",
527
- "block": "From the Vault Series",
528
440
  "code": "v13"
529
441
  },
530
442
  {
531
443
  "name": "Future Sight",
532
444
  "release_date": "May 4, 2007",
533
- "block": "Time Spiral Block",
534
445
  "code": "fut"
535
446
  },
536
447
  {
@@ -546,7 +457,6 @@
546
457
  {
547
458
  "name": "Gatecrash",
548
459
  "release_date": "February 1, 2013",
549
- "block": "Return to Ravnica Block",
550
460
  "code": "gtc"
551
461
  },
552
462
  {
@@ -557,13 +467,11 @@
557
467
  {
558
468
  "name": "Global Series: Jiang Yanggu and Mu Yanling",
559
469
  "release_date": "June 22, 2018",
560
- "block": "Global Series",
561
470
  "code": "gs1"
562
471
  },
563
472
  {
564
473
  "name": "Guildpact",
565
474
  "release_date": "February 3, 2006",
566
- "block": "Ravnica Block",
567
475
  "code": "gpt"
568
476
  },
569
477
  {
@@ -579,319 +487,266 @@
579
487
  {
580
488
  "name": "Homelands",
581
489
  "release_date": "October 1995",
582
- "block": "Early Sets",
583
490
  "code": "hml"
584
491
  },
585
492
  {
586
493
  "name": "Hour of Devastation",
587
494
  "release_date": "July 14, 2017",
588
- "block": "Amonkhet Block",
589
495
  "code": "hou"
590
496
  },
591
497
  {
592
498
  "name": "Ice Age",
593
499
  "release_date": "June 1995",
594
- "block": "Ice Age Block",
595
500
  "code": "ice"
596
501
  },
597
502
  {
598
503
  "name": "Iconic Masters",
599
504
  "release_date": "November 17, 2017",
600
- "block": "Compilation Sets",
601
505
  "code": "ima"
602
506
  },
603
507
  {
604
508
  "name": "Innistrad",
605
509
  "release_date": "September 30, 2011",
606
- "block": "Innistrad Block",
607
510
  "code": "isd"
608
511
  },
609
512
  {
610
513
  "name": "Invasion",
611
514
  "release_date": "October 2, 2000",
612
- "block": "Invasion Block",
613
515
  "code": "inv"
614
516
  },
615
517
  {
616
518
  "name": "Ixalan",
617
519
  "release_date": "September 29, 2017",
618
- "block": "Ixalan Block",
619
520
  "code": "xln"
620
521
  },
621
522
  {
622
523
  "name": "Journey into Nyx",
623
524
  "release_date": "May 2, 2014",
624
- "block": "Theros Block",
625
525
  "code": "jou"
626
526
  },
627
527
  {
628
528
  "name": "Judgment",
629
529
  "release_date": "May 27, 2002",
630
- "block": "Odyssey Block",
631
530
  "code": "jud"
632
531
  },
633
532
  {
634
533
  "name": "Kaladesh",
635
534
  "release_date": "September 30, 2016",
636
- "block": "Kaladesh Block",
637
535
  "code": "kld"
638
536
  },
639
537
  {
640
538
  "name": "Kaladesh Inventions",
641
539
  "release_date": "September 30, 2016",
642
- "block": "Masterpiece Series",
643
540
  "code": "mps_kld"
644
541
  },
645
542
  {
646
543
  "name": "Khans of Tarkir",
647
544
  "release_date": "September 26, 2014",
648
- "block": "Khans of Tarkir Block",
649
545
  "code": "ktk"
650
546
  },
651
547
  {
652
548
  "name": "Legends",
653
549
  "release_date": "June 1994",
654
- "block": "Early Sets",
655
550
  "code": "leg"
656
551
  },
657
552
  {
658
553
  "name": "Legions",
659
554
  "release_date": "February 3, 2003",
660
- "block": "Onslaught Block",
661
555
  "code": "lgn"
662
556
  },
663
557
  {
664
558
  "name": "Limited Edition Alpha",
665
559
  "release_date": "August 5, 1993",
666
- "block": "Core Sets",
667
560
  "code": "lea"
668
561
  },
669
562
  {
670
563
  "name": "Limited Edition Beta",
671
564
  "release_date": "October 1993",
672
- "block": "Core Sets",
673
565
  "code": "leb"
674
566
  },
675
567
  {
676
568
  "name": "Lorwyn",
677
569
  "release_date": "October 12, 2007",
678
- "block": "Lorwyn/Shadowmoor Block",
679
570
  "code": "lrw"
680
571
  },
681
572
  {
682
573
  "name": "Magic 2010",
683
574
  "release_date": "July 17, 2009",
684
- "block": "Core Sets",
685
575
  "code": "m10"
686
576
  },
687
577
  {
688
578
  "name": "Magic 2011",
689
579
  "release_date": "July 16, 2010",
690
- "block": "Core Sets",
691
580
  "code": "m11"
692
581
  },
693
582
  {
694
583
  "name": "Magic 2012",
695
584
  "release_date": "July 15, 2011",
696
- "block": "Core Sets",
697
585
  "code": "m12"
698
586
  },
699
587
  {
700
588
  "name": "Magic 2013",
701
589
  "release_date": "July 13, 2012",
702
- "block": "Core Sets",
703
590
  "code": "m13"
704
591
  },
705
592
  {
706
593
  "name": "Magic 2014",
707
594
  "release_date": "July 19, 2013",
708
- "block": "Core Sets",
709
595
  "code": "m14"
710
596
  },
711
597
  {
712
598
  "name": "Magic 2015",
713
599
  "release_date": "July 18, 2014",
714
- "block": "Core Sets",
715
600
  "code": "m15"
716
601
  },
717
602
  {
718
603
  "name": "Magic 2019",
719
604
  "release_date": "July 13, 2018",
720
- "block": "Core Sets",
721
605
  "code": "m19"
722
606
  },
723
607
  {
724
608
  "name": "Magic Origins",
725
609
  "release_date": "July 17, 2015",
726
- "block": "Core Sets",
727
610
  "code": "ori"
728
611
  },
729
612
  {
730
613
  "name": "Masters 25",
731
614
  "release_date": "March 16, 2018",
732
- "block": "Compilation Sets",
733
615
  "code": "a25"
734
616
  },
735
617
  {
736
618
  "name": "Mercadian Masques",
737
619
  "release_date": "October 4, 1999",
738
- "block": "Masques Block",
739
620
  "code": "mmq"
740
621
  },
741
622
  {
742
623
  "name": "Mirage",
743
624
  "release_date": "October 7, 1996",
744
- "block": "Mirage Block",
745
625
  "code": "mir"
746
626
  },
747
627
  {
748
628
  "name": "Mirrodin",
749
629
  "release_date": "October 3, 2003",
750
- "block": "Mirrodin Block",
751
630
  "code": "mrd"
752
631
  },
753
632
  {
754
633
  "name": "Mirrodin Besieged",
755
634
  "release_date": "February 4, 2011",
756
- "block": "Scars of Mirrodin Block",
757
635
  "code": "mbs"
758
636
  },
759
637
  {
760
638
  "name": "Modern Event Deck",
761
639
  "release_date": "May 30, 2014",
762
- "block": "Compilation Sets",
763
640
  "code": "md1"
764
641
  },
765
642
  {
766
643
  "name": "Modern Masters",
767
644
  "release_date": "June 7, 2013",
768
- "block": "Compilation Sets",
769
645
  "code": "mma"
770
646
  },
771
647
  {
772
648
  "name": "Modern Masters 2015",
773
649
  "release_date": "May 22nd, 2015",
774
- "block": "Compilation Sets",
775
650
  "code": "mm2"
776
651
  },
777
652
  {
778
653
  "name": "Modern Masters 2017",
779
654
  "release_date": "March 17, 2017",
780
- "block": "Compilation Sets",
781
655
  "code": "mm3"
782
656
  },
783
657
  {
784
658
  "name": "Morningtide",
785
659
  "release_date": "February 1, 2008",
786
- "block": "Lorwyn/Shadowmoor Block",
787
660
  "code": "mor"
788
661
  },
789
662
  {
790
663
  "name": "Nemesis",
791
664
  "release_date": "February 14, 2000",
792
- "block": "Masques Block",
793
665
  "code": "nem"
794
666
  },
795
667
  {
796
668
  "name": "New Phyrexia",
797
669
  "release_date": "May 13, 2011",
798
- "block": "Scars of Mirrodin Block",
799
670
  "code": "nph"
800
671
  },
801
672
  {
802
673
  "name": "Ninth Edition",
803
674
  "release_date": "July 29, 2005",
804
- "block": "Core Sets",
805
675
  "code": "9ed"
806
676
  },
807
677
  {
808
678
  "name": "Oath of the Gatewatch",
809
679
  "release_date": "January 22, 2016",
810
- "block": "Battle for Zendikar Block",
811
680
  "code": "ogw"
812
681
  },
813
682
  {
814
683
  "name": "Odyssey",
815
684
  "release_date": "October 1, 2001",
816
- "block": "Odyssey Block",
817
685
  "code": "ody"
818
686
  },
819
687
  {
820
688
  "name": "Onslaught",
821
689
  "release_date": "October 7, 2002",
822
- "block": "Onslaught Block",
823
690
  "code": "ons"
824
691
  },
825
692
  {
826
693
  "name": "Planar Chaos",
827
694
  "release_date": "February 2, 2007",
828
- "block": "Time Spiral Block",
829
695
  "code": "plc"
830
696
  },
831
697
  {
832
698
  "name": "Planechase",
833
699
  "release_date": "September 4, 2009",
834
- "block": "Preconstructed Sets",
835
700
  "code": "hop"
836
701
  },
837
702
  {
838
703
  "name": "Planechase 2012",
839
704
  "release_date": "June 1, 2012",
840
- "block": "Preconstructed Sets",
841
705
  "code": "pc2"
842
706
  },
843
707
  {
844
708
  "name": "Planechase Anthology",
845
709
  "release_date": "November 25, 2016",
846
- "block": "Preconstructed Sets",
847
710
  "code": "pca"
848
711
  },
849
712
  {
850
713
  "name": "Planeshift",
851
714
  "release_date": "February 5, 2001",
852
- "block": "Invasion Block",
853
715
  "code": "pls"
854
716
  },
855
717
  {
856
718
  "name": "Portal",
857
719
  "release_date": "June 1997",
858
- "block": "Introductory Sets",
859
720
  "code": "por"
860
721
  },
861
722
  {
862
723
  "name": "Portal Second Age",
863
724
  "release_date": "June 24, 1998",
864
- "block": "Introductory Sets",
865
725
  "code": "po2"
866
726
  },
867
727
  {
868
728
  "name": "Portal Three Kingdoms",
869
729
  "release_date": "July 6, 1999",
870
- "block": "Introductory Sets",
871
730
  "code": "ptk"
872
731
  },
873
732
  {
874
733
  "name": "Premium Deck Series: Fire and Lightning",
875
734
  "release_date": "November 19, 2010",
876
- "block": "Premium Deck Series",
877
735
  "code": "pd2"
878
736
  },
879
737
  {
880
738
  "name": "Premium Deck Series: Graveborn",
881
739
  "release_date": "November 18, 2011",
882
- "block": "Premium Deck Series",
883
740
  "code": "pd3"
884
741
  },
885
742
  {
886
743
  "name": "Premium Deck Series: Slivers",
887
744
  "release_date": "November 20, 2009",
888
- "block": "Premium Deck Series",
889
745
  "code": "h09"
890
746
  },
891
747
  {
892
748
  "name": "Prophecy",
893
749
  "release_date": "June 5, 2000",
894
- "block": "Masques Block",
895
750
  "code": "pcy"
896
751
  },
897
752
  {
@@ -912,139 +767,116 @@
912
767
  {
913
768
  "name": "Ravnica: City of Guilds",
914
769
  "release_date": "October 7, 2005",
915
- "block": "Ravnica Block",
916
770
  "code": "rav"
917
771
  },
918
772
  {
919
773
  "name": "Return to Ravnica",
920
774
  "release_date": "October 5, 2012",
921
- "block": "Return to Ravnica Block",
922
775
  "code": "rtr"
923
776
  },
924
777
  {
925
778
  "name": "Revised Edition",
926
779
  "release_date": "April 1994",
927
- "block": "Core Sets",
928
780
  "code": "3ed"
929
781
  },
930
782
  {
931
783
  "name": "Rise of the Eldrazi",
932
784
  "release_date": "April 23, 2010",
933
- "block": "Zendikar Block",
934
785
  "code": "roe"
935
786
  },
936
787
  {
937
788
  "name": "Rivals of Ixalan",
938
789
  "release_date": "January 19, 2018",
939
- "block": "Ixalan Block",
940
790
  "code": "rix"
941
791
  },
942
792
  {
943
793
  "name": "Saviors of Kamigawa",
944
794
  "release_date": "June 3, 2005",
945
- "block": "Kamigawa Block",
946
795
  "code": "sok"
947
796
  },
948
797
  {
949
798
  "name": "Scars of Mirrodin",
950
799
  "release_date": "October 1, 2010",
951
- "block": "Scars of Mirrodin Block",
952
800
  "code": "som"
953
801
  },
954
802
  {
955
803
  "name": "Scourge",
956
804
  "release_date": "May 26, 2003",
957
- "block": "Onslaught Block",
958
805
  "code": "scg"
959
806
  },
960
807
  {
961
808
  "name": "Seventh Edition",
962
809
  "release_date": "April 11, 2001",
963
- "block": "Core Sets",
964
810
  "code": "7ed"
965
811
  },
966
812
  {
967
813
  "name": "Shadowmoor",
968
814
  "release_date": "May 2, 2008",
969
- "block": "Lorwyn/Shadowmoor Block",
970
815
  "code": "shm"
971
816
  },
972
817
  {
973
818
  "name": "Shadows over Innistrad",
974
819
  "release_date": "April 8, 2016",
975
- "block": "Shadows over Innistrad Block",
976
820
  "code": "soi"
977
821
  },
978
822
  {
979
823
  "name": "Shards of Alara",
980
824
  "release_date": "October 3, 2008",
981
- "block": "Alara Block",
982
825
  "code": "ala"
983
826
  },
984
827
  {
985
828
  "name": "Signature Spellbook: Jace",
986
829
  "release_date": "June 15, 2018",
987
- "block": "Signature Spellbook Series",
988
830
  "code": "ss1"
989
831
  },
990
832
  {
991
833
  "name": "Starter 1999",
992
834
  "release_date": "July 20, 1999",
993
- "block": "Introductory Sets",
994
835
  "code": "s99"
995
836
  },
996
837
  {
997
838
  "name": "Starter 2000",
998
839
  "release_date": "July 24, 2000",
999
- "block": "Introductory Sets",
1000
840
  "code": "s00"
1001
841
  },
1002
842
  {
1003
843
  "name": "Stronghold",
1004
844
  "release_date": "March 2, 1998",
1005
- "block": "Tempest Block",
1006
845
  "code": "sth"
1007
846
  },
1008
847
  {
1009
848
  "name": "Tempest",
1010
849
  "release_date": "October 13, 1997",
1011
- "block": "Tempest Block",
1012
850
  "code": "tmp"
1013
851
  },
1014
852
  {
1015
853
  "name": "Tenth Edition",
1016
854
  "release_date": "July 13, 2007",
1017
- "block": "Core Sets",
1018
855
  "code": "10e"
1019
856
  },
1020
857
  {
1021
858
  "name": "The Dark",
1022
859
  "release_date": "August 1994",
1023
- "block": "Early Sets",
1024
860
  "code": "drk"
1025
861
  },
1026
862
  {
1027
863
  "name": "Theros",
1028
864
  "release_date": "September 27, 2013",
1029
- "block": "Theros Block",
1030
865
  "code": "ths"
1031
866
  },
1032
867
  {
1033
868
  "name": "Time Spiral",
1034
869
  "release_date": "October 6, 2006",
1035
- "block": "Time Spiral Block",
1036
870
  "code": "tsp"
1037
871
  },
1038
872
  {
1039
873
  "name": "Time Spiral \"Timeshifted\"",
1040
874
  "release_date": "October 6, 2006",
1041
- "block": "Time Spiral Block",
1042
875
  "code": "tsb"
1043
876
  },
1044
877
  {
1045
878
  "name": "Torment",
1046
879
  "release_date": "February 4, 2002",
1047
- "block": "Odyssey Block",
1048
880
  "code": "tor"
1049
881
  },
1050
882
  {
@@ -1060,49 +892,41 @@
1060
892
  {
1061
893
  "name": "Unglued",
1062
894
  "release_date": "August 17, 1998",
1063
- "block": "Joke Sets",
1064
895
  "code": "ugl"
1065
896
  },
1066
897
  {
1067
898
  "name": "Unhinged",
1068
899
  "release_date": "November 19, 2004",
1069
- "block": "Joke Sets",
1070
900
  "code": "unh"
1071
901
  },
1072
902
  {
1073
903
  "name": "Unlimited Edition",
1074
904
  "release_date": "December 1993",
1075
- "block": "Core Sets",
1076
905
  "code": "2ed"
1077
906
  },
1078
907
  {
1079
908
  "name": "Unstable",
1080
909
  "release_date": "December 8, 2017",
1081
- "block": "Joke Sets",
1082
910
  "code": "ust"
1083
911
  },
1084
912
  {
1085
913
  "name": "Urza's Destiny",
1086
914
  "release_date": "June 7, 1999",
1087
- "block": "Urza's Block",
1088
915
  "code": "uds"
1089
916
  },
1090
917
  {
1091
918
  "name": "Urza's Legacy",
1092
919
  "release_date": "February 15, 1999",
1093
- "block": "Urza's Block",
1094
920
  "code": "ulg"
1095
921
  },
1096
922
  {
1097
923
  "name": "Urza's Saga",
1098
924
  "release_date": "October 12, 1998",
1099
- "block": "Urza's Block",
1100
925
  "code": "usg"
1101
926
  },
1102
927
  {
1103
928
  "name": "Visions",
1104
929
  "release_date": "February 3, 1997",
1105
- "block": "Mirage Block",
1106
930
  "code": "vis"
1107
931
  },
1108
932
  {
@@ -1118,37 +942,31 @@
1118
942
  {
1119
943
  "name": "Weatherlight",
1120
944
  "release_date": "June 9, 1997",
1121
- "block": "Mirage Block",
1122
945
  "code": "wth"
1123
946
  },
1124
947
  {
1125
948
  "name": "Welcome Deck 2016",
1126
949
  "release_date": "April 9, 2016",
1127
- "block": "Introductory Sets",
1128
950
  "code": "w16"
1129
951
  },
1130
952
  {
1131
953
  "name": "Welcome Deck 2017",
1132
954
  "release_date": "April 15, 2017",
1133
- "block": "Introductory Sets",
1134
955
  "code": "w17"
1135
956
  },
1136
957
  {
1137
958
  "name": "Worldwake",
1138
959
  "release_date": "February 5, 2010",
1139
- "block": "Zendikar Block",
1140
960
  "code": "wwk"
1141
961
  },
1142
962
  {
1143
963
  "name": "Zendikar",
1144
964
  "release_date": "October 2, 2009",
1145
- "block": "Zendikar Block",
1146
965
  "code": "zen"
1147
966
  },
1148
967
  {
1149
968
  "name": "Zendikar Expeditions",
1150
969
  "release_date": "October 2, 2015",
1151
- "block": "Masterpiece Series",
1152
970
  "code": "exp"
1153
971
  }
1154
972
  ]
@@ -2,7 +2,7 @@ require 'json'
2
2
 
3
3
  module Mtg
4
4
  module Db
5
- VERSION = '1.5.2'
5
+ VERSION = '2.0.0'
6
6
  CARDS_PATH = File.expand_path('../../data/sets/%s.json', __FILE__)
7
7
  SETS_PATH = File.expand_path('../../data/sets.json', __FILE__)
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtg-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabe Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'An database of Magic: The Gathering cards and sets in JSON format.'
14
14
  email: