riot_lol_api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97acb1526afe0a5c58b273e0001f83e5818f625a
4
- data.tar.gz: ce093f7638e7986b430e389eddc1cf02bc169dfd
3
+ metadata.gz: 374b6a0e37ac0568602f22ad6e8933aa7dc59039
4
+ data.tar.gz: 5bfebbcdeb10e47a2b32783d0b439d1eed9787f4
5
5
  SHA512:
6
- metadata.gz: 46d383514004bfa91e94ad71e37186cbc15131450d55485f5896a7232a6342cc4556cbd05c23afe8a52da979091bd1d13f77f91ea9f1e079856e8def6b1281ad
7
- data.tar.gz: 5911f772bf743b5597617b2b077654e022691b3ea18426cedd913a6ae523d188bf5954c6a29562c5c0fb8340abd7bff551ca31f70b9f7e6cc24ac2ef60d37586
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
@@ -1,3 +1,3 @@
1
1
  module RiotLolApi
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2014-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler