karait 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +1 -1
- data/VERSION +1 -1
- data/karait.gemspec +50 -0
- data/lib/message.rb +1 -1
- data/test/test_queue.rb +1 -1
- metadata +5 -3
data/LICENSE.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/karait.gemspec
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{karait}
|
8
|
+
s.version = "0.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["bcoe"]
|
12
|
+
s.date = %q{2011-08-31}
|
13
|
+
s.description = %q{A ridiculously simple cross-language queuing system, built on top of MongoDB.}
|
14
|
+
s.email = %q{bencoe@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.markdown"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.markdown",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"karait.gemspec",
|
28
|
+
"lib/karait.rb",
|
29
|
+
"lib/message.rb",
|
30
|
+
"lib/queue.rb",
|
31
|
+
"test/helper.rb",
|
32
|
+
"test/test_message.rb",
|
33
|
+
"test/test_queue.rb"
|
34
|
+
]
|
35
|
+
s.homepage = %q{http://github.com/bcoe/karait}
|
36
|
+
s.licenses = ["MIT"]
|
37
|
+
s.require_paths = ["lib"]
|
38
|
+
s.rubygems_version = %q{1.4.2}
|
39
|
+
s.summary = %q{A ridiculously simple cross-language queuing system, built on top of MongoDB.}
|
40
|
+
|
41
|
+
if s.respond_to? :specification_version then
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
+
else
|
46
|
+
end
|
47
|
+
else
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
data/lib/message.rb
CHANGED
data/test/test_queue.rb
CHANGED
@@ -112,7 +112,7 @@ class TestQueue < Test::Unit::TestCase
|
|
112
112
|
assert_equal 3, read_message.to_hash.keys.count
|
113
113
|
end
|
114
114
|
|
115
|
-
should "return messages in
|
115
|
+
should "return messages in fifo order" do
|
116
116
|
queue = Karait::Queue.new(
|
117
117
|
:database => 'karait_test',
|
118
118
|
:queue => 'queue_test'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- bcoe
|
@@ -26,6 +26,7 @@ executables: []
|
|
26
26
|
extensions: []
|
27
27
|
|
28
28
|
extra_rdoc_files:
|
29
|
+
- LICENSE.txt
|
29
30
|
- README.markdown
|
30
31
|
files:
|
31
32
|
- .gitignore
|
@@ -35,6 +36,7 @@ files:
|
|
35
36
|
- README.markdown
|
36
37
|
- Rakefile
|
37
38
|
- VERSION
|
39
|
+
- karait.gemspec
|
38
40
|
- lib/karait.rb
|
39
41
|
- lib/message.rb
|
40
42
|
- lib/queue.rb
|