goodreads 0.6.0 → 0.6.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: 7f5dc59e124930f2aa9295a56d4a0058d46b7aa2
4
- data.tar.gz: 7a7053c2a4916fe3ae4bd29a978072597351cb4a
3
+ metadata.gz: 32d6d10732050dfe55085f6f38358ca6884d4d84
4
+ data.tar.gz: aacf42830b97b3ce07eff81bc77b4a520cf946ea
5
5
  SHA512:
6
- metadata.gz: 16a77a800dba967e1941b2d9f546d2fbc11e4230dc4e25602c35d1513a17b2787193b5aeb8132bfbdf29cda2415db26e1db829ea7900e1edb792c8ddc5f1a2a6
7
- data.tar.gz: b11fe6e4d95124964b4f1ba328f2c098a3699a8015d311932e258a535910c35503556d5bfe8c779443dfdca77b7d3402c532bcf0c5fb90da27822644dd4eb5bc
6
+ metadata.gz: cf4836f8619cab1de139614b155614347f43b60aa6078246392ea6671f83bed456eb0a6139f930e72a4c8574ea3ec5fb3986955a2cc5b8eaa3d00edf67ea3d89
7
+ data.tar.gz: fa0b3ae21e4caa744e61479c445d863d73e0e68182af09bc169a461ec89178e70b9478469b88a86c77763742d8d5e534d809b2bdccb5a26bd9fea2a46bc48cc7
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2011-2015 Dan Sosedoff <dan.sosedoff@gmail.com>
3
+ Copyright (c) 2011-2018 Dan Sosedoff <dan.sosedoff@gmail.com>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
@@ -4,8 +4,8 @@ module Goodreads
4
4
  #
5
5
  # user_id - integer or string
6
6
  #
7
- def friends(user_id)
8
- data = oauth_request("/friend/user/#{user_id}")
7
+ def friends(user_id, options={})
8
+ data = oauth_request("/friend/user/#{user_id}", options)
9
9
  Hashie::Mash.new(data["friends"])
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Goodreads
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodreads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Sosedoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-21 00:00:00.000000000 Z
11
+ date: 2018-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webmock