mongo_doc 0.6.23 → 0.6.25
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.textile +1 -1
- data/VERSION +1 -1
- data/lib/mongo_doc/railtie.rb +1 -1
- data/lib/mongo_doc/railties/db.task +92 -0
- data/lib/mongo_doc.rb +1 -1
- data/mongo_doc.gemspec +3 -3
- metadata +4 -4
- data/lib/mongo_doc/railties/db_prepare.task +0 -9
data/Gemfile.lock
CHANGED
data/README.textile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.25
|
data/lib/mongo_doc/railtie.rb
CHANGED
@@ -0,0 +1,92 @@
|
|
1
|
+
namespace :db do
|
2
|
+
|
3
|
+
if not Rake::Task.task_defined?("db:create")
|
4
|
+
desc 'mongo_doc noop'
|
5
|
+
task :create => :environment do
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
if not Rake::Task.task_defined?("db:drop")
|
10
|
+
desc 'mongo_doc noop'
|
11
|
+
task :drop => :environment do
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
if not Rake::Task.task_defined?("db:fixtures:load")
|
16
|
+
namespace :fixtures do
|
17
|
+
desc 'mongo_doc noop'
|
18
|
+
task :load do
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
if not Rake::Task.task_defined?("db:migrate")
|
24
|
+
desc 'mongo_doc noop'
|
25
|
+
task :migrate => :environment do
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
if not Rake::Task.task_defined?("db:migrate:status")
|
30
|
+
namespace :migrate do
|
31
|
+
desc 'mongo_doc noop'
|
32
|
+
task :status do
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
if not Rake::Task.task_defined?("db:rollback")
|
38
|
+
desc 'mongo_doc noop'
|
39
|
+
task :rollback => :environment do
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
if not Rake::Task.task_defined?("db:schema:dump")
|
44
|
+
namespace :schema do
|
45
|
+
desc 'mongo_doc noop'
|
46
|
+
task :dump do
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
if not Rake::Task.task_defined?("db:schema:load")
|
52
|
+
namespace :schema do
|
53
|
+
desc 'mongo_doc noop'
|
54
|
+
task :load do
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
if not Rake::Task.task_defined?("db:test:prepare")
|
60
|
+
namespace :test do
|
61
|
+
desc 'mongo_doc noop'
|
62
|
+
task :prepare do
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
if not Rake::Task.task_defined?("db:seed")
|
68
|
+
desc 'mongo_doc noop'
|
69
|
+
task :seed => :environment do
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
if not Rake::Task.task_defined?("db:setup")
|
74
|
+
desc 'mongo_doc noop'
|
75
|
+
task :setup => :environment do
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
if not Rake::Task.task_defined?("db:structure:dump")
|
80
|
+
namespace :structure do
|
81
|
+
desc 'mongo_doc noop'
|
82
|
+
task :dump do
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
if not Rake::Task.task_defined?("db:version")
|
88
|
+
desc 'mongo_doc noop'
|
89
|
+
task :version => :environment do
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
data/lib/mongo_doc.rb
CHANGED
data/mongo_doc.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{mongo_doc}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.25"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Les Hill"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-17}
|
13
13
|
s.description = %q{ODM for MongoDB}
|
14
14
|
s.email = %q{leshill@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -108,7 +108,7 @@ Gem::Specification.new do |s|
|
|
108
108
|
"lib/mongo_doc/polymorphic_collection.rb",
|
109
109
|
"lib/mongo_doc/railtie.rb",
|
110
110
|
"lib/mongo_doc/railties/config.rb",
|
111
|
-
"lib/mongo_doc/railties/
|
111
|
+
"lib/mongo_doc/railties/db.task",
|
112
112
|
"lib/mongo_doc/references.rb",
|
113
113
|
"lib/mongo_doc/references_many.rb",
|
114
114
|
"lib/mongo_doc/root.rb",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 25
|
9
|
+
version: 0.6.25
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Les Hill
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-17 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -253,7 +253,7 @@ files:
|
|
253
253
|
- lib/mongo_doc/polymorphic_collection.rb
|
254
254
|
- lib/mongo_doc/railtie.rb
|
255
255
|
- lib/mongo_doc/railties/config.rb
|
256
|
-
- lib/mongo_doc/railties/
|
256
|
+
- lib/mongo_doc/railties/db.task
|
257
257
|
- lib/mongo_doc/references.rb
|
258
258
|
- lib/mongo_doc/references_many.rb
|
259
259
|
- lib/mongo_doc/root.rb
|