digital_opera 0.0.10 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. data/.gitignore +4 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +14 -0
  4. data/Gemfile.lock +186 -0
  5. data/Guardfile +15 -0
  6. data/README.md +35 -0
  7. data/Rakefile +6 -3
  8. data/app/helpers/digital_opera/s3_helper.rb +14 -0
  9. data/digital_opera.gemspec +37 -0
  10. data/lib/digital_opera/banker.rb +1 -1
  11. data/lib/digital_opera/builders/s3_form_builder.rb +118 -0
  12. data/lib/digital_opera/document/base.rb +0 -0
  13. data/lib/digital_opera/document/fields/standard.rb +185 -0
  14. data/lib/digital_opera/document.rb +167 -0
  15. data/lib/digital_opera/engine.rb +9 -0
  16. data/lib/digital_opera/form_object/base.rb +115 -0
  17. data/lib/digital_opera/form_object.rb +13 -0
  18. data/lib/digital_opera/presenter/base.rb +6 -0
  19. data/lib/digital_opera/presenter/concerns/json_serialization.rb +30 -0
  20. data/lib/digital_opera/presenter.rb +9 -0
  21. data/lib/digital_opera/services/s3.rb +148 -0
  22. data/lib/digital_opera/version.rb +1 -1
  23. data/lib/digital_opera.rb +8 -1
  24. data/spec/dummy/README.rdoc +28 -0
  25. data/spec/dummy/Rakefile +8 -0
  26. data/spec/dummy/app/assets/images/.keep +0 -0
  27. data/spec/dummy/app/assets/javascripts/application.js +2 -0
  28. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  29. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  30. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  31. data/spec/dummy/app/mailers/.keep +0 -0
  32. data/spec/dummy/app/models/.keep +0 -0
  33. data/spec/dummy/app/models/concerns/.keep +0 -0
  34. data/spec/dummy/app/views/application/show.html.erb +0 -0
  35. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  36. data/spec/dummy/bin/bundle +3 -0
  37. data/spec/dummy/bin/rails +4 -0
  38. data/spec/dummy/bin/rake +4 -0
  39. data/spec/dummy/config/application.rb +23 -0
  40. data/spec/dummy/config/boot.rb +5 -0
  41. data/spec/dummy/config/database.yml +25 -0
  42. data/spec/dummy/config/environment.rb +5 -0
  43. data/spec/dummy/config/environments/development.rb +29 -0
  44. data/spec/dummy/config/environments/production.rb +80 -0
  45. data/spec/dummy/config/environments/test.rb +36 -0
  46. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/spec/dummy/config/initializers/inflections.rb +16 -0
  49. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  50. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  51. data/spec/dummy/config/initializers/session_store.rb +3 -0
  52. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/spec/dummy/config/locales/en.yml +23 -0
  54. data/spec/dummy/config/routes.rb +3 -0
  55. data/spec/dummy/config.ru +4 -0
  56. data/spec/dummy/db/development.sqlite3 +0 -0
  57. data/spec/dummy/db/schema.rb +16 -0
  58. data/spec/dummy/db/test.sqlite3 +0 -0
  59. data/spec/dummy/lib/assets/.keep +0 -0
  60. data/spec/dummy/public/404.html +58 -0
  61. data/spec/dummy/public/422.html +58 -0
  62. data/spec/dummy/public/500.html +57 -0
  63. data/spec/dummy/public/favicon.ico +0 -0
  64. data/spec/dummy/spec/javascripts/helpers/.gitkeep +0 -0
  65. data/spec/dummy/spec/javascripts/support/jasmine.yml +116 -0
  66. data/spec/dummy/spec/javascripts/support/jasmine_helper.rb +10 -0
  67. data/spec/javascripts/spec/ellipsis_spec.js +10 -28
  68. data/spec/javascripts/spec/events_spec.js +15 -40
  69. data/spec/javascripts/spec/preload_images_spec.js +20 -32
  70. data/spec/javascripts/spec/tables_spec.js +3 -3
  71. data/spec/{banker_spec.rb → lib/digital_opera/banker_spec.rb} +4 -4
  72. data/spec/{base_extensions → lib/digital_opera/base_extensions}/object_spec.rb +0 -0
  73. data/spec/{presenter → lib/digital_opera/presenter}/base_spec.rb +0 -3
  74. data/spec/lib/digital_opera/services/s3_spec.rb +203 -0
  75. data/spec/{token_spec.rb → lib/digital_opera/token_spec.rb} +0 -0
  76. data/spec/spec_helper.rb +11 -5
  77. data/spec/support/aws.rb +5 -0
  78. data/spec/support/document.rb +10 -0
  79. data/tasks/spec.rake +5 -0
  80. data/tmp/rspec_guard_result +1 -0
  81. metadata +268 -46
  82. data/spec/javascripts/SpecRunner.html +0 -62
  83. data/spec/javascripts/lib/jasmine-1.3.1/MIT.LICENSE +0 -20
  84. data/spec/javascripts/lib/jasmine-1.3.1/jasmine-html.js +0 -681
  85. data/spec/javascripts/lib/jasmine-1.3.1/jasmine.css +0 -82
  86. data/spec/javascripts/lib/jasmine-1.3.1/jasmine.js +0 -2600
  87. data/spec/javascripts/src/digital_opera.js +0 -149
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digital_opera
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-11-22 00:00:00.000000000 Z
13
+ date: 2014-03-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -29,14 +29,14 @@ dependencies:
29
29
  - !ruby/object:Gem::Version
30
30
  version: 3.1.0
31
31
  - !ruby/object:Gem::Dependency
32
- name: rake
32
+ name: coffee-rails
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  none: false
35
35
  requirements:
36
36
  - - ! '>='
37
37
  - !ruby/object:Gem::Version
38
38
  version: '0'
39
- type: :development
39
+ type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  none: false
@@ -45,29 +45,29 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: rspec
48
+ name: aws-sdk
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
- - - ! '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.0'
55
55
  type: :development
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  none: false
59
59
  requirements:
60
- - - ! '>='
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: '1.0'
63
63
  - !ruby/object:Gem::Dependency
64
- name: mocha
64
+ name: bundler
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
68
68
  - - ~>
69
69
  - !ruby/object:Gem::Version
70
- version: 0.13.1
70
+ version: '1.3'
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -75,15 +75,15 @@ dependencies:
75
75
  requirements:
76
76
  - - ~>
77
77
  - !ruby/object:Gem::Version
78
- version: 0.13.1
78
+ version: '1.3'
79
79
  - !ruby/object:Gem::Dependency
80
- name: guard
80
+ name: rake
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements:
84
84
  - - ~>
85
85
  - !ruby/object:Gem::Version
86
- version: 2.2.3
86
+ version: 10.1.0
87
87
  type: :development
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +91,39 @@ dependencies:
91
91
  requirements:
92
92
  - - ~>
93
93
  - !ruby/object:Gem::Version
94
- version: 2.2.3
94
+ version: 10.1.0
95
+ - !ruby/object:Gem::Dependency
96
+ name: rspec-rails
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: 2.14.1
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 2.14.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: mocha
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ~>
117
+ - !ruby/object:Gem::Version
118
+ version: 0.13.1
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ~>
125
+ - !ruby/object:Gem::Version
126
+ version: 0.13.1
95
127
  - !ruby/object:Gem::Dependency
96
128
  name: guard-rspec
97
129
  requirement: !ruby/object:Gem::Requirement
@@ -124,6 +156,102 @@ dependencies:
124
156
  - - ~>
125
157
  - !ruby/object:Gem::Version
126
158
  version: 1.5.0
159
+ - !ruby/object:Gem::Dependency
160
+ name: sqlite3
161
+ requirement: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ - !ruby/object:Gem::Dependency
176
+ name: confstruct
177
+ requirement: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ~>
181
+ - !ruby/object:Gem::Version
182
+ version: 0.2.5
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ~>
189
+ - !ruby/object:Gem::Version
190
+ version: 0.2.5
191
+ - !ruby/object:Gem::Dependency
192
+ name: thor
193
+ requirement: !ruby/object:Gem::Requirement
194
+ none: false
195
+ requirements:
196
+ - - ! '>='
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ type: :development
200
+ prerelease: false
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ! '>='
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ - !ruby/object:Gem::Dependency
208
+ name: jasmine
209
+ requirement: !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - ! '>='
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ type: :development
216
+ prerelease: false
217
+ version_requirements: !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: headless
225
+ requirement: !ruby/object:Gem::Requirement
226
+ none: false
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :development
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ! '>='
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ - !ruby/object:Gem::Dependency
240
+ name: jquery-rails
241
+ requirement: !ruby/object:Gem::Requirement
242
+ none: false
243
+ requirements:
244
+ - - ~>
245
+ - !ruby/object:Gem::Version
246
+ version: 2.2.0
247
+ type: :development
248
+ prerelease: false
249
+ version_requirements: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ~>
253
+ - !ruby/object:Gem::Version
254
+ version: 2.2.0
127
255
  description: Tools and utilities for helping out in developing Ruby applications
128
256
  email:
129
257
  - support@digitalopera.com
@@ -131,6 +259,14 @@ executables: []
131
259
  extensions: []
132
260
  extra_rdoc_files: []
133
261
  files:
262
+ - .gitignore
263
+ - .rspec
264
+ - Gemfile
265
+ - Gemfile.lock
266
+ - Guardfile
267
+ - MIT-LICENSE
268
+ - README.md
269
+ - Rakefile
134
270
  - app/assets/javascripts/digital_opera/digital_opera.js
135
271
  - app/assets/javascripts/digital_opera/digital_opera_namespace.js.coffee
136
272
  - app/assets/javascripts/digital_opera/ellipsis.js.coffee
@@ -139,35 +275,87 @@ files:
139
275
  - app/assets/javascripts/digital_opera/preload_images.js.coffee
140
276
  - app/assets/javascripts/digital_opera/strings.js.coffee
141
277
  - app/assets/javascripts/digital_opera/tables.js.coffee
278
+ - app/helpers/digital_opera/s3_helper.rb
279
+ - digital_opera.gemspec
280
+ - lib/digital_opera.rb
142
281
  - lib/digital_opera/banker.rb
143
282
  - lib/digital_opera/base_extensions/object.rb
283
+ - lib/digital_opera/builders/s3_form_builder.rb
284
+ - lib/digital_opera/document.rb
285
+ - lib/digital_opera/document/base.rb
286
+ - lib/digital_opera/document/fields/standard.rb
287
+ - lib/digital_opera/engine.rb
288
+ - lib/digital_opera/form_object.rb
289
+ - lib/digital_opera/form_object/base.rb
290
+ - lib/digital_opera/presenter.rb
144
291
  - lib/digital_opera/presenter/base.rb
292
+ - lib/digital_opera/presenter/concerns/json_serialization.rb
293
+ - lib/digital_opera/services/s3.rb
145
294
  - lib/digital_opera/token.rb
146
295
  - lib/digital_opera/version.rb
147
- - lib/digital_opera.rb
148
- - MIT-LICENSE
149
- - Rakefile
150
- - spec/banker_spec.rb
151
- - spec/base_extensions/object_spec.rb
152
- - spec/javascripts/lib/jasmine-1.3.1/jasmine-html.js
153
- - spec/javascripts/lib/jasmine-1.3.1/jasmine.css
154
- - spec/javascripts/lib/jasmine-1.3.1/jasmine.js
155
- - spec/javascripts/lib/jasmine-1.3.1/MIT.LICENSE
296
+ - spec/dummy/README.rdoc
297
+ - spec/dummy/Rakefile
298
+ - spec/dummy/app/assets/images/.keep
299
+ - spec/dummy/app/assets/javascripts/application.js
300
+ - spec/dummy/app/assets/stylesheets/application.css
301
+ - spec/dummy/app/controllers/application_controller.rb
302
+ - spec/dummy/app/helpers/application_helper.rb
303
+ - spec/dummy/app/mailers/.keep
304
+ - spec/dummy/app/models/.keep
305
+ - spec/dummy/app/models/concerns/.keep
306
+ - spec/dummy/app/views/application/show.html.erb
307
+ - spec/dummy/app/views/layouts/application.html.erb
308
+ - spec/dummy/bin/bundle
309
+ - spec/dummy/bin/rails
310
+ - spec/dummy/bin/rake
311
+ - spec/dummy/config.ru
312
+ - spec/dummy/config/application.rb
313
+ - spec/dummy/config/boot.rb
314
+ - spec/dummy/config/database.yml
315
+ - spec/dummy/config/environment.rb
316
+ - spec/dummy/config/environments/development.rb
317
+ - spec/dummy/config/environments/production.rb
318
+ - spec/dummy/config/environments/test.rb
319
+ - spec/dummy/config/initializers/backtrace_silencers.rb
320
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
321
+ - spec/dummy/config/initializers/inflections.rb
322
+ - spec/dummy/config/initializers/mime_types.rb
323
+ - spec/dummy/config/initializers/secret_token.rb
324
+ - spec/dummy/config/initializers/session_store.rb
325
+ - spec/dummy/config/initializers/wrap_parameters.rb
326
+ - spec/dummy/config/locales/en.yml
327
+ - spec/dummy/config/routes.rb
328
+ - spec/dummy/db/development.sqlite3
329
+ - spec/dummy/db/schema.rb
330
+ - spec/dummy/db/test.sqlite3
331
+ - spec/dummy/lib/assets/.keep
332
+ - spec/dummy/public/404.html
333
+ - spec/dummy/public/422.html
334
+ - spec/dummy/public/500.html
335
+ - spec/dummy/public/favicon.ico
336
+ - spec/dummy/spec/javascripts/helpers/.gitkeep
337
+ - spec/dummy/spec/javascripts/support/jasmine.yml
338
+ - spec/dummy/spec/javascripts/support/jasmine_helper.rb
339
+ - spec/javascripts/spec/SpecHelper.js
156
340
  - spec/javascripts/spec/digital_opera_namespace_spec.js
157
341
  - spec/javascripts/spec/ellipsis_spec.js
158
342
  - spec/javascripts/spec/events_spec.js
159
343
  - spec/javascripts/spec/forms_spec.js
160
344
  - spec/javascripts/spec/preload_images_spec.js
161
- - spec/javascripts/spec/SpecHelper.js
162
345
  - spec/javascripts/spec/strings_spec.js
163
346
  - spec/javascripts/spec/tables_spec.js
164
- - spec/javascripts/SpecRunner.html
165
- - spec/javascripts/src/digital_opera.js
166
- - spec/presenter/base_spec.rb
347
+ - spec/lib/digital_opera/banker_spec.rb
348
+ - spec/lib/digital_opera/base_extensions/object_spec.rb
349
+ - spec/lib/digital_opera/presenter/base_spec.rb
350
+ - spec/lib/digital_opera/services/s3_spec.rb
351
+ - spec/lib/digital_opera/token_spec.rb
167
352
  - spec/spec_helper.rb
353
+ - spec/support/aws.rb
168
354
  - spec/support/base_presenter.rb
355
+ - spec/support/document.rb
169
356
  - spec/support/user.rb
170
- - spec/token_spec.rb
357
+ - tasks/spec.rake
358
+ - tmp/rspec_guard_result
171
359
  homepage: http://www.digitalopera.com/
172
360
  licenses:
173
361
  - MIT
@@ -181,18 +369,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
369
  - - ! '>='
182
370
  - !ruby/object:Gem::Version
183
371
  version: '0'
184
- segments:
185
- - 0
186
- hash: -1597452315637391831
187
372
  required_rubygems_version: !ruby/object:Gem::Requirement
188
373
  none: false
189
374
  requirements:
190
375
  - - ! '>='
191
376
  - !ruby/object:Gem::Version
192
377
  version: '0'
193
- segments:
194
- - 0
195
- hash: -1597452315637391831
196
378
  requirements: []
197
379
  rubyforge_project:
198
380
  rubygems_version: 1.8.23
@@ -200,24 +382,64 @@ signing_key:
200
382
  specification_version: 3
201
383
  summary: Tools and utilities for helping out in developing Ruby applications
202
384
  test_files:
203
- - spec/banker_spec.rb
204
- - spec/base_extensions/object_spec.rb
205
- - spec/javascripts/lib/jasmine-1.3.1/jasmine-html.js
206
- - spec/javascripts/lib/jasmine-1.3.1/jasmine.css
207
- - spec/javascripts/lib/jasmine-1.3.1/jasmine.js
208
- - spec/javascripts/lib/jasmine-1.3.1/MIT.LICENSE
385
+ - spec/dummy/README.rdoc
386
+ - spec/dummy/Rakefile
387
+ - spec/dummy/app/assets/images/.keep
388
+ - spec/dummy/app/assets/javascripts/application.js
389
+ - spec/dummy/app/assets/stylesheets/application.css
390
+ - spec/dummy/app/controllers/application_controller.rb
391
+ - spec/dummy/app/helpers/application_helper.rb
392
+ - spec/dummy/app/mailers/.keep
393
+ - spec/dummy/app/models/.keep
394
+ - spec/dummy/app/models/concerns/.keep
395
+ - spec/dummy/app/views/application/show.html.erb
396
+ - spec/dummy/app/views/layouts/application.html.erb
397
+ - spec/dummy/bin/bundle
398
+ - spec/dummy/bin/rails
399
+ - spec/dummy/bin/rake
400
+ - spec/dummy/config.ru
401
+ - spec/dummy/config/application.rb
402
+ - spec/dummy/config/boot.rb
403
+ - spec/dummy/config/database.yml
404
+ - spec/dummy/config/environment.rb
405
+ - spec/dummy/config/environments/development.rb
406
+ - spec/dummy/config/environments/production.rb
407
+ - spec/dummy/config/environments/test.rb
408
+ - spec/dummy/config/initializers/backtrace_silencers.rb
409
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
410
+ - spec/dummy/config/initializers/inflections.rb
411
+ - spec/dummy/config/initializers/mime_types.rb
412
+ - spec/dummy/config/initializers/secret_token.rb
413
+ - spec/dummy/config/initializers/session_store.rb
414
+ - spec/dummy/config/initializers/wrap_parameters.rb
415
+ - spec/dummy/config/locales/en.yml
416
+ - spec/dummy/config/routes.rb
417
+ - spec/dummy/db/development.sqlite3
418
+ - spec/dummy/db/schema.rb
419
+ - spec/dummy/db/test.sqlite3
420
+ - spec/dummy/lib/assets/.keep
421
+ - spec/dummy/public/404.html
422
+ - spec/dummy/public/422.html
423
+ - spec/dummy/public/500.html
424
+ - spec/dummy/public/favicon.ico
425
+ - spec/dummy/spec/javascripts/helpers/.gitkeep
426
+ - spec/dummy/spec/javascripts/support/jasmine.yml
427
+ - spec/dummy/spec/javascripts/support/jasmine_helper.rb
428
+ - spec/javascripts/spec/SpecHelper.js
209
429
  - spec/javascripts/spec/digital_opera_namespace_spec.js
210
430
  - spec/javascripts/spec/ellipsis_spec.js
211
431
  - spec/javascripts/spec/events_spec.js
212
432
  - spec/javascripts/spec/forms_spec.js
213
433
  - spec/javascripts/spec/preload_images_spec.js
214
- - spec/javascripts/spec/SpecHelper.js
215
434
  - spec/javascripts/spec/strings_spec.js
216
435
  - spec/javascripts/spec/tables_spec.js
217
- - spec/javascripts/SpecRunner.html
218
- - spec/javascripts/src/digital_opera.js
219
- - spec/presenter/base_spec.rb
436
+ - spec/lib/digital_opera/banker_spec.rb
437
+ - spec/lib/digital_opera/base_extensions/object_spec.rb
438
+ - spec/lib/digital_opera/presenter/base_spec.rb
439
+ - spec/lib/digital_opera/services/s3_spec.rb
440
+ - spec/lib/digital_opera/token_spec.rb
220
441
  - spec/spec_helper.rb
442
+ - spec/support/aws.rb
221
443
  - spec/support/base_presenter.rb
444
+ - spec/support/document.rb
222
445
  - spec/support/user.rb
223
- - spec/token_spec.rb
@@ -1,62 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <title>Jasmine Spec Runner</title>
6
-
7
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
8
- <link rel="shortcut icon" type="image/png" href="lib/jasmine-1.3.1/jasmine_favicon.png">
9
- <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
10
- <script type="text/javascript" src="lib/jasmine-1.3.1/jasmine.js"></script>
11
- <script type="text/javascript" src="lib/jasmine-1.3.1/jasmine-html.js"></script>
12
-
13
- <!-- include source files here... -->
14
- <script type="text/javascript" src="src/digital_opera.js"></script>
15
-
16
- <!-- include spec files here... -->
17
- <script type="text/javascript" src="spec/SpecHelper.js"></script>
18
-
19
- <!--[specFiles]-->
20
- <script type="text/javascript" src="spec/digital_opera_namespace_spec.js"></script>
21
- <script type="text/javascript" src="spec/ellipsis_spec.js"></script>
22
- <script type="text/javascript" src="spec/events_spec.js"></script>
23
- <script type="text/javascript" src="spec/forms_spec.js"></script>
24
- <script type="text/javascript" src="spec/preload_images_spec.js"></script>
25
- <script type="text/javascript" src="spec/strings_spec.js"></script>
26
- <script type="text/javascript" src="spec/tables_spec.js"></script>
27
- <!--[/specFiles]-->
28
-
29
- <script type="text/javascript">
30
- (function() {
31
- var jasmineEnv = jasmine.getEnv();
32
- jasmineEnv.updateInterval = 1000;
33
-
34
- var htmlReporter = new jasmine.HtmlReporter();
35
-
36
- jasmineEnv.addReporter(htmlReporter);
37
-
38
- jasmineEnv.specFilter = function(spec) {
39
- return htmlReporter.specFilter(spec);
40
- };
41
-
42
- var currentWindowOnload = window.onload;
43
-
44
- window.onload = function() {
45
- if (currentWindowOnload) {
46
- currentWindowOnload();
47
- }
48
- execJasmine();
49
- };
50
-
51
- function execJasmine() {
52
- jasmineEnv.execute();
53
- }
54
-
55
- })();
56
- </script>
57
-
58
- </head>
59
-
60
- <body>
61
- </body>
62
- </html>
@@ -1,20 +0,0 @@
1
- Copyright (c) 2008-2011 Pivotal Labs
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.