xbox-api 0.1.5 → 0.1.7

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.
@@ -7,42 +7,42 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- x-auth:
10
+ X-Auth:
11
11
  - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
12
- accept-encoding:
12
+ Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- accept:
14
+ Accept:
15
15
  - "*/*"
16
- user-agent:
16
+ User-Agent:
17
17
  - Ruby
18
18
  response:
19
19
  status:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- server:
23
+ Server:
24
24
  - nginx/1.6.2
25
- content-type:
25
+ Content-Type:
26
26
  - application/json
27
- transfer-encoding:
27
+ Transfer-Encoding:
28
28
  - chunked
29
- connection:
29
+ Connection:
30
30
  - keep-alive
31
- x-powered-by:
31
+ X-Powered-By:
32
32
  - PHP/5.5.20-1+deb.sury.org~trusty+1
33
- cache-control:
33
+ Cache-Control:
34
34
  - no-cache
35
- date:
36
- - Wed, 21 Jan 2015 16:11:05 GMT
37
- access-control-allow-origin:
35
+ Date:
36
+ - Wed, 21 Jan 2015 17:13:42 GMT
37
+ Access-Control-Allow-Origin:
38
38
  - "*"
39
- x-ratelimit-limit:
39
+ X-Ratelimit-Limit:
40
40
  - '120'
41
- x-ratelimit-remaining:
42
- - '118'
43
- x-ratelimit-reset:
44
- - '2936'
45
- access-control-allow-headers:
41
+ X-Ratelimit-Remaining:
42
+ - '109'
43
+ X-Ratelimit-Reset:
44
+ - '2779'
45
+ Access-Control-Allow-Headers:
46
46
  - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
47
47
  host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
48
48
  Access-Control-Request-Headers, X-Auth
@@ -63,6 +63,6 @@ http_interactions:
63
63
  an app","itemText":"Amazon Instant Video","itemImage":"http:\/\/images-eds.xboxlive.com\/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTc2eKgP7agGTjvVLMT9GUoqEU5kW5qN7NfqAgUndflgcJhKWSGVDF1WPrz.hWInmEzYDJKhyZWQKzx0BCw6LNwogdybqtDfzbbhdk36z9KQRNAYxKxZIFrTkSOWQOs5BJcYdumrqhyK2FD23aXYAX0G_4sI74dnGMcbEdMpNzZm2c-","shareRoot":"avty.xboxlive.com\/users\/xuid(2533274810770211)\/contexts\/900000136E323_2015_01\/activity\/Activity.201501.10.2.3425C168.635565151589179344","feedItemId":"avty.xboxlive.com\/users\/xuid(2533274810770211)\/contexts\/900000136E323_2015_01\/activity\/Activity.201501.10.2.3425C168.635565151589179344","itemRoot":"avty.xboxlive.com\/users\/xuid(2533274810770211)\/contexts\/900000136E323_2015_01\/activity\/Activity.201501.10.2.3425C168.635565151589179344","hasLiked":false,"authorInfo":{"name":"audibleBLiNK","secondName":"","imageUrl":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdaZjeQHY59fCTQrPSqFh7bVQEHYk6Quk07g7FT7ah5E4fFOq..pkgrzRv6HrSan8o-&background=0xababab&mode=Padding&format=png","authorType":"User","id":2533274810770211},"gamertag":"audibleBLiNK","realName":"","displayName":"audibleBLiNK","userImageUri":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdaZjeQHY59fCTQrPSqFh7bVQEHYk6Quk07g7FT7ah5E4fFOq..pkgrzRv6HrSan8o-&background=0xababab&mode=Padding&format=png","userXuid":2533274810770211},{"startTime":"2015-01-02T21:11:06.7059337Z","endTime":"2015-01-02T21:12:48.6594471Z","sessionDurationInMinutes":1,"contentImageUri":"http:\/\/images-eds.xboxlive.com\/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcrlu6icvndhcKC4irKlP3nkfw3l4pDZLjZ_hOtSZf3w4A4gSqEqXPHZsTrrcT4qxrEzrH0kXO.OKoM9ncxPa3e_c2GhLesn3jIOihB6z.TyvBcDpARhmAu8Ht4QBx15PfxYoX5GzMN4cbDJlhXGpp4AO5FZ_BJfCrofrslpIZznE-","bingId":"1d552fb7-b730-4762-a566-7133f57daffd","contentTitle":"Twitch","vuiDisplayName":"Twitch","platform":"XboxOne","titleId":442736763,"activity":{"startTime":"2015-01-02T21:11:06.7059337Z","endTime":"2015-01-02T21:12:48.6594471Z","numShares":0,"numLikes":0,"numComments":0,"ugcCaption":null,"activityItemType":"Played","userXuid":2533274810770211,"date":"2015-01-02T21:11:06.7059337Z","contentType":"App","titleId":442736763,"platform":"XboxOne","sandboxid":"RETAIL","userKey":null},"description":"started
