mongo_ext 0.17.1 → 0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/Rakefile +26 -0
  2. metadata +3 -3
data/Rakefile CHANGED
@@ -19,6 +19,7 @@ desc "Test the MongoDB Ruby driver."
19
19
  task :test do
20
20
  Rake::Task['test:unit'].invoke
21
21
  Rake::Task['test:functional'].invoke
22
+ Rake::Task['test:pooled_threading'].invoke
22
23
  end
23
24
 
24
25
  namespace :test do
@@ -31,6 +32,31 @@ namespace :test do
31
32
  t.test_files = FileList['test/test*.rb']
32
33
  t.verbose = true
33
34
  end
35
+
36
+ Rake::TestTask.new(:pooled_threading) do |t|
37
+ t.test_files = FileList['test/threading/*.rb']
38
+ t.verbose = true
39
+ end
40
+
41
+ Rake::TestTask.new(:pair_count) do |t|
42
+ t.test_files = FileList['test/replica/count_test.rb']
43
+ t.verbose = true
44
+ end
45
+
46
+ Rake::TestTask.new(:pair_insert) do |t|
47
+ t.test_files = FileList['test/replica/insert_test.rb']
48
+ t.verbose = true
49
+ end
50
+
51
+ Rake::TestTask.new(:pooled_pair_insert) do |t|
52
+ t.test_files = FileList['test/replica/pooled_insert_test.rb']
53
+ t.verbose = true
54
+ end
55
+
56
+ Rake::TestTask.new(:pair_query) do |t|
57
+ t.test_files = FileList['test/replica/query_test.rb']
58
+ t.verbose = true
59
+ end
34
60
  end
35
61
 
36
62
  desc "Generate documentation"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: "0.18"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dirolf
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-17 00:00:00 -05:00
12
+ date: 2009-11-25 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -26,7 +26,7 @@ files:
26
26
  - mongo-extensions.gemspec
27
27
  - ext/cbson/extconf.rb
28
28
  - ext/cbson/cbson.c
29
- has_rdoc: false
29
+ has_rdoc: true
30
30
  homepage: http://www.mongodb.org
31
31
  licenses: []
32
32