sightstone 0.2.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1566ea45d97a16bfb02822e9296b299eac3652ec
4
- data.tar.gz: db3c4c40c0118e3f40ad8248a74cfc60deb7436b
3
+ metadata.gz: 99183bf85100d46a45520091b1051982463a588d
4
+ data.tar.gz: 5d00fdc61114ddac8017d9e83390124bc72ced7f
5
5
  SHA512:
6
- metadata.gz: c4e405bead9f20bd1d485975f671adedb8aea7ee5c10e7b60a6f4428293a3689f4c5d85fe86d1e3dc124cb0839a8bea3efa8cac60dd0f8401d2069b4163728d3
7
- data.tar.gz: 0c18e8f96c8a328ccc2aea80cf463be5ec6c18c82a5c8a91639bf9ae5a76da11ebe71d3c0a1aa757ba2f5b0fe7a5b3c41ab29850f8024f22d15049b56d997cfb
6
+ metadata.gz: 0e54d154007fd08f640cd597d03d73ea2b20d17b878bd39e39d6309935817ac35bc63a7be23c833aa1b74d47987c504a0c9bcb1e50400e9a6fdf12f2ad7a4e97
7
+ data.tar.gz: 043e21dd8bd65b02baef3d5c3554afebcfc74ca9e07d07a7b13f09a42733ec2e2a049732c0904f8690b009500c5512f82e5b64ba2cdc7720c9412ee7ac421d09
@@ -6,6 +6,7 @@ require 'sightstone/modules/game_module'
6
6
  require 'sightstone/modules/league_module'
7
7
  require 'sightstone/modules/stats_module'
8
8
  require 'sightstone/modules/team_module'
9
+ #require 'sightstone/modules/datadragon_module'
9
10
 
10
11
  # This is the main class of the Sightstone gem. All calls should be perfomrmed through this class.
11
12
  # @attr [String] region The default region
@@ -7,7 +7,7 @@ class ChampionModule < SightstoneBaseModule
7
7
  @sightstone = sightstone
8
8
  end
9
9
 
10
- def champions(, optional={})
10
+ def champions(optional={})
11
11
  region = optional[:region] || @sightstone.region
12
12
  free_to_play = optional[:free_to_play]
13
13
  uri = "https://prod.api.pvp.net/api/lol/#{region}/v1.1/champion"
@@ -8,8 +8,8 @@ class StatsModule < SightstoneBaseModule
8
8
  @sightstone = sightstone
9
9
  end
10
10
 
11
- def summary(summoner, , optional={})
12
- region = optional[:region] || @sightstone.region)
11
+ def summary(summoner, optional={})
12
+ region = optional[:region] || @sightstone.region
13
13
  season = optional[:season]
14
14
 
15
15
  id = if summoner.is_a? Summoner
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sightstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bauer