garen 1.0.3 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c57f539914e9dd159fb11d6beefc7c9b805cda88
4
- data.tar.gz: 6afdbbbd2a817345e2e226398ff2d1d089d4ce8b
3
+ metadata.gz: 7481759823efabdcde8f5577ccc0f8a68689d79d
4
+ data.tar.gz: 9d5ab44109017cba5f95fa3861baa6366009e199
5
5
  SHA512:
6
- metadata.gz: 06a7ac671c8341d4f6a0717c4082af6a521c808d5b1ddc1a9a37eae4d2ea82bbecd7959b561ebf2f2fca7c0fd0ae4d74712e68864c9244ce222f53bdc0a8cb73
7
- data.tar.gz: 277d4e663c5f63fb6b12bb69ee1c3583b6e1b5ba6f6364570ade81475162681bae429c6ab9d0ced6d64802e3863d0f2c3d10a6eec9f441679d60be2eb8033136
6
+ metadata.gz: 97070dbb2a0fcd71178c87c41b8a4011e5b5412a0df49193415a6d38f2707ae686f07357586e321943dbd4ce1ee1b9b6b395cd37940af38657137f73e3fcc548
7
+ data.tar.gz: 6fe845416e8236e3c123bfe024eddf89c9220b8b3d7f04e143746b9c9a6ffb97a36afd08e4ae6b3d4cb9439dc52415729f778b78d324dfc5abe01e65812a7e6c
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  *.gem
11
+ .DS_Store
data/README.md CHANGED
@@ -26,6 +26,12 @@ Or install it yourself as:
26
26
 
27
27
  # Latest Updates
28
28
 
29
+ Nov. 16th 2017:
30
+
31
+ Deleted the mastery and runes endpoints and associated tests, as these are being deprecated by Riot as part of their new rune system. Updated some VCRs.
32
+
33
+ Old:
34
+
29
35
  I have updated the way that rate limits are returned in the response. If you pass in the parameter 'return_rate_limits' and set it to true, it will return both the app and method limit counts. The response back from your API call will include a response hash of the api response from riot, and a rate_limit hash with the app and method counts included in.
30
36
 
31
37
  See below:
@@ -124,10 +130,6 @@ LOL-STATUS-V3
124
130
 
125
131
  .status.status
126
132
 
127
- MASTERIES-V3
128
-
129
- .masteries.by_summoner_id(summoner_id)
130
-
131
133
  MATCH-V3
132
134
 
133
135
  .match.by_match_id(match_id)
@@ -135,10 +137,6 @@ MATCH-V3
135
137
  .match.recent_by_account_id(account_id)
136
138
  .match.timeline_by_match_id(match_id)
137
139
 
138
- RUNES-V3
139
-
140
- .runes.by_summoner_id(summoner_id)
141
-
142
140
  SPECTATOR-V3
143
141
 
144
142
  .spectator.by_summoner_id(summoner_id) - will return 404 if summoner not in a game
@@ -6,9 +6,7 @@ require 'garen/client'
6
6
  require 'garen/champion'
7
7
  require 'garen/champion_mastery'
8
8
  require 'garen/league'
9
- require 'garen/masteries'
10
9
  require 'garen/match'
11
- require 'garen/runes'
12
10
  require 'garen/spectator'
13
11
  require 'garen/static'
14
12
  require 'garen/status'
@@ -1,3 +1,3 @@
1
1
  module Garen
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Baugh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-10 00:00:00.000000000 Z
11
+ date: 2017-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -188,9 +188,7 @@ files:
188
188
  - lib/garen/client.rb
189
189
  - lib/garen/configuration.rb
190
190
  - lib/garen/league.rb
191
- - lib/garen/masteries.rb
192
191
  - lib/garen/match.rb
193
- - lib/garen/runes.rb
194
192
  - lib/garen/spectator.rb
195
193
  - lib/garen/static.rb
196
194
  - lib/garen/status.rb
@@ -216,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
214
  version: '0'
217
215
  requirements: []
218
216
  rubyforge_project:
219
- rubygems_version: 2.6.11
217
+ rubygems_version: 2.6.13
220
218
  signing_key:
221
219
  specification_version: 4
222
220
  summary: An API wrapper for Riot Games League of Legends
@@ -1,9 +0,0 @@
1
- class Garen::Masteries < 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/platform/v3/masteries/by-summoner/#{summoner_id}", options)
8
- end
9
- end
@@ -1,9 +0,0 @@
1
- class Garen::Runes < 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/platform/v3/runes/by-summoner/#{summoner_id}", options)
8
- end
9
- end