machinist_mongomapper 0.9.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 Yeasty Mobs
1
+ Copyright (c) 2009 Nicolas Mérouze
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -0,0 +1,34 @@
1
+ h1. WARNING
2
+
3
+ This repo has been discontinued. Please use "machinist_mongo":http://github.com/nmerouze/machinist_mongo now.
4
+
5
+ h1. Machinist Mongomapper
6
+
7
+ A "Machinist":http://github.com/notahat/machinist adapter for "MongoMapper":http://github.com/jnunemaker/mongomapper.
8
+
9
+ h2. Usage
10
+
11
+ Using MachinistMongomapper is simple. Just install the gem;
12
+
13
+ bc. gem install machinist_mongomapper
14
+
15
+ And replace the first line of your @blueprints.rb@;
16
+
17
+ bc. require 'machinist/active_record'
18
+
19
+ with this;
20
+
21
+ bc. require 'machinist/mongomapper'
22
+
23
+ Now you can use Machinist with your Mongo database. Have fun!
24
+
25
+ h2. Todo
26
+
27
+ * Write a spec for EmbeddedDocument.
28
+
29
+ h2. Contributors
30
+
31
+ * "Nicolas Mérouze":http://github.com/nmerouze
32
+ * "Cyril Mougel":http://github.com/shingara
33
+ * "Aubrey Holland":http://github.com/aub
34
+ * "Jeff Kreeftmeijer":http://github.com/jeffkreeftmeijer
data/Rakefile CHANGED
@@ -7,9 +7,9 @@ begin
7
7
  Jeweler::Tasks.new do |gem|
8
8
  gem.name = "machinist_mongomapper"
9
9
  gem.summary = %Q{Machinist adapter for MongoMapper}
10
- gem.email = "dev@yeastymobs.com"
10
+ gem.email = "nicolas.merouze@gmail.com"
11
11
  gem.homepage = "http://github.com/yeastymobs/machinist_mongomapper"
12
- gem.authors = ["Nicolas Mérouze", "Vincent Hellot", "Mathieu Fosse", "Cyril Mougel"]
12
+ gem.authors = ["Nicolas Mérouze", "Cyril Mougel"]
13
13
 
14
14
  gem.add_dependency('machinist', '~> 1.0.4')
15
15
  gem.add_dependency('mongo_mapper', '~> 0.6.1')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.7
1
+ 1.0.0
@@ -56,8 +56,7 @@ module Machinist
56
56
  end
57
57
  end
58
58
 
59
-
60
- MongoMapper::Document::ClassMethods.send(:include, Machinist::Blueprints::ClassMethods)
61
- MongoMapper::Document::ClassMethods.send(:include, Machinist::MongoMapperExtensions::Document)
59
+ MongoMapper::Document.append_extensions(Machinist::Blueprints::ClassMethods)
60
+ MongoMapper::Document.append_extensions(Machinist::MongoMapperExtensions::Document)
62
61
  MongoMapper::EmbeddedDocument::ClassMethods.send(:include, Machinist::Blueprints::ClassMethods)
63
62
  MongoMapper::EmbeddedDocument::ClassMethods.send(:include, Machinist::MongoMapperExtensions::EmbeddedDocument)
@@ -5,20 +5,20 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{machinist_mongomapper}
8
- s.version = "0.9.7"
8
+ s.version = "1.0.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Nicolas M\303\251rouze", "Vincent Hellot", "Mathieu Fosse", "Cyril Mougel"]
12
- s.date = %q{2009-11-22}
13
- s.email = %q{dev@yeastymobs.com}
11
+ s.authors = ["Nicolas M\303\251rouze", "Cyril Mougel"]
12
+ s.date = %q{2010-01-11}
13
+ s.email = %q{nicolas.merouze@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
16
- "README.md"
16
+ "README.textile"
17
17
  ]
18
18
  s.files = [
19
19
  ".gitignore",
20
20
  "LICENSE",
21
- "README.md",
21
+ "README.textile",
22
22
  "Rakefile",
23
23
  "VERSION",
24
24
  "init.rb",
metadata CHANGED
@@ -1,18 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: machinist_mongomapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Nicolas M\xC3\xA9rouze"
8
- - Vincent Hellot
9
- - Mathieu Fosse
10
8
  - Cyril Mougel
11
9
  autorequire:
12
10
  bindir: bin
13
11
  cert_chain: []
14
12
 
15
- date: 2009-11-22 00:00:00 +01:00
13
+ date: 2010-01-11 00:00:00 +01:00
16
14
  default_executable:
17
15
  dependencies:
18
16
  - !ruby/object:Gem::Dependency
@@ -36,18 +34,18 @@ dependencies:
36
34
  version: 0.6.1
37
35
  version:
38
36
  description:
39
- email: dev@yeastymobs.com
37
+ email: nicolas.merouze@gmail.com
40
38
  executables: []
41
39
 
42
40
  extensions: []
43
41
 
44
42
  extra_rdoc_files:
45
43
  - LICENSE
46
- - README.md
44
+ - README.textile
47
45
  files:
48
46
  - .gitignore
49
47
  - LICENSE
50
- - README.md
48
+ - README.textile
51
49
  - Rakefile
52
50
  - VERSION
53
51
  - init.rb
data/README.md DELETED
@@ -1,5 +0,0 @@
1
- Machinist adapter for [MongoMapper](http://github.com/jnunemaker/mongomapper).
2
-
3
- ## TODO
4
-
5
- * Spec for EmbeddedDocument.