ruby-box 1.8.0 → 1.8.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
- NTQ5NTgyY2ZiNTNlNzZhZTM4NjNiYWJhYTViZDUwYzVhMmY1MjI3Ng==
4
+ MmMwNGQyZjc1ODQyYTFmM2ViNWE0MWY3N2Q2NDY1YWRmZGE2ZGNmNQ==
5
5
  data.tar.gz: !binary |-
6
- ZDIzM2Y4YTlkNjU4NzcwNjVmYTVlZWY1MTMxYjExMzI0OWIzZDhmNw==
6
+ YTE3MzlhZDhkZmI0MmU2NGQ5MzlmM2UwZGQ2MjI3NGJkYzhjMjY4NQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NGZhNmI3NTVmN2FiZDUwYjhhZTlkM2UyNjIwZDYwMDExMTRjMjRiMzVmYWM5
10
- MzI5MzZhYzYwZTMyMWEyOTBlMjkyZWYwMTliZDE4NzYyNjQwMjA2NTA4MWEz
11
- ZDc5YjMxOGQwMTllYzM3ZDQ4ZWEwMWQ3ZTQ5YzU5YTEyMzYwZTE=
9
+ MTdlOTQyYjg0ZmRiNDQ3ZjljYzM0ZDYzZTlmYzY4NDJlNWJhYTZjMGRkYWFi
10
+ NzdkMWNhMDIzYWQ3MzE1MWY4YTE0M2FmMWVhMTFkZGZhYzVjZDY4MGMwZTdl
11
+ ZTE1NWYzYjQ2NGQxMzY5ZjA1YjZhOGJmMDY0ZTViZTI0MmNjMmU=
12
12
  data.tar.gz: !binary |-
13
- M2I0OGIwZDQ5YjRmM2JkYjJiY2Y3YmEzZWRlYmIyMTJjMzJhZGM1YWQxZWFj
14
- M2Q4NDBkMDdkNjYxYTIzZGNiYjY2MzkxOWJjMmY1YWY2MjIxNTdmOTNhODY4
15
- MTgyYzMzM2Y2YzVmYWY4MDllNzEwZGJjMWNjZjI1OWI2Njg1ZmI=
13
+ MmI2MzI2ZDUyOGQ0OGY3MzAyZjZkNjBmNjU1Njc5MGNmOWQ4N2Y0YzZhMDI0
14
+ Y2U0M2M4YWNlMjRhNmY3ZGQyN2JjNzQyZDc3Yzk5MGEzZjJhMjRjYWQxZmMz
15
+ NzNiNjUwOTk3MjFiZDY2MjRkNjJiNWZiY2I1ZjQ3ZjBhZTYyNDE=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.8.1
@@ -22,10 +22,8 @@ module RubyBox
22
22
  begin
23
23
  resp = file.upload_content(data) #write a new file. If there is a conflict, update the conflicted file.
24
24
  rescue RubyBox::ItemNameInUse => e
25
- file = RubyBox::File.new(@session, {
26
- 'id' => e['context_info']['conflicts'][0]['id']
27
- })
28
25
  data.rewind
26
+ file = files(filename).first
29
27
  resp = file.update_content( data )
30
28
  end
31
29
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-box"
8
- s.version = "1.8.0"
8
+ s.version = "1.8.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-19"
12
+ s.date = "2013-07-30"
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.8.0
4
+ version: 1.8.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-19 00:00:00.000000000 Z
11
+ date: 2013-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post