yogo-db 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +24 -0
- data/.rspec +1 -0
- data/Gemfile +36 -0
- data/Gemfile.lock +213 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +63 -0
- data/VERSION +1 -0
- data/config.ru +27 -0
- data/config/database.yml +19 -0
- data/config/datamapper.rb +9 -0
- data/features/step_definitions/yogo-db_steps.rb +0 -0
- data/features/support/env.rb +2 -0
- data/features/yogo-db.feature +9 -0
- data/lib/yogo-db.rb +4 -0
- data/lib/yogo/data/default_methods.rb +89 -0
- data/lib/yogo/data_app.rb +50 -0
- data/lib/yogo/model/schema.rb +138 -0
- data/lib/yogo/operations.rb +2 -0
- data/lib/yogo/operations/basic.rb +31 -0
- data/lib/yogo/operations/file.rb +44 -0
- data/lib/yogo/rack/model_lookup.rb +37 -0
- data/lib/yogo/schema_app.rb +43 -0
- data/spec/factories/schema.rb +5 -0
- data/spec/helpers/request_helper.rb +30 -0
- data/spec/model/schema_spec.rb +136 -0
- data/spec/spec_helper.rb +37 -0
- data/spec/yogo/data_app_spec.rb +32 -0
- data/spec/yogo/model_lookup_spec.rb +78 -0
- data/spec/yogo/schema_app_spec.rb +105 -0
- data/yogo-db.gemspec +115 -0
- metadata +259 -0
metadata
ADDED
@@ -0,0 +1,259 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yogo-db
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
version: 0.2.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Ryan Heimbuch
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-10-29 00:00:00 -06:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: sinatra
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :runtime
|
31
|
+
prerelease: false
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rack
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
42
|
+
version: "0"
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: activesupport
|
48
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
55
|
+
version: "0"
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *id003
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: dm-core
|
61
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
segments:
|
67
|
+
- 0
|
68
|
+
version: "0"
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: *id004
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: dm-migrations
|
74
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 0
|
81
|
+
version: "0"
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: *id005
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: dm-serializer
|
87
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
95
|
+
type: :runtime
|
96
|
+
prerelease: false
|
97
|
+
version_requirements: *id006
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: dm-timestamps
|
100
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
108
|
+
type: :runtime
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: *id007
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: dm-validations
|
113
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
version: "0"
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *id008
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: dm-sqlite-adapter
|
126
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
segments:
|
132
|
+
- 0
|
133
|
+
version: "0"
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: *id009
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: dm-postgres-adapter
|
139
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
version: "0"
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: *id010
|
150
|
+
- !ruby/object:Gem::Dependency
|
151
|
+
name: json
|
152
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
segments:
|
158
|
+
- 0
|
159
|
+
version: "0"
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: *id011
|
163
|
+
- !ruby/object:Gem::Dependency
|
164
|
+
name: carrierwave
|
165
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
166
|
+
none: false
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
segments:
|
171
|
+
- 0
|
172
|
+
version: "0"
|
173
|
+
type: :runtime
|
174
|
+
prerelease: false
|
175
|
+
version_requirements: *id012
|
176
|
+
description: Restful interface to yogo data components
|
177
|
+
email: rheimbuch@gmail.com
|
178
|
+
executables: []
|
179
|
+
|
180
|
+
extensions: []
|
181
|
+
|
182
|
+
extra_rdoc_files:
|
183
|
+
- LICENSE
|
184
|
+
- README.rdoc
|
185
|
+
files:
|
186
|
+
- .document
|
187
|
+
- .gitignore
|
188
|
+
- .rspec
|
189
|
+
- Gemfile
|
190
|
+
- Gemfile.lock
|
191
|
+
- LICENSE
|
192
|
+
- README.rdoc
|
193
|
+
- Rakefile
|
194
|
+
- VERSION
|
195
|
+
- config.ru
|
196
|
+
- config/database.yml
|
197
|
+
- config/datamapper.rb
|
198
|
+
- features/step_definitions/yogo-db_steps.rb
|
199
|
+
- features/support/env.rb
|
200
|
+
- features/yogo-db.feature
|
201
|
+
- lib/yogo-db.rb
|
202
|
+
- lib/yogo/data/default_methods.rb
|
203
|
+
- lib/yogo/data_app.rb
|
204
|
+
- lib/yogo/db/.gitdir
|
205
|
+
- lib/yogo/model/schema.rb
|
206
|
+
- lib/yogo/operations.rb
|
207
|
+
- lib/yogo/operations/basic.rb
|
208
|
+
- lib/yogo/operations/file.rb
|
209
|
+
- lib/yogo/rack/model_lookup.rb
|
210
|
+
- lib/yogo/schema_app.rb
|
211
|
+
- spec/factories/schema.rb
|
212
|
+
- spec/helpers/request_helper.rb
|
213
|
+
- spec/model/schema_spec.rb
|
214
|
+
- spec/spec_helper.rb
|
215
|
+
- spec/yogo/data_app_spec.rb
|
216
|
+
- spec/yogo/model_lookup_spec.rb
|
217
|
+
- spec/yogo/schema_app_spec.rb
|
218
|
+
- yogo-db.gemspec
|
219
|
+
has_rdoc: true
|
220
|
+
homepage: http://github.com/yogo/yogo-db
|
221
|
+
licenses: []
|
222
|
+
|
223
|
+
post_install_message:
|
224
|
+
rdoc_options:
|
225
|
+
- --charset=UTF-8
|
226
|
+
require_paths:
|
227
|
+
- lib
|
228
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
229
|
+
none: false
|
230
|
+
requirements:
|
231
|
+
- - ">="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
hash: 2698468923936211108
|
234
|
+
segments:
|
235
|
+
- 0
|
236
|
+
version: "0"
|
237
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
|
+
none: false
|
239
|
+
requirements:
|
240
|
+
- - ">="
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
segments:
|
243
|
+
- 0
|
244
|
+
version: "0"
|
245
|
+
requirements: []
|
246
|
+
|
247
|
+
rubyforge_project:
|
248
|
+
rubygems_version: 1.3.7
|
249
|
+
signing_key:
|
250
|
+
specification_version: 3
|
251
|
+
summary: Yogo DB Rest components
|
252
|
+
test_files:
|
253
|
+
- spec/factories/schema.rb
|
254
|
+
- spec/helpers/request_helper.rb
|
255
|
+
- spec/model/schema_spec.rb
|
256
|
+
- spec/spec_helper.rb
|
257
|
+
- spec/yogo/data_app_spec.rb
|
258
|
+
- spec/yogo/model_lookup_spec.rb
|
259
|
+
- spec/yogo/schema_app_spec.rb
|