couch-quilt 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +8 -0
- data/README.rdoc +1 -1
- data/bin/couchquilt +6 -5
- data/couch-quilt.gemspec +2 -2
- data/lib/couchquilt/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
data/bin/couchquilt
CHANGED
@@ -22,16 +22,17 @@ require File.join(QUILT_ROOT, "lib/couchquilt")
|
|
22
22
|
DEBUG = ARGV.delete("--debug")
|
23
23
|
require File.join(File.dirname(__FILE__), '../lib/couchquilt/debugged_fs') if DEBUG
|
24
24
|
|
25
|
-
if ARGV
|
25
|
+
if ARGV.empty?
|
26
26
|
puts "usage:"
|
27
|
-
puts "couchquilt
|
27
|
+
puts "couchquilt [server] mountpoint [--debug]"
|
28
28
|
exit
|
29
29
|
end
|
30
30
|
|
31
31
|
# database server url defaults to http://127.0.0.1:5984
|
32
|
-
|
33
|
-
|
34
|
-
server = ARGV[
|
32
|
+
ARGV.unshift "http://127.0.0.1:5984" if ARGV.size < 2
|
33
|
+
|
34
|
+
server = ARGV[0]
|
35
|
+
mountpoint = ARGV[1]
|
35
36
|
|
36
37
|
# create mount point if needed
|
37
38
|
Dir.mkdir(mountpoint) unless File.directory?(mountpoint)
|
data/couch-quilt.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{couch-quilt}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Johannes J\303\266rg Schmidt"]
|
12
|
-
s.date = %q{2010-03-
|
12
|
+
s.date = %q{2010-03-22}
|
13
13
|
s.default_executable = %q{couchquilt}
|
14
14
|
s.description = %q{Access CouchDB JSON documents from filesystem.}
|
15
15
|
s.email = %q{schmidt@netzmerk.com}
|
data/lib/couchquilt/version.rb
CHANGED
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 4
|
8
|
+
- 0
|
9
|
+
version: 0.4.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- "Johannes J\xC3\xB6rg Schmidt"
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-22 00:00:00 +01:00
|
18
18
|
default_executable: couchquilt
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|