neonredd 0.0.4 → 0.0.5

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: 3cc700a01cd7e555da3f8853747da502e05c019a
4
- data.tar.gz: 3645cbcdf30ddb0dc10f947047aa5106933a3ce8
3
+ metadata.gz: 1dd56eb41b130cdb7d79569a177a648e76462f72
4
+ data.tar.gz: 59dabd85788de39e1c212fb791d824750098a6b1
5
5
  SHA512:
6
- metadata.gz: f17f0cee368ab00bf6ab5bbcb04374ef676cdc7dbc940d7e98ffa3eacfb4216e437433ec8ca55ea007a213ea80677794d48454a862ae05e3f6eb83dd51a42d7c
7
- data.tar.gz: 29239b559cfa77a00584e825818f546c493dc59a0eba1393d54c983c32c04be3a0c285fec2b0fa509bca48cd6068c691c6f802c90df8d4a1eadccc9e54ac663a
6
+ metadata.gz: b83b3687936c1d139649242a27a3ca8241ce54e85becbf9200e415fa562e1b278aa020fcc981983878e14f6074996e88df3149b69fbaa0825ad5d6d8a36611e3
7
+ data.tar.gz: 9ff046d623717ec313dd536adc2a0f02dda191938553656518a1d6348611beac469ebe9ad4610f60a82272327f178575a569c01fbf4e1f7562810751309220f2
data/CHANGELIST.md ADDED
@@ -0,0 +1,3 @@
1
+ # 0.0.4
2
+
3
+ * Bug fixed where 1 too many items would be added to a listing.
data/README.md CHANGED
@@ -1 +1,4 @@
1
1
  # Neonredd
2
+
3
+ Neonredd is a Ruby API wrapper for Reddit. It's essentially just Redd but with
4
+ a few additional features.
@@ -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.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Redd
2
2
  # The semantic version number.
3
- VERSION = '0.0.4'.freeze
3
+ VERSION = '0.0.5'.freeze
4
4
  end
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
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 00:00:00.000000000 Z
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