browse-everything 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +93 -44
  3. data/.gitignore +4 -2
  4. data/.rubocop.yml +12 -0
  5. data/.rubocop_todo.yml +0 -5
  6. data/.tool-versions +2 -0
  7. data/CONTRIBUTING.md +22 -0
  8. data/Gemfile +41 -30
  9. data/README.md +66 -32
  10. data/Rakefile +9 -1
  11. data/app/assets/javascripts/browse_everything/behavior.js +29 -23
  12. data/app/assets/javascripts/browse_everything.js +1 -1
  13. data/bin/rails +14 -0
  14. data/browse-everything.gemspec +13 -11
  15. data/lib/browse_everything/driver/base.rb +1 -0
  16. data/lib/browse_everything/driver/dropbox.rb +5 -2
  17. data/lib/browse_everything/driver/file_system.rb +15 -2
  18. data/lib/browse_everything/engine.rb +10 -3
  19. data/lib/browse_everything/version.rb +1 -1
  20. data/lib/browse_everything.rb +1 -1
  21. data/spec/dummy_test_app/Rakefile +6 -0
  22. data/spec/dummy_test_app/app/assets/config/manifest.js +3 -0
  23. data/spec/dummy_test_app/app/assets/images/.keep +0 -0
  24. data/spec/dummy_test_app/app/assets/javascripts/application.js +25 -0
  25. data/spec/dummy_test_app/app/assets/javascripts/cable.js +13 -0
  26. data/spec/dummy_test_app/app/assets/javascripts/channels/.keep +0 -0
  27. data/spec/dummy_test_app/app/assets/stylesheets/application.scss +18 -0
  28. data/spec/dummy_test_app/app/channels/application_cable/channel.rb +4 -0
  29. data/spec/dummy_test_app/app/channels/application_cable/connection.rb +4 -0
  30. data/spec/dummy_test_app/app/controllers/application_controller.rb +3 -0
  31. data/spec/dummy_test_app/app/controllers/concerns/.keep +0 -0
  32. data/spec/{support → dummy_test_app}/app/controllers/file_handler_controller.rb +0 -0
  33. data/spec/dummy_test_app/app/helpers/application_helper.rb +2 -0
  34. data/spec/dummy_test_app/app/jobs/application_job.rb +2 -0
  35. data/spec/dummy_test_app/app/mailers/application_mailer.rb +4 -0
  36. data/spec/dummy_test_app/app/models/application_record.rb +3 -0
  37. data/spec/dummy_test_app/app/models/concerns/.keep +0 -0
  38. data/spec/dummy_test_app/app/views/file_handler/index.html.erb +10 -0
  39. data/spec/{support → dummy_test_app}/app/views/file_handler/main.html.erb +6 -3
  40. data/spec/dummy_test_app/app/views/layouts/application.html.erb +14 -0
  41. data/spec/dummy_test_app/app/views/layouts/mailer.html.erb +13 -0
  42. data/spec/dummy_test_app/app/views/layouts/mailer.text.erb +1 -0
  43. data/spec/dummy_test_app/bin/bundle +3 -0
  44. data/spec/dummy_test_app/bin/rails +4 -0
  45. data/spec/dummy_test_app/bin/rake +4 -0
  46. data/spec/dummy_test_app/bin/setup +38 -0
  47. data/spec/dummy_test_app/bin/update +29 -0
  48. data/spec/dummy_test_app/bin/yarn +11 -0
  49. data/spec/dummy_test_app/config/application.rb +27 -0
  50. data/spec/dummy_test_app/config/boot.rb +5 -0
  51. data/spec/dummy_test_app/config/browse_everything_providers.yml +25 -0
  52. data/spec/dummy_test_app/config/cable.yml +10 -0
  53. data/spec/dummy_test_app/config/database.yml +25 -0
  54. data/spec/dummy_test_app/config/environment.rb +5 -0
  55. data/spec/dummy_test_app/config/environments/development.rb +54 -0
  56. data/spec/dummy_test_app/config/environments/production.rb +91 -0
  57. data/spec/dummy_test_app/config/environments/test.rb +42 -0
  58. data/spec/dummy_test_app/config/initializers/application_controller_renderer.rb +8 -0
  59. data/spec/dummy_test_app/config/initializers/assets.rb +14 -0
  60. data/spec/dummy_test_app/config/initializers/backtrace_silencers.rb +7 -0
  61. data/spec/dummy_test_app/config/initializers/cookies_serializer.rb +5 -0
  62. data/spec/dummy_test_app/config/initializers/filter_parameter_logging.rb +4 -0
  63. data/spec/dummy_test_app/config/initializers/inflections.rb +16 -0
  64. data/spec/dummy_test_app/config/initializers/mime_types.rb +4 -0
  65. data/spec/dummy_test_app/config/initializers/wrap_parameters.rb +14 -0
  66. data/spec/dummy_test_app/config/locales/en.yml +33 -0
  67. data/spec/dummy_test_app/config/puma.rb +56 -0
  68. data/spec/dummy_test_app/config/routes.rb +9 -0
  69. data/spec/dummy_test_app/config/secrets.yml +32 -0
  70. data/spec/dummy_test_app/config/spring.rb +6 -0
  71. data/spec/dummy_test_app/config.ru +5 -0
  72. data/spec/dummy_test_app/lib/assets/.keep +0 -0
  73. data/spec/dummy_test_app/log/.keep +0 -0
  74. data/spec/dummy_test_app/package.json +5 -0
  75. data/spec/dummy_test_app/public/404.html +67 -0
  76. data/spec/dummy_test_app/public/422.html +67 -0
  77. data/spec/dummy_test_app/public/500.html +66 -0
  78. data/spec/dummy_test_app/public/apple-touch-icon-precomposed.png +0 -0
  79. data/spec/dummy_test_app/public/apple-touch-icon.png +0 -0
  80. data/spec/dummy_test_app/public/favicon.ico +0 -0
  81. data/spec/dummy_test_app/tmp/.gitkeep +0 -0
  82. data/spec/features/select_files_spec.rb +1 -0
  83. data/spec/spec_helper.rb +2 -27
  84. data/tasks/ci.rake +1 -1
  85. metadata +175 -76
  86. data/karma.conf.js +0 -71
  87. data/spec/javascripts/behavior_spec.js +0 -7
  88. data/spec/javascripts/helpers/jasmine-jquery.js +0 -838
  89. data/spec/javascripts/helpers/jquery.js +0 -11008
  90. data/spec/javascripts/karma_spec.rb +0 -16
  91. data/spec/support/app/views/file_handler/index.html.erb +0 -6
  92. data/spec/test_app_templates/Gemfile.extra +0 -18
  93. data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -112
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: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carolyn Cole
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2020-11-18 00:00:00.000000000 Z
16
+ date: 2022-06-28 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: addressable
@@ -49,48 +49,28 @@ dependencies:
49
49
  requirements:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.1.10
