patreon 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/patreon/api.rb +5 -1
- data/patreon.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80354b3a765d27d4a988e50f74e55ae9cfc56f09
|
4
|
+
data.tar.gz: 92f0dc26d9e66f4bd30df489301b38507bc75171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dab3bff382d6517f22f175ae5cc029cbf5250229bfcf900aee717124cc126e5eb33184086727a1c0213ed6e4aba223570036c3727e34f16f99dcf7a109b439c
|
7
|
+
data.tar.gz: b961bbb611db5428891b886426e3b19a886e37913795389e1dab9e14026fabe2ea077f2becf79ac3581ec7eaa5f11e28bb36fd0e1bc048e05ec896cc5fcc6743
|
data/lib/patreon/api.rb
CHANGED
@@ -11,10 +11,14 @@ module Patreon
|
|
11
11
|
get_json('current_user')
|
12
12
|
end
|
13
13
|
|
14
|
-
def fetch_campaign_and_patrons(
|
14
|
+
def fetch_campaign_and_patrons()
|
15
15
|
get_json('current_user/campaigns?include=rewards,creator,goals,pledges')
|
16
16
|
end
|
17
17
|
|
18
|
+
def fetch_campaign()
|
19
|
+
get_json('current_user/campaigns?include=rewards,creator,goals')
|
20
|
+
end
|
21
|
+
|
18
22
|
private
|
19
23
|
|
20
24
|
def get_json(suffix)
|
data/patreon.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "patreon"
|
7
|
-
gem.version = "0.0.
|
7
|
+
gem.version = "0.0.6"
|
8
8
|
gem.authors = ["David Kettler"]
|
9
9
|
gem.email = ["david@patreon.com"]
|
10
10
|
gem.description = "Interact with the Patreon API via OAuth"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: patreon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Kettler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Interact with the Patreon API via OAuth
|
14
14
|
email:
|