browse-everything 0.15.1 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +61 -9
  3. data/.rubocop_todo.yml +2 -15
  4. data/.travis.yml +19 -19
  5. data/CONTRIBUTING.md +6 -6
  6. data/Gemfile +12 -8
  7. data/README.md +30 -0
  8. data/Rakefile +2 -1
  9. data/app/assets/javascripts/browse_everything/behavior.js.coffee +5 -0
  10. data/app/controllers/browse_everything_controller.rb +75 -23
  11. data/app/helpers/browse_everything_helper.rb +2 -8
  12. data/app/helpers/font_awesome_version_helper.rb +9 -8
  13. data/app/services/browse_everything_session.rb +10 -0
  14. data/app/services/browse_everything_session/provider_session.rb +42 -0
  15. data/app/services/browser_factory.rb +25 -0
  16. data/app/views/browse_everything/_files.html.erb +56 -6
  17. data/browse-everything.gemspec +29 -25
  18. data/config/routes.rb +7 -2
  19. data/lib/browse-everything.rb +2 -0
  20. data/lib/browse_everything.rb +45 -12
  21. data/lib/browse_everything/auth/google/credentials.rb +28 -0
  22. data/lib/browse_everything/auth/google/request_parameters.rb +61 -0
  23. data/lib/browse_everything/browser.rb +11 -4
  24. data/lib/browse_everything/driver/authentication_factory.rb +22 -0
  25. data/lib/browse_everything/driver/base.rb +72 -19
  26. data/lib/browse_everything/driver/box.rb +46 -17
  27. data/lib/browse_everything/driver/dropbox.rb +36 -10
  28. data/lib/browse_everything/driver/file_system.rb +14 -26
  29. data/lib/browse_everything/driver/google_drive.rb +187 -54
  30. data/lib/browse_everything/driver/s3.rb +81 -75
  31. data/lib/browse_everything/engine.rb +3 -2
  32. data/lib/browse_everything/file_entry.rb +3 -1
  33. data/lib/browse_everything/retriever.rb +103 -31
  34. data/lib/browse_everything/version.rb +3 -1
  35. data/lib/generators/browse_everything/assets_generator.rb +3 -2
  36. data/lib/generators/browse_everything/config_generator.rb +11 -9
  37. data/lib/generators/browse_everything/install_generator.rb +3 -2
  38. data/lib/generators/browse_everything/templates/browse_everything_providers.yml.example +12 -11
  39. data/spec/controllers/browse_everything_controller_spec.rb +80 -0
  40. data/spec/features/select_files_spec.rb +13 -13
  41. data/spec/features/test_compiling_stylesheets_spec.rb +2 -0
  42. data/spec/fixtures/vcr_cassettes/google_drive.yml +331 -0
  43. data/spec/fixtures/vcr_cassettes/retriever.yml +93 -0
  44. data/spec/helper/browse_everything_controller_helper_spec.rb +21 -7
  45. data/spec/javascripts/jasmine_spec.rb +2 -0
  46. data/spec/javascripts/support/jasmine_helper.rb +1 -0
  47. data/spec/lib/browse_everything/auth/google/credentials_spec.rb +41 -0
  48. data/spec/{unit → lib/browse_everything}/browse_everything_helper_spec.rb +2 -0
  49. data/spec/lib/browse_everything/browser_spec.rb +109 -0
  50. data/spec/{unit → lib/browse_everything/driver}/base_spec.rb +5 -4
  51. data/spec/{unit → lib/browse_everything/driver}/box_spec.rb +20 -5
  52. data/spec/{unit → lib/browse_everything/driver}/dropbox_spec.rb +15 -18
  53. data/spec/{unit → lib/browse_everything/driver}/file_system_spec.rb +32 -26
  54. data/spec/lib/browse_everything/driver/google_drive_spec.rb +171 -0
  55. data/spec/{unit → lib/browse_everything/driver}/s3_spec.rb +38 -21
  56. data/spec/lib/browse_everything/driver_spec.rb +38 -0
  57. data/spec/{unit → lib/browse_everything}/file_entry_spec.rb +4 -1
  58. data/spec/lib/browse_everything/retriever_spec.rb +200 -0
  59. data/spec/lib/browse_everything_spec.rb +67 -0
  60. data/spec/services/browse_everything_session/provider_session_spec.rb +50 -0
  61. data/spec/services/browser_factory_spec.rb +40 -0
  62. data/spec/spec_helper.rb +39 -18
  63. data/spec/support/app/controllers/file_handler_controller.rb +4 -4
  64. data/spec/support/app/views/file_handler/main.html.erb +1 -1
  65. data/spec/support/capybara.rb +17 -0
  66. data/spec/support/rake.rb +3 -1
  67. data/spec/support/wait_for_ajax.rb +14 -0
  68. data/spec/test_app_templates/Gemfile.extra +1 -0
  69. data/spec/test_app_templates/lib/generators/test_app_generator.rb +10 -4
  70. data/spec/views/browse_everything/{_file.html.erb_spec.rb → _files.html.erb_spec.rb} +24 -18
  71. data/tasks/ci.rake +2 -0
  72. metadata +159 -107
  73. data/app/views/browse_everything/_file.html.erb +0 -52
  74. data/app/views/browse_everything/resolve.html.erb +0 -1
  75. data/spec/unit/browser_spec.rb +0 -76
  76. data/spec/unit/retriever_spec.rb +0 -109
data/tasks/ci.rake CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rubocop/rake_task'
2
4
 
3
5
  desc 'Run style checker'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browse-everything
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carolyn Cole
@@ -13,22 +13,8 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2017-12-09 00:00:00.000000000 Z
16
+ date: 2018-07-24 00:00:00.000000000 Z
17
17
  dependencies:
18
- - !ruby/object:Gem::Dependency
19
- name: rails
20
- requirement: !ruby/object:Gem::Requirement
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: '3.1'
25
- type: :runtime
26
- prerelease: false
27
- version_requirements: !ruby/object:Gem::Requirement
28
- requirements:
29
- - - ">="
30
- - !ruby/object:Gem::Version
31
- version: '3.1'
32
18
  - !ruby/object:Gem::Dependency
33
19
  name: addressable
34
20
  requirement: !ruby/object:Gem::Requirement
@@ -44,7 +30,7 @@ dependencies:
44
30
  - !ruby/object:Gem::Version
45
31
  version: '2.5'
46
32
  - !ruby/object:Gem::Dependency
47
- name: google_drive
33
+ name: aws-sdk-s3
48
34
  requirement: !ruby/object:Gem::Requirement
49
35
  requirements:
50
36
  - - ">="
@@ -57,6 +43,20 @@ dependencies:
57
43
  - - ">="
58
44
  - !ruby/object:Gem::Version
59
45
  version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bootstrap-sass
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '3.2'
53
+ type: :runtime
54
+ prerelease: false
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.2'
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: dropbox_api
62
62
  requirement: !ruby/object:Gem::Requirement
@@ -72,7 +72,7 @@ dependencies:
72
72
  - !ruby/object:Gem::Version
73
73
  version: 0.1.10
74
74
  - !ruby/object:Gem::Dependency
75
- name: ruby-box
75
+ name: font-awesome-rails
76
76
  requirement: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
@@ -86,35 +86,35 @@ dependencies:
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  - !ruby/object:Gem::Dependency
89
- name: sass-rails
89
+ name: google-api-client
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '0'
94
+ version: '0.21'
95
95
  type: :runtime
96
96
  prerelease: false
97
97
  version_requirements: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - ">="
99
+ - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '0'
101
+ version: '0.21'
102
102
  - !ruby/object:Gem::Dependency
103
- name: bootstrap-sass
103
+ name: google_drive
104
104
  requirement: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '3.2'
108
+ version: '2.1'
109
109
  type: :runtime
110
110
  prerelease: false
111
111
  version_requirements: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - "~>"
114
114
  - !ruby/object:Gem::Version
115
- version: '3.2'
115
+ version: '2.1'
116
116
  - !ruby/object:Gem::Dependency
117
- name: font-awesome-rails
117
+ name: typhoeus
118
118
  requirement: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
@@ -128,21 +128,21 @@ dependencies:
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  - !ruby/object:Gem::Dependency
131
- name: google-api-client
131
+ name: rails
132
132
  requirement: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - "~>"
134
+ - - ">="
135
135
  - !ruby/object:Gem::Version
136
- version: '0.9'
136
+ version: '4.2'
137
137
  type: :runtime
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
- - - "~>"
141
+ - - ">="
142
142
  - !ruby/object:Gem::Version
143
- version: '0.9'
143
+ version: '4.2'
144
144
  - !ruby/object:Gem::Dependency
145
- name: signet
145
+ name: ruby-box
146
146
  requirement: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - ">="
@@ -156,7 +156,7 @@ dependencies:
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  - !ruby/object:Gem::Dependency
159
- name: httparty
159
+ name: sass-rails
160
160
  requirement: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - ">="
@@ -170,35 +170,49 @@ dependencies:
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  - !ruby/object:Gem::Dependency
173
- name: aws-sdk-s3
173
+ name: signet
174
174
  requirement: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ">="
176
+ - - "~>"
177
177
  - !ruby/object:Gem::Version
178
- version: '0'
178
+ version: '0.8'
179
179
  type: :runtime
180
180
  prerelease: false
181
181
  version_requirements: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ">="
183
+ - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '0'
185
+ version: '0.8'
186
186
  - !ruby/object:Gem::Dependency
187
- name: rspec
187
+ name: thor
188
188
  requirement: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
- version: '3.0'
192
+ version: '0.20'
193
+ type: :runtime
194
+ prerelease: false
195
+ version_requirements: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - "~>"
198
+ - !ruby/object:Gem::Version
199
+ version: '0.20'
200
+ - !ruby/object:Gem::Dependency
201
+ name: bundler
202
+ requirement: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - "~>"
205
+ - !ruby/object:Gem::Version
206
+ version: '1.3'
193
207
  type: :development
194
208
  prerelease: false
195
209
  version_requirements: !ruby/object:Gem::Requirement
196
210
  requirements:
197
211
  - - "~>"
198
212
  - !ruby/object:Gem::Version
199
- version: '3.0'
213
+ version: '1.3'
200
214
  - !ruby/object:Gem::Dependency
201
- name: rspec-rails
215
+ name: capybara
202
216
  requirement: !ruby/object:Gem::Requirement
203
217
  requirements:
204
218
  - - ">="
@@ -212,7 +226,7 @@ dependencies:
212
226
  - !ruby/object:Gem::Version
213
227
  version: '0'
214
228
  - !ruby/object:Gem::Dependency
215
- name: rspec-its
229
+ name: chromedriver-helper
216
230
  requirement: !ruby/object:Gem::Requirement
217
231
  requirements:
218
232
  - - ">="
@@ -226,35 +240,35 @@ dependencies:
226
240
  - !ruby/object:Gem::Version
227
241
  version: '0'
228
242
  - !ruby/object:Gem::Dependency
229
- name: rubocop
243
+ name: coveralls
230
244
  requirement: !ruby/object:Gem::Requirement
231
245
  requirements:
232
- - - "~>"
246
+ - - ">="
233
247
  - !ruby/object:Gem::Version
234
- version: 0.42.0
248
+ version: '0'
235
249
  type: :development
236
250
  prerelease: false
237
251
  version_requirements: !ruby/object:Gem::Requirement
238
252
  requirements:
239
- - - "~>"
253
+ - - ">="
240
254
  - !ruby/object:Gem::Version
241
- version: 0.42.0
255
+ version: '0'
242
256
  - !ruby/object:Gem::Dependency
243
- name: rubocop-rspec
257
+ name: engine_cart
244
258
  requirement: !ruby/object:Gem::Requirement
245
259
  requirements:
246
260
  - - "~>"
247
261
  - !ruby/object:Gem::Version
248
- version: 1.8.0
262
+ version: '2.0'
249
263
  type: :development
250
264
  prerelease: false
251
265
  version_requirements: !ruby/object:Gem::Requirement
252
266
  requirements:
253
267
  - - "~>"
254
268
  - !ruby/object:Gem::Version
255
- version: 1.8.0
269
+ version: '2.0'
256
270
  - !ruby/object:Gem::Dependency
257
- name: simplecov
271
+ name: factory_bot_rails
258
272
  requirement: !ruby/object:Gem::Requirement
259
273
  requirements:
260
274
  - - ">="
@@ -268,21 +282,21 @@ dependencies:
268
282
  - !ruby/object:Gem::Version
269
283
  version: '0'
270
284
  - !ruby/object:Gem::Dependency
271
- name: bundler
285
+ name: jasmine
272
286
  requirement: !ruby/object:Gem::Requirement
273
287
  requirements:
274
288
  - - "~>"
275
289
  - !ruby/object:Gem::Version
276
- version: '1.3'
290
+ version: '2.3'
277
291
  type: :development
278
292
  prerelease: false
279
293
  version_requirements: !ruby/object:Gem::Requirement
280
294
  requirements:
281
295
  - - "~>"
282
296
  - !ruby/object:Gem::Version
283
- version: '1.3'
297
+ version: '2.3'
284
298
  - !ruby/object:Gem::Dependency
285
- name: pry
299
+ name: rails-controller-testing
286
300
  requirement: !ruby/object:Gem::Requirement
287
301
  requirements:
288
302
  - - ">="
@@ -310,21 +324,21 @@ dependencies:
310
324
  - !ruby/object:Gem::Version
311
325
  version: '0'
312
326
  - !ruby/object:Gem::Dependency
313
- name: webmock
327
+ name: rspec
314
328
  requirement: !ruby/object:Gem::Requirement
315
329
  requirements:
316
- - - ">="
330
+ - - "~>"
317
331
  - !ruby/object:Gem::Version
318
- version: '0'
332
+ version: '3.0'
319
333
  type: :development
320
334
  prerelease: false
321
335
  version_requirements: !ruby/object:Gem::Requirement
322
336
  requirements:
323
- - - ">="
337
+ - - "~>"
324
338
  - !ruby/object:Gem::Version
325
- version: '0'
339
+ version: '3.0'
326
340
  - !ruby/object:Gem::Dependency
327
- name: vcr
341
+ name: rspec-its
328
342
  requirement: !ruby/object:Gem::Requirement
329
343
  requirements:
330
344
  - - ">="
@@ -338,7 +352,7 @@ dependencies:
338
352
  - !ruby/object:Gem::Version
339
353
  version: '0'
340
354
  - !ruby/object:Gem::Dependency
341
- name: sqlite3
355
+ name: rspec-rails
342
356
  requirement: !ruby/object:Gem::Requirement
343
357
  requirements:
344
358
  - - ">="
@@ -352,35 +366,35 @@ dependencies:
352
366
  - !ruby/object:Gem::Version
353
367
  version: '0'
354
368
  - !ruby/object:Gem::Dependency
355
- name: factory_girl_rails
369
+ name: rubocop
356
370
  requirement: !ruby/object:Gem::Requirement
357
371
  requirements:
358
- - - ">="
372
+ - - "~>"
359
373
  - !ruby/object:Gem::Version
360
- version: '0'
374
+ version: '0.53'
361
375
  type: :development
362
376
  prerelease: false
363
377
  version_requirements: !ruby/object:Gem::Requirement
364
378
  requirements:
365
- - - ">="
379
+ - - "~>"
366
380
  - !ruby/object:Gem::Version
367
- version: '0'
381
+ version: '0.53'
368
382
  - !ruby/object:Gem::Dependency
369
- name: engine_cart
383
+ name: rubocop-rspec
370
384
  requirement: !ruby/object:Gem::Requirement
371
385
  requirements:
372
386
  - - "~>"
373
387
  - !ruby/object:Gem::Version
374
- version: '1.0'
388
+ version: '1.23'
375
389
  type: :development
376
390
  prerelease: false
377
391
  version_requirements: !ruby/object:Gem::Requirement
378
392
  requirements:
379
393
  - - "~>"
380
394
  - !ruby/object:Gem::Version
381
- version: '1.0'
395
+ version: '1.23'
382
396
  - !ruby/object:Gem::Dependency
383
- name: capybara
397
+ name: selenium-webdriver
384
398
  requirement: !ruby/object:Gem::Requirement
385
399
  requirements:
386
400
  - - ">="
@@ -394,21 +408,21 @@ dependencies:
394
408
  - !ruby/object:Gem::Version
395
409
  version: '0'
396
410
  - !ruby/object:Gem::Dependency
397
- name: jasmine
411
+ name: simplecov
398
412
  requirement: !ruby/object:Gem::Requirement
399
413
  requirements:
400
- - - "~>"
414
+ - - ">="
401
415
  - !ruby/object:Gem::Version
402
- version: '2.3'
416
+ version: '0'
403
417
  type: :development
404
418
  prerelease: false
405
419
  version_requirements: !ruby/object:Gem::Requirement
406
420
  requirements:
407
- - - "~>"
421
+ - - ">="
408
422
  - !ruby/object:Gem::Version
409
- version: '2.3'
423
+ version: '0'
410
424
  - !ruby/object:Gem::Dependency
411
- name: coveralls
425
+ name: sqlite3
412
426
  requirement: !ruby/object:Gem::Requirement
413
427
  requirements:
414
428
  - - ">="
@@ -422,19 +436,33 @@ dependencies:
422
436
  - !ruby/object:Gem::Version
423
437
  version: '0'
424
438
  - !ruby/object:Gem::Dependency
425
- name: poltergeist
439
+ name: vcr
426
440
  requirement: !ruby/object:Gem::Requirement
427
441
  requirements:
428
- - - "~>"
442
+ - - ">="
429
443
  - !ruby/object:Gem::Version
430
- version: '1.10'
444
+ version: '0'
431
445
  type: :development
432
446
  prerelease: false
433
447
  version_requirements: !ruby/object:Gem::Requirement
434
448
  requirements:
435
- - - "~>"
449
+ - - ">="
436
450
  - !ruby/object:Gem::Version
437
- version: '1.10'
451
+ version: '0'
452
+ - !ruby/object:Gem::Dependency
453
+ name: webmock
454
+ requirement: !ruby/object:Gem::Requirement
455
+ requirements:
456
+ - - ">="
457
+ - !ruby/object:Gem::Version
458
+ version: '0'
459
+ type: :development
460
+ prerelease: false
461
+ version_requirements: !ruby/object:Gem::Requirement
462
+ requirements:
463
+ - - ">="
464
+ - !ruby/object:Gem::Version
465
+ version: '0'
438
466
  description: AJAX/Rails engine file browser for cloud storage services
439
467
  email:
440
468
  - cam156@psu.edu
@@ -467,13 +495,14 @@ files:
467
495
  - app/controllers/browse_everything_controller.rb
468
496
  - app/helpers/browse_everything_helper.rb
469
497
  - app/helpers/font_awesome_version_helper.rb
498
+ - app/services/browse_everything_session.rb
499
+ - app/services/browse_everything_session/provider_session.rb
500
+ - app/services/browser_factory.rb
470
501
  - app/views/browse_everything/_auth.html.erb
471
- - app/views/browse_everything/_file.html.erb
472
502
  - app/views/browse_everything/_files.html.erb
473
503
  - app/views/browse_everything/_providers.html.erb
474
504
  - app/views/browse_everything/auth.html.erb
475
505
  - app/views/browse_everything/index.html.erb
476
- - app/views/browse_everything/resolve.html.erb
477
506
  - app/views/browse_everything/show.html.erb
478
507
  - app/views/layouts/browse_everything.html.erb
479
508
  - browse-everything.gemspec
@@ -481,7 +510,10 @@ files:
481
510
  - config/routes.rb
482
511
  - lib/browse-everything.rb
483
512
  - lib/browse_everything.rb
513
+ - lib/browse_everything/auth/google/credentials.rb
514
+ - lib/browse_everything/auth/google/request_parameters.rb
484
515
  - lib/browse_everything/browser.rb
516
+ - lib/browse_everything/driver/authentication_factory.rb
485
517
  - lib/browse_everything/driver/base.rb
486
518
  - lib/browse_everything/driver/box.rb
487
519
  - lib/browse_everything/driver/dropbox.rb
@@ -497,6 +529,7 @@ files:
497
529
  - lib/generators/browse_everything/install_generator.rb
498
530
  - lib/generators/browse_everything/templates/browse_everything.scss
499
531
  - lib/generators/browse_everything/templates/browse_everything_providers.yml.example
532
+ - spec/controllers/browse_everything_controller_spec.rb
500
533
  - spec/features/select_files_spec.rb
501
534
  - spec/features/test_compiling_stylesheets_spec.rb
502
535
  - spec/fixtures/file_system/dir_1/dir_3/file_3.m4v
@@ -506,6 +539,7 @@ files:
506
539
  - spec/fixtures/file_system/file_1.pdf
507
540
  - spec/fixtures/vcr_cassettes/box.yml
508
541
  - spec/fixtures/vcr_cassettes/dropbox.yml
542
+ - spec/fixtures/vcr_cassettes/google_drive.yml
509
543
  - spec/fixtures/vcr_cassettes/retriever.yml
510
544
  - spec/helper/browse_everything_controller_helper_spec.rb
511
545
  - spec/javascripts/behavior_spec.js
@@ -513,23 +547,31 @@ files:
513
547
  - spec/javascripts/jasmine_spec.rb
514
548
  - spec/javascripts/support/jasmine.yml
515
549
  - spec/javascripts/support/jasmine_helper.rb
550
+ - spec/lib/browse_everything/auth/google/credentials_spec.rb
551
+ - spec/lib/browse_everything/browse_everything_helper_spec.rb
552
+ - spec/lib/browse_everything/browser_spec.rb
553
+ - spec/lib/browse_everything/driver/base_spec.rb
554
+ - spec/lib/browse_everything/driver/box_spec.rb
555
+ - spec/lib/browse_everything/driver/dropbox_spec.rb
556
+ - spec/lib/browse_everything/driver/file_system_spec.rb
557
+ - spec/lib/browse_everything/driver/google_drive_spec.rb
558
+ - spec/lib/browse_everything/driver/s3_spec.rb
559
+ - spec/lib/browse_everything/driver_spec.rb
560
+ - spec/lib/browse_everything/file_entry_spec.rb
561
+ - spec/lib/browse_everything/retriever_spec.rb
562
+ - spec/lib/browse_everything_spec.rb
563
+ - spec/services/browse_everything_session/provider_session_spec.rb
564
+ - spec/services/browser_factory_spec.rb
516
565
  - spec/spec_helper.rb
517
566
  - spec/support/app/controllers/file_handler_controller.rb
518
567
  - spec/support/app/views/file_handler/index.html.erb
519
568
  - spec/support/app/views/file_handler/main.html.erb
569
+ - spec/support/capybara.rb
520
570
  - spec/support/rake.rb
571
+ - spec/support/wait_for_ajax.rb
521
572
  - spec/test_app_templates/Gemfile.extra
522
573
  - spec/test_app_templates/lib/generators/test_app_generator.rb
523
- - spec/unit/base_spec.rb
524
- - spec/unit/box_spec.rb
525
- - spec/unit/browse_everything_helper_spec.rb
526
- - spec/unit/browser_spec.rb
527
- - spec/unit/dropbox_spec.rb
528
- - spec/unit/file_entry_spec.rb
529
- - spec/unit/file_system_spec.rb
530
- - spec/unit/retriever_spec.rb
531
- - spec/unit/s3_spec.rb
532
- - spec/views/browse_everything/_file.html.erb_spec.rb
574
+ - spec/views/browse_everything/_files.html.erb_spec.rb
533
575
  - tasks/ci.rake
534
576
  - vendor/assets/javascripts/jquery.treetable.js
535
577
  - vendor/assets/stylesheets/jquery.treetable.css
@@ -554,11 +596,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
554
596
  version: '0'
555
597
  requirements: []
556
598
  rubyforge_project:
557
- rubygems_version: 2.5.2.1
599
+ rubygems_version: 2.7.3
558
600
  signing_key:
559
601
  specification_version: 4
560
602
  summary: AJAX/Rails engine file browser for cloud storage services
561
603
  test_files:
604
+ - spec/controllers/browse_everything_controller_spec.rb
562
605
  - spec/features/select_files_spec.rb
563
606
  - spec/features/test_compiling_stylesheets_spec.rb
564
607
  - spec/fixtures/file_system/dir_1/dir_3/file_3.m4v
@@ -568,6 +611,7 @@ test_files:
568
611
  - spec/fixtures/file_system/file_1.pdf
569
612
  - spec/fixtures/vcr_cassettes/box.yml
570
613
  - spec/fixtures/vcr_cassettes/dropbox.yml
614
+ - spec/fixtures/vcr_cassettes/google_drive.yml
571
615
  - spec/fixtures/vcr_cassettes/retriever.yml
572
616
  - spec/helper/browse_everything_controller_helper_spec.rb
573
617
  - spec/javascripts/behavior_spec.js
@@ -575,20 +619,28 @@ test_files:
575
619
  - spec/javascripts/jasmine_spec.rb
576
620
  - spec/javascripts/support/jasmine.yml
577
621
  - spec/javascripts/support/jasmine_helper.rb
622
+ - spec/lib/browse_everything/auth/google/credentials_spec.rb
623
+ - spec/lib/browse_everything/browse_everything_helper_spec.rb
624
+ - spec/lib/browse_everything/browser_spec.rb
625
+ - spec/lib/browse_everything/driver/base_spec.rb
626
+ - spec/lib/browse_everything/driver/box_spec.rb
627
+ - spec/lib/browse_everything/driver/dropbox_spec.rb
628
+ - spec/lib/browse_everything/driver/file_system_spec.rb
629
+ - spec/lib/browse_everything/driver/google_drive_spec.rb
630
+ - spec/lib/browse_everything/driver/s3_spec.rb
631
+ - spec/lib/browse_everything/driver_spec.rb
632
+ - spec/lib/browse_everything/file_entry_spec.rb
633
+ - spec/lib/browse_everything/retriever_spec.rb
634
+ - spec/lib/browse_everything_spec.rb
635
+ - spec/services/browse_everything_session/provider_session_spec.rb
636
+ - spec/services/browser_factory_spec.rb
578
637
  - spec/spec_helper.rb
579
638
  - spec/support/app/controllers/file_handler_controller.rb
580
639
  - spec/support/app/views/file_handler/index.html.erb
581
640
  - spec/support/app/views/file_handler/main.html.erb
641
+ - spec/support/capybara.rb
582
642
  - spec/support/rake.rb
643
+ - spec/support/wait_for_ajax.rb
583
644
  - spec/test_app_templates/Gemfile.extra
584
645
  - spec/test_app_templates/lib/generators/test_app_generator.rb
585
- - spec/unit/base_spec.rb
586
- - spec/unit/box_spec.rb
587
- - spec/unit/browse_everything_helper_spec.rb
588
- - spec/unit/browser_spec.rb
589
- - spec/unit/dropbox_spec.rb
590
- - spec/unit/file_entry_spec.rb
591
- - spec/unit/file_system_spec.rb
592
- - spec/unit/retriever_spec.rb
593
- - spec/unit/s3_spec.rb
594
- - spec/views/browse_everything/_file.html.erb_spec.rb
646
+ - spec/views/browse_everything/_files.html.erb_spec.rb