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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongo_doc (0.6.22)
4
+ mongo_doc (0.6.25)
5
5
  activemodel (>= 3.0.0)
6
6
  activesupport (>= 3.0.0)
7
7
  bson (= 1.0.4)
data/README.textile CHANGED
@@ -1,6 +1,6 @@
1
1
  h1. MongoDoc
2
2
 
3
- Version: 0.6.23 2010/10/13
3
+ Version: 0.6.25 2010/10/17
4
4
 
5
5
  h2. Notes
6
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.23
1
+ 0.6.25
@@ -9,7 +9,7 @@ module MongoDoc
9
9
  end
10
10
 
11
11
  rake_tasks do
12
- load File.dirname(__FILE__) + "/railties/db_prepare.task"
12
+ load File.dirname(__FILE__) + "/railties/db.task"
13
13
  end
14
14
  end
15
15
  end
@@ -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
@@ -3,7 +3,7 @@ require 'active_support'
3
3
  require 'active_support/core_ext'
4
4
 
5
5
  module MongoDoc
6
- VERSION = '0.6.23'
6
+ VERSION = '0.6.25'
7
7
  end
8
8
 
9
9
  require 'mongo_doc/connection'
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.23"
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-14}
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/db_prepare.task",
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
- - 23
9
- version: 0.6.23
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-14 00:00:00 -04:00
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/db_prepare.task
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
@@ -1,9 +0,0 @@
1
- if not Rake::Task.task_defined?("db:test:prepare")
2
- namespace :db do
3
- namespace :test do
4
- task :prepare do
5
- # noop
6
- end
7
- end
8
- end
9
- end