ruby-box 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTU5ODI5ODE2MGFlOTRiODk3MzNlOTA1MThhNDY2NTAwZTc1MDdhZg==
4
+ NWJjZTM5ZGZhYjYyNTM5YzRlNTE4ODE0MGZjZDg4ZTIzNjIwYThlNQ==
5
5
  data.tar.gz: !binary |-
6
- YmJjNTdkZmZjNzVmN2U3YjcyMmM0YzVhZTgzZTE5YzUyYjA5YTNiNw==
6
+ NTY5MmM5NzExYWEzMGQ2NWMxMjk1OWI2OTIyZDZiMDVjZGUyZThhNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OWQzMjMwMmE4ZTgxMmE3OTU2OWVkNDI0NTllODUwNTJiMjY1YzU5MzRlMzE1
10
- YTJlNWJhMmQ2Nzk3NjU5Y2IxZDM3YjU5NGQ2OTllYjJjYWYyYjg4MDhlYjk3
11
- NGY3ZGZhYjkzMWViMGE5NDRlNjM1YWVjYTM0YjMwZTcwMWVlOTY=
9
+ OGUxYzU1MWE5NmExZTE5ZTExNTFiMzc3ZjdlZTJmOTJjMzE0MThmNmVhMzNh
10
+ OWM3ZDFkYWI3NDNiNjcxYzAxNzkzMGZhNTMzOTNkNzc3ZjMxZTc3OGRiZjRl
11
+ YzI2ODllMDg5OWIyZTlkZDgwYTI0N2NkMjczNTg0NmJmMmNjYzI=
12
12
  data.tar.gz: !binary |-
13
- NWJmYWNmNzViMWY3YjVlYmVkODdhODE0M2Y0MTUzMTQyYzAxZjU0ZjQ5ZGM4
14
- M2U5NzI2OWE3MjdiOGQwODU2NjNiYjQxNmVjN2U5ZmExZjE1NGY4ODIzNjA4
15
- NGYzNGQzMzg0ZGZhZWRkYjQ0M2ZmOTNkMzgzZTJlZjYyZjY3ZDM=
13
+ ZDIxODYzNWU4YjExY2QzZGVlNDgxMDc5MjhjM2ZkODRhMmU4MWViMGI3Mjlj
14
+ ZThiMWMwZjFlYjMwZGQyYzdmMzM2NzYzOGE2YzIxOWViNDI2ODJmYWY2NDk0
15
+ MmYxN2UzNzVlMGI3NTVmZTg0ZDJjMmE3ZGU3MDczM2MxYzJlOWI=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.9.1
@@ -35,9 +35,10 @@ module RubyBox
35
35
  rescue
36
36
  # we were not given context information about this conflict.
37
37
  # attempt to lookup the file.
38
- file = files(filename).pop
38
+ file = files(filename, 1000).pop
39
39
  end
40
40
 
41
+ raise e unless file # re-raise the ItemNameInUse exception.
41
42
  resp = file.update_content( data )
42
43
  end
43
44
  end
data/ruby-box.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-box"
8
- s.version = "1.9.0"
8
+ s.version = "1.9.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Attachments.me"]
12
- s.date = "2013-07-30"
12
+ s.date = "2013-07-31"
13
13
  s.description = "ruby gem for box.com 2.0 api"
14
14
  s.email = "ben@attachments.me"
15
15
  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.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Attachments.me
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-30 00:00:00.000000000 Z
11
+ date: 2013-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post