neonredd 0.0.4 → 0.0.5
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 +4 -4
- data/CHANGELIST.md +3 -0
- data/README.md +3 -0
- data/lib/redd/clients/base/read.rb +1 -1
- data/lib/redd/clients/script.rb +2 -0
- data/lib/redd/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dd56eb41b130cdb7d79569a177a648e76462f72
|
|
4
|
+
data.tar.gz: 59dabd85788de39e1c212fb791d824750098a6b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b83b3687936c1d139649242a27a3ca8241ce54e85becbf9200e415fa562e1b278aa020fcc981983878e14f6074996e88df3149b69fbaa0825ad5d6d8a36611e3
|
|
7
|
+
data.tar.gz: 9ff046d623717ec313dd536adc2a0f02dda191938553656518a1d6348611beac469ebe9ad4610f60a82272327f178575a569c01fbf4e1f7562810751309220f2
|
data/CHANGELIST.md
ADDED
data/README.md
CHANGED
|
@@ -55,7 +55,7 @@ module Redd
|
|
|
55
55
|
# @param params [Hash] A list of params to send with the request.
|
|
56
56
|
# @option params [String] :after Return results after the given
|
|
57
57
|
# fullname.
|
|
58
|
-
# @option params [String :before Return results before the given
|
|
58
|
+
# @option params [String] :before Return results before the given
|
|
59
59
|
# fullname.
|
|
60
60
|
# @option params [Integer] :count The number of items already seen in
|
|
61
61
|
# the listing.
|
data/lib/redd/clients/script.rb
CHANGED
|
@@ -24,6 +24,8 @@ module Redd
|
|
|
24
24
|
# Authorize using the given data.
|
|
25
25
|
# @return [Access] The access given by reddit.
|
|
26
26
|
def authorize!
|
|
27
|
+
# reset the connection for when the access token is refreshed
|
|
28
|
+
@connection = nil
|
|
27
29
|
response = auth_connection.post(
|
|
28
30
|
'/api/v1/access_token',
|
|
29
31
|
grant_type: 'password',
|
data/lib/redd/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: neonredd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SirNeon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -143,6 +143,7 @@ executables: []
|
|
|
143
143
|
extensions: []
|
|
144
144
|
extra_rdoc_files: []
|
|
145
145
|
files:
|
|
146
|
+
- CHANGELIST.md
|
|
146
147
|
- Gemfile
|
|
147
148
|
- LICENSE.md
|
|
148
149
|
- README.md
|