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 CHANGED
@@ -1,3 +1,11 @@
1
+ == 0.4.0
2
+
3
+ * Changed command line order
4
+
5
+ == 0.3.1
6
+
7
+ * adapt new RestClient API
8
+
1
9
  == 0.3.0
2
10
 
3
11
  * fixed and changed array mapping
data/README.rdoc CHANGED
@@ -17,7 +17,7 @@ Read and write CouchDB documents via FUSE userspace filesystem
17
17
 
18
18
  start quilt by typing
19
19
 
20
- couchquilt mountpoint [server] [--debug]
20
+ couchquilt [server] mountpoint [--debug]
21
21
 
22
22
 
23
23
  Your mapped CouchDB will now be available at *mountpoint*.
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[0].nil?
25
+ if ARGV.empty?
26
26
  puts "usage:"
27
- puts "couchquilt mountpoint [server] [--debug]"
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
- # couch fs will be mounted on ./app/127.0.0.1:5984 per default
33
- mountpoint = ARGV[0]
34
- server = ARGV[1] || "http://127.0.0.1:5984"
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.3.1"
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-17}
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}
@@ -1,3 +1,3 @@
1
1
  module Couchquilt
2
- VERSION = '0.3.1'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- - 1
9
- version: 0.3.1
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 00:00:00 +01:00
17
+ date: 2010-03-22 00:00:00 +01:00
18
18
  default_executable: couchquilt
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency