garen 1.0.0
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.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +22 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +38 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/garen.gemspec +46 -0
- data/lib/garen.rb +38 -0
- data/lib/garen/base.rb +6 -0
- data/lib/garen/champion.rb +13 -0
- data/lib/garen/champion_mastery.rb +17 -0
- data/lib/garen/client.rb +66 -0
- data/lib/garen/configuration.rb +7 -0
- data/lib/garen/league.rb +21 -0
- data/lib/garen/masteries.rb +9 -0
- data/lib/garen/match.rb +21 -0
- data/lib/garen/runes.rb +9 -0
- data/lib/garen/spectator.rb +13 -0
- data/lib/garen/static.rb +69 -0
- data/lib/garen/status.rb +9 -0
- data/lib/garen/summoner.rb +17 -0
- data/lib/garen/version.rb +3 -0
- metadata +223 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2cd2b7a024fdddd9bf42b063c1afaf60358255d2
|
4
|
+
data.tar.gz: 3b7b8865e79831fd2620ed4aab3ad973c85cbab9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 49566ec9385ea95fd8d0ada4a044adcb873b866fb11e98836fb01f58c1b58964a80416497ec2421d149025aa68002143efc8fe7ff9911a31701d89858d29f8a1
|
7
|
+
data.tar.gz: 70ef0b65cf71c2523f3cea41b9ebc0ed3719137e02105a4f2db95a64fe637ddb186041d3abe6dedcebf12674ee598044209ba28199fd0c717bb61cf3d19deb38
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.4
|
3
|
+
|
4
|
+
Documentation:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Metrics/LineLength:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
Metrics/MethodLength:
|
11
|
+
Exclude:
|
12
|
+
- test/*
|
13
|
+
|
14
|
+
Metrics/AbcSize:
|
15
|
+
Exclude:
|
16
|
+
- test/*
|
17
|
+
|
18
|
+
Style/ClassAndModuleChildren:
|
19
|
+
EnforcedStyle: compact
|
20
|
+
|
21
|
+
Style/FrozenStringLiteralComment:
|
22
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Daniel Baugh
|
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,38 @@
|
|
1
|
+
[](https://codeclimate.com/github/b4ugh/garen)
|
2
|
+
[](https://codeclimate.com/github/b4ugh/garen/coverage)
|
3
|
+
|
4
|
+
# Garen
|
5
|
+
|
6
|
+
An API wrapper for Riot Games (League of Legends)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'garen'
|
14
|
+
```
|
15
|
+
|
16
|
+
And then execute:
|
17
|
+
|
18
|
+
$ bundle
|
19
|
+
|
20
|
+
Or install it yourself as:
|
21
|
+
|
22
|
+
$ gem install garen
|
23
|
+
|
24
|
+
## Usage
|
25
|
+
|
26
|
+
TODO: Write usage instructions here
|
27
|
+
|
28
|
+
## Development
|
29
|
+
|
30
|
+
After checking out the repo, you can run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
31
|
+
|
32
|
+
## Contributing
|
33
|
+
|
34
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/b4ugh/garen.
|
35
|
+
|
36
|
+
## License
|
37
|
+
|
38
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'garen'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require 'pry'
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/garen.gemspec
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'garen/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'garen'
|
9
|
+
spec.version = Garen::VERSION
|
10
|
+
spec.authors = ['Daniel Baugh']
|
11
|
+
spec.email = ['daniel.r.baugh@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'An API wrapper for Riot Games League of Legends'
|
14
|
+
spec.description = 'An API wrapper for Riot Games League of Legends'
|
15
|
+
spec.homepage = 'https://github.com/b4ugh/garen'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
# if spec.respond_to?(:metadata)
|
21
|
+
# spec.metadata['allowed_push_host'] = "Set to 'http://mygemserver.com'"
|
22
|
+
# else
|
23
|
+
# raise 'RubyGems 2.0 or newer is required to protect against ' \
|
24
|
+
# 'public gem pushes.'
|
25
|
+
# end
|
26
|
+
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
28
|
+
f.match(%r{^(test|spec|features)/})
|
29
|
+
end
|
30
|
+
spec.bindir = 'exe'
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ['lib']
|
33
|
+
|
34
|
+
spec.add_dependency 'activesupport', '~> 5.1'
|
35
|
+
spec.add_dependency 'rails', '~> 5.1'
|
36
|
+
spec.add_dependency 'faraday', '~> 0.13.1'
|
37
|
+
spec.add_dependency 'faraday_middleware', '~> 0.10.0'
|
38
|
+
spec.add_dependency 'rash', '~> 0.4.0'
|
39
|
+
|
40
|
+
spec.add_development_dependency 'bundler', '~> 1.15'
|
41
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
42
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
43
|
+
spec.add_development_dependency 'vcr', '~> 3.0'
|
44
|
+
spec.add_development_dependency 'simplecov', '~> 0.15.0'
|
45
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
46
|
+
end
|
data/lib/garen.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'garen/version'
|
2
|
+
require 'garen/configuration'
|
3
|
+
require 'garen/base'
|
4
|
+
require 'garen/client'
|
5
|
+
|
6
|
+
require 'garen/champion'
|
7
|
+
require 'garen/champion_mastery'
|
8
|
+
require 'garen/league'
|
9
|
+
require 'garen/masteries'
|
10
|
+
require 'garen/match'
|
11
|
+
require 'garen/runes'
|
12
|
+
require 'garen/spectator'
|
13
|
+
require 'garen/static'
|
14
|
+
require 'garen/status'
|
15
|
+
require 'garen/summoner'
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
require 'faraday'
|
19
|
+
require 'faraday_middleware'
|
20
|
+
require 'active_support/all'
|
21
|
+
|
22
|
+
module Garen
|
23
|
+
class << self
|
24
|
+
attr_accessor :configuration
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.configuration
|
28
|
+
@configuration ||= Configuration.new
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.reset
|
32
|
+
@configuration = Configuration.new
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.configure
|
36
|
+
yield(configuration)
|
37
|
+
end
|
38
|
+
end
|
data/lib/garen/base.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
class Garen::Champion < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def all(options = {})
|
7
|
+
make_request(@conn, 'lol/platform/v3/champions', options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def by_champion_id(champion_id, options = {})
|
11
|
+
make_request(@conn, "lol/platform/v3/champions/#{champion_id}", options)
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class Garen::ChampionMastery < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def by_summoner_and_champion_id(summoner_id, champion_id, options = {})
|
7
|
+
make_request(@conn, "lol/champion-mastery/v3/champion-masteries/by-summoner/#{summoner_id}/by-champion/#{champion_id}", options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def by_summoner_id(summoner_id, options = {})
|
11
|
+
make_request(@conn, "lol/champion-mastery/v3/champion-masteries/by-summoner/#{summoner_id}", options)
|
12
|
+
end
|
13
|
+
|
14
|
+
def score_by_summoner_id(summoner_id, options = {})
|
15
|
+
make_request(@conn, "lol/champion-mastery/v3/scores/by-summoner/#{summoner_id}", options)
|
16
|
+
end
|
17
|
+
end
|
data/lib/garen/client.rb
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
class Garen::Client
|
2
|
+
def initialize(params = {})
|
3
|
+
@api_key = params[:api_key] || Garen.configuration.api_key
|
4
|
+
@service_platform = params[:service_platform] || 'na1'
|
5
|
+
@debug = params[:debug].present? ? :logger : :raise_error
|
6
|
+
|
7
|
+
raise ArgumentError, 'Riot API Key Required' unless @api_key.present?
|
8
|
+
@conn = create_connection
|
9
|
+
end
|
10
|
+
|
11
|
+
def create_connection
|
12
|
+
Faraday.new(url: "https://#{@service_platform.downcase}.api.riotgames.com") do |f|
|
13
|
+
f.headers['X-Riot-Token'] = @api_key
|
14
|
+
f.headers['Accept'] = 'application/json'
|
15
|
+
f.headers['User-Agent'] = "Garen api gem #{Garen::VERSION}"
|
16
|
+
|
17
|
+
f.request :url_encoded
|
18
|
+
|
19
|
+
f.response :rashify
|
20
|
+
f.response :json
|
21
|
+
f.response @debug
|
22
|
+
|
23
|
+
f.adapter Faraday.default_adapter
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def champion
|
28
|
+
Garen::Champion.new(@conn)
|
29
|
+
end
|
30
|
+
|
31
|
+
def champion_mastery
|
32
|
+
Garen::ChampionMastery.new(@conn)
|
33
|
+
end
|
34
|
+
|
35
|
+
def league
|
36
|
+
Garen::League.new(@conn)
|
37
|
+
end
|
38
|
+
|
39
|
+
def masteries
|
40
|
+
Garen::Masteries.new(@conn)
|
41
|
+
end
|
42
|
+
|
43
|
+
def match
|
44
|
+
Garen::Match.new(@conn)
|
45
|
+
end
|
46
|
+
|
47
|
+
def runes
|
48
|
+
Garen::Runes.new(@conn)
|
49
|
+
end
|
50
|
+
|
51
|
+
def spectator
|
52
|
+
Garen::Spectator.new(@conn)
|
53
|
+
end
|
54
|
+
|
55
|
+
def static
|
56
|
+
Garen::Static.new(@conn)
|
57
|
+
end
|
58
|
+
|
59
|
+
def status
|
60
|
+
Garen::Status.new(@conn)
|
61
|
+
end
|
62
|
+
|
63
|
+
def summoner
|
64
|
+
Garen::Summoner.new(@conn)
|
65
|
+
end
|
66
|
+
end
|
data/lib/garen/league.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
class Garen::League < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def by_summoner_id(summoner_id, options = {})
|
7
|
+
make_request(@conn, "lol/league/v3/leagues/by-summoner/#{summoner_id}", options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def challenger(queue = 'RANKED_SOLO_5x5', options = {})
|
11
|
+
make_request(@conn, "lol/league/v3/challengerleagues/by-queue/#{queue}", options)
|
12
|
+
end
|
13
|
+
|
14
|
+
def master(queue = 'RANKED_SOLO_5x5', options = {})
|
15
|
+
make_request(@conn, "lol/league/v3/masterleagues/by-queue/#{queue}", options)
|
16
|
+
end
|
17
|
+
|
18
|
+
def position_by_summoner_id(summoner_id, options = {})
|
19
|
+
make_request(@conn, "lol/league/v3/positions/by-summoner/#{summoner_id}", options)
|
20
|
+
end
|
21
|
+
end
|
data/lib/garen/match.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
class Garen::Match < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def by_account_id(account_id, options = {})
|
7
|
+
make_request(@conn, "lol/match/v3/matchlists/by-account/#{account_id}", options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def by_match_id(match_id, options = {})
|
11
|
+
make_request(@conn, "lol/match/v3/matches/#{match_id}", options)
|
12
|
+
end
|
13
|
+
|
14
|
+
def recent_by_account_id(account_id, options = {})
|
15
|
+
make_request(@conn, "lol/match/v3/matchlists/by-account/#{account_id}/recent", options)
|
16
|
+
end
|
17
|
+
|
18
|
+
def timeline_by_match_id(match_id, options = {})
|
19
|
+
make_request(@conn, "lol/match/v3/timelines/by-match/#{match_id}", options)
|
20
|
+
end
|
21
|
+
end
|
data/lib/garen/runes.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
class Garen::Spectator < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def by_summoner_id(summoner_id, options = {})
|
7
|
+
make_request(@conn, "lol/spectator/v3/active-games/by-summoner/#{summoner_id}", options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def featured_games(options = {})
|
11
|
+
make_request(@conn, 'lol/spectator/v3/featured-games', options)
|
12
|
+
end
|
13
|
+
end
|
data/lib/garen/static.rb
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
class Garen::Static < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def champions(options = {})
|
7
|
+
make_request(@conn, 'lol/static-data/v3/champions', options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def champions_by_id(champion_id, options = {})
|
11
|
+
make_request(@conn, "lol/static-data/v3/champions/#{champion_id}", options)
|
12
|
+
end
|
13
|
+
|
14
|
+
def items(options = {})
|
15
|
+
make_request(@conn, 'lol/static-data/v3/items', options)
|
16
|
+
end
|
17
|
+
|
18
|
+
def items_by_id(item_id, options = {})
|
19
|
+
make_request(@conn, "lol/static-data/v3/items/#{item_id}", options)
|
20
|
+
end
|
21
|
+
|
22
|
+
def languages(options = {})
|
23
|
+
make_request(@conn, 'lol/static-data/v3/languages', options)
|
24
|
+
end
|
25
|
+
|
26
|
+
def language_strings(options = {})
|
27
|
+
make_request(@conn, 'lol/static-data/v3/language-strings', options)
|
28
|
+
end
|
29
|
+
|
30
|
+
def maps(options = {})
|
31
|
+
make_request(@conn, 'lol/static-data/v3/maps', options)
|
32
|
+
end
|
33
|
+
|
34
|
+
def masteries(options = {})
|
35
|
+
make_request(@conn, 'lol/static-data/v3/masteries', options)
|
36
|
+
end
|
37
|
+
|
38
|
+
def masteries_by_id(mastery_id, options = {})
|
39
|
+
make_request(@conn, "lol/static-data/v3/masteries/#{mastery_id}", options)
|
40
|
+
end
|
41
|
+
|
42
|
+
def profile_icons(options = {})
|
43
|
+
make_request(@conn, 'lol/static-data/v3/profile-icons', options)
|
44
|
+
end
|
45
|
+
|
46
|
+
def realms(options = {})
|
47
|
+
make_request(@conn, 'lol/static-data/v3/realms', options)
|
48
|
+
end
|
49
|
+
|
50
|
+
def runes(options = {})
|
51
|
+
make_request(@conn, 'lol/static-data/v3/runes', options)
|
52
|
+
end
|
53
|
+
|
54
|
+
def runes_by_id(rune_id, options = {})
|
55
|
+
make_request(@conn, "lol/static-data/v3/runes/#{rune_id}", options)
|
56
|
+
end
|
57
|
+
|
58
|
+
def summoner_spells(options = {})
|
59
|
+
make_request(@conn, 'lol/static-data/v3/summoner-spells', options)
|
60
|
+
end
|
61
|
+
|
62
|
+
def summoner_spells_by_id(summoner_spell_id, options = {})
|
63
|
+
make_request(@conn, "lol/static-data/v3/summoner-spells/#{summoner_spell_id}", options)
|
64
|
+
end
|
65
|
+
|
66
|
+
def version(options = {})
|
67
|
+
make_request(@conn, 'lol/static-data/v3/versions', options)
|
68
|
+
end
|
69
|
+
end
|
data/lib/garen/status.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
class Garen::Summoner < Garen::Base
|
2
|
+
def initialize(conn)
|
3
|
+
@conn = conn
|
4
|
+
end
|
5
|
+
|
6
|
+
def by_account_id(account_id, options = {})
|
7
|
+
make_request(@conn, "lol/summoner/v3/summoners/by-account/#{account_id}", options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def by_name(summoner_name, options = {})
|
11
|
+
make_request(@conn, "lol/summoner/v3/summoners/by-name/#{summoner_name}", options)
|
12
|
+
end
|
13
|
+
|
14
|
+
def by_summoner_id(summoner_id, options = {})
|
15
|
+
make_request(@conn, "lol/summoner/v3/summoners/#{summoner_id}", options)
|
16
|
+
end
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: garen
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Baugh
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '5.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '5.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: faraday
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.13.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.13.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday_middleware
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.10.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.10.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rash
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.4.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.15'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.15'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '10.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: minitest
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '5.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '5.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: vcr
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.15.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.15.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: codeclimate-test-reporter
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.0'
|
167
|
+
description: An API wrapper for Riot Games League of Legends
|
168
|
+
email:
|
169
|
+
- daniel.r.baugh@gmail.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- ".gitignore"
|
175
|
+
- ".rubocop.yml"
|
176
|
+
- ".travis.yml"
|
177
|
+
- Gemfile
|
178
|
+
- LICENSE.txt
|
179
|
+
- README.md
|
180
|
+
- Rakefile
|
181
|
+
- bin/console
|
182
|
+
- bin/setup
|
183
|
+
- garen.gemspec
|
184
|
+
- lib/garen.rb
|
185
|
+
- lib/garen/base.rb
|
186
|
+
- lib/garen/champion.rb
|
187
|
+
- lib/garen/champion_mastery.rb
|
188
|
+
- lib/garen/client.rb
|
189
|
+
- lib/garen/configuration.rb
|
190
|
+
- lib/garen/league.rb
|
191
|
+
- lib/garen/masteries.rb
|
192
|
+
- lib/garen/match.rb
|
193
|
+
- lib/garen/runes.rb
|
194
|
+
- lib/garen/spectator.rb
|
195
|
+
- lib/garen/static.rb
|
196
|
+
- lib/garen/status.rb
|
197
|
+
- lib/garen/summoner.rb
|
198
|
+
- lib/garen/version.rb
|
199
|
+
homepage: https://github.com/b4ugh/garen
|
200
|
+
licenses:
|
201
|
+
- MIT
|
202
|
+
metadata: {}
|
203
|
+
post_install_message:
|
204
|
+
rdoc_options: []
|
205
|
+
require_paths:
|
206
|
+
- lib
|
207
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
requirements: []
|
218
|
+
rubyforge_project:
|
219
|
+
rubygems_version: 2.6.11
|
220
|
+
signing_key:
|
221
|
+
specification_version: 4
|
222
|
+
summary: An API wrapper for Riot Games League of Legends
|
223
|
+
test_files: []
|