elder_scrolls_legends_sdk 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 83b920ad5e6cc3dabd53077608216d8385422af0
4
+ data.tar.gz: eba29a17bd4a830914d7add76ebb2c9dc6c054bb
5
+ SHA512:
6
+ metadata.gz: 1acca84f6a6e1fb7c7860cb07fd5ee24e1374b50f0e4a682c3876ae6efdc471997793ad56c0f822afe61462c399ca276a84b5abcacf19226dc3a312c06025c86
7
+ data.tar.gz: 6eeb3bb3af9361e924b716014de1f916dc718c385eddb1dbd954d9531c1e07ccf0f2216b8413fd976acb9432308a2ec2bd59883b57678a7f33e1d27d3e6d72a0
data/.editorconfig ADDED
@@ -0,0 +1,3 @@
1
+ [*.rb]
2
+ indent_size = 2
3
+ indent_style = space
data/.gitignore ADDED
@@ -0,0 +1,25 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ test/fixtures
18
+ coverage
19
+ tmp
20
+ *.bundle
21
+ *.so
22
+ *.o
23
+ *.a
24
+ mkmf.log
25
+ .vscode
data/.travis.yml ADDED
@@ -0,0 +1,15 @@
1
+ env:
2
+ global:
3
+ - CC_TEST_REPORTER_ID=fd717ab31084c715662fd40576cae6ff5d0bf7d05d76874709ad6cc19846cdbc
4
+ language: ruby
5
+ rvm:
6
+ - 2.3.0
7
+ before_install: gem install bundler -v 1.12.5
8
+ before_script:
9
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
10
+ - chmod +x ./cc-test-reporter
11
+ - ./cc-test-reporter before-build
12
+ script:
13
+ - rake test
14
+ after_script:
15
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at backes.andrew@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in elder_scrolls_legends_sdk.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Andrew Backes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,105 @@
1
+ # Elder Scrolls: Legends SDK
2
+
3
+ [![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
+ [![Maintainability](https://api.codeclimate.com/v1/badges/2505814ecf931870ff40/maintainability)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-ruby/maintainability)
5
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/2505814ecf931870ff40/test_coverage)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-ruby/test_coverage)
6
+
7
+ This is the Elder Scrolls: Legends SDK Ruby implementation. It is a wrapper around the Elder Scrolls: Legends API of [elderscrollslegends.io](https://elderscrollslegends.io/).
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ gem 'elder_scrolls_legends_sdk'
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install elder_scrolls_legends_sdk
22
+
23
+ ## Usage
24
+
25
+ ### Properties Per Class
26
+
27
+ #### Card
28
+
29
+ name
30
+ rarity
31
+ type
32
+ subtype
33
+ cost
34
+ power
35
+ health
36
+ soul_summon
37
+ soul_trap
38
+ text
39
+ unique
40
+ image_url
41
+ id
42
+ set
43
+ attributes
44
+ keywords
45
+
46
+ #### Set
47
+
48
+ name
49
+ release_date
50
+ total_cards
51
+ id
52
+
53
+ ### Functions Available
54
+
55
+ #### Find a card by id
56
+
57
+ card = ElderScrollsLegends::Card.find('1fd81123ab3eca0b29c4c19757045db9757b4f1a')
58
+
59
+ #### Filter Cards via query parameters
60
+
61
+ cards = ElderScrollsLegends::Card.where(type: 'creature', subtype: 'dragon')
62
+
63
+ #### Find all cards (will take awhile)
64
+
65
+ cards = ElderScrollsLegends::Card.all
66
+
67
+ #### Get all cards, but only a specific page of data
68
+
69
+ cards = ElderScrollsLegends::Card.where(page: 5)
70
+
71
+ #### Find a set by id
72
+
73
+ set = ElderScrollsLegends::Set.find('cs')
74
+
75
+ #### Filter Sets via query parameters
76
+
77
+ sets = ElderScrollsLegends::Set.where(totalCards: 'gt400')
78
+
79
+ #### Find all sets
80
+
81
+ sets = ElderScrollsLegends::Set.all
82
+
83
+ #### Get all Types
84
+
85
+ types = ElderScrollsLegends::Type.all
86
+
87
+ #### Get all Subtypes
88
+
89
+ subtypes = ElderScrollsLegends::Subtype.all
90
+
91
+ #### Get all Keywords
92
+
93
+ keywords = ElderScrollsLegends::Keyword.all
94
+
95
+ #### Get all Attributes
96
+
97
+ attributes = ElderScrollsLegends::Attribute.all
98
+
99
+ ## Contributing
100
+
101
+ 1. Fork it ( https://github.com/[my-github-username]/elder-scolls-legends-sdk-ruby/fork )
102
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
103
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
104
+ 4. Push to the branch (`git push origin my-new-feature`)
105
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ task :default => :test
5
+
6
+ Rake::TestTask.new do |t|
7
+ t.libs << "lib"
8
+ t.libs << "test"
9
+ t.test_files = FileList['test/*_test.rb']
10
+ t.verbose = true
11
+ end
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'elder_scrolls_legends_sdk/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "elder_scrolls_legends_sdk"
8
+ spec.version = ElderScrollsLegends::VERSION
9
+ spec.authors = ["Andrew Backes"]
10
+ spec.email = ["backes.andrew@gmail.com"]
11
+ spec.summary = "Elder Scrolls: Legends SDK for https://elderscrollslegends.io"
12
+ spec.description = "Elder Scrolls: Legends SDK is a wrapper around the Elder Scrolls: Legends API located at https://elderscrollslegends.io"
13
+ spec.homepage = "https://elderscrollslegends.io"
14
+ spec.license = "MIT"
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_development_dependency "bundler", "~> 1.12"
21
+ spec.add_development_dependency "rake", "~> 11.2"
22
+ spec.add_development_dependency "minitest", "~> 5.9"
23
+ spec.add_development_dependency "vcr", "~> 3.0"
24
+ spec.add_development_dependency "webmock", "~> 2.1"
25
+ spec.add_development_dependency "simplecov", "~> 0.14"
26
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.6"
27
+
28
+ spec.add_dependency "roar", "~> 1.1"
29
+ spec.add_dependency "json", "~> 2.1"
30
+ spec.add_dependency "multi_json", "~> 1.12"
31
+ spec.add_dependency "multi_xml", "~> 0.6"
32
+ spec.add_dependency "faraday_middleware", "~> 0.10"
33
+ end
@@ -0,0 +1,13 @@
1
+ require 'roar/json'
2
+
3
+ require 'elder_scrolls_legends_sdk/version'
4
+ require 'elder_scrolls_legends_sdk/rest_client'
5
+ require 'elder_scrolls_legends_sdk/query_builder'
6
+
7
+ require 'elder_scrolls_legends_sdk/card'
8
+ require 'elder_scrolls_legends_sdk/card_set'
9
+ require 'elder_scrolls_legends_sdk/set'
10
+
11
+ module ElderScrollsLegends
12
+ API_URL = 'https://api.elderscrollslegends.io/v1'
13
+ end
@@ -0,0 +1,12 @@
1
+ module ElderScrollsLegends
2
+ class Attribute
3
+ include RestClient
4
+
5
+ # Get all attributes
6
+ #
7
+ # @return [Array<String>] All attributes
8
+ def self.all
9
+ RestClient.get('attributes').body['attributes']
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,41 @@
1
+ require 'elder_scrolls_legends_sdk/representers/card_representer'
2
+
3
+ module ElderScrollsLegends
4
+ class Card
5
+ include Roar::JSON
6
+ include CardRepresenter
7
+
8
+ attr_accessor :name, :rarity, :type, :subtype, :cost, :power, :health, :soul_summon,
9
+ :soul_trap, :text, :unique, :image_url, :id, :set, :attributes, :keywords
10
+
11
+ # Get the resource string
12
+ #
13
+ # @return [String] The API resource string
14
+ def self.Resource
15
+ "cards"
16
+ end
17
+
18
+ # Find a single card by the card id
19
+ #
20
+ # @param id [String] the card id
21
+ # @return [Card] the Card object response
22
+ def self.find(id)
23
+ QueryBuilder.new(Card).find(id)
24
+ end
25
+
26
+ # Get all cards from a query by paging through data
27
+ #
28
+ # @return [Array<Card>] Array of Card objects
29
+ def self.all
30
+ QueryBuilder.new(Card).all
31
+ end
32
+
33
+ # Adds a parameter to the hash of query parameters
34
+ #
35
+ # @param args [Hash] the query parameter
36
+ # @return [Array<Card>] Array of Card objects
37
+ def self.where(args)
38
+ QueryBuilder.new(Card).where(args)
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,10 @@
1
+ require 'elder_scrolls_legends_sdk/representers/card_set_representer'
2
+
3
+ module ElderScrollsLegends
4
+ class CardSet
5
+ include Roar::JSON
6
+ include CardSetRepresenter
7
+
8
+ attr_accessor :id, :name, :_self
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ module ElderScrollsLegends
2
+ class Keyword
3
+ include RestClient
4
+
5
+ # Get all keywords
6
+ #
7
+ # @return [Array<String>] All keywords
8
+ def self.all
9
+ RestClient.get('keywords').body['keywords']
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,72 @@
1
+ module ElderScrollsLegends
2
+ class QueryBuilder
3
+ include RestClient
4
+ attr_accessor :type, :query
5
+
6
+ def initialize(type)
7
+ @type = type
8
+ @query = {}
9
+ end
10
+
11
+ # Adds a parameter to the hash of query parameters
12
+ #
13
+ # @param args [Hash] the query parameter
14
+ # @return [QueryBuilder] the QueryBuilder
15
+ def where(args)
16
+ @query.merge!(args)
17
+ self.all
18
+ end
19
+
20
+ # Find a single resource by the resource id
21
+ #
22
+ # @param id [String] the resource id
23
+ # @return [Object] the Type object response
24
+ def find(id)
25
+ response = RestClient.get("#{@type.Resource}/#{id}")
26
+ singular_resource = @type.Resource[0...-1]
27
+ if response.body[singular_resource].nil?
28
+ raise ArgumentError, 'Resource not found'
29
+ end
30
+
31
+ type.new.from_json(response.body[singular_resource].to_json)
32
+ end
33
+
34
+ # Get all resources from a query by paging through data
35
+ #
36
+ # @return [Array<Object>] Array of resources
37
+ def all
38
+ list = []
39
+ page = 1
40
+ fetch_all = true
41
+
42
+ if @query.has_key?(:page)
43
+ page = @query[:page]
44
+ fetch_all = false
45
+ end
46
+
47
+ while true
48
+ response = RestClient.get(@type.Resource, @query)
49
+ data = response.body[@type.Resource]
50
+ if !data.empty?
51
+ data.each {|item| list << @type.new.from_json(item.to_json)}
52
+
53
+ if !fetch_all
54
+ break
55
+ else
56
+ where(page: page += 1)
57
+ end
58
+ else
59
+ break
60
+ end
61
+ end
62
+
63
+ return list
64
+ end
65
+
66
+ private
67
+
68
+ def snake_to_camel_case(str)
69
+ str.to_s.split('_').inject { |m, p| m + p.capitalize }
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,25 @@
1
+ require 'elder_scrolls_legends_sdk/representers/card_set_representer'
2
+ require 'elder_scrolls_legends_sdk/card_set'
3
+
4
+ module ElderScrollsLegends
5
+ module CardRepresenter
6
+ include Roar::JSON
7
+
8
+ property :name
9
+ property :rarity
10
+ property :type
11
+ property :subtype
12
+ property :cost
13
+ property :power
14
+ property :health
15
+ property :soul_summon, as: :soulSummon
16
+ property :soul_trap, as: :soulTrap
17
+ property :text
18
+ property :unique
19
+ property :image_url, as: :imageUrl
20
+ property :id
21
+ property :set, extend: CardSetRepresenter, class: CardSet
22
+ collection :attributes
23
+ collection :keywords
24
+ end
25
+ end
@@ -0,0 +1,9 @@
1
+ module ElderScrollsLegends
2
+ module CardSetRepresenter
3
+ include Roar::JSON
4
+
5
+ property :name
6
+ property :id
7
+ property :_self
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ module ElderScrollsLegends
2
+ module SetRepresenter
3
+ include Roar::JSON
4
+
5
+ property :name
6
+ property :release_date, as: :releaseDate
7
+ property :total_cards, as: :totalCards
8
+ property :id
9
+ end
10
+ end
@@ -0,0 +1,32 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+ require 'erb'
4
+
5
+ module ElderScrollsLegends
6
+ module RestClient
7
+
8
+ def self.get(endpoint, params=nil)
9
+ if params.nil?
10
+ query = endpoint
11
+ else
12
+ query = "#{endpoint}?#{params_to_query(params)}"
13
+ end
14
+
15
+ client.get(query)
16
+ end
17
+
18
+ protected
19
+
20
+ def self.client
21
+ @client = Faraday.new API_URL do |conn|
22
+ conn.response :xml, :content_type => /\bxml$/
23
+ conn.response :json, :content_type => /\bjson$/
24
+ conn.adapter Faraday.default_adapter
25
+ end
26
+ end
27
+
28
+ def self.params_to_query(params)
29
+ params.map {|p, v| "#{p}=#{ERB::Util.url_encode(v.to_s)}"}.join('&')
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,40 @@
1
+ require 'elder_scrolls_legends_sdk/representers/set_representer'
2
+
3
+ module ElderScrollsLegends
4
+ class Set
5
+ include Roar::JSON
6
+ include SetRepresenter
7
+
8
+ attr_accessor :name, :release_date, :total_cards, :id
9
+
10
+ # Get the resource string
11
+ #
12
+ # @return [String] The API resource string
13
+ def self.Resource
14
+ "sets"
15
+ end
16
+
17
+ # Find a single card by the set id
18
+ #
19
+ # @param id [String] the set id
20
+ # @return [Set] the Set object response
21
+ def self.find(id)
22
+ QueryBuilder.new(Set).find(id)
23
+ end
24
+
25
+ # Get all set from a query by paging through data
26
+ #
27
+ # @return [Array<Set>] Array of Set objects
28
+ def self.all
29
+ QueryBuilder.new(Set).all
30
+ end
31
+
32
+ # Adds a parameter to the hash of query parameters
33
+ #
34
+ # @param args [Hash] the query parameter
35
+ # @return [Array<Set>] Array of Set objects
36
+ def self.where(args)
37
+ QueryBuilder.new(Set).where(args)
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,12 @@
1
+ module ElderScrollsLegends
2
+ class Subtype
3
+ include RestClient
4
+
5
+ # Get all subtypes
6
+ #
7
+ # @return [Array<String>] All subtypes
8
+ def self.all
9
+ RestClient.get('subtypes').body['subtypes']
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ module ElderScrollsLegends
2
+ class Type
3
+ include RestClient
4
+
5
+ # Get all types
6
+ #
7
+ # @return [Array<String>] All types
8
+ def self.all
9
+ RestClient.get('types').body['types']
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ module ElderScrollsLegends
2
+ VERSION = "1.0.0"
3
+ end
metadata ADDED
@@ -0,0 +1,236 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: elder_scrolls_legends_sdk
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Backes
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-02-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '11.2'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '11.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.9'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.9'
55
+ - !ruby/object:Gem::Dependency
56
+ name: vcr
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.14'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.14'
97
+ - !ruby/object:Gem::Dependency
98
+ name: codeclimate-test-reporter
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.6'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: roar
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.1'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: json
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.1'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.1'
139
+ - !ruby/object:Gem::Dependency
140
+ name: multi_json
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.12'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.12'
153
+ - !ruby/object:Gem::Dependency
154
+ name: multi_xml
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.6'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.6'
167
+ - !ruby/object:Gem::Dependency
168
+ name: faraday_middleware
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.10'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.10'
181
+ description: 'Elder Scrolls: Legends SDK is a wrapper around the Elder Scrolls: Legends
182
+ API located at https://elderscrollslegends.io'
183
+ email:
184
+ - backes.andrew@gmail.com
185
+ executables: []
186
+ extensions: []
187
+ extra_rdoc_files: []
188
+ files:
189
+ - ".editorconfig"
190
+ - ".gitignore"
191
+ - ".travis.yml"
192
+ - CODE_OF_CONDUCT.md
193
+ - Gemfile
194
+ - LICENSE.txt
195
+ - README.md
196
+ - Rakefile
197
+ - elder_scrolls_legends_sdk.gemspec
198
+ - lib/elder_scrolls_legends_sdk.rb
199
+ - lib/elder_scrolls_legends_sdk/attribute.rb
200
+ - lib/elder_scrolls_legends_sdk/card.rb
201
+ - lib/elder_scrolls_legends_sdk/card_set.rb
202
+ - lib/elder_scrolls_legends_sdk/keyword.rb
203
+ - lib/elder_scrolls_legends_sdk/query_builder.rb
204
+ - lib/elder_scrolls_legends_sdk/representers/card_representer.rb
205
+ - lib/elder_scrolls_legends_sdk/representers/card_set_representer.rb
206
+ - lib/elder_scrolls_legends_sdk/representers/set_representer.rb
207
+ - lib/elder_scrolls_legends_sdk/rest_client.rb
208
+ - lib/elder_scrolls_legends_sdk/set.rb
209
+ - lib/elder_scrolls_legends_sdk/subtype.rb
210
+ - lib/elder_scrolls_legends_sdk/type.rb
211
+ - lib/elder_scrolls_legends_sdk/version.rb
212
+ homepage: https://elderscrollslegends.io
213
+ licenses:
214
+ - MIT
215
+ metadata: {}
216
+ post_install_message:
217
+ rdoc_options: []
218
+ require_paths:
219
+ - lib
220
+ required_ruby_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ required_rubygems_version: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ requirements: []
231
+ rubyforge_project:
232
+ rubygems_version: 2.6.10
233
+ signing_key:
234
+ specification_version: 4
235
+ summary: 'Elder Scrolls: Legends SDK for https://elderscrollslegends.io'
236
+ test_files: []