riot_lol_api 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +5 -0
- data/lib/riot_lol_api/model/summoner.rb +5 -0
- data/lib/riot_lol_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 374b6a0e37ac0568602f22ad6e8933aa7dc59039
|
|
4
|
+
data.tar.gz: 5bfebbcdeb10e47a2b32783d0b439d1eed9787f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a5841862eab269a5426bf593c250f65b3e6fd90f04a433ebf75933d8e50e97bf2703383a66f0eaf59528bcf9bb352fa908e9f2d47a9127a3f2622feea0ea22d
|
|
7
|
+
data.tar.gz: bc1f16a98303f359ee9d72d19a5661ca6180821180181ccd5e01495f97096bc5752e3447781cdd679de4368260a3081ff199fa5f0f30d6bb8fcde5b490728fe9
|
data/README.md
CHANGED
|
@@ -181,6 +181,11 @@ summoner.get_league_stats
|
|
|
181
181
|
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
+
## Change logs
|
|
185
|
+
|
|
186
|
+
- v 0.1.1 : Add class mini_sery for league entry
|
|
187
|
+
- v 0.1.0 : First stable version
|
|
188
|
+
|
|
184
189
|
## Contributing
|
|
185
190
|
|
|
186
191
|
1. Fork it ( http://github.com/<my-github-username>/riot_lol_api/fork )
|
|
@@ -3,6 +3,7 @@ require 'riot_lol_api/model/player_stat_rank'
|
|
|
3
3
|
require 'riot_lol_api/model/page'
|
|
4
4
|
require 'riot_lol_api/model/game'
|
|
5
5
|
require 'riot_lol_api/model/league'
|
|
6
|
+
require 'riot_lol_api/model/mini_sery'
|
|
6
7
|
|
|
7
8
|
module RiotLolApi
|
|
8
9
|
module Model
|
|
@@ -106,6 +107,10 @@ module RiotLolApi
|
|
|
106
107
|
nil
|
|
107
108
|
end
|
|
108
109
|
end
|
|
110
|
+
|
|
111
|
+
def profile_icon
|
|
112
|
+
"#{RiotLolApi::Client.realm["cdn"]}/#{RiotLolApi::Client.realm["v"]}/img/profileicon/#{self.profile_icon_id}.png"
|
|
113
|
+
end
|
|
109
114
|
end
|
|
110
115
|
end
|
|
111
116
|
end
|
data/lib/riot_lol_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: riot_lol_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- francois_blanchard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|