rufus-jig 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.txt CHANGED
@@ -1,7 +1,11 @@
1
1
 
2
2
  = rufus-jig CHANGELOG.txt
3
3
 
4
- == rufus-jig - 0.1.1 not yet released
4
+ == rufus-jig - 0.1.2 released 2009/12/07
5
+
6
+ - fixed issue with '/' and net/http. Thanks Torsten.
7
+
8
+ == rufus-jig - 0.1.1 released
5
9
 
6
10
  == rufus-jig - 0.1.0 released 2009/11/09
7
11
 
data/CREDITS.txt CHANGED
@@ -4,3 +4,7 @@
4
4
  John Mettraux - http://github.com/jmettraux
5
5
  Kenneth Kalmer - http://github.com/kennethkalmer
6
6
 
7
+ == contributors
8
+
9
+ Torsten Schoenebaum - http://github.com/tosch
10
+
data/README.rdoc CHANGED
@@ -189,7 +189,8 @@ http://rufus.rubyforge.org
189
189
 
190
190
  == authors
191
191
 
192
- * John Mettraux, jmettraux@gmail.com, http://jmettraux.wordpress.com
192
+ * John Mettraux, http://jmettraux.wordpress.com/
193
+ * Kenneth Kalmer, http://www.opensourcery.co.za/
193
194
 
194
195
 
195
196
  == license
data/lib/rufus/jig.rb CHANGED
@@ -29,7 +29,7 @@ module Jig
29
29
  require 'rufus/jig/http'
30
30
  require 'rufus/jig/json'
31
31
 
32
- VERSION = '0.1.1'
32
+ VERSION = '0.1.2'
33
33
 
34
34
  autoload :Couch, 'rufus/jig/couch'
35
35
  autoload :CouchError, 'rufus/jig/couch'
@@ -482,6 +482,8 @@ else
482
482
 
483
483
  def do_request (method, path, data, opts)
484
484
 
485
+ path = '/' if path == ''
486
+
485
487
  req = eval("Net::HTTP::#{method.to_s.capitalize}").new(path)
486
488
 
487
489
  req['User-Agent'] = options[:user_agent]
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.1
4
+ version: 0.1.2
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: 2009-12-04 00:00:00 +09:00
13
+ date: 2009-12-07 00:00:00 +09:00
14
14
  default_executable:
15
15
  dependencies: []
16
16