rails_dm_datastore 0.2.11.pre → 0.2.12.pre

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 CHANGED
@@ -1 +1 @@
1
- 0.2.11.pre
1
+ 0.2.12.pre
@@ -12,6 +12,7 @@ class <%= class_name %>
12
12
  max = attribute.name.size if attribute.name.size > max
13
13
  end -%>
14
14
  include DataMapper::Resource
15
+ storage_names[:default] = "<%= class_name %>"
15
16
 
16
17
  property :id,<%= " " * (max - 2) %> Serial
17
18
  <% Array(attributes).each do |attribute|
@@ -3,7 +3,7 @@ module DataMapper
3
3
  module Resource
4
4
  alias :attributes_orig= :attributes=
5
5
  # avoid object references in URLs
6
- def to_param; id.to_s; end
6
+ def to_param; id.id.to_s; end
7
7
  # silence deprecation warnings
8
8
  def new_record?; new?; end
9
9
  # avoid NoMethodError
@@ -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.11.pre"
8
+ s.version = "0.2.12.pre"
9
9
 
10
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-09-13}
12
+ s.date = %q{2010-09-21}
13
13
  s.description = %q{Integrate datamapper to Rails for the Google App Engine}
14
14
  s.email = ["joshsmoore@gmail.com", "woodie@netpress.com"]
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_dm_datastore
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961916024
4
+ hash: 961916004
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 11
9
+ - 12
10
10
  - pre
11
- version: 0.2.11.pre
11
+ version: 0.2.12.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Josh S Moore
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-09-13 00:00:00 +08:00
20
+ date: 2010-09-21 00:00:00 +08:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency