makura 2010.08 → 2010.08.26

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'date'
6
6
 
7
7
  PROJECT_SPECS = Dir['spec/**/*.rb']
8
8
  PROJECT_MODULE = 'Makura'
9
- PROJECT_VERSION = ENV['VERSION'].dup || Date.today.strftime("%Y.%m.%d")
9
+ PROJECT_VERSION = (ENV['VERSION'] || Date.today.strftime("%Y.%m.%d")).dup
10
10
 
11
11
  GEMSPEC = Gem::Specification.new{|s|
12
12
  s.name = 'makura'
@@ -1,6 +1,6 @@
1
1
  Following persons have contributed to makura.
2
2
  (Sorted by number of submitted patches, then alphabetically)
3
3
 
4
- 79 Michael Fellinger <m.fellinger@gmail.com>
4
+ 82 Michael Fellinger <m.fellinger@gmail.com>
5
5
  8 Tadahiko Uehara <kikofx@gmail.com>
6
6
  2 Preston Marshall <preston@synergy-solutions.biz>
@@ -1,3 +1,15 @@
1
+ [b7479a6 | Wed Aug 25 16:26:05 UTC 2010] Michael Fellinger <m.fellinger@gmail.com>
2
+
3
+ * Version 2010.08.26
4
+
5
+ [1ad92e6 | Tue Aug 24 14:39:51 UTC 2010] Michael Fellinger <m.fellinger@gmail.com>
6
+
7
+ * pass on arguments for to_json
8
+
9
+ [29b1c12 | Tue Aug 24 14:39:39 UTC 2010] Michael Fellinger <m.fellinger@gmail.com>
10
+
11
+ * Fix bulk_docs for CouchDB 1.0
12
+
1
13
  [1f2647f | Tue Aug 03 05:32:53 UTC 2010] Michael Fellinger <m.fellinger@gmail.com>
2
14
 
3
15
  * Version 2010.08
@@ -163,7 +163,7 @@ module Makura
163
163
  # But in order to use our own uuids we still do it.
164
164
  def bulk_docs(docs)
165
165
  docs.each{|doc| doc['_id'] ||= @server.next_uuid }
166
- post("_bulk_docs", :payload => {:docs => docs})
166
+ post("_bulk_docs", :payload => {:docs => docs}, 'Content-Type' => 'application/json')
167
167
  end
168
168
  alias bulk_save bulk_docs
169
169
 
@@ -72,8 +72,8 @@ module Makura
72
72
  @_hash.dup
73
73
  end
74
74
 
75
- def to_json
76
- @_hash.to_json
75
+ def to_json(*args)
76
+ @_hash.to_json(*args)
77
77
  end
78
78
 
79
79
  def inspect
@@ -1,3 +1,3 @@
1
1
  module Makura
2
- VERSION = "2010.08"
2
+ VERSION = "2010.08.26"
3
3
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{makura}
5
- s.version = "2010.08"
5
+ s.version = "2010.08.26"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael 'manveru' Fellinger"]
9
- s.date = %q{2010-08-03}
9
+ s.date = %q{2010-08-26}
10
10
  s.default_executable = %q{makura}
11
11
  s.email = %q{m.fellinger@gmail.com}
12
12
  s.executables = ["makura"]
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makura
3
3
  version: !ruby/object:Gem::Version
4
- hash: 8051
5
4
  prerelease: false
6
5
  segments:
7
6
  - 2010
8
7
  - 8
9
- version: "2010.08"
8
+ - 26
9
+ version: 2010.08.26
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael 'manveru' Fellinger
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-03 00:00:00 +09:00
17
+ date: 2010-08-26 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -25,7 +25,6 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 61
29
28
  segments:
30
29
  - 0
31
30
  - 8
@@ -103,7 +102,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
102
  requirements:
104
103
  - - ">="
105
104
  - !ruby/object:Gem::Version
106
- hash: 3
107
105
  segments:
108
106
  - 0
109
107
  version: "0"
@@ -112,7 +110,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
110
  requirements:
113
111
  - - ">="
114
112
  - !ruby/object:Gem::Version
115
- hash: 3
116
113
  segments:
117
114
  - 0
118
115
  version: "0"