ki 0.3.3 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rspec +1 -1
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/Gemfile +2 -21
  7. data/Gemfile.lock +60 -100
  8. data/Guardfile +1 -1
  9. data/LICENSE.md +21 -0
  10. data/README.md +63 -0
  11. data/Rakefile +3 -45
  12. data/bin/ki +1 -1
  13. data/ki.gemspec +31 -137
  14. data/lib/ki.rb +21 -21
  15. data/lib/ki/api_error.rb +28 -0
  16. data/lib/ki/base_request.rb +34 -0
  17. data/lib/ki/helpers.rb +55 -0
  18. data/lib/ki/ki.rb +40 -0
  19. data/lib/ki/ki_cli.rb +46 -0
  20. data/lib/ki/ki_config.rb +20 -0
  21. data/lib/ki/middleware.rb +155 -0
  22. data/lib/ki/model.rb +70 -0
  23. data/lib/{modules → ki/modules}/callbacks.rb +0 -0
  24. data/lib/ki/modules/format_of.rb +10 -0
  25. data/lib/{modules → ki/modules}/model_helpers.rb +0 -12
  26. data/lib/ki/modules/public_file_helper.rb +13 -0
  27. data/lib/ki/modules/query_interface.rb +36 -0
  28. data/lib/{modules → ki/modules}/restrictions.rb +0 -30
  29. data/lib/ki/modules/view_helper.rb +13 -0
  30. data/lib/ki/orm.rb +65 -0
  31. data/lib/ki/version.rb +3 -0
  32. data/spec/examples/base/.ruby-gemset +1 -0
  33. data/spec/examples/base/.ruby-version +1 -0
  34. data/spec/examples/base/Gemfile +4 -0
  35. data/spec/examples/base/app.rb +1 -0
  36. data/{examples → spec/examples}/base/config.ru +0 -3
  37. data/spec/examples/base/config.yml +17 -0
  38. data/spec/examples/base/public/favicon.ico +0 -0
  39. data/spec/examples/base/public/javascripts/.gitkeep +0 -0
  40. data/spec/examples/base/public/stylesheets/.gitkeep +0 -0
  41. data/spec/examples/base/views/index.haml +6 -0
  42. data/spec/examples/couch-lock/.ruby-gemset +1 -0
  43. data/spec/examples/couch-lock/.ruby-version +1 -0
  44. data/spec/examples/couch-lock/Gemfile +4 -0
  45. data/spec/examples/couch-lock/Gemfile.lock +48 -0
  46. data/spec/examples/couch-lock/app.rb +42 -0
  47. data/spec/examples/couch-lock/config.ru +3 -0
  48. data/spec/examples/couch-lock/config.yml +17 -0
  49. data/spec/examples/couch-lock/install.sh +3 -0
  50. data/spec/examples/couch-lock/public/favicon.ico +0 -0
  51. data/spec/examples/couch-lock/public/javascripts/.gitkeep +0 -0
  52. data/spec/examples/couch-lock/public/stylesheets/.gitkeep +0 -0
  53. data/spec/examples/couch-lock/views/index.haml +18 -0
  54. data/spec/examples/json.northpole.ro/.ruby-gemset +1 -0
  55. data/spec/examples/json.northpole.ro/.ruby-version +1 -0
  56. data/spec/examples/json.northpole.ro/Capfile +25 -0
  57. data/spec/examples/json.northpole.ro/Gemfile +6 -0
  58. data/spec/examples/json.northpole.ro/Gemfile.lock +68 -0
  59. data/spec/examples/json.northpole.ro/app.rb +79 -0
  60. data/spec/examples/json.northpole.ro/client.rb +25 -0
  61. data/spec/examples/json.northpole.ro/config.ru +3 -0
  62. data/spec/examples/json.northpole.ro/config.yml +17 -0
  63. data/spec/examples/json.northpole.ro/config/deploy.rb +59 -0
  64. data/spec/examples/json.northpole.ro/config/deploy/production.rb +39 -0
  65. data/spec/examples/json.northpole.ro/foo.rb +10 -0
  66. data/spec/examples/json.northpole.ro/public/JNorthPole.jar +0 -0
  67. data/spec/examples/json.northpole.ro/public/favicon.ico +0 -0
  68. data/spec/examples/json.northpole.ro/public/font/FontAwesome.otf +0 -0
  69. data/spec/examples/json.northpole.ro/public/font/fontawesome-webfont.eot +0 -0
  70. data/spec/examples/json.northpole.ro/public/font/fontawesome-webfont.svg +284 -0
  71. data/spec/examples/json.northpole.ro/public/font/fontawesome-webfont.ttf +0 -0
  72. data/spec/examples/json.northpole.ro/public/font/fontawesome-webfont.woff +0 -0
  73. data/spec/examples/json.northpole.ro/public/images/bear.png +0 -0
  74. data/spec/examples/json.northpole.ro/public/images/bg.png +0 -0
  75. data/spec/examples/json.northpole.ro/public/images/cloud.png +0 -0
  76. data/spec/examples/json.northpole.ro/public/images/dotnet.png +0 -0
  77. data/spec/examples/json.northpole.ro/public/images/dotnet_small.png +0 -0
  78. data/spec/examples/json.northpole.ro/public/images/footer.png +0 -0
  79. data/spec/examples/json.northpole.ro/public/images/glyphicons-halflings-white.png +0 -0
  80. data/spec/examples/json.northpole.ro/public/images/glyphicons-halflings.png +0 -0
  81. data/spec/examples/json.northpole.ro/public/images/ice.png +0 -0
  82. data/spec/examples/json.northpole.ro/public/images/java.png +0 -0
  83. data/spec/examples/json.northpole.ro/public/images/java_small.png +0 -0
  84. data/spec/examples/json.northpole.ro/public/images/json.png +0 -0
  85. data/spec/examples/json.northpole.ro/public/images/json_small.png +0 -0
  86. data/spec/examples/json.northpole.ro/public/images/logo.png +0 -0
  87. data/spec/examples/json.northpole.ro/public/images/mobile.png +0 -0
  88. data/spec/examples/json.northpole.ro/public/images/php.png +0 -0
  89. data/spec/examples/json.northpole.ro/public/images/php_small.png +0 -0
  90. data/spec/examples/json.northpole.ro/public/images/python.png +0 -0
  91. data/spec/examples/json.northpole.ro/public/images/python_small.png +0 -0
  92. data/spec/examples/json.northpole.ro/public/images/ruby.png +0 -0
  93. data/spec/examples/json.northpole.ro/public/images/ruby_small.png +0 -0
  94. data/spec/examples/json.northpole.ro/public/images/shell.png +0 -0
  95. data/spec/examples/json.northpole.ro/public/images/shell_small.png +0 -0
  96. data/spec/examples/json.northpole.ro/public/javascripts/analytics.js +9 -0
  97. data/spec/examples/json.northpole.ro/public/javascripts/app.coffee +133 -0
  98. data/spec/examples/json.northpole.ro/public/javascripts/docs.min.js +16 -0
  99. data/spec/examples/json.northpole.ro/public/javascripts/jnorthpole.coffee +34 -0
  100. data/spec/examples/json.northpole.ro/public/javascripts/util.coffee +31 -0
  101. data/spec/examples/json.northpole.ro/public/stylesheets/app.sass +23 -0
  102. data/spec/examples/json.northpole.ro/public/stylesheets/application.sass +222 -0
  103. data/spec/examples/json.northpole.ro/public/stylesheets/cover.css +154 -0
  104. data/spec/examples/json.northpole.ro/views/curl.haml +19 -0
  105. data/spec/examples/json.northpole.ro/views/doc.haml +16 -0
  106. data/spec/examples/json.northpole.ro/views/doc_table.haml +45 -0
  107. data/spec/examples/json.northpole.ro/views/dotnet.haml +24 -0
  108. data/spec/examples/json.northpole.ro/views/examples.haml +28 -0
  109. data/spec/examples/json.northpole.ro/views/faq.haml +32 -0
  110. data/spec/examples/json.northpole.ro/views/foo.haml +7 -0
  111. data/spec/examples/json.northpole.ro/views/index.haml +4 -0
  112. data/spec/examples/json.northpole.ro/views/java.haml +0 -0
  113. data/spec/examples/json.northpole.ro/views/layout.haml +42 -0
  114. data/spec/examples/json.northpole.ro/views/php.haml +37 -0
  115. data/spec/examples/json.northpole.ro/views/playground.haml +38 -0
  116. data/spec/examples/json.northpole.ro/views/python.haml +17 -0
  117. data/spec/examples/json.northpole.ro/views/ruby.haml +12 -0
  118. data/spec/examples/json.northpole.ro/views/signup.haml +2 -0
  119. data/spec/examples/json.northpole.ro/views/thanks.haml +12 -0
  120. data/spec/functional_spec.rb +4 -0
  121. data/spec/lib/ki/base_request_spec.rb +88 -0
  122. data/spec/lib/ki/helpers_spec.rb +12 -0
  123. data/spec/lib/ki/ki_config_spec.rb +7 -0
  124. data/spec/lib/ki/middleware_spec.rb +11 -0
  125. data/spec/lib/ki/model_spec.rb +100 -0
  126. data/spec/lib/ki/modules/format_of_spec.rb +15 -0
  127. data/spec/lib/ki/orm_spec.rb +83 -0
  128. data/spec/spec_helper.rb +18 -5
  129. data/spec/util_spec.rb +7 -36
  130. metadata +269 -193
  131. data/.document +0 -5
  132. data/.rvmrc +0 -1
  133. data/LICENSE.txt +0 -20
  134. data/README.rdoc +0 -3
  135. data/VERSION +0 -1
  136. data/examples/base/Gemfile +0 -3
  137. data/examples/base/Gemfile.lock +0 -24
  138. data/examples/base/app.rb +0 -4
  139. data/examples/base/config.yml +0 -16
  140. data/gfx/colors.xcf +0 -0
  141. data/gfx/ki3.eps +0 -0
  142. data/gfx/logo.png +0 -0
  143. data/ki_wrap.rb +0 -35
  144. data/lib/conf.rb +0 -28
  145. data/lib/db.rb +0 -73
  146. data/lib/helpers.rb +0 -34
  147. data/lib/ki_cli.rb +0 -76
  148. data/lib/mockreq.rb +0 -45
  149. data/lib/model.rb +0 -110
  150. data/lib/modules/email.rb +0 -51
  151. data/lib/modules/query_interface.rb +0 -42
  152. data/lib/req.rb +0 -57
  153. data/lib/resp.rb +0 -70
  154. data/lib/static_file.rb +0 -68
  155. data/lib/util.rb +0 -114
  156. data/lib/views/404.haml +0 -1
  157. data/lib/views/406.haml +0 -1
  158. data/lib/views/index.haml +0 -7
  159. data/lib/views/layout.haml +0 -1
  160. data/spec/conf_spec.rb +0 -6
  161. data/spec/db_spec.rb +0 -93
  162. data/spec/integration/integration_spec.rb +0 -114
  163. data/spec/ki_spec.rb +0 -7
  164. data/spec/model_spec.rb +0 -91
  165. data/spec/modules/callbacks_spec.rb +0 -25
  166. data/spec/modules/email_spec.rb +0 -19
  167. data/spec/modules/query_interface_spec.rb +0 -93
  168. data/spec/modules/restrictions_spec.rb +0 -110
  169. data/spec/performance/performance.sh +0 -1
  170. data/spec/req_spec.rb +0 -29
metadata CHANGED
@@ -1,378 +1,454 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
5
- prerelease:
4
+ version: 0.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Cristian Mircea Messel
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-02 00:00:00.000000000 Z
11
+ date: 2014-10-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: rack
14
+ name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '1.5'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '1.5'
30
27
  - !ruby/object:Gem::Dependency
31
- name: mongo
28
+ name: rack
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
- name: bson_ext
42
+ name: rack-parser
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: thor
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: haml
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: sass
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: coffee-script
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
- name: thin
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :runtime
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- - !ruby/object:Gem::Dependency
143
- name: mail
112
+ name: mongo
144
113
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
114
  requirements:
147
- - - ! '>='
115
+ - - ">="
148
116
  - !ruby/object:Gem::Version
149
117
  version: '0'
150
118
  type: :runtime
151
119
  prerelease: false
152
120
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
121
  requirements:
155
- - - ! '>='
122
+ - - ">="
156
123
  - !ruby/object:Gem::Version
157
124
  version: '0'
158
125
  - !ruby/object:Gem::Dependency
159
- name: json
126
+ name: bson_ext
160
127
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
128
  requirements:
163
- - - ! '>='
129
+ - - ">="
164
130
  - !ruby/object:Gem::Version
165
131
  version: '0'
166
132
  type: :runtime
167
133
  prerelease: false
168
134
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: rspec
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- type: :development
183
- prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
135
  requirements:
187
- - - ! '>='
136
+ - - ">="
188
137
  - !ruby/object:Gem::Version
189
138
  version: '0'
190
139
  - !ruby/object:Gem::Dependency
191
- name: guard-rspec
140
+ name: rake
192
141
  requirement: !ruby/object:Gem::Requirement
193
- none: false
194
142
  requirements:
195
- - - ! '>='
143
+ - - ">="
196
144
  - !ruby/object:Gem::Version
197
145
  version: '0'
198
146
  type: :development
199
147
  prerelease: false
200
148
  version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
149
  requirements:
203
- - - ! '>='
150
+ - - ">="
204
151
  - !ruby/object:Gem::Version
205
152
  version: '0'
206
153
  - !ruby/object:Gem::Dependency
207
- name: rb-inotify
154
+ name: rack-test
208
155
  requirement: !ruby/object:Gem::Requirement
209
- none: false
210
156
  requirements:
211
- - - ~>
212
- - !ruby/object:Gem::Version
213
- version: 0.8.8
214
- type: :development
215
- prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ~>
220
- - !ruby/object:Gem::Version
221
- version: 0.8.8
222
- - !ruby/object:Gem::Dependency
223
- name: rdoc
224
- requirement: !ruby/object:Gem::Requirement
225
- none: false
226
- requirements:
227
- - - ! '>='
157
+ - - ">="
228
158
  - !ruby/object:Gem::Version
229
159
  version: '0'
230
160
  type: :development
231
161
  prerelease: false
232
162
  version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
163
  requirements:
235
- - - ! '>='
164
+ - - ">="
236
165
  - !ruby/object:Gem::Version
237
166
  version: '0'
238
167
  - !ruby/object:Gem::Dependency
239
- name: bundler
240
- requirement: !ruby/object:Gem::Requirement
241
- none: false
242
- requirements:
243
- - - ! '>='
244
- - !ruby/object:Gem::Version
245
- version: '0'
246
- type: :development
247
- prerelease: false
248
- version_requirements: !ruby/object:Gem::Requirement
249
- none: false
250
- requirements:
251
- - - ! '>='
252
- - !ruby/object:Gem::Version
253
- version: '0'
254
- - !ruby/object:Gem::Dependency
255
- name: jeweler
168
+ name: rspec
256
169
  requirement: !ruby/object:Gem::Requirement
257
- none: false
258
170
  requirements:
259
- - - ! '>='
171
+ - - ">="
260
172
  - !ruby/object:Gem::Version
261
173
  version: '0'
262
174
  type: :development
263
175
  prerelease: false
264
176
  version_requirements: !ruby/object:Gem::Requirement
265
- none: false
266
177
  requirements:
267
- - - ! '>='
178
+ - - ">="
268
179
  - !ruby/object:Gem::Version
269
180
  version: '0'
270
181
  - !ruby/object:Gem::Dependency
271
- name: simplecov
182
+ name: guard-rspec
272
183
  requirement: !ruby/object:Gem::Requirement
273
- none: false
274
184
  requirements:
275
- - - ! '>='
185
+ - - ">="
276
186
  - !ruby/object:Gem::Version
277
187
  version: '0'
278
188
  type: :development
279
189
  prerelease: false
280
190
  version_requirements: !ruby/object:Gem::Requirement
281
- none: false
282
191
  requirements:
283
- - - ! '>='
192
+ - - ">="
284
193
  - !ruby/object:Gem::Version
285
194
  version: '0'
286
- description: Fuck setting up a database for your prototypes. Some call it an ORM with
287
- a RESTful interface. Some say its for prototyping.
288
- email: mess110@gmail.com
195
+ description: it said optional
196
+ email:
197
+ - mess110@gmail.com
289
198
  executables:
290
199
  - ki
291
200
  extensions: []
292
- extra_rdoc_files:
293
- - LICENSE.txt
294
- - README.rdoc
201
+ extra_rdoc_files: []
295
202
  files:
296
- - .document
297
- - .rspec
298
- - .rvmrc
203
+ - ".gitignore"
204
+ - ".rspec"
205
+ - ".ruby-gemset"
206
+ - ".ruby-version"
299
207
  - Gemfile
300
208
  - Gemfile.lock
301
209
  - Guardfile
302
- - LICENSE.txt
303
- - README.rdoc
210
+ - LICENSE.md
211
+ - README.md
304
212
  - Rakefile
305
- - VERSION
306
213
  - bin/ki
307
- - examples/base/Gemfile
308
- - examples/base/Gemfile.lock
309
- - examples/base/app.rb
310
- - examples/base/config.ru
311
- - examples/base/config.yml
312
- - gfx/colors.xcf
313
- - gfx/ki3.eps
314
- - gfx/logo.png
315
214
  - ki.gemspec
316
- - ki_wrap.rb
317
- - lib/conf.rb
318
- - lib/db.rb
319
- - lib/helpers.rb
320
215
  - lib/ki.rb
321
- - lib/ki_cli.rb
322
- - lib/mockreq.rb
323
- - lib/model.rb
324
- - lib/modules/callbacks.rb
325
- - lib/modules/email.rb
326
- - lib/modules/model_helpers.rb
327
- - lib/modules/query_interface.rb
328
- - lib/modules/restrictions.rb
329
- - lib/req.rb
330
- - lib/resp.rb
331
- - lib/static_file.rb
332
- - lib/util.rb
333
- - lib/views/404.haml
334
- - lib/views/406.haml
335
- - lib/views/index.haml
336
- - lib/views/layout.haml
337
- - spec/conf_spec.rb
338
- - spec/db_spec.rb
339
- - spec/integration/integration_spec.rb
340
- - spec/ki_spec.rb
341
- - spec/model_spec.rb
342
- - spec/modules/callbacks_spec.rb
343
- - spec/modules/email_spec.rb
344
- - spec/modules/query_interface_spec.rb
345
- - spec/modules/restrictions_spec.rb
346
- - spec/performance/performance.sh
347
- - spec/req_spec.rb
216
+ - lib/ki/api_error.rb
217
+ - lib/ki/base_request.rb
218
+ - lib/ki/helpers.rb
219
+ - lib/ki/ki.rb
220
+ - lib/ki/ki_cli.rb
221
+ - lib/ki/ki_config.rb
222
+ - lib/ki/middleware.rb
223
+ - lib/ki/model.rb
224
+ - lib/ki/modules/callbacks.rb
225
+ - lib/ki/modules/format_of.rb
226
+ - lib/ki/modules/model_helpers.rb
227
+ - lib/ki/modules/public_file_helper.rb
228
+ - lib/ki/modules/query_interface.rb
229
+ - lib/ki/modules/restrictions.rb
230
+ - lib/ki/modules/view_helper.rb
231
+ - lib/ki/orm.rb
232
+ - lib/ki/version.rb
233
+ - spec/examples/base/.ruby-gemset
234
+ - spec/examples/base/.ruby-version
235
+ - spec/examples/base/Gemfile
236
+ - spec/examples/base/app.rb
237
+ - spec/examples/base/config.ru
238
+ - spec/examples/base/config.yml
239
+ - spec/examples/base/public/favicon.ico
240
+ - spec/examples/base/public/javascripts/.gitkeep
241
+ - spec/examples/base/public/stylesheets/.gitkeep
242
+ - spec/examples/base/views/index.haml
243
+ - spec/examples/couch-lock/.ruby-gemset
244
+ - spec/examples/couch-lock/.ruby-version
245
+ - spec/examples/couch-lock/Gemfile
246
+ - spec/examples/couch-lock/Gemfile.lock
247
+ - spec/examples/couch-lock/app.rb
248
+ - spec/examples/couch-lock/config.ru
249
+ - spec/examples/couch-lock/config.yml
250
+ - spec/examples/couch-lock/install.sh
251
+ - spec/examples/couch-lock/public/favicon.ico
252
+ - spec/examples/couch-lock/public/javascripts/.gitkeep
253
+ - spec/examples/couch-lock/public/stylesheets/.gitkeep
254
+ - spec/examples/couch-lock/views/index.haml
255
+ - spec/examples/json.northpole.ro/.ruby-gemset
256
+ - spec/examples/json.northpole.ro/.ruby-version
257
+ - spec/examples/json.northpole.ro/Capfile
258
+ - spec/examples/json.northpole.ro/Gemfile
259
+ - spec/examples/json.northpole.ro/Gemfile.lock
260
+ - spec/examples/json.northpole.ro/app.rb
261
+ - spec/examples/json.northpole.ro/client.rb
262
+ - spec/examples/json.northpole.ro/config.ru
263
+ - spec/examples/json.northpole.ro/config.yml
264
+ - spec/examples/json.northpole.ro/config/deploy.rb
265
+ - spec/examples/json.northpole.ro/config/deploy/production.rb
266
+ - spec/examples/json.northpole.ro/foo.rb
267
+ - spec/examples/json.northpole.ro/public/JNorthPole.jar
268
+ - spec/examples/json.northpole.ro/public/favicon.ico
269
+ - spec/examples/json.northpole.ro/public/font/FontAwesome.otf
270
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.eot
271
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.svg
272
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.ttf
273
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.woff
274
+ - spec/examples/json.northpole.ro/public/images/bear.png
275
+ - spec/examples/json.northpole.ro/public/images/bg.png
276
+ - spec/examples/json.northpole.ro/public/images/cloud.png
277
+ - spec/examples/json.northpole.ro/public/images/dotnet.png
278
+ - spec/examples/json.northpole.ro/public/images/dotnet_small.png
279
+ - spec/examples/json.northpole.ro/public/images/footer.png
280
+ - spec/examples/json.northpole.ro/public/images/glyphicons-halflings-white.png
281
+ - spec/examples/json.northpole.ro/public/images/glyphicons-halflings.png
282
+ - spec/examples/json.northpole.ro/public/images/ice.png
283
+ - spec/examples/json.northpole.ro/public/images/java.png
284
+ - spec/examples/json.northpole.ro/public/images/java_small.png
285
+ - spec/examples/json.northpole.ro/public/images/json.png
286
+ - spec/examples/json.northpole.ro/public/images/json_small.png
287
+ - spec/examples/json.northpole.ro/public/images/logo.png
288
+ - spec/examples/json.northpole.ro/public/images/mobile.png
289
+ - spec/examples/json.northpole.ro/public/images/php.png
290
+ - spec/examples/json.northpole.ro/public/images/php_small.png
291
+ - spec/examples/json.northpole.ro/public/images/python.png
292
+ - spec/examples/json.northpole.ro/public/images/python_small.png
293
+ - spec/examples/json.northpole.ro/public/images/ruby.png
294
+ - spec/examples/json.northpole.ro/public/images/ruby_small.png
295
+ - spec/examples/json.northpole.ro/public/images/shell.png
296
+ - spec/examples/json.northpole.ro/public/images/shell_small.png
297
+ - spec/examples/json.northpole.ro/public/javascripts/analytics.js
298
+ - spec/examples/json.northpole.ro/public/javascripts/app.coffee
299
+ - spec/examples/json.northpole.ro/public/javascripts/docs.min.js
300
+ - spec/examples/json.northpole.ro/public/javascripts/jnorthpole.coffee
301
+ - spec/examples/json.northpole.ro/public/javascripts/util.coffee
302
+ - spec/examples/json.northpole.ro/public/stylesheets/app.sass
303
+ - spec/examples/json.northpole.ro/public/stylesheets/application.sass
304
+ - spec/examples/json.northpole.ro/public/stylesheets/cover.css
305
+ - spec/examples/json.northpole.ro/views/curl.haml
306
+ - spec/examples/json.northpole.ro/views/doc.haml
307
+ - spec/examples/json.northpole.ro/views/doc_table.haml
308
+ - spec/examples/json.northpole.ro/views/dotnet.haml
309
+ - spec/examples/json.northpole.ro/views/examples.haml
310
+ - spec/examples/json.northpole.ro/views/faq.haml
311
+ - spec/examples/json.northpole.ro/views/foo.haml
312
+ - spec/examples/json.northpole.ro/views/index.haml
313
+ - spec/examples/json.northpole.ro/views/java.haml
314
+ - spec/examples/json.northpole.ro/views/layout.haml
315
+ - spec/examples/json.northpole.ro/views/php.haml
316
+ - spec/examples/json.northpole.ro/views/playground.haml
317
+ - spec/examples/json.northpole.ro/views/python.haml
318
+ - spec/examples/json.northpole.ro/views/ruby.haml
319
+ - spec/examples/json.northpole.ro/views/signup.haml
320
+ - spec/examples/json.northpole.ro/views/thanks.haml
321
+ - spec/functional_spec.rb
322
+ - spec/lib/ki/base_request_spec.rb
323
+ - spec/lib/ki/helpers_spec.rb
324
+ - spec/lib/ki/ki_config_spec.rb
325
+ - spec/lib/ki/middleware_spec.rb
326
+ - spec/lib/ki/model_spec.rb
327
+ - spec/lib/ki/modules/format_of_spec.rb
328
+ - spec/lib/ki/orm_spec.rb
348
329
  - spec/spec_helper.rb
349
330
  - spec/util_spec.rb
350
- homepage: http://github.com/mess110/ki
331
+ homepage: ''
351
332
  licenses:
352
333
  - MIT
334
+ metadata: {}
353
335
  post_install_message:
354
336
  rdoc_options: []
355
337
  require_paths:
356
338
  - lib
339
+ - examples
357
340
  required_ruby_version: !ruby/object:Gem::Requirement
358
- none: false
359
341
  requirements:
360
- - - ! '>='
342
+ - - ">="
361
343
  - !ruby/object:Gem::Version
362
344
  version: '0'
363
- segments:
364
- - 0
365
- hash: 4153304961759907564
366
345
  required_rubygems_version: !ruby/object:Gem::Requirement
367
- none: false
368
346
  requirements:
369
- - - ! '>='
347
+ - - ">="
370
348
  - !ruby/object:Gem::Version
371
349
  version: '0'
372
350
  requirements: []
373
351
  rubyforge_project:
374
- rubygems_version: 1.8.23
352
+ rubygems_version: 2.2.2
375
353
  signing_key:
376
- specification_version: 3
377
- summary: Prototyping noSQL RESTful API cloud database
378
- test_files: []
354
+ specification_version: 4
355
+ summary: it said optional
356
+ test_files:
357
+ - spec/examples/base/.ruby-gemset
358
+ - spec/examples/base/.ruby-version
359
+ - spec/examples/base/Gemfile
360
+ - spec/examples/base/app.rb
361
+ - spec/examples/base/config.ru
362
+ - spec/examples/base/config.yml
363
+ - spec/examples/base/public/favicon.ico
364
+ - spec/examples/base/public/javascripts/.gitkeep
365
+ - spec/examples/base/public/stylesheets/.gitkeep
366
+ - spec/examples/base/views/index.haml
367
+ - spec/examples/couch-lock/.ruby-gemset
368
+ - spec/examples/couch-lock/.ruby-version
369
+ - spec/examples/couch-lock/Gemfile
370
+ - spec/examples/couch-lock/Gemfile.lock
371
+ - spec/examples/couch-lock/app.rb
372
+ - spec/examples/couch-lock/config.ru
373
+ - spec/examples/couch-lock/config.yml
374
+ - spec/examples/couch-lock/install.sh
375
+ - spec/examples/couch-lock/public/favicon.ico
376
+ - spec/examples/couch-lock/public/javascripts/.gitkeep
377
+ - spec/examples/couch-lock/public/stylesheets/.gitkeep
378
+ - spec/examples/couch-lock/views/index.haml
379
+ - spec/examples/json.northpole.ro/.ruby-gemset
380
+ - spec/examples/json.northpole.ro/.ruby-version
381
+ - spec/examples/json.northpole.ro/Capfile
382
+ - spec/examples/json.northpole.ro/Gemfile
383
+ - spec/examples/json.northpole.ro/Gemfile.lock
384
+ - spec/examples/json.northpole.ro/app.rb
385
+ - spec/examples/json.northpole.ro/client.rb
386
+ - spec/examples/json.northpole.ro/config.ru
387
+ - spec/examples/json.northpole.ro/config.yml
388
+ - spec/examples/json.northpole.ro/config/deploy.rb
389
+ - spec/examples/json.northpole.ro/config/deploy/production.rb
390
+ - spec/examples/json.northpole.ro/foo.rb
391
+ - spec/examples/json.northpole.ro/public/JNorthPole.jar
392
+ - spec/examples/json.northpole.ro/public/favicon.ico
393
+ - spec/examples/json.northpole.ro/public/font/FontAwesome.otf
394
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.eot
395
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.svg
396
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.ttf
397
+ - spec/examples/json.northpole.ro/public/font/fontawesome-webfont.woff
398
+ - spec/examples/json.northpole.ro/public/images/bear.png
399
+ - spec/examples/json.northpole.ro/public/images/bg.png
400
+ - spec/examples/json.northpole.ro/public/images/cloud.png
401
+ - spec/examples/json.northpole.ro/public/images/dotnet.png
402
+ - spec/examples/json.northpole.ro/public/images/dotnet_small.png
403
+ - spec/examples/json.northpole.ro/public/images/footer.png
404
+ - spec/examples/json.northpole.ro/public/images/glyphicons-halflings-white.png
405
+ - spec/examples/json.northpole.ro/public/images/glyphicons-halflings.png
406
+ - spec/examples/json.northpole.ro/public/images/ice.png
407
+ - spec/examples/json.northpole.ro/public/images/java.png
408
+ - spec/examples/json.northpole.ro/public/images/java_small.png
409
+ - spec/examples/json.northpole.ro/public/images/json.png
410
+ - spec/examples/json.northpole.ro/public/images/json_small.png
411
+ - spec/examples/json.northpole.ro/public/images/logo.png
412
+ - spec/examples/json.northpole.ro/public/images/mobile.png
413
+ - spec/examples/json.northpole.ro/public/images/php.png
414
+ - spec/examples/json.northpole.ro/public/images/php_small.png
415
+ - spec/examples/json.northpole.ro/public/images/python.png
416
+ - spec/examples/json.northpole.ro/public/images/python_small.png
417
+ - spec/examples/json.northpole.ro/public/images/ruby.png
418
+ - spec/examples/json.northpole.ro/public/images/ruby_small.png
419
+ - spec/examples/json.northpole.ro/public/images/shell.png
420
+ - spec/examples/json.northpole.ro/public/images/shell_small.png
421
+ - spec/examples/json.northpole.ro/public/javascripts/analytics.js
422
+ - spec/examples/json.northpole.ro/public/javascripts/app.coffee
423
+ - spec/examples/json.northpole.ro/public/javascripts/docs.min.js
424
+ - spec/examples/json.northpole.ro/public/javascripts/jnorthpole.coffee
425
+ - spec/examples/json.northpole.ro/public/javascripts/util.coffee
426
+ - spec/examples/json.northpole.ro/public/stylesheets/app.sass
427
+ - spec/examples/json.northpole.ro/public/stylesheets/application.sass
428
+ - spec/examples/json.northpole.ro/public/stylesheets/cover.css
429
+ - spec/examples/json.northpole.ro/views/curl.haml
430
+ - spec/examples/json.northpole.ro/views/doc.haml
431
+ - spec/examples/json.northpole.ro/views/doc_table.haml
432
+ - spec/examples/json.northpole.ro/views/dotnet.haml
433
+ - spec/examples/json.northpole.ro/views/examples.haml
434
+ - spec/examples/json.northpole.ro/views/faq.haml
435
+ - spec/examples/json.northpole.ro/views/foo.haml
436
+ - spec/examples/json.northpole.ro/views/index.haml
437
+ - spec/examples/json.northpole.ro/views/java.haml
438
+ - spec/examples/json.northpole.ro/views/layout.haml
439
+ - spec/examples/json.northpole.ro/views/php.haml
440
+ - spec/examples/json.northpole.ro/views/playground.haml
441
+ - spec/examples/json.northpole.ro/views/python.haml
442
+ - spec/examples/json.northpole.ro/views/ruby.haml
443
+ - spec/examples/json.northpole.ro/views/signup.haml
444
+ - spec/examples/json.northpole.ro/views/thanks.haml
445
+ - spec/functional_spec.rb
446
+ - spec/lib/ki/base_request_spec.rb
447
+ - spec/lib/ki/helpers_spec.rb
448
+ - spec/lib/ki/ki_config_spec.rb
449
+ - spec/lib/ki/middleware_spec.rb
450
+ - spec/lib/ki/model_spec.rb
451
+ - spec/lib/ki/modules/format_of_spec.rb
452
+ - spec/lib/ki/orm_spec.rb
453
+ - spec/spec_helper.rb
454
+ - spec/util_spec.rb