52
+ version: 0.1.20
53
53
  type: :runtime
54
54
  prerelease: false
55
55
  version_requirements: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.1.10
59
+ version: 0.1.20
60
60
  - !ruby/object:Gem::Dependency
61
- name: google-api-client
62
- requirement: !ruby/object:Gem::Requirement
63
- requirements:
64
- - - "~>"
65
- - !ruby/object:Gem::Version
66
- version: '0.23'
67
- type: :runtime
68
- prerelease: false
69
- version_requirements: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '0.23'
74
- - !ruby/object:Gem::Dependency
75
- name: google_drive
61
+ name: google-apis-drive_v3
76
62
  requirement: !ruby/object:Gem::Requirement
77
63
  requirements:
78
64
  - - ">="
79
65
  - !ruby/object:Gem::Version
80
- version: '2.1'
81
- - - "<"
82
- - !ruby/object:Gem::Version
83
- version: '4'
66
+ version: '0'
84
67
  type: :runtime
85
68
  prerelease: false
86
69
  version_requirements: !ruby/object:Gem::Requirement
87
70
  requirements:
88
71
  - - ">="
89
72
  - !ruby/object:Gem::Version
90
- version: '2.1'
91
- - - "<"
92
- - !ruby/object:Gem::Version
93
- version: '4'
73
+ version: '0'
94
74
  - !ruby/object:Gem::Dependency
95
75
  name: googleauth
96
76
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +80,7 @@ dependencies:
100
80
  version: 0.6.6
101
81
  - - "<"
102
82
  - !ruby/object:Gem::Version
103
- version: '1.0'
83
+ version: '2.0'
104
84
  type: :runtime
105
85
  prerelease: false
106
86
  version_requirements: !ruby/object:Gem::Requirement
@@ -110,7 +90,7 @@ dependencies:
110
90
  version: 0.6.6
111
91
  - - "<"
112
92
  - !ruby/object:Gem::Version
113
- version: '1.0'
93
+ version: '2.0'
114
94
  - !ruby/object:Gem::Dependency
115
95
  name: rails
116
96
  requirement: !ruby/object:Gem::Requirement
@@ -120,7 +100,7 @@ dependencies:
120
100
  version: '4.2'
121
101
  - - "<"
122
102
  - !ruby/object:Gem::Version
123
- version: '7.0'
103
+ version: '7.1'
124
104
  type: :runtime
125
105
  prerelease: false
126
106
  version_requirements: !ruby/object:Gem::Requirement
@@ -130,7 +110,7 @@ dependencies:
130
110
  version: '4.2'
131
111
  - - "<"
132
112
  - !ruby/object:Gem::Version
133
- version: '7.0'
113
+ version: '7.1'
134
114
  - !ruby/object:Gem::Dependency
135
115
  name: ruby-box
136
116
  requirement: !ruby/object:Gem::Requirement
@@ -179,44 +159,44 @@ dependencies:
179
159
  requirements:
180
160
  - - "~>"
181
161
  - !ruby/object:Gem::Version
182
- version: '3.0'
162
+ version: '5.0'
183
163
  type: :development
184
164
  prerelease: false
185
165
  version_requirements: !ruby/object:Gem::Requirement
186
166
  requirements:
187
167
  - - "~>"
188
168
  - !ruby/object:Gem::Version
189
- version: '3.0'
169
+ version: '5.0'
190
170
  - !ruby/object:Gem::Dependency
191
- name: bundler
171
+ name: bootstrap
192
172
  requirement: !ruby/object:Gem::Requirement
193
173
  requirements:
194
- - - ">="
174
+ - - "~>"
195
175
  - !ruby/object:Gem::Version
196
- version: '1.3'
176
+ version: '4.0'
197
177
  type: :development
198
178
  prerelease: false
199
179
  version_requirements: !ruby/object:Gem::Requirement
200
180
  requirements:
201
- - - ">="
181
+ - - "~>"
202
182
  - !ruby/object:Gem::Version
203
- version: '1.3'
183
+ version: '4.0'
204
184
  - !ruby/object:Gem::Dependency
205
- name: capybara
185
+ name: bundler
206
186
  requirement: !ruby/object:Gem::Requirement
207
187
  requirements:
208
188
  - - ">="
209
189
  - !ruby/object:Gem::Version
210
- version: '0'
190
+ version: '1.3'
211
191
  type: :development
212
192
  prerelease: false
213
193
  version_requirements: !ruby/object:Gem::Requirement
214
194
  requirements:
215
195
  - - ">="
216
196
  - !ruby/object:Gem::Version
217
- version: '0'
197
+ version: '1.3'
218
198
  - !ruby/object:Gem::Dependency
219
- name: coveralls
199
+ name: capybara
220
200
  requirement: !ruby/object:Gem::Requirement
221
201
  requirements:
222
202
  - - ">="
@@ -230,21 +210,21 @@ dependencies:
230
210
  - !ruby/object:Gem::Version
231
211
  version: '0'
232
212
  - !ruby/object:Gem::Dependency
233
- name: engine_cart
213
+ name: factory_bot_rails
234
214
  requirement: !ruby/object:Gem::Requirement
235
215
  requirements:
236
- - - "~>"
216
+ - - ">="
237
217
  - !ruby/object:Gem::Version
238
- version: '2.0'
218
+ version: '0'
239
219
  type: :development
240
220
  prerelease: false
241
221
  version_requirements: !ruby/object:Gem::Requirement
242
222
  requirements:
243
- - - "~>"
223
+ - - ">="
244
224
  - !ruby/object:Gem::Version
245
- version: '2.0'
225
+ version: '0'
246
226
  - !ruby/object:Gem::Dependency
247
- name: factory_bot_rails
227
+ name: jquery-rails
248
228
  requirement: !ruby/object:Gem::Requirement
249
229
  requirements:
250
230
  - - ">="
@@ -258,21 +238,21 @@ dependencies:
258
238
  - !ruby/object:Gem::Version
259
239
  version: '0'
260
240
  - !ruby/object:Gem::Dependency
261
- name: jasmine
241
+ name: pry-byebug
262
242
  requirement: !ruby/object:Gem::Requirement
263
243
  requirements:
264
- - - "~>"
244
+ - - ">="
265
245
  - !ruby/object:Gem::Version
266
- version: '2.3'
246
+ version: '0'
267
247
  type: :development
268
248
  prerelease: false
269
249
  version_requirements: !ruby/object:Gem::Requirement
270
250
  requirements:
271
- - - "~>"
251
+ - - ">="
272
252
  - !ruby/object:Gem::Version
273
- version: '2.3'
253
+ version: '0'
274
254
  - !ruby/object:Gem::Dependency
275
- name: pry-byebug
255
+ name: puma
276
256
  requirement: !ruby/object:Gem::Requirement
277
257
  requirements:
278
258
  - - ">="
@@ -384,7 +364,7 @@ dependencies:
384
364
  - !ruby/object:Gem::Version
385
365
  version: '0'
386
366
  - !ruby/object:Gem::Dependency
387
- name: selenium-webdriver
367
+ name: sass-rails
388
368
  requirement: !ruby/object:Gem::Requirement
389
369
  requirements:
390
370
  - - ">="
@@ -398,7 +378,7 @@ dependencies:
398
378
  - !ruby/object:Gem::Version
399
379
  version: '0'
400
380
  - !ruby/object:Gem::Dependency
401
- name: simplecov
381
+ name: selenium-webdriver
402
382
  requirement: !ruby/object:Gem::Requirement
403
383
  requirements:
404
384
  - - ">="
@@ -425,6 +405,20 @@ dependencies:
425
405
  - - ">="
426
406
  - !ruby/object:Gem::Version
427
407
  version: '0'
408
+ - !ruby/object:Gem::Dependency
409
+ name: turbolinks
410
+ requirement: !ruby/object:Gem::Requirement
411
+ requirements:
412
+ - - ">="
413
+ - !ruby/object:Gem::Version
414
+ version: '0'
415
+ type: :development
416
+ prerelease: false
417
+ version_requirements: !ruby/object:Gem::Requirement
418
+ requirements:
419
+ - - ">="
420
+ - !ruby/object:Gem::Version
421
+ version: '0'
428
422
  - !ruby/object:Gem::Dependency
429
423
  name: webdrivers
430
424
  requirement: !ruby/object:Gem::Requirement
@@ -471,6 +465,7 @@ files:
471
465
  - ".rspec"
472
466
  - ".rubocop.yml"
473
467
  - ".rubocop_todo.yml"
468
+ - ".tool-versions"
474
469
  - CODE_OF_CONDUCT.md
475
470
  - CONTRIBUTING.md
476
471
  - Gemfile
@@ -499,10 +494,10 @@ files:
499
494
  - app/views/browse_everything/index.html.erb
500
495
  - app/views/browse_everything/show.html.erb
501
496
  - app/views/layouts/browse_everything.html.erb
497
+ - bin/rails
502
498
  - browse-everything.gemspec
503
499
  - config/locales/en_browse_everything.yml
504
500
  - config/routes.rb
505
- - karma.conf.js
506
501
  - lib/browse-everything.rb
507
502
  - lib/browse_everything.rb
508
503
  - lib/browse_everything/auth/google/credentials.rb
@@ -523,6 +518,67 @@ files:
523
518
  - lib/generators/browse_everything/install_generator.rb
524
519
  - lib/generators/browse_everything/templates/browse_everything_providers.yml.example
525
520
  - spec/controllers/browse_everything_controller_spec.rb
521
+ - spec/dummy_test_app/Rakefile
522
+ - spec/dummy_test_app/app/assets/config/manifest.js
523
+ - spec/dummy_test_app/app/assets/images/.keep
524
+ - spec/dummy_test_app/app/assets/javascripts/application.js
525
+ - spec/dummy_test_app/app/assets/javascripts/cable.js
526
+ - spec/dummy_test_app/app/assets/javascripts/channels/.keep
527
+ - spec/dummy_test_app/app/assets/stylesheets/application.scss
528
+ - spec/dummy_test_app/app/channels/application_cable/channel.rb
529
+ - spec/dummy_test_app/app/channels/application_cable/connection.rb
530
+ - spec/dummy_test_app/app/controllers/application_controller.rb
531
+ - spec/dummy_test_app/app/controllers/concerns/.keep
532
+ - spec/dummy_test_app/app/controllers/file_handler_controller.rb
533
+ - spec/dummy_test_app/app/helpers/application_helper.rb
534
+ - spec/dummy_test_app/app/jobs/application_job.rb
535
+ - spec/dummy_test_app/app/mailers/application_mailer.rb
536
+ - spec/dummy_test_app/app/models/application_record.rb
537
+ - spec/dummy_test_app/app/models/concerns/.keep
538
+ - spec/dummy_test_app/app/views/file_handler/index.html.erb
539
+ - spec/dummy_test_app/app/views/file_handler/main.html.erb
540
+ - spec/dummy_test_app/app/views/layouts/application.html.erb
541
+ - spec/dummy_test_app/app/views/layouts/mailer.html.erb
542
+ - spec/dummy_test_app/app/views/layouts/mailer.text.erb
543
+ - spec/dummy_test_app/bin/bundle
544
+ - spec/dummy_test_app/bin/rails
545
+ - spec/dummy_test_app/bin/rake
546
+ - spec/dummy_test_app/bin/setup
547
+ - spec/dummy_test_app/bin/update
548
+ - spec/dummy_test_app/bin/yarn
549
+ - spec/dummy_test_app/config.ru
550
+ - spec/dummy_test_app/config/application.rb
551
+ - spec/dummy_test_app/config/boot.rb
552
+ - spec/dummy_test_app/config/browse_everything_providers.yml
553
+ - spec/dummy_test_app/config/cable.yml
554
+ - spec/dummy_test_app/config/database.yml
555
+ - spec/dummy_test_app/config/environment.rb
556
+ - spec/dummy_test_app/config/environments/development.rb
557
+ - spec/dummy_test_app/config/environments/production.rb
558
+ - spec/dummy_test_app/config/environments/test.rb
559
+ - spec/dummy_test_app/config/initializers/application_controller_renderer.rb
560
+ - spec/dummy_test_app/config/initializers/assets.rb
561
+ - spec/dummy_test_app/config/initializers/backtrace_silencers.rb
562
+ - spec/dummy_test_app/config/initializers/cookies_serializer.rb
563
+ - spec/dummy_test_app/config/initializers/filter_parameter_logging.rb
564
+ - spec/dummy_test_app/config/initializers/inflections.rb
565
+ - spec/dummy_test_app/config/initializers/mime_types.rb
566
+ - spec/dummy_test_app/config/initializers/wrap_parameters.rb
567
+ - spec/dummy_test_app/config/locales/en.yml
568
+ - spec/dummy_test_app/config/puma.rb
569
+ - spec/dummy_test_app/config/routes.rb
570
+ - spec/dummy_test_app/config/secrets.yml
571
+ - spec/dummy_test_app/config/spring.rb
572
+ - spec/dummy_test_app/lib/assets/.keep
573
+ - spec/dummy_test_app/log/.keep
574
+ - spec/dummy_test_app/package.json
575
+ - spec/dummy_test_app/public/404.html
576
+ - spec/dummy_test_app/public/422.html
577
+ - spec/dummy_test_app/public/500.html
578
+ - spec/dummy_test_app/public/apple-touch-icon-precomposed.png
579
+ - spec/dummy_test_app/public/apple-touch-icon.png
580
+ - spec/dummy_test_app/public/favicon.ico
581
+ - spec/dummy_test_app/tmp/.gitkeep
526
582
  - spec/features/select_files_spec.rb
527
583
  - spec/features/test_compiling_stylesheets_spec.rb
528
584
  - spec/fixtures/config/browse_everything_providers.yml
@@ -532,10 +588,6 @@ files:
532
588
  - spec/fixtures/file_system/file 1.pdf
533
589
  - spec/fixtures/file_system/file_1.pdf
534
590
  - spec/helper/browse_everything_controller_helper_spec.rb
535
- - spec/javascripts/behavior_spec.js
536
- - spec/javascripts/helpers/jasmine-jquery.js
537
- - spec/javascripts/helpers/jquery.js
538
- - spec/javascripts/karma_spec.rb
539
591
  - spec/lib/browse_everything/auth/google/credentials_spec.rb
540
592
  - spec/lib/browse_everything/browse_everything_helper_spec.rb
541
593
  - spec/lib/browse_everything/browser_spec.rb
@@ -552,14 +604,9 @@ files:
552
604
  - spec/services/browse_everything_session/provider_session_spec.rb
553
605
  - spec/services/browser_factory_spec.rb
554
606
  - spec/spec_helper.rb
555
- - spec/support/app/controllers/file_handler_controller.rb
556
- - spec/support/app/views/file_handler/index.html.erb
557
- - spec/support/app/views/file_handler/main.html.erb
558
607
  - spec/support/capybara.rb
559
608
  - spec/support/rake.rb
560
609
  - spec/support/wait_for_ajax.rb
561
- - spec/test_app_templates/Gemfile.extra
562
- - spec/test_app_templates/lib/generators/test_app_generator.rb
563
610
  - spec/views/browse_everything/_files.html.erb_spec.rb
564
611
  - tasks/ci.rake
565
612
  - vendor/assets/javascripts/jquery.treetable.js
@@ -584,12 +631,73 @@ required_rubygems_version: !ruby/object:Gem::Requirement
584
631
  - !ruby/object:Gem::Version
585
632
  version: '0'
586
633
  requirements: []
587
- rubygems_version: 3.0.3
634
+ rubygems_version: 3.2.33
588
635
  signing_key:
589
636
  specification_version: 4
590
637
  summary: AJAX/Rails engine file browser for cloud storage services
591
638
  test_files:
592
639
  - spec/controllers/browse_everything_controller_spec.rb
640
+ - spec/dummy_test_app/Rakefile
641
+ - spec/dummy_test_app/app/assets/config/manifest.js
642
+ - spec/dummy_test_app/app/assets/images/.keep
643
+ - spec/dummy_test_app/app/assets/javascripts/application.js
644
+ - spec/dummy_test_app/app/assets/javascripts/cable.js
645
+ - spec/dummy_test_app/app/assets/javascripts/channels/.keep
646
+ - spec/dummy_test_app/app/assets/stylesheets/application.scss
647
+ - spec/dummy_test_app/app/channels/application_cable/channel.rb
648
+ - spec/dummy_test_app/app/channels/application_cable/connection.rb
649
+ - spec/dummy_test_app/app/controllers/application_controller.rb
650
+ - spec/dummy_test_app/app/controllers/concerns/.keep
651
+ - spec/dummy_test_app/app/controllers/file_handler_controller.rb
652
+ - spec/dummy_test_app/app/helpers/application_helper.rb
653
+ - spec/dummy_test_app/app/jobs/application_job.rb
654
+ - spec/dummy_test_app/app/mailers/application_mailer.rb
655
+ - spec/dummy_test_app/app/models/application_record.rb
656
+ - spec/dummy_test_app/app/models/concerns/.keep
657
+ - spec/dummy_test_app/app/views/file_handler/index.html.erb
658
+ - spec/dummy_test_app/app/views/file_handler/main.html.erb
659
+ - spec/dummy_test_app/app/views/layouts/application.html.erb
660
+ - spec/dummy_test_app/app/views/layouts/mailer.html.erb
661
+ - spec/dummy_test_app/app/views/layouts/mailer.text.erb
662
+ - spec/dummy_test_app/bin/bundle
663
+ - spec/dummy_test_app/bin/rails
664
+ - spec/dummy_test_app/bin/rake
665
+ - spec/dummy_test_app/bin/setup
666
+ - spec/dummy_test_app/bin/update
667
+ - spec/dummy_test_app/bin/yarn
668
+ - spec/dummy_test_app/config.ru
669
+ - spec/dummy_test_app/config/application.rb
670
+ - spec/dummy_test_app/config/boot.rb
671
+ - spec/dummy_test_app/config/browse_everything_providers.yml
672
+ - spec/dummy_test_app/config/cable.yml
673
+ - spec/dummy_test_app/config/database.yml
674
+ - spec/dummy_test_app/config/environment.rb
675
+ - spec/dummy_test_app/config/environments/development.rb
676
+ - spec/dummy_test_app/config/environments/production.rb
677
+ - spec/dummy_test_app/config/environments/test.rb
678
+ - spec/dummy_test_app/config/initializers/application_controller_renderer.rb
679
+ - spec/dummy_test_app/config/initializers/assets.rb
680
+ - spec/dummy_test_app/config/initializers/backtrace_silencers.rb
681
+ - spec/dummy_test_app/config/initializers/cookies_serializer.rb
682
+ - spec/dummy_test_app/config/initializers/filter_parameter_logging.rb
683
+ - spec/dummy_test_app/config/initializers/inflections.rb
684
+ - spec/dummy_test_app/config/initializers/mime_types.rb
685
+ - spec/dummy_test_app/config/initializers/wrap_parameters.rb
686
+ - spec/dummy_test_app/config/locales/en.yml
687
+ - spec/dummy_test_app/config/puma.rb
688
+ - spec/dummy_test_app/config/routes.rb
689
+ - spec/dummy_test_app/config/secrets.yml
690
+ - spec/dummy_test_app/config/spring.rb
691
+ - spec/dummy_test_app/lib/assets/.keep
692
+ - spec/dummy_test_app/log/.keep
693
+ - spec/dummy_test_app/package.json
694
+ - spec/dummy_test_app/public/404.html
695
+ - spec/dummy_test_app/public/422.html
696
+ - spec/dummy_test_app/public/500.html
697
+ - spec/dummy_test_app/public/apple-touch-icon-precomposed.png
698
+ - spec/dummy_test_app/public/apple-touch-icon.png
699
+ - spec/dummy_test_app/public/favicon.ico
700
+ - spec/dummy_test_app/tmp/.gitkeep
593
701
  - spec/features/select_files_spec.rb
594
702
  - spec/features/test_compiling_stylesheets_spec.rb
595
703
  - spec/fixtures/config/browse_everything_providers.yml
@@ -599,10 +707,6 @@ test_files:
599
707
  - spec/fixtures/file_system/file 1.pdf
600
708
  - spec/fixtures/file_system/file_1.pdf
601
709
  - spec/helper/browse_everything_controller_helper_spec.rb
602
- - spec/javascripts/behavior_spec.js
603
- - spec/javascripts/helpers/jasmine-jquery.js
604
- - spec/javascripts/helpers/jquery.js
605
- - spec/javascripts/karma_spec.rb
606
710
  - spec/lib/browse_everything/auth/google/credentials_spec.rb
607
711
  - spec/lib/browse_everything/browse_everything_helper_spec.rb
608
712
  - spec/lib/browse_everything/browser_spec.rb
@@ -619,12 +723,7 @@ test_files:
619
723
  - spec/services/browse_everything_session/provider_session_spec.rb
620
724
  - spec/services/browser_factory_spec.rb
621
725
  - spec/spec_helper.rb
622
- - spec/support/app/controllers/file_handler_controller.rb
623
- - spec/support/app/views/file_handler/index.html.erb
624
- - spec/support/app/views/file_handler/main.html.erb
625
726
  - spec/support/capybara.rb
626
727
  - spec/support/rake.rb
627
728
  - spec/support/wait_for_ajax.rb
628
- - spec/test_app_templates/Gemfile.extra
629
- - spec/test_app_templates/lib/generators/test_app_generator.rb
630
729
  - spec/views/browse_everything/_files.html.erb_spec.rb
data/karma.conf.js DELETED
@@ -1,71 +0,0 @@
1
- // Karma configuration
2
- // Generated on Mon Nov 19 2018 13:01:16 GMT-0600 (Central Standard Time)
3
-
4
- module.exports = function(config) {
5
- config.set({
6
-
7
- // base path that will be used to resolve all patterns (eg. files, exclude)
8
- basePath: '',
9
-
10
-
11
- // frameworks to use
12
- // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13
- frameworks: ['jasmine'],
14
-
15
-
16
- // list of files / patterns to load in the browser
17
- files: [
18
- 'spec/javascripts/helpers/jquery.js',
19
- 'app/assets/javascripts/**/*.js',
20
- 'spec/javascripts/behavior_spec.js'
21
- ],
22
-
23
-
24
- // list of files / patterns to exclude
25
- exclude: [
26
- ],
27
-
28
-
29
- // preprocess matching files before serving them to the browser
30
- // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
31
- preprocessors: {
32
- },
33
-
34
-
35
- // test results reporter to use
36
- // possible values: 'dots', 'progress'
37
- // available reporters: https://npmjs.org/browse/keyword/karma-reporter
38
- reporters: ['progress'],
39
-
40
-
41
- // web server port
42
- port: 9876,
43
-
44
-
45
- // enable / disable colors in the output (reporters and logs)
46
- colors: true,
47
-
48
-
49
- // level of logging
50
- // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
51
- logLevel: config.LOG_INFO,
52
-
53
-
54
- // enable / disable watching file and executing tests whenever any file changes
55
- autoWatch: true,
56
-
57
-
58
- // start these browsers
59
- // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
60
- browsers: ['ChromeHeadless'],
61
-
62
-
63
- // Continuous Integration mode
64
- // if true, Karma captures browsers, runs the tests and exits
65
- singleRun: true,
66
-
67
- // Concurrency level
68
- // how many browser should be started simultaneous
69
- concurrency: Infinity
70
- })
71
- }
@@ -1,7 +0,0 @@
1
- describe("toggleCheckbox", function() {
2
- it("toggles the value between 1 and 0", function() {
3
- var html = '<input type="checkbox" name="select_all" id="select_all" value="0" class="ev-select-all"/>';
4
- var toggled = $.fn.browseEverything.toggleCheckbox($(html)[0]);
5
- expect($(toggled)[0].value).toEqual("1");
6
- });
7
- });