64
64
  using Twitch","date":"2015-01-02T21:11:06.7059337Z","hasUgc":false,"activityItemType":"Played","contentType":"App","shortDescription":"used
65
65
  an app","itemText":"Twitch","itemImage":"http:\/\/images-eds.xboxlive.com\/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcrlu6icvndhcKC4irKlP3nkfw3l4pDZLjZ_hOtSZf3w4A4gSqEqXPHZsTrrcT4qxrEzrH0kXO.OKoM9ncxPa3e_c2GhLesn3jIOihB6z.TyvBcDpARhmAu8Ht4QBx15PfxYoX5GzMN4cbDJlhXGpp4AO5FZ_BJfCrofrslpIZznE-","shareRoot":"avty.xboxlive.com\/users\/xuid(2533274810770211)\/contexts\/900000136E323_2015_01\/activity\/Activity.201501.02.2.1A63A07B.635558298667059337","feedItemId":"avty.xboxlive.com\/users\/xuid(2533274810770211)\/contexts\/900000136E323_2015_01\/activity\/Activity.201501.02.2.1A63A07B.635558298667059337","itemRoot":"avty.xboxlive.com\/users\/xuid(2533274810770211)\/contexts\/900000136E323_2015_01\/activity\/Activity.201501.02.2.1A63A07B.635558298667059337","hasLiked":false,"authorInfo":{"name":"audibleBLiNK","secondName":"","imageUrl":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdaZjeQHY59fCTQrPSqFh7bVQEHYk6Quk07g7FT7ah5E4fFOq..pkgrzRv6HrSan8o-&background=0xababab&mode=Padding&format=png","authorType":"User","id":2533274810770211},"gamertag":"audibleBLiNK","realName":"","displayName":"audibleBLiNK","userImageUri":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdaZjeQHY59fCTQrPSqFh7bVQEHYk6Quk07g7FT7ah5E4fFOq..pkgrzRv6HrSan8o-&background=0xababab&mode=Padding&format=png","userXuid":2533274810770211}]'
66
- http_version: '1.1'
67
- recorded_at: Wed, 21 Jan 2015 16:11:05 GMT
66
+ http_version:
67
+ recorded_at: Wed, 21 Jan 2015 17:13:42 GMT
68
68
  recorded_with: VCR 2.9.3
@@ -7,42 +7,42 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- x-auth:
10
+ X-Auth:
11
11
  - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
12
- accept-encoding:
12
+ Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- accept:
14
+ Accept:
15
15
  - "*/*"
16
- user-agent:
16
+ User-Agent:
17
17
  - Ruby
18
18
  response:
19
19
  status:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- server:
23
+ Server:
24
24
  - nginx/1.6.2
25
- content-type:
25
+ Content-Type:
26
26
  - application/json
27
- transfer-encoding:
27
+ Transfer-Encoding:
28
28
  - chunked
29
- connection:
29
+ Connection:
30
30
  - keep-alive
31
- x-powered-by:
31
+ X-Powered-By:
32
32
  - PHP/5.5.20-1+deb.sury.org~trusty+1
33
- cache-control:
33
+ Cache-Control:
34
34
  - no-cache
35
- date:
36
- - Wed, 21 Jan 2015 15:57:07 GMT
37
- access-control-allow-origin:
35
+ Date:
36
+ - Wed, 21 Jan 2015 17:13:41 GMT
37
+ Access-Control-Allow-Origin:
38
38
  - "*"
39
- x-ratelimit-limit:
39
+ X-Ratelimit-Limit:
40
40
  - '120'
41
- x-ratelimit-remaining:
42
- - '107'
43
- x-ratelimit-reset:
44
- - '173'
45
- access-control-allow-headers:
41
+ X-Ratelimit-Remaining:
42
+ - '110'
43
+ X-Ratelimit-Reset:
44
+ - '2779'
45
+ Access-Control-Allow-Headers:
46
46
  - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
47
47
  host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
48
48
  Access-Control-Request-Headers, X-Auth
@@ -141,7 +141,7 @@ http_interactions:
141
141
  Force Unleashed","totalAchievements":59,"totalGamerscore":1345},{"lastPlayed":"2008-06-26T23:40:21.4870000Z","currentAchievements":11,"currentGamerscore":185,"sequence":25,"titleId":1161889785,"titleType":1,"platforms":[1],"name":"Battlefield:
142
142
  Bad Co.","totalAchievements":50,"totalGamerscore":1000},{"lastPlayed":"2008-05-10T08:56:55.9470000Z","currentAchievements":5,"currentGamerscore":70,"sequence":3,"titleId":1414793202,"titleType":1,"platforms":[1],"name":"GTA
143
143
  IV","totalAchievements":65,"totalGamerscore":1500},{"lastPlayed":"1753-01-01T00:00:00.0000000Z","currentAchievements":1,"currentGamerscore":25,"sequence":2,"titleId":1297287144,"titleType":1,"platforms":[1],"name":"Mass
