starcall 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f5c6be068d4b17fb2fcabccb3cb99a186691e8e302936a88fedf1e8b33a86fb1
4
+ data.tar.gz: 59b75900fd12620bfc17afb5411869748a3739302d394634b21afa1441588071
5
+ SHA512:
6
+ metadata.gz: db1d88e8c618b4572d65af78ce5ae0374267ef58da292abdc7a5ede1d7bb6c6317ee81a14b2d67aa890c08b16ddc60c2ffb9b82a48ce152384d09e9d0ef21e5c
7
+ data.tar.gz: ba5b2610e5cf5ce269023df02293e62c9ebfa715618e6746e97256e60a459bb4e830f83daf8e0a2fa6d97ad0e3c5664c290e848b75b68414006da32bb19634b2
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build Starcall-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install Starcall-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install Starcall-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push Starcall-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RuboCop" fullCmd="rubocop" taksId="rubocop" /><RakeGroup description="" fullCmd="" taksId="rubocop"><RakeTask description="Auto-correct RuboCop offenses" fullCmd="rubocop:auto_correct" taksId="auto_correct" /></RakeGroup><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeGroup description="" fullCmd="" taksId="travis"><RakeTask description="Run rubocop and rspec" fullCmd="travis:run" taksId="run" /></RakeGroup><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -0,0 +1,52 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'bin/*'
4
+ - 'vendor/**/*'
5
+
6
+ Layout/LineLength:
7
+ Max: 120
8
+
9
+ Metrics/BlockLength:
10
+ Max: 150
11
+
12
+ Layout/SpaceAroundMethodCallOperator:
13
+ Enabled: true
14
+
15
+ Lint/RaiseException:
16
+ Enabled: true
17
+
18
+ Lint/StructNewOverride:
19
+ Enabled: true
20
+
21
+ Style/ExponentialNotation:
22
+ Enabled: true
23
+
24
+ Style/HashEachMethods:
25
+ Enabled: true
26
+
27
+ Style/HashTransformKeys:
28
+ Enabled: true
29
+
30
+ Style/HashTransformValues:
31
+ Enabled: true
32
+
33
+ Layout/EmptyLinesAroundAttributeAccessor:
34
+ Enabled: true
35
+
36
+ Lint/DeprecatedOpenSSLConstant:
37
+ Enabled: true
38
+
39
+ Lint/MixedRegexpCaptureTypes:
40
+ Enabled: true
41
+
42
+ Style/RedundantFetchBlock:
43
+ Enabled: true
44
+
45
+ Style/RedundantRegexpCharacterClass:
46
+ Enabled: true
47
+
48
+ Style/RedundantRegexpEscape:
49
+ Enabled: true
50
+
51
+ Style/SlicingWithRange:
52
+ Enabled: true
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ cache: bundler
3
+ rvm:
4
+ - 2.6.5
5
+ script:
6
+ - bundle exec rake travis:run
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in starcall.gemspec
6
+ gemspec
@@ -0,0 +1,68 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ starcall (0.1.1)
5
+ httparty (~> 0.17)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.1)
11
+ diff-lcs (1.3)
12
+ httparty (0.18.1)
13
+ mime-types (~> 3.0)
14
+ multi_xml (>= 0.5.2)
15
+ mime-types (3.3.1)
16
+ mime-types-data (~> 3.2015)
17
+ mime-types-data (3.2020.0512)
18
+ multi_xml (0.6.0)
19
+ parallel (1.19.2)
20
+ parser (2.7.1.4)
21
+ ast (~> 2.4.1)
22
+ rainbow (3.0.0)
23
+ rake (12.3.3)
24
+ regexp_parser (1.7.1)
25
+ rexml (3.2.4)
26
+ rspec (3.9.0)
27
+ rspec-core (~> 3.9.0)
28
+ rspec-expectations (~> 3.9.0)
29
+ rspec-mocks (~> 3.9.0)
30
+ rspec-core (3.9.2)
31
+ rspec-support (~> 3.9.3)
32
+ rspec-expectations (3.9.2)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.9.0)
35
+ rspec-mocks (3.9.1)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.9.0)
38
+ rspec-support (3.9.3)
39
+ rubocop (0.86.0)
40
+ parallel (~> 1.10)
41
+ parser (>= 2.7.0.1)
42
+ rainbow (>= 2.2.2, < 4.0)
43
+ regexp_parser (>= 1.7)
44
+ rexml
45
+ rubocop-ast (>= 0.0.3, < 1.0)
46
+ ruby-progressbar (~> 1.7)
47
+ unicode-display_width (>= 1.4.0, < 2.0)
48
+ rubocop-ast (0.0.3)
49
+ parser (>= 2.7.0.1)
50
+ rubocop-rspec (1.40.0)
51
+ rubocop (>= 0.68.1)
52
+ ruby-progressbar (1.10.1)
53
+ unicode-display_width (1.7.0)
54
+
55
+ PLATFORMS
56
+ ruby
57
+ x64-mingw32
58
+
59
+ DEPENDENCIES
60
+ bundler (~> 2.0)
61
+ rake (~> 12.3)
62
+ rspec (~> 3.0)
63
+ rubocop (~> 0.86)
64
+ rubocop-rspec (~> 1.40)
65
+ starcall!
66
+
67
+ BUNDLED WITH
68
+ 2.0.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Kelvin Samuel
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,101 @@
1
+ ![starcall](starcall.png)
2
+
3
+ ----
4
+ [![Build Status](https://travis-ci.com/kks110/starcall.svg?branch=master)](https://travis-ci.com/kks110/starcall)
5
+
6
+ ---
7
+ A Gem to help with calls to Riot API.
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ gem 'starcall'
14
+
15
+
16
+ And then execute:
17
+
18
+ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ gem install starcall
23
+
24
+ ## Usage
25
+
26
+ ### Static Queries
27
+
28
+ You can call any of the below methods like:
29
+ ```ruby
30
+ Starcall::StaticData.season_ids
31
+ ```
32
+
33
+ #### `season_ids`
34
+
35
+ Season ids are used in match history to indicate which season a match was played.
36
+ A full list of season ids can be retrieved with the below method.
37
+
38
+ #### `queue_ids`
39
+ Queue ids show up in several places throughout the API and are used to indicate which kind of match was played.
40
+ A full list of queue ids can be can be retrieved with the below method.
41
+
42
+ #### `map_ids`
43
+ Map ids are used in match history to indicate which map a match was played.
44
+ A full list of map ids can be can be retrieved with the below method.
45
+
46
+ #### `game_modes`
47
+ A full list of game modes can be can be retrieved with the below method.
48
+
49
+ #### `game_types`
50
+ A full list of game types can be can be retrieved with the below method.
51
+
52
+ #### Data Dragon
53
+ Data Dragon is Riots way of centralizing League of Legends game data and assets, including champions, items, runes, summoner spells, and profile icons.
54
+ All of which can be used by third-party developers.
55
+ Please be aware that Riot update Data Dragon after each League of Legends manualy, so it is not always updated immediately after a patch.
56
+
57
+ #### `dd_versions`
58
+ All valid Data Dragon versions can be can be retrieved with the below method.
59
+ Typically there's only a single build of Data Dragon for a given patch,
60
+ however occasionally there will be additional builds.
61
+ This typically occurs when there's an error in the original build.
62
+ As such, you should always use the most recent Data Dragon version for a given patch for the best results.
63
+
64
+ #### `dd_euw_versions`
65
+ Data Dragon versions aren't always equivalent to the League of Legends client version in a region.
66
+ You can find the version each region is using via the realms files.
67
+ This function returns the EWU versions
68
+
69
+ #### `dd_champions`
70
+ This returns a list of all champion with a brief summary, including stats, id and blurb.
71
+
72
+ #### `dd_specific_champion(champion_name:)`
73
+ For me detailed and specific information about a champion, this call can be used.
74
+
75
+ #### `dd_items`
76
+ Data Dragon also provides detail for every item in the game.
77
+ with this method you can find info such as the item's description, purchase value, sell value,
78
+ items it builds from, items it builds into, and stats granted from the item.
79
+
80
+ #### `dd_summoner_spells`
81
+ Details about summoner spells.
82
+
83
+ #### `dd_profile_icons`
84
+ Details about profile icons and where they can be found on the sprite sheets.
85
+
86
+
87
+ ## Development
88
+
89
+ After checking out the repo, run `bundle install` to install dependencies.
90
+
91
+ To run the test suite, you can run `bundle exec rake spec`.
92
+
93
+ To run rubocop, you can run `bundle exec rake rubocop`.
94
+
95
+ To install this gem onto your local machine, run `bundle exec rake install`.
96
+
97
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
98
+
99
+ ## License
100
+
101
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'English'
4
+ require 'bundler/gem_tasks'
5
+ require 'rspec/core/rake_task'
6
+ require 'rubocop/rake_task'
7
+
8
+ RSpec::Core::RakeTask.new(:spec)
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ namespace :travis do
13
+ desc 'Run rspec and rubocop'
14
+ travis_tasks = %w[spec rubocop]
15
+ task :run do
16
+ travis_tasks.each do |task|
17
+ puts "Starting to run #{task}..."
18
+ system("bundle exec rake #{task}")
19
+ raise "#{task} failed!" unless $CHILD_STATUS.exitstatus.zero?
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'starcall/version'
4
+
5
+ module Starcall
6
+ class Error < StandardError; end
7
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'httparty'
4
+
5
+ # A small class to make a HTTP get request using the passed in URL
6
+ class ApiRequests
7
+ def self.make_request(url:)
8
+ HTTParty.get(url).parsed_response
9
+ end
10
+ end
@@ -0,0 +1,121 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'starcall/api_requests'
4
+
5
+ module Starcall
6
+ # This class is used for all things Static Data related.
7
+ # Using Riots Static data and Data Dragon.
8
+ class StaticData
9
+ # Season ids are used in match history to indicate which season a match was played.
10
+ # A full list of season ids can be retrieved with the below method.
11
+ def self.season_ids
12
+ ApiRequests.make_request(url: static_url(search_term: 'seasons'))
13
+ end
14
+
15
+ # Queue ids show up in several places throughout the API and are used to indicate which kind of match was played.
16
+ # A full list of queue ids can be can be retrieved with the below method.
17
+ def self.queue_ids
18
+ ApiRequests.make_request(url: static_url(search_term: 'queues'))
19
+ end
20
+
21
+ # Map ids are used in match history to indicate which map a match was played.
22
+ # A full list of map ids can be can be retrieved with the below method.
23
+ def self.map_ids
24
+ ApiRequests.make_request(url: static_url(search_term: 'maps'))
25
+ end
26
+
27
+ # A full list of game modes can be can be retrieved with the below method.
28
+ def self.game_modes
29
+ ApiRequests.make_request(url: static_url(search_term: 'gameModes'))
30
+ end
31
+
32
+ # A full list of game types can be can be retrieved with the below method.
33
+ def self.game_types
34
+ ApiRequests.make_request(url: static_url(search_term: 'gameTypes'))
35
+ end
36
+
37
+ # All valid Data Dragon versions can be can be retrieved with the below method.
38
+ # Typically there's only a single build of Data Dragon for a given patch,
39
+ # however occasionally there will be additional builds.
40
+ # This typically occurs when there's an error in the original build.
41
+ # As such, you should always use the most recent Data Dragon version for a given patch for the best results.
42
+ def self.dd_versions
43
+ ApiRequests.make_request(url: dd_versions_url)
44
+ end
45
+
46
+ # Data Dragon versions aren't always equivalent to the League of Legends client version in a region.
47
+ # You can find the version each region is using via the realms files.
48
+ def self.dd_euw_versions
49
+ ApiRequests.make_request(url: dd_euw_specific_version_url)
50
+ end
51
+
52
+ # This returns a list of all champion with a brief summary, including stats, id and blurb.
53
+ def self.dd_champions
54
+ ApiRequests.make_request(url: dd_url(game_component: 'champion'))
55
+ end
56
+
57
+ # For me detailed and specific information about a champion, this call can be used.
58
+ def self.dd_specific_champion(champion_name:)
59
+ ApiRequests.make_request(url: dd_specific_champion_url(champion_name: champion_name))
60
+ end
61
+
62
+ # Data Dragon also provides detail for every item in the game.
63
+ # with this method you can find info such as the item's description, purchase value, sell value,
64
+ # items it builds from, items it builds into, and stats granted from the item.
65
+ def self.dd_items
66
+ ApiRequests.make_request(url: dd_url(game_component: 'item'))
67
+ end
68
+
69
+ # Details about summoner spells.
70
+ def self.dd_summoner_spells
71
+ ApiRequests.make_request(url: dd_url(game_component: 'summoner'))
72
+ end
73
+
74
+ # Details about profile icons and where they can be found on the sprite sheets.
75
+ def self.dd_profile_icons
76
+ ApiRequests.make_request(url: dd_url(game_component: 'profileicon'))
77
+ end
78
+
79
+ # This help build the static data url for thins such as map ids.
80
+ def self.static_url(search_term:)
81
+ "http://static.developer.riotgames.com/docs/lol/#{search_term}.json"
82
+ end
83
+
84
+ # This is the data dragon version URL
85
+ def self.dd_versions_url
86
+ 'https://ddragon.leagueoflegends.com/api/versions.json'
87
+ end
88
+
89
+ # This is the specific EUW data dragon version URL.
90
+ def self.dd_euw_specific_version_url
91
+ 'https://ddragon.leagueoflegends.com/realms/euw.json'
92
+ end
93
+
94
+ # This gets the current version of specific game components, such as champions.
95
+ def self.dd_current_data_version(game_component:)
96
+ ApiRequests.make_request(url: dd_euw_specific_version_url)['n'][game_component]
97
+ end
98
+
99
+ # This builds the data dragon url for specific components such as champions,
100
+ # using the above method to get the version.
101
+ def self.dd_url(game_component:)
102
+ 'http://ddragon.leagueoflegends.com/cdn/'\
103
+ "#{dd_current_data_version(game_component: game_component)}/data/en_GB/"\
104
+ "#{game_component}.json"
105
+ end
106
+
107
+ # This builds the data dragon url for a specific champion.
108
+ def self.dd_specific_champion_url(champion_name:)
109
+ 'http://ddragon.leagueoflegends.com/cdn/'\
110
+ "#{dd_current_data_version(game_component: 'champion')}"\
111
+ "/data/en_GB/champion/#{champion_name}.json"
112
+ end
113
+
114
+ private_class_method :static_url,
115
+ :dd_versions_url,
116
+ :dd_euw_specific_version_url,
117
+ :dd_current_data_version,
118
+ :dd_url,
119
+ :dd_specific_champion_url
120
+ end
121
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Starcall
4
+ VERSION = '0.1.1'
5
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'starcall/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'starcall'
9
+ spec.version = Starcall::VERSION
10
+ spec.authors = ['Kelvin Samuel']
11
+ spec.email = ['kelvin@kks110.com']
12
+
13
+ spec.summary = 'A Helper Gem for calling Riots API'
14
+ spec.description = 'You can use this gem to call Riot Games API without having to write the requests yourself.'
15
+ spec.homepage = 'https://github.com/kks110/starcall'
16
+ spec.license = 'MIT'
17
+
18
+ spec.metadata['homepage_uri'] = spec.homepage
19
+ spec.metadata['source_code_uri'] = 'https://github.com/kks110/starcall'
20
+ spec.metadata['changelog_uri'] = 'https://github.com/kks110/starcall'
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
+
28
+ spec.bindir = 'exe'
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ['lib']
31
+
32
+ spec.add_development_dependency 'bundler', '~> 2.0'
33
+ spec.add_development_dependency 'rake', '~> 12.3'
34
+ spec.add_development_dependency 'rspec', '~> 3.0'
35
+ spec.add_development_dependency 'rubocop', '~> 0.86'
36
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.40'
37
+
38
+ spec.add_runtime_dependency 'httparty', '~> 0.17'
39
+ end
Binary file
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: starcall
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Kelvin Samuel
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-06-25 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: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '12.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '12.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.86'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.86'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.40'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.40'
83
+ - !ruby/object:Gem::Dependency
84
+ name: httparty
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.17'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.17'
97
+ description: You can use this gem to call Riot Games API without having to write the
98
+ requests yourself.
99
+ email:
100
+ - kelvin@kks110.com
101
+ executables: []
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".rakeTasks"
107
+ - ".rubocop.yml"
108
+ - ".travis.yml"
109
+ - Gemfile
110
+ - Gemfile.lock
111
+ - LICENSE.txt
112
+ - README.md
113
+ - Rakefile
114
+ - lib/starcall.rb
115
+ - lib/starcall/api_requests.rb
116
+ - lib/starcall/static_data.rb
117
+ - lib/starcall/version.rb
118
+ - starcall.gemspec
119
+ - starcall.png
120
+ homepage: https://github.com/kks110/starcall
121
+ licenses:
122
+ - MIT
123
+ metadata:
124
+ homepage_uri: https://github.com/kks110/starcall
125
+ source_code_uri: https://github.com/kks110/starcall
126
+ changelog_uri: https://github.com/kks110/starcall
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubygems_version: 3.0.3
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: A Helper Gem for calling Riots API
146
+ test_files: []