SWGOH-API 0.3.19

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6ab79511050879440c37f9a3bb2d9d8536d4388953fe2cdbc15b6b99fe563cb1
4
+ data.tar.gz: 323a779049f568c2ee3d710bc471bccd4f1234095d935b2e1205c72a9c702c85
5
+ SHA512:
6
+ metadata.gz: 2cce68fb87a9e43fbd7f310b3cad0aeeab0a4e6c4f471d7f6aa8efe1195a7b2462bd89feb5f9a437512d8f824f45302c380f7cb25f5e28a2d49abc5c2cc788c4
7
+ data.tar.gz: c0adfc835eb04a633d59a837ea525110717400028d1f3337349804b5d64366f0a411fea4c93aa031b984cc0e7cf7f43e4af64bc45b6bdc9b3b89f8c84a3f4027
@@ -0,0 +1,25 @@
1
+ *.gem
2
+ *.rbc
3
+ *.sassc
4
+ .bundle
5
+ .config
6
+ .yardoc
7
+ .rvmrc
8
+ .rspec
9
+ .sass-cache
10
+ .DS_Store
11
+ Gemfile.lock # gem projects only!
12
+ InstalledFiles
13
+ _yardoc
14
+ doc/
15
+ coverage
16
+ lib/bundler/man
17
+ capybara-*.html
18
+ pkg
19
+ rdoc
20
+ spec/reports
21
+ spec/tmp
22
+ test/tmp
23
+ test/version_tmp
24
+ tmp
25
+ .idea/*
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.3.7
6
+ before_install: gem install bundler -v 2.1.4
@@ -0,0 +1,63 @@
1
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
3
+
4
+ ## [Unreleased]
5
+ N/A
6
+
7
+ ## [0.3.19] - 2020-10-16
8
+ ## Changed
9
+ - Set ally code request header type to json by [@jquass](https://github.com/jquass)
10
+ - Add request error logging by [@jquass](https://github.com/jquass)
11
+
12
+ ## [0.3.17] - 2020-10-16
13
+ ## Changed
14
+ - Format ally code request bodies to json by [@jquass](https://github.com/jquass)
15
+
16
+ ## [0.3.15] - 2020-10-16
17
+ ## Changed
18
+ - Fix how ally code request bodies are formatted by [@jquass](https://github.com/jquass)
19
+ - Fix CLIENT_REQUESTS_test by [@jquass](https://github.com/jquass)
20
+ - Fix API_test by [@jquass](https://github.com/jquass)
21
+
22
+ ## [0.3.12] - 2020-10-16
23
+ ## Changed
24
+ - *Really* use https when making requests to auth/signin by [@jquass](https://github.com/jquass)
25
+
26
+ ## [0.3.11] - 2020-10-16
27
+ ### Changed
28
+ - Fixed bug setting port making ally code requests by [@jquass](https://github.com/jquass)
29
+
30
+ ## [0.3.10] - 2020-10-16
31
+ ### Changed
32
+ - Fixed CLIENT_AUTH_test by [@jquass](https://github.com/jquass)
33
+ - Secure requests with ally code by [@jquass](https://github.com/jquass)
34
+
35
+ ## [0.3.8] - 2020-10-15
36
+ ### Changed
37
+ - Use https when making requests to auth/signin by [@jquass](https://github.com/jquass)
38
+
39
+ ## [0.3.7] - 2020-08-22
40
+ ### Changed
41
+ - Updated the README to follow [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) by [@jquass](https://github.com/jquass)
42
+
43
+ ## [0.3.6] - 2020-07-20
44
+ ### Added
45
+ - Unit tests to test client auth by [@jquass](https://github.com/jquass)
46
+ - Unit tests to test client requests by [@jquass](https://github.com/jquass)
47
+ - Unit test helper by [@jquass](https://github.com/jquass)
48
+ - Updated REAMDE by [@jquass](https://github.com/jquass)
49
+
50
+ ### Changed
51
+ - Fixed relative paths on module constants by [@jquass](https://github.com/jquass)
52
+
53
+ ## [0.3.5] - 2020-07-13
54
+ ### Changed
55
+ - Fixed auth field validation by [@jquass](https://github.com/jquass)
56
+ - Fix how auth token is stored [@jquass](https://github.com/jquass)
57
+
58
+ ## Legacy CHANGELOG
59
+
60
+ - v0.3.5 Fix bad imports so it can actually work
61
+ - v0.3.4 Add CHANGELOG.md
62
+ - v0.3.3 Update README.md and various fixes
63
+ - v0.3.0 Make the client a configurable object
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at quassj@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in SWGOH-API.gemspec
6
+ gemspec
7
+
8
+ gem 'http', '~> 4.4.1'
9
+ gem 'json', '~> 2.3.1'
10
+ gem 'minitest', '~> 5.0'
11
+ gem 'rake', '~> 12.0'
12
+ gem 'rspec-core', '~> 3.9.2'
13
+ gem 'rspec-expectations', '~> 3.9.2'
14
+ gem 'webmock', '~> 3.8.3'
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ SWGOH-API (0.3.19)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.7.0)
10
+ public_suffix (>= 2.0.2, < 5.0)
11
+ crack (0.4.3)
12
+ safe_yaml (~> 1.0.0)
13
+ diff-lcs (1.4.4)
14
+ domain_name (0.5.20190701)
15
+ unf (>= 0.0.5, < 1.0.0)
16
+ ffi (1.13.1)
17
+ ffi-compiler (1.0.1)
18
+ ffi (>= 1.0.0)
19
+ rake
20
+ hashdiff (1.0.1)
21
+ http (4.4.1)
22
+ addressable (~> 2.3)
23
+ http-cookie (~> 1.0)
24
+ http-form_data (~> 2.2)
25
+ http-parser (~> 1.2.0)
26
+ http-cookie (1.0.3)
27
+ domain_name (~> 0.5)
28
+ http-form_data (2.3.0)
29
+ http-parser (1.2.1)
30
+ ffi-compiler (>= 1.0, < 2.0)
31
+ json (2.3.1)
32
+ minitest (5.14.1)
33
+ public_suffix (4.0.5)
34
+ rake (12.3.3)
35
+ rspec-core (3.9.2)
36
+ rspec-support (~> 3.9.3)
37
+ rspec-expectations (3.9.2)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.9.0)
40
+ rspec-support (3.9.3)
41
+ safe_yaml (1.0.5)
42
+ unf (0.1.4)
43
+ unf_ext
44
+ unf_ext (0.0.7.7)
45
+ webmock (3.8.3)
46
+ addressable (>= 2.3.6)
47
+ crack (>= 0.3.2)
48
+ hashdiff (>= 0.4.0, < 2.0.0)
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ SWGOH-API!
55
+ http (~> 4.4.1)
56
+ json (~> 2.3.1)
57
+ minitest (~> 5.0)
58
+ rake (~> 12.0)
59
+ rspec-core (~> 3.9.2)
60
+ rspec-expectations (~> 3.9.2)
61
+ webmock (~> 3.8.3)
62
+
63
+ BUNDLED WITH
64
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Jon Quass
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.
@@ -0,0 +1,75 @@
1
+ # SWGOH::API [![Gem Version](https://badge.fury.io/rb/SWGOH-API.svg)](https://badge.fury.io/rb/SWGOH-API)
2
+ Ruby client wrapper for the API at https://api.swgoh.help .
3
+
4
+ ### Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'SWGOH-API'
10
+ ```
11
+
12
+ And then rake:
13
+
14
+ $ bundle exec rake
15
+
16
+ ## Usage
17
+ ```ruby
18
+ # Require the gem
19
+ require 'SWGOH/API/CLIENT/client'
20
+
21
+ # Create a new client
22
+ client = CLIENT.new
23
+
24
+ # Generate a new access_token
25
+ access_token = client.authorize("username", "password")
26
+
27
+ # Or authenticate with a saved access_token
28
+ client.access_token = access_token
29
+
30
+ # Then start making requests
31
+ json = client.get_players([123456789])
32
+ ```
33
+
34
+ ## Development
35
+
36
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests.
37
+
38
+ To install this gem onto your local machine, run `gem install 'SWGOH-API'`.
39
+
40
+ ### irb
41
+ ```
42
+ $ irb -rubygems
43
+ irb(main):001:0> require 'SWGOH/API/CLIENT/client'
44
+ => true
45
+ irb(main):002:0> client = CLIENT.new
46
+ => #<CLIENT:0x00007fdf90087b28 @language="ENG_US", @enums=false, @structure=false, @access_token=nil>
47
+ irb(main):003:0> client.authorized?
48
+ => false
49
+ irb(main):004:0> client.access_token = 'myexistingtoken'
50
+ => "myexistingtoken"
51
+ irb(main):005:0> client.authorized?
52
+ => true
53
+ ```
54
+
55
+ ### Release
56
+ These are the steps to create and tag a new version, push git commits and tags, and push the new gem version to [rubygems.org](https://rubygems.org).
57
+
58
+ - Update the CHANGELOG and assign version number
59
+ - Update the version number in `version.rb`
60
+ - Run `gem build SWGOH-API.gemspec`
61
+ - Run the release to generate all files `bundle exec rake release`
62
+ - Create a new version commit with all changes
63
+ - Release the new version `bundle exec rake release`
64
+
65
+ ## Contributing
66
+
67
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jquass/SWGOH-API. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/jquass/SWGOH-API/blob/master/CODE_OF_CONDUCT.md).
68
+
69
+ ## License
70
+
71
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
72
+
73
+ ## Code of Conduct
74
+
75
+ Everyone interacting in the SWGOH::API project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/jquass/SWGOH-API/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/SWGOH/API/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'SWGOH-API'
7
+ spec.version = SWGOH::API::VERSION
8
+ spec.authors = ['Jonathan Quass']
9
+ spec.email = ['quassj@gmail.com']
10
+ spec.summary = 'Client for api.swgoh.help'
11
+ spec.description = 'A ruby gem client for api.swgoh.help'
12
+ spec.homepage = 'https://github.com/jquass/SWGOH-API'
13
+ spec.license = 'MIT'
14
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
15
+
16
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
17
+
18
+ spec.metadata['homepage_uri'] = spec.homepage
19
+ spec.metadata['source_code_uri'] = 'https://github.com/jquass/SWGOH-API'
20
+ spec.metadata['changelog_uri'] = 'https://github.com/jquass/SWGOH-API/blob/master/CHANGELOG.md'
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
27
+ spec.bindir = 'exe'
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+ end
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SWGOH
4
+ # The API module supports the client
5
+ module API
6
+ class Error < StandardError; end
7
+
8
+ module PATH
9
+ BASE = 'api.swgoh.help'
10
+ AUTH_SIGNIN = 'auth/signin'
11
+ PLAYER = 'swgoh/player'
12
+ GUILD = 'swgoh/guild'
13
+ UNITS = 'swgoh/units'
14
+ ROSTER = 'swgoh/roster'
15
+ DATA = 'swgoh/data'
16
+ ZETAS = 'swgoh/zetas'
17
+ SQUADS = 'swgoh/squads'
18
+ EVENTS = 'swgoh/events'
19
+ BATTLES = 'swgoh/battles'
20
+ REGISTRATION = 'registration'
21
+ end
22
+
23
+ module LANGUAGE
24
+ CHS_CN = 'CHS_CN'
25
+ CHT_CN = 'CHT_CN'
26
+ ENG_US = 'ENG_US'
27
+ FRE_FR = 'FRE_FR'
28
+ GER_DE = 'GER_DE'
29
+ IND_ID = 'IND_ID'
30
+ ITA_IT = 'ITA_IT'
31
+ JPN_JP = 'JPN_JP'
32
+ KOR_KR = 'KOR_KR'
33
+ POR_BR = 'POR_BR'
34
+ RUS_RU = 'RUS_RU'
35
+ SPA_XM = 'SPA_XM'
36
+ THA_TH = 'THA_TH'
37
+ TUR_TR = 'TUR_TR'
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,133 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'SWGOH/API'
4
+ require 'uri'
5
+ require 'net/http'
6
+ require 'json'
7
+
8
+ # The CLIENT class makes requests to api.swgoh.api
9
+ class CLIENT
10
+ attr_accessor :language, :enums, :structure
11
+ attr_writer :access_token
12
+
13
+ def initialize
14
+ @language = SWGOH::API::LANGUAGE::ENG_US
15
+ @enums = false
16
+ @structure = false
17
+ @access_token = nil
18
+ end
19
+
20
+ # @return [Boolean]
21
+ def authorized?
22
+ !@access_token.nil?
23
+ end
24
+
25
+ # @param [String] username
26
+ # @param [String] password
27
+ # @return [String | nil]
28
+ def authorize(username, password)
29
+ form = auth_request_form(username, password)
30
+ path = "https://#{SWGOH::API::PATH::BASE}/#{SWGOH::API::PATH::AUTH_SIGNIN}"
31
+ res = Net::HTTP.post_form(URI(path), form)
32
+ return log_error(res) unless res.is_a?(Net::HTTPSuccess)
33
+
34
+ @access_token = JSON.parse(res.body)['access_token']
35
+ end
36
+
37
+ # @param [Array] ally_codes
38
+ # @return [JSON || nil]
39
+ def get_players(ally_codes)
40
+ request(SWGOH::API::PATH::PLAYER, ally_codes)
41
+ end
42
+
43
+ # @param [Array] ally_codes
44
+ # @return [JSON || nil]
45
+ def get_guilds(ally_codes)
46
+ request(SWGOH::API::PATH::GUILD, ally_codes)
47
+ end
48
+
49
+ # @param [Array] ally_codes
50
+ # @return [JSON || nil]
51
+ def get_rosters(ally_codes)
52
+ request(SWGOH::API::PATH::ROSTER, ally_codes)
53
+ end
54
+
55
+ # @param [Array] ally_codes
56
+ # @return [JSON || nil]
57
+ def get_units(ally_codes)
58
+ request(SWGOH::API::PATH::UNITS, ally_codes)
59
+ end
60
+
61
+ # @param [Array] ally_codes
62
+ # @return [JSON || nil]
63
+ def get_zetas(ally_codes)
64
+ request(SWGOH::API::PATH::ZETAS, ally_codes)
65
+ end
66
+
67
+ # @param [Array] ally_codes
68
+ # @return [JSON || nil]
69
+ def get_squads(ally_codes)
70
+ request(SWGOH::API::PATH::SQUADS, ally_codes)
71
+ end
72
+
73
+ # @param [Array] ally_codes
74
+ # @return [JSON || nil]
75
+ def get_events(ally_codes)
76
+ request(SWGOH::API::PATH::EVENTS, ally_codes)
77
+ end
78
+
79
+ # @param [Array] ally_codes
80
+ # @return [JSON || nil]
81
+ def get_battles(ally_codes)
82
+ request(SWGOH::API::PATH::BATTLES, ally_codes)
83
+ end
84
+
85
+ private
86
+
87
+ attr_reader :access_token
88
+
89
+ # @param [PATH] path
90
+ # @param [Array] ally_codes
91
+ # @return [JSON || nil]
92
+ def request(path, ally_codes)
93
+ return unless authorized?
94
+
95
+ uri = URI("https://#{SWGOH::API::PATH::BASE}/#{path}")
96
+ response = Net::HTTP.post(uri, request_data(ally_codes), request_headers)
97
+ return log_error(response) unless response.is_a?(Net::HTTPSuccess)
98
+
99
+ JSON.parse(response.body)
100
+ end
101
+
102
+ def request_headers
103
+ {
104
+ Authorization: 'Bearer ' + @access_token,
105
+ 'Content-Type': 'application/json;charset=utf-8'
106
+ }
107
+ end
108
+
109
+ def auth_request_form(username, password)
110
+ {
111
+ username: username,
112
+ password: password,
113
+ grant_type: 'password',
114
+ client_id: 123,
115
+ client_secret: 'abc'
116
+ }
117
+ end
118
+
119
+ # @return [JSON]
120
+ def request_data(ally_codes)
121
+ {
122
+ allyCodes: ally_codes,
123
+ language: language,
124
+ enums: enums,
125
+ structure: structure
126
+ }.to_json
127
+ end
128
+
129
+ def log_error(result)
130
+ puts result.inspect
131
+ puts result.body if result.is_a?(Net::HTTPResponse)
132
+ end
133
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SWGOH
4
+ module API
5
+ VERSION = '0.3.19'
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: SWGOH-API
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.19
5
+ platform: ruby
6
+ authors:
7
+ - Jonathan Quass
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-10-17 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A ruby gem client for api.swgoh.help
14
+ email:
15
+ - quassj@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - ".travis.yml"
22
+ - CHANGELOG.md
23
+ - CODE_OF_CONDUCT.md
24
+ - Gemfile
25
+ - Gemfile.lock
26
+ - LICENSE.txt
27
+ - README.md
28
+ - Rakefile
29
+ - SWGOH-API.gemspec
30
+ - bin/setup
31
+ - lib/SWGOH/API.rb
32
+ - lib/SWGOH/API/CLIENT/client.rb
33
+ - lib/SWGOH/API/version.rb
34
+ homepage: https://github.com/jquass/SWGOH-API
35
+ licenses:
36
+ - MIT
37
+ metadata:
38
+ allowed_push_host: https://rubygems.org
39
+ homepage_uri: https://github.com/jquass/SWGOH-API
40
+ source_code_uri: https://github.com/jquass/SWGOH-API
41
+ changelog_uri: https://github.com/jquass/SWGOH-API/blob/master/CHANGELOG.md
42
+ post_install_message:
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.3.0
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ requirements: []
57
+ rubygems_version: 3.1.2
58
+ signing_key:
59
+ specification_version: 4
60
+ summary: Client for api.swgoh.help
61
+ test_files: []