rails_dm_datastore 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/rails_dm_datastore/data_mapper.rb +3 -2
- data/rails_dm_datastore.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.14
|
|
@@ -14,9 +14,10 @@ module DataMapper
|
|
|
14
14
|
def attributes=(attributes)
|
|
15
15
|
return if attributes.nil?
|
|
16
16
|
self.class.properties.each do |t|
|
|
17
|
-
if !(t.name.to_s =~ /.*_at/) && (t.
|
|
17
|
+
if !(t.name.to_s =~ /.*_at/) && (t.primitive.to_s =~ /Date|Time/ ) &&
|
|
18
18
|
attributes.include?("#{t.name.to_s}(1i)")
|
|
19
|
-
|
|
19
|
+
puts 'here fixing attribute'
|
|
20
|
+
MultiparameterAssignments.fix_date(attributes, t.name.to_s, t.primitive)
|
|
20
21
|
end
|
|
21
22
|
end
|
|
22
23
|
self.attributes_orig=(attributes)
|
data/rails_dm_datastore.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
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.14"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Josh S Moore", "John Woodell"]
|
|
12
|
-
s.date = %q{2010-10-
|
|
12
|
+
s.date = %q{2010-10-28}
|
|
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 = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_dm_datastore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 11
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 14
|
|
10
|
+
version: 0.2.14
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Josh S Moore
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-10-
|
|
19
|
+
date: 2010-10-28 00:00:00 +08:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|