rufus-jig 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.txt CHANGED
@@ -2,6 +2,11 @@
2
2
  = rufus-jig CHANGELOG.txt
3
3
 
4
4
 
5
+ == rufus-jig - 0.1.11 released 2010/01/11
6
+
7
+ - couch : shortened time between put { delete if re_put_ok == false; put }
8
+
9
+
5
10
  == rufus-jig - 0.1.10 released 2010/01/06
6
11
 
7
12
  - test/con to test/conc (win issue), thanks gauched
@@ -49,16 +49,16 @@ module Rufus::Jig
49
49
  [ doc_or_path['_id'], doc_or_path ]
50
50
  end
51
51
 
52
+ pa = adjust(path)
53
+
52
54
  if @opts[:re_put_ok] == false && payload['_rev']
53
55
  rr = delete(path, payload['_rev'])
54
56
  return rr unless rr.nil?
55
57
  end
56
58
 
57
- path = adjust(path)
58
-
59
- r = @http.put(path, payload, :content_type => :json, :cache => false)
59
+ r = @http.put(pa, payload, :content_type => :json, :cache => false)
60
60
 
61
- return @http.get(path) if r == true
61
+ return @http.get(pa) if r == true
62
62
  # conflict
63
63
 
64
64
  if opts[:update_rev] && doc_or_path.is_a?(Hash)
@@ -1,7 +1,7 @@
1
1
 
2
2
  module Rufus
3
3
  module Jig
4
- VERSION = '0.1.10'
4
+ VERSION = '0.1.11'
5
5
  end
6
6
  end
7
7
 
data/rufus-jig.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rufus-jig}
8
- s.version = "0.1.10"
8
+ s.version = "0.1.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Mettraux", "Kenneth Kalmer"]
12
- s.date = %q{2010-01-06}
12
+ s.date = %q{2010-01-11}
13
13
  s.description = %q{
14
14
  Json Interwebs Get.
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rufus-jig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-01-06 00:00:00 +09:00
13
+ date: 2010-01-11 00:00:00 +09:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency