dm-appengine 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "dm-appengine"
8
- GEM_VERSION = "0.1.2"
8
+ GEM_VERSION = "0.1.3"
9
9
  HOMEPAGE = "http://code.google.com/p/appengine-jruby"
10
10
  SUMMARY = "A DataMapper adapter for Google App Engine"
11
11
 
@@ -26,7 +26,7 @@ spec = Gem::Specification.new do |s|
26
26
  s.add_dependency("lexidecimal", ["~> 0.0"])
27
27
 
28
28
  s.require_path = 'lib'
29
- s.autorequire = "#{GEM}-adapter"
29
+ s.autorequire = GEM
30
30
  s.files = %w(LICENSE README.rdoc Rakefile) + Dir.glob("spec/*.rb") + Dir.glob("lib/**/*.rb")
31
31
  end
32
32
 
@@ -18,4 +18,4 @@ module DataMapper
18
18
  end
19
19
  end
20
20
  end
21
- end
21
+ end
@@ -33,38 +33,45 @@ module DataMapper
33
33
  end
34
34
 
35
35
  class Blob < AppEngineStringType
36
+ accept_options :required
36
37
  primitive AppEngine::Datastore::Blob
37
38
  self.length = 1024 * 1024
38
39
  end
39
40
 
40
41
  class ByteString < AppEngineStringType
42
+ accept_options :required
41
43
  primitive AppEngine::Datastore::ByteString
42
44
  self.length = 500
43
45
  end
44
46
 
45
47
  class Link < AppEngineStringType
48
+ accept_options :required
46
49
  primitive AppEngine::Datastore::Link
47
50
  self.length = 2038
48
51
  end
49
52
 
50
53
  class Email < AppEngineStringType
54
+ accept_options :required
51
55
  primitive AppEngine::Datastore::Email
52
56
  self.length = 500
53
57
  end
54
58
 
55
59
  class Category < AppEngineStringType
60
+ accept_options :required
56
61
  primitive AppEngine::Datastore::Category
57
62
  self.length = 500
58
63
  end
59
64
 
60
65
  class PhoneNumber < AppEngineStringType
66
+ accept_options :required
61
67
  primitive AppEngine::Datastore::PhoneNumber
62
68
  self.length = 500
63
69
  end
64
70
 
65
71
  class PostalAddress < AppEngineStringType
72
+ accept_options :required
66
73
  primitive AppEngine::Datastore::PostalAddress
67
74
  self.length = 500
68
75
  end
69
76
  end
70
- end
77
+ end
metadata CHANGED
@@ -1,33 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-appengine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 2
10
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
11
10
  platform: ruby
12
11
  authors:
13
12
  - Ryan Brown
14
13
  - David Masover
15
- autorequire: dm-appengine-adapter
14
+ autorequire: dm-appengine
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-09-07 00:00:00 -05:00
18
+ date: 2010-11-01 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: appengine-apis
24
23
  prerelease: false
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
25
  requirements:
28
26
  - - ~>
29
27
  - !ruby/object:Gem::Version
30
- hash: 61
31
28
  segments:
32
29
  - 0
33
30
  - 0
@@ -39,11 +36,9 @@ dependencies:
39
36
  name: dm-core
40
37
  prerelease: false
41
38
  requirement: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
39
  requirements:
44
40
  - - ~>
45
41
  - !ruby/object:Gem::Version
46
- hash: 15
47
42
  segments:
48
43
  - 1
49
44
  - 0
@@ -54,11 +49,9 @@ dependencies:
54
49
  name: lexidecimal
55
50
  prerelease: false
56
51
  requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
52
  requirements:
59
53
  - - ~>
60
54
  - !ruby/object:Gem::Version
61
- hash: 11
62
55
  segments:
63
56
  - 0
64
57
  - 0
@@ -83,15 +76,15 @@ files:
83
76
  - spec/dm-appengine_spec.rb
84
77
  - spec/dm-is-entity_spec.rb
85
78
  - spec/spec_helper.rb
86
- - lib/dm-appengine/properties/rating.rb
87
- - lib/dm-appengine/properties/list.rb
88
- - lib/dm-appengine/properties/string.rb
79
+ - lib/appengine_adapter.rb
80
+ - lib/dm-appengine/appengine_resource.rb
81
+ - lib/dm-appengine/is_entity.rb
89
82
  - lib/dm-appengine/properties/key.rb
83
+ - lib/dm-appengine/properties/list.rb
90
84
  - lib/dm-appengine/properties/native.rb
85
+ - lib/dm-appengine/properties/rating.rb
86
+ - lib/dm-appengine/properties/string.rb
91
87
  - lib/dm-appengine/properties.rb
92
- - lib/dm-appengine/appengine_resource.rb
93
- - lib/dm-appengine/is_entity.rb
94
- - lib/dm-appengine-adapter.rb
95
88
  has_rdoc: true
96
89
  homepage: http://code.google.com/p/appengine-jruby
97
90
  licenses: []
@@ -102,27 +95,23 @@ rdoc_options: []
102
95
  require_paths:
103
96
  - lib
104
97
  required_ruby_version: !ruby/object:Gem::Requirement
105
- none: false
106
98
  requirements:
107
99
  - - ">="
108
100
  - !ruby/object:Gem::Version
109
- hash: 3
110
101
  segments:
111
102
  - 0
112
103
  version: "0"
113
104
  required_rubygems_version: !ruby/object:Gem::Requirement
114
- none: false
115
105
  requirements:
116
106
  - - ">="
117
107
  - !ruby/object:Gem::Version
118
- hash: 3
119
108
  segments:
120
109
  - 0
121
110
  version: "0"
122
111
  requirements: []
123
112
 
124
113
  rubyforge_project:
125
- rubygems_version: 1.3.7
114
+ rubygems_version: 1.3.6
126
115
  signing_key:
127
116
  specification_version: 3
128
117
  summary: A DataMapper adapter for Google App Engine