makura 2010.08 → 2010.08.26
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/Rakefile +1 -1
- data/doc/AUTHORS +1 -1
- data/doc/CHANGELOG +12 -0
- data/lib/makura/database.rb +1 -1
- data/lib/makura/model.rb +2 -2
- data/lib/makura/version.rb +1 -1
- data/makura.gemspec +2 -2
- metadata +3 -6
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']
|
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'
|
data/doc/AUTHORS
CHANGED
@@ -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
|
-
|
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>
|
data/doc/CHANGELOG
CHANGED
@@ -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
|
data/lib/makura/database.rb
CHANGED
@@ -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
|
|
data/lib/makura/model.rb
CHANGED
data/lib/makura/version.rb
CHANGED
data/makura.gemspec
CHANGED
@@ -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-
|
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
|
-
|
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-
|
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"
|