144
- Effect","totalAchievements":49,"totalGamerscore":1200}],"pagingInfo":{"continuationToken":null,"totalRecords":107},"version":"2015-01-21T15:57:07.5230000Z"}'
145
- http_version: '1.1'
146
- recorded_at: Wed, 21 Jan 2015 15:57:07 GMT
144
+ Effect","totalAchievements":49,"totalGamerscore":1200}],"pagingInfo":{"continuationToken":null,"totalRecords":107},"version":"2015-01-21T17:13:41.0830000Z"}'
145
+ http_version:
146
+ recorded_at: Wed, 21 Jan 2015 17:13:41 GMT
147
147
  recorded_with: VCR 2.9.3
@@ -7,42 +7,42 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- x-auth:
10
+ X-Auth:
11
11
  - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
12
- accept-encoding:
12
+ Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- accept:
14
+ Accept:
15
15
  - "*/*"
16
- user-agent:
16
+ User-Agent:
17
17
  - Ruby
18
18
  response:
19
19
  status:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- server:
23
+ Server:
24
24
  - nginx/1.6.2
25
- content-type:
25
+ Content-Type:
26
26
  - application/json
27
- transfer-encoding:
27
+ Transfer-Encoding:
28
28
  - chunked
29
- connection:
29
+ Connection:
30
30
  - keep-alive
31
- x-powered-by:
31
+ X-Powered-By:
32
32
  - PHP/5.5.20-1+deb.sury.org~trusty+1
33
- cache-control:
33
+ Cache-Control:
34
34
  - no-cache
35
- date:
36
- - Wed, 21 Jan 2015 15:57:06 GMT
37
- access-control-allow-origin:
35
+ Date:
36
+ - Wed, 21 Jan 2015 17:13:40 GMT
37
+ Access-Control-Allow-Origin:
38
38
  - "*"
39
- x-ratelimit-limit:
39
+ X-Ratelimit-Limit:
40
40
  - '120'
41
- x-ratelimit-remaining:
42
- - '108'
43
- x-ratelimit-reset:
44
- - '174'
45
- access-control-allow-headers:
41
+ X-Ratelimit-Remaining:
42
+ - '111'
43
+ X-Ratelimit-Reset:
44
+ - '2780'
45
+ Access-Control-Allow-Headers:
46
46
  - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
47
47
  host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
48
48
  Access-Control-Request-Headers, X-Auth
@@ -56,6 +56,6 @@ http_interactions:
56
56
  Video","earnedAchievements":1,"currentGamerscore":0,"maxGamerscore":0},{"lastUnlock":"2014-11-30T06:02:43.7637935Z","titleId":1115757811,"serviceConfigId":"1b93183d-cd4b-46df-86d6-4a8e74fb244e","titleType":"DGame","platform":"Durango","name":"Alien:
57
57
  Isolation","earnedAchievements":12,"currentGamerscore":145,"maxGamerscore":1000},{"lastUnlock":"2014-10-08T03:25:16.3708915Z","titleId":1285127818,"serviceConfigId":"eabb0100-ffce-45be-859d-7c7f4c997e8a","titleType":"DGame","platform":"Durango","name":"Chariot","earnedAchievements":1,"currentGamerscore":10,"maxGamerscore":1000},{"lastUnlock":"2014-11-02T17:21:55.1750633Z","titleId":1906672574,"serviceConfigId":"5674e1ad-ee96-444d-bedc-5ec795b1e772","titleType":"DGame","platform":"Durango","name":"Middle-earth\u2122:
58
58
  Shadow of Mordor\u2122","earnedAchievements":34,"currentGamerscore":640,"maxGamerscore":1350}],"pagingInfo":{"continuationToken":null,"totalRecords":13}}'
59
- http_version: '1.1'
60
- recorded_at: Wed, 21 Jan 2015 15:57:07 GMT
59
+ http_version:
60
+ recorded_at: Wed, 21 Jan 2015 17:13:40 GMT
61
61
  recorded_with: VCR 2.9.3
data/xbox-api.gemspec CHANGED
@@ -15,10 +15,10 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = XboxApi::Wrapper::VERSION
17
17
 
18
- gem.add_runtime_dependency("multi_json")
18
+ gem.add_runtime_dependency("yajl-ruby")
19
19
  gem.add_development_dependency("rspec")
20
20
  gem.add_development_dependency("vcr")
21
- gem.add_development_dependency("fakeweb")
21
+ gem.add_development_dependency("webmock")
22
22
  gem.add_development_dependency("dotenv")
23
23
  gem.add_development_dependency("codeclimate-test-reporter")
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xbox-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Flores
@@ -11,7 +11,7 @@ cert_chain: []
11
11
  date: 2015-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: multi_json
14
+ name: yajl-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: fakeweb
56
+ name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="