dbox 0.6.6 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.6.7 / 2012-03-29
2
+ * Minor Enhancements
3
+ * Added timeout to SQLite operations to help with threads competing for db operations.
4
+
1
5
  == 0.6.6 / 2012-03-21
2
6
  * Minor Enhancements
3
7
  * Upgraded to v1.2 of Ruby Dropbox SDK, switched to their new SSL support.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.7
data/dbox.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dbox"
8
- s.version = "0.6.6"
8
+ s.version = "0.6.7"
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"]
12
- s.date = "2012-03-21"
12
+ s.date = "2012-03-29"
13
13
  s.description = "An easy-to-use Dropbox client with fine-grained control over syncs."
14
14
  s.email = "ken@kenpratt.net"
15
15
  s.executables = ["dbox"]
data/lib/dbox/database.rb CHANGED
@@ -45,6 +45,7 @@ module Dbox
45
45
  @local_path = local_path
46
46
  FileUtils.mkdir_p(local_path)
47
47
  @db = SQLite3::Database.new(File.join(local_path, DB_FILENAME))
48
+ @db.busy_timeout(1000)
48
49
  @db.trace {|sql| log.debug sql.strip }
49
50
  @db.execute("PRAGMA foreign_keys = ON;")
50
51
  ensure_schema_exists
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 6
10
- version: 0.6.6
9
+ - 7
10
+ version: 0.6.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Pratt
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-21 00:00:00 Z
18
+ date: 2012-03-29 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: multipart-post