rails_dm_datastore 0.2.16 → 0.2.17.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rails_dm_datastore/data_mapper.rb +7 -4
- data/rails_dm_datastore.gemspec +24 -26
- metadata +14 -12
- data/.gitignore +0 -23
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.17.pre
|
@@ -1,12 +1,15 @@
|
|
1
1
|
# Patch connections between DataMapper and Rails 2.3.5
|
2
2
|
module DataMapper
|
3
3
|
module Resource
|
4
|
-
|
4
|
+
|
5
5
|
alias :attributes_orig= :attributes=
|
6
|
-
|
6
|
+
|
7
7
|
# avoid object references in URLs
|
8
|
-
def to_param
|
9
|
-
|
8
|
+
def to_param
|
9
|
+
id.nil?? "" :
|
10
|
+
id.is_a?(Integer)? id.to_s : id.id.to_s
|
11
|
+
end
|
12
|
+
|
10
13
|
# silence deprecation warnings
|
11
14
|
def new_record?; new?; end
|
12
15
|
# avoid NoMethodError
|
data/rails_dm_datastore.gemspec
CHANGED
@@ -1,51 +1,49 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rails_dm_datastore}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.17.pre"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Josh S Moore", "John Woodell"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-17}
|
13
13
|
s.description = %q{This gem patches all of the problems that appear from running Rails with DataMapper on the GAE. The main patches are patching DataMapper so that it does not use the ObjectSpace (The ObjectSpace itself is also patched so that this works seamlessly). Also ActiveView is patched so that all of the partial shortcuts work with DataMapper. In addition, a generate is provided (dd_model) that will produce a DataMapper model. One last note is that this gem depends on a dm-core (and other dm gems), dm-appengein, and rails_appengene so all you need is to require this gem in your gem file and you should get all the other gems you need to make DataMapper work with Rails and the GAE.}
|
14
14
|
s.email = ["joshsmoore@gmail.com", "woodie@netpress.com"]
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
"test/test_weak_reference.rb"
|
21
|
+
"LICENSE",
|
22
|
+
"README.rdoc",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"generators/dd_model/USAGE",
|
26
|
+
"generators/dd_model/dd_model_generator.rb",
|
27
|
+
"generators/dd_model/templates/model.rb",
|
28
|
+
"generators/dd_model/templates/unit_test.rb",
|
29
|
+
"lib/rails_dm_datastore.rb",
|
30
|
+
"lib/rails_dm_datastore/action_view.rb",
|
31
|
+
"lib/rails_dm_datastore/data_mapper.rb",
|
32
|
+
"lib/rails_dm_datastore/extlib.rb",
|
33
|
+
"lib/rails_dm_datastore/local_object_space.rb",
|
34
|
+
"rails_dm_datastore.gemspec",
|
35
|
+
"test/helper.rb",
|
36
|
+
"test/test_dm-rails-gae.rb",
|
37
|
+
"test/test_weak_reference.rb"
|
39
38
|
]
|
40
39
|
s.homepage = %q{http://github.com/joshsmoore/rails_dm_datastore}
|
41
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
42
40
|
s.require_paths = ["lib"]
|
43
41
|
s.rubygems_version = %q{1.3.7}
|
44
42
|
s.summary = %q{Integrate datamapper to Rails for the Google App Engine}
|
45
43
|
s.test_files = [
|
46
44
|
"test/helper.rb",
|
47
|
-
|
48
|
-
|
45
|
+
"test/test_dm-rails-gae.rb",
|
46
|
+
"test/test_weak_reference.rb"
|
49
47
|
]
|
50
48
|
|
51
49
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_dm_datastore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 961915920
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
|
9
|
+
- 17
|
10
|
+
- pre
|
11
|
+
version: 0.2.17.pre
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Josh S Moore
|
@@ -16,7 +17,7 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2010-
|
20
|
+
date: 2010-11-17 00:00:00 +08:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
@@ -138,7 +139,6 @@ extra_rdoc_files:
|
|
138
139
|
- README.rdoc
|
139
140
|
files:
|
140
141
|
- .document
|
141
|
-
- .gitignore
|
142
142
|
- LICENSE
|
143
143
|
- README.rdoc
|
144
144
|
- Rakefile
|
@@ -161,8 +161,8 @@ homepage: http://github.com/joshsmoore/rails_dm_datastore
|
|
161
161
|
licenses: []
|
162
162
|
|
163
163
|
post_install_message:
|
164
|
-
rdoc_options:
|
165
|
-
|
164
|
+
rdoc_options: []
|
165
|
+
|
166
166
|
require_paths:
|
167
167
|
- lib
|
168
168
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -177,12 +177,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
178
|
none: false
|
179
179
|
requirements:
|
180
|
-
- - "
|
180
|
+
- - ">"
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
hash:
|
182
|
+
hash: 25
|
183
183
|
segments:
|
184
|
-
-
|
185
|
-
|
184
|
+
- 1
|
185
|
+
- 3
|
186
|
+
- 1
|
187
|
+
version: 1.3.1
|
186
188
|
requirements: []
|
187
189
|
|
188
190
|
rubyforge_project:
|