elder_scrolls_legends_sdk 1.0.0 → 1.1.0

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: 83b920ad5e6cc3dabd53077608216d8385422af0
4
- data.tar.gz: eba29a17bd4a830914d7add76ebb2c9dc6c054bb
3
+ metadata.gz: b33eea5cb0658fb93e9d92b56bb16150f24a4af9
4
+ data.tar.gz: '0923a0afb54333cc4b2856e6d113451c00d152a2'
5
5
  SHA512:
6
- metadata.gz: 1acca84f6a6e1fb7c7860cb07fd5ee24e1374b50f0e4a682c3876ae6efdc471997793ad56c0f822afe61462c399ca276a84b5abcacf19226dc3a312c06025c86
7
- data.tar.gz: 6eeb3bb3af9361e924b716014de1f916dc718c385eddb1dbd954d9531c1e07ccf0f2216b8413fd976acb9432308a2ec2bd59883b57678a7f33e1d27d3e6d72a0
6
+ metadata.gz: 695706a02726bd8dbd9c1cd56bba8cdde78173c7eb826977efed2c80486e04ce432ba8d161a4aea7dfd3521ad211ffcdecf2deafd908412513c0200a8aacfd42
7
+ data.tar.gz: 3821f494a6f4989478eb8268c63decb0739b88e192781071126c4027683591193a0e434ce66242c3116fe537ca77623cbc955bb956f9b6d2209e708501984ca1
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Elder Scrolls: Legends SDK
2
2
 
3
+ [![esl-developers on discord](https://img.shields.io/badge/discord-esl--developers-738bd7.svg)](https://discord.gg/97vDaJx)
4
+ [![Gem Version](https://badge.fury.io/rb/elder_scrolls_legends_sdk.svg)](https://badge.fury.io/rb/elder_scrolls_legends_sdk)
3
5
  [![Build Status](https://travis-ci.org/ElderScrollsLegends/elder-scrolls-legends-sdk-ruby.svg?branch=master)](https://travis-ci.org/ElderScrollsLegends/elder-scrolls-legends-sdk-ruby)
4
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/2505814ecf931870ff40/maintainability)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-ruby/maintainability)
5
7
  [![Test Coverage](https://api.codeclimate.com/v1/badges/2505814ecf931870ff40/test_coverage)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-ruby/test_coverage)
@@ -29,7 +31,7 @@ Or install it yourself as:
29
31
  name
30
32
  rarity
31
33
  type
32
- subtype
34
+ subtypes
33
35
  cost
34
36
  power
35
37
  health
@@ -58,7 +60,7 @@ Or install it yourself as:
58
60
 
59
61
  #### Filter Cards via query parameters
60
62
 
61
- cards = ElderScrollsLegends::Card.where(type: 'creature', subtype: 'dragon')
63
+ cards = ElderScrollsLegends::Card.where(type: 'creature', subtypes: 'dragon')
62
64
 
63
65
  #### Find all cards (will take awhile)
64
66
 
@@ -5,7 +5,7 @@ module ElderScrollsLegends
5
5
  include Roar::JSON
6
6
  include CardRepresenter
7
7
 
8
- attr_accessor :name, :rarity, :type, :subtype, :cost, :power, :health, :soul_summon,
8
+ attr_accessor :name, :rarity, :type, :subtypes, :cost, :power, :health, :soul_summon,
9
9
  :soul_trap, :text, :unique, :image_url, :id, :set, :attributes, :keywords
10
10
 
11
11
  # Get the resource string
@@ -8,7 +8,7 @@ module ElderScrollsLegends
8
8
  property :name
9
9
  property :rarity
10
10
  property :type
11
- property :subtype
11
+ collection :subtypes
12
12
  property :cost
13
13
  property :power
14
14
  property :health
@@ -1,3 +1,3 @@
1
1
  module ElderScrollsLegends
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elder_scrolls_legends_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Backes
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-10 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler