playstationnetwork-api 0.0.2 → 0.0.3

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: ddf360596a2accf62517c32f622fabc52164a7a9
4
- data.tar.gz: ae3aa1a32e707693934b9ea77d15a1a27268b90b
3
+ metadata.gz: 0d979f78c62a903d0528298317aad855b6de235a
4
+ data.tar.gz: 342f58da671803ab693cdd9888050a623d1e0a9f
5
5
  SHA512:
6
- metadata.gz: be8c64c1178d3be54738ab91dde248db5d5c6aaf386dbd45f593881f5f74f7eb7c5ff5ab9dd83298278faba4dd6c5b4c054e6aac2efb0cbc368293c74e92fd07
7
- data.tar.gz: c8e9b8328a3746ae83abf683d2d6ebde0350fa6cd52f29cef9f35e83cf369575c4834d0406eeab35579f252a9f7f877d8cce50d08ac790339aea08803c2db746
6
+ metadata.gz: 65332e8c97ff720475ddcf1ca706904ebca7f27e9f3592870321e91b487313e4a533f7fd3c7204d041c0d8bcef483ef6085ccdadab5b0863c9bf1af9dde088d1
7
+ data.tar.gz: 3bb73e58a0ea73711bd2ffb5a6ed042d1810c48204a75a85299edc7a11566675505af9602b5a529ccfe5d0fb37d414e23b6771e54971fdab46cc397368c3772e
@@ -9,8 +9,8 @@ module PlayStationNetwork
9
9
  self.games = games
10
10
  end
11
11
 
12
- def self.find(username)
13
- response = PlayStationNetwork::API.get("/#{username}/trophies")
12
+ def self.find(username, offset = 0)
13
+ response = PlayStationNetwork::API.get("/#{username}/trophies/o/#{offset}")
14
14
 
15
15
  if response.success?
16
16
  new(
@@ -1,3 +1,9 @@
1
1
  module PlayStationNetwork
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
+
4
+ # Changelog
5
+ #
6
+ # v0.0.1 - Initial
7
+ # v0.0.2 - Added Trophy Information
8
+ # v0.0.3 - Added Trophies offset
3
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playstationnetwork-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Radulescu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-09 00:00:00.000000000 Z
11
+ date: 2016-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty