dbox 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +4 -0
  2. data/VERSION +1 -1
  3. data/dbox.gemspec +1 -1
  4. data/lib/dbox/api.rb +0 -10
  5. metadata +3 -3
@@ -1,3 +1,7 @@
1
+ == 0.6.4 / 2011-11-29
2
+ * Minor Enhancements
3
+ * Removed workaround for /put_files API bug, as Dropbox has fixed it.
4
+
1
5
  == 0.6.3 / 2011-11-29
2
6
  * Bug Fixes
3
7
  * Fixed crash when multiple Dropbox operations fail.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.3
1
+ 0.6.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dbox"
8
- s.version = "0.6.3"
8
+ s.version = "0.6.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ken Pratt"]
@@ -151,16 +151,6 @@ module Dbox
151
151
 
152
152
  def put_file(path, file_obj, previous_revision=nil)
153
153
  log.info "Uploading #{path}"
154
-
155
- # temporary workaround for bug in Dropbox /put_files API where
156
- # passing a valid older parent_rev causes a 500
157
- if previous_revision
158
- m = metadata(path)
159
- if m && m[:rev] && m[:rev] != previous_revision
160
- previous_revision = nil
161
- end
162
- end
163
-
164
154
  run(path) do
165
155
  @client.put_file(path, file_obj, false, previous_revision)
166
156
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Pratt