ruby-box 1.13.0 → 1.14.0
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/VERSION +1 -1
- data/lib/ruby-box/session.rb +1 -1
- data/ruby-box.gemspec +3 -3
- 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: acf5b0399a4c3050c7814d3388c85d8c51d02264
|
|
4
|
+
data.tar.gz: 60f3751daa53cda2d637452228768fb7b0fadd63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fd15cdab17a973fc0872f1ac49fabd51bdddba1fca6d76c341220c8b87389e8ecb54021c04cdb02ac8f564114b4093fbf6c7d5e5f26f99a044aae2b1d544fba
|
|
7
|
+
data.tar.gz: b04504b3009405f9939e174ef2e168f38c543671b065cdd8f6d01c73af6856a578e6e9a06c2ecf6decf8a0e62e932dd029ab766cb01f5ab1ddca7e326a136a6b
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.14.0
|
data/lib/ruby-box/session.rb
CHANGED
|
@@ -79,7 +79,7 @@ module RubyBox
|
|
|
79
79
|
# Got unauthorized (401) status, try to refresh the token
|
|
80
80
|
if response.code.to_i == 401 and @refresh_token and retries == 0
|
|
81
81
|
refresh_token(@refresh_token)
|
|
82
|
-
request(uri, request, raw, retries + 1)
|
|
82
|
+
return request(uri, request, raw, retries + 1)
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
sleep(@backoff) # try not to excessively hammer API.
|
data/ruby-box.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: ruby-box 1.
|
|
5
|
+
# stub: ruby-box 1.14.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "ruby-box"
|
|
9
|
-
s.version = "1.
|
|
9
|
+
s.version = "1.14.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Attachments.me"]
|
|
14
|
-
s.date = "2014-
|
|
14
|
+
s.date = "2014-03-07"
|
|
15
15
|
s.description = "ruby gem for box.com 2.0 api"
|
|
16
16
|
s.email = "ben@attachments.me"
|
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-box
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Attachments.me
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multipart-post
|