cmor_files 0.0.51.pre → 0.0.56.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/app/view_helpers/cmor/files/application_view_helper.rb +25 -3
  3. data/app/views/cmor/files/application_view_helper/_render_folder.html.haml +15 -0
  4. data/app/views/cmor/files/folders/index.html.haml +1 -1
  5. data/app/views/cmor/files/folders/show.html.haml +14 -9
  6. data/config/locales/de.yml +7 -0
  7. data/config/locales/en.yml +7 -0
  8. metadata +8 -137
  9. data/spec/config/locales/de.yml +0 -3
  10. data/spec/dummy/Rakefile +0 -6
  11. data/spec/dummy/app/assets/config/manifest.js +0 -3
  12. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  13. data/spec/dummy/app/assets/javascripts/cable.js +0 -13
  14. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  15. data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
  16. data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
  17. data/spec/dummy/app/controllers/application_controller.rb +0 -2
  18. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  19. data/spec/dummy/app/jobs/application_job.rb +0 -2
  20. data/spec/dummy/app/mailers/application_mailer.rb +0 -4
  21. data/spec/dummy/app/models/application_record.rb +0 -3
  22. data/spec/dummy/app/views/layouts/application.html.erb +0 -15
  23. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
  24. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
  25. data/spec/dummy/bin/bundle +0 -3
  26. data/spec/dummy/bin/rails +0 -4
  27. data/spec/dummy/bin/rake +0 -4
  28. data/spec/dummy/bin/setup +0 -36
  29. data/spec/dummy/bin/update +0 -31
  30. data/spec/dummy/bin/yarn +0 -11
  31. data/spec/dummy/config.ru +0 -5
  32. data/spec/dummy/config/application.rb +0 -30
  33. data/spec/dummy/config/boot.rb +0 -5
  34. data/spec/dummy/config/cable.yml +0 -10
  35. data/spec/dummy/config/database.yml +0 -25
  36. data/spec/dummy/config/environment.rb +0 -5
  37. data/spec/dummy/config/environments/development.rb +0 -61
  38. data/spec/dummy/config/environments/production.rb +0 -94
  39. data/spec/dummy/config/environments/test.rb +0 -46
  40. data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
  41. data/spec/dummy/config/initializers/assets.rb +0 -14
  42. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  43. data/spec/dummy/config/initializers/cmor_files.rb +0 -7
  44. data/spec/dummy/config/initializers/content_security_policy.rb +0 -25
  45. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
  46. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  47. data/spec/dummy/config/initializers/i18n.rb +0 -2
  48. data/spec/dummy/config/initializers/inflections.rb +0 -16
  49. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  50. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  51. data/spec/dummy/config/locales/en.yml +0 -33
  52. data/spec/dummy/config/puma.rb +0 -34
  53. data/spec/dummy/config/routes.rb +0 -6
  54. data/spec/dummy/config/spring.rb +0 -6
  55. data/spec/dummy/config/storage.yml +0 -34
  56. data/spec/dummy/db/development.sqlite3 +0 -0
  57. data/spec/dummy/db/migrate/20200119054027_create_active_storage_tables.active_storage.rb +0 -27
  58. data/spec/dummy/db/migrate/20200119054052_create_cmor_files_folders.cmor_files.rb +0 -12
  59. data/spec/dummy/db/migrate/20200119054053_create_cmor_files_file_details.cmor_files.rb +0 -14
  60. data/spec/dummy/db/schema.rb +0 -54
  61. data/spec/dummy/db/test.sqlite3 +0 -0
  62. data/spec/dummy/log/development.log +0 -122
  63. data/spec/dummy/log/test.log +0 -143
  64. data/spec/dummy/package.json +0 -5
  65. data/spec/dummy/public/404.html +0 -67
  66. data/spec/dummy/public/422.html +0 -67
  67. data/spec/dummy/public/500.html +0 -66
  68. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  69. data/spec/dummy/public/apple-touch-icon.png +0 -0
  70. data/spec/dummy/public/favicon.ico +0 -0
  71. data/spec/dummy/tmp/development_secret.txt +0 -1
  72. data/spec/dummy/tmp/storage/5Z/Lz/5ZLz1RnTjSv6JxA2kxa6Wfdj +0 -0
  73. data/spec/dummy/tmp/storage/Qc/Te/QcTeyM8PiNUmVbGyawobiMy1 +0 -0
  74. data/spec/dummy~/Rakefile +0 -6
  75. data/spec/dummy~/app/assets/config/manifest.js +0 -4
  76. data/spec/dummy~/app/assets/javascripts/application.js +0 -14
  77. data/spec/dummy~/app/assets/javascripts/cable.js +0 -13
  78. data/spec/dummy~/app/assets/stylesheets/application.css +0 -15
  79. data/spec/dummy~/app/channels/application_cable/channel.rb +0 -4
  80. data/spec/dummy~/app/channels/application_cable/connection.rb +0 -4
  81. data/spec/dummy~/app/controllers/application_controller.rb +0 -2
  82. data/spec/dummy~/app/helpers/application_helper.rb +0 -2
  83. data/spec/dummy~/app/jobs/application_job.rb +0 -2
  84. data/spec/dummy~/app/mailers/application_mailer.rb +0 -4
  85. data/spec/dummy~/app/models/application_record.rb +0 -3
  86. data/spec/dummy~/app/views/layouts/application.html.erb +0 -14
  87. data/spec/dummy~/app/views/layouts/mailer.html.erb +0 -13
  88. data/spec/dummy~/app/views/layouts/mailer.text.erb +0 -1
  89. data/spec/dummy~/bin/bundle +0 -3
  90. data/spec/dummy~/bin/rails +0 -4
  91. data/spec/dummy~/bin/rake +0 -4
  92. data/spec/dummy~/bin/setup +0 -36
  93. data/spec/dummy~/bin/update +0 -31
  94. data/spec/dummy~/bin/yarn +0 -11
  95. data/spec/dummy~/config.ru +0 -5
  96. data/spec/dummy~/config/application.rb +0 -30
  97. data/spec/dummy~/config/boot.rb +0 -5
  98. data/spec/dummy~/config/cable.yml +0 -10
  99. data/spec/dummy~/config/database.yml +0 -25
  100. data/spec/dummy~/config/environment.rb +0 -5
  101. data/spec/dummy~/config/environments/development.rb +0 -61
  102. data/spec/dummy~/config/environments/production.rb +0 -94
  103. data/spec/dummy~/config/environments/test.rb +0 -46
  104. data/spec/dummy~/config/initializers/application_controller_renderer.rb +0 -8
  105. data/spec/dummy~/config/initializers/assets.rb +0 -14
  106. data/spec/dummy~/config/initializers/backtrace_silencers.rb +0 -7
  107. data/spec/dummy~/config/initializers/cmor/files.rb +0 -7
  108. data/spec/dummy~/config/initializers/content_security_policy.rb +0 -22
  109. data/spec/dummy~/config/initializers/cookies_serializer.rb +0 -5
  110. data/spec/dummy~/config/initializers/filter_parameter_logging.rb +0 -4
  111. data/spec/dummy~/config/initializers/inflections.rb +0 -16
  112. data/spec/dummy~/config/initializers/mime_types.rb +0 -4
  113. data/spec/dummy~/config/initializers/wrap_parameters.rb +0 -14
  114. data/spec/dummy~/config/locales/en.yml +0 -33
  115. data/spec/dummy~/config/puma.rb +0 -34
  116. data/spec/dummy~/config/routes.rb +0 -3
  117. data/spec/dummy~/config/spring.rb +0 -6
  118. data/spec/dummy~/config/storage.yml +0 -35
  119. data/spec/dummy~/db/development.sqlite3 +0 -0
  120. data/spec/dummy~/db/schema.rb +0 -41
  121. data/spec/dummy~/db/test.sqlite3 +0 -0
  122. data/spec/dummy~/package.json +0 -5
  123. data/spec/dummy~/public/404.html +0 -67
  124. data/spec/dummy~/public/422.html +0 -67
  125. data/spec/dummy~/public/500.html +0 -66
  126. data/spec/dummy~/public/apple-touch-icon-precomposed.png +0 -0
  127. data/spec/dummy~/public/apple-touch-icon.png +0 -0
  128. data/spec/dummy~/public/favicon.ico +0 -0
  129. data/spec/models/cmor/files/file_detail_spec.rb +0 -7
  130. data/spec/models/cmor/files/folder_spec.rb +0 -12
  131. data/spec/models/generic_spec.rb +0 -50
  132. data/spec/models/i18n_spec.rb +0 -41
  133. data/spec/rails_helper.rb +0 -62
  134. data/spec/spec_helper.rb +0 -96
  135. data/spec/support/capybara.rb +0 -1
  136. data/spec/support/factory_bot.rb +0 -5
  137. data/spec/support/rao-shoulda_matchers.rb +0 -5
  138. data/spec/support/shoulda_matchers.rb +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 997908be35a8ba7a91a1cea0a27f3f3351f76448b59ee074917b5668480d5946
4
- data.tar.gz: 8e3f362130b653a494f0b0650ace28a6f49a90bfbb197153ffa8484c47e0cbc8
3
+ metadata.gz: 0dddf95b2060f3ba15dc3f57a80cb7f6786ff54fc5d991d3e2d3a10a4551aae8
4
+ data.tar.gz: caefb2ec7248d9bd6cced5455a0d0c7adb01e3f07ef0789f039430eb1686600e
5
5
  SHA512:
6
- metadata.gz: ea6fccd6bb61888d15eefe137238cc5c7660b21252a7ba0f87406f3b168bb102221b865fb685c9d416fd80b09f306a99387faa7c0c6ab032aa73655f890002e3
7
- data.tar.gz: 44e94756c7b10749ae70aabb8672773ab29a5976361e5e2b3151e5dfdc1a8ab0829f70424f6d4e9760af0a7297a4cda6c0e47090f744eb13485a2fd63f7545f1
6
+ metadata.gz: 40d83d9e2f1dbbb105895a00263397e73f9e3a00348453148ecc04d6d494cfcdc0dbee5631ba3266750cfad4c7e2b60c37476bdf4401c2a58e1a956623c3265e
7
+ data.tar.gz: e63a22c6583141f43b37d400008f6cb45b9ea3bae34b951e4a3189a3a874b5f2e2a334b519edf16a54928b691e95dea602a12f0dd5d2f173ab4eb11254a468a5
@@ -11,11 +11,33 @@ module Cmor
11
11
  # Example:
12
12
  #
13
13
  # # app/views/layouts/application.html.haml
14
- # = files_helper(self).render_download(name: 'Quick reference manual')
14
+ # = files_helper(self).render_file(identifier: 'Quick reference manual')
15
15
  #
16
16
  def render_file(identifier:)
17
- resource = Cmor::Files::FileDetail.where(identifier: identifier).first
18
- render resource: resource
17
+ resource = Cmor::Files::FileDetail.published.where(identifier: identifier).first
18
+ if resource.nil?
19
+ "Could not find published file detail with identifier: '#{identifier}'."
20
+ else
21
+ render resource: resource
22
+ end
23
+ end
24
+
25
+ # Example:
26
+ #
27
+ # # app/views/layouts/application.html.haml
28
+ # = files_helper(self).render_folder(identifier: 'Manuals')
29
+ #
30
+ def render_folder(identifier:)
31
+ resource = Cmor::Files::Folder.published.where(identifier: identifier).first
32
+ if resource.nil?
33
+ "Could not find published folder with identifier: '#{identifier}'."
34
+ else
35
+ render resource: resource
36
+ end
37
+ end
38
+
39
+ def asset_download_button_label(asset)
40
+ "#{c.t(".download")} (#{asset.blob.content_type.split('/').last}, #{c.number_to_human_size(asset.blob.byte_size)})"
19
41
  end
20
42
  end
21
43
  end
@@ -0,0 +1,15 @@
1
+ .row
2
+ .col-12
3
+ %h4= resource.name
4
+
5
+ .row
6
+ .col-12
7
+ .table-responsive
8
+ = collection_table(collection: resource.file_details, resource_class: Cmor::Files::FileDetail, header: false) do |table|
9
+ = table.column :filename do |resource|
10
+ - resource.asset.blob.filename.to_s.truncate(64)
11
+ = table.column :actions, html: "text-right" do |resource|
12
+ - capture_haml do
13
+ .text-right
14
+ = link_to(main_app.url_for(resource.asset), class: 'btn btn-primary') do
15
+ = files_helper(self).asset_download_button_label(resource.asset)
@@ -5,5 +5,5 @@
5
5
  = collection_table(collection: @collection, resource_class: resource_class) do |t|
6
6
  = t.column :name
7
7
  = t.column :assets_count
8
- = t.column :actions do |resource|
8
+ = t.column :actions, title: false do |resource|
9
9
  - link_to(t('.show'), [resource], class: 'btn btn-primary')
@@ -1,15 +1,20 @@
1
- %h1= @resource.name
1
+ .row
2
+ .col-12
3
+ %h1= @resource.name
2
4
 
3
5
  .row
4
6
  .col-12
5
- = collection_table(collection: @resource.file_details, resource_class: Cmor::Files::FileDetail, header: false) do |table|
6
- = table.column :filename do |resource|
7
- - resource.asset.blob.filename
8
- = table.column :blob_byte_size do |resource|
9
- - number_to_human_size(resource.asset.blob.byte_size)
10
- = table.column :actions do |resource|
11
- - capture_haml do
12
- = link_to(t('.download'), main_app.url_for(resource.asset), class: 'btn btn-primary')
7
+ .table-responsive
8
+ = collection_table(collection: @resource.file_details, resource_class: Cmor::Files::FileDetail, header: false) do |table|
9
+ = table.column :filename do |resource|
10
+ - resource.asset.blob.filename.to_s.truncate(64)
11
+ = table.column :blob_byte_size do |resource|
12
+ - number_to_human_size(resource.asset.blob.byte_size)
13
+ = table.column :actions do |resource|
14
+ - capture_haml do
15
+ .text-right
16
+ = link_to(main_app.url_for(resource.asset), class: 'btn btn-primary') do
17
+ = files_helper(self).asset_download_button_label(resource.asset)
13
18
 
14
19
 
15
20
  .row.mt-4
@@ -18,10 +18,15 @@ de:
18
18
  id: ID
19
19
  asset: Datei
20
20
  asset_id: Datei
21
+ asset_permanent_path: Permanenter Datei-Pfad
22
+ asset_permanent_url: Permanente Datei-URL
21
23
  blob_byte_size: Dateigröße
22
24
  blob_checksum: Checksumme
25
+ blob_content_type: Dateityp
26
+ blob_created_at: Datei erstellt am
23
27
  blob_filename: Dateiname
24
28
  description: Beschreibung
29
+ filename: Dateiname
25
30
  folder: Ordner
26
31
  folder_id: Ordner
27
32
  identifier: Bezeichner
@@ -34,12 +39,14 @@ de:
34
39
  updated_at: Aktualisiert am
35
40
  cmor/files/folder:
36
41
  id: ID
42
+ append_assets: Dateien hinzufügen
37
43
  assets: Dateien
38
44
  assets_count: Dateien
39
45
  description: Beschreibung
40
46
  identifier: Bezeichner
41
47
  locale: Sprache
42
48
  name: Name
49
+ overwrite_assets: Dateien ersetzen
43
50
  position: Position
44
51
  published: Veröffentlicht
45
52
  published_at: Veröffentlicht am
@@ -18,10 +18,15 @@ en:
18
18
  id: ID
19
19
  asset: Asset
20
20
  asset_id: Asset
21
+ asset_permanent_path: Permanent asset path
22
+ asset_permanent_url: Permanent asset ur
21
23
  blob_byte_size: Filesize
22
24
  blob_checksum: Checksum
25
+ blob_content_type: Content-Type
26
+ blob_created_at: File created at
23
27
  blob_filename: Filename
24
28
  description: Description
29
+ filename: Filename
25
30
  folder: Folder
26
31
  folder_id: Folder
27
32
  identifier: Identifier
@@ -34,12 +39,14 @@ en:
34
39
  updated_at: Updated at
35
40
  cmor/files/folder:
36
41
  id: ID
42
+ append_assets: Append files
37
43
  assets: Files
38
44
  assets_count: Files
39
45
  description: Description
40
46
  identifier: Identifier
41
47
  locale: Locale
42
48
  name: Name
49
+ overwrite_assets: Overwrite files
43
50
  position: Position
44
51
  published: Published
45
52
  published_at: Published at
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_files
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.51.pre
4
+ version: 0.0.56.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-23 00:00:00.000000000 Z
11
+ date: 2020-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.51.pre
33
+ version: 0.0.56.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.51.pre
40
+ version: 0.0.56.pre
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cmor_core_frontend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.51.pre
47
+ version: 0.0.56.pre
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.51.pre
54
+ version: 0.0.56.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -401,6 +401,7 @@ files:
401
401
  - app/models/cmor/files/folder.rb
402
402
  - app/view_helpers/cmor/files/application_view_helper.rb
403
403
  - app/views/cmor/files/application_view_helper/_render_file.html.haml
404
+ - app/views/cmor/files/application_view_helper/_render_folder.html.haml
404
405
  - app/views/cmor/files/file_details/index.html.haml
405
406
  - app/views/cmor/files/file_details/show.html.haml
406
407
  - app/views/cmor/files/folders/index.html.haml
@@ -429,139 +430,9 @@ files:
429
430
  - lib/generators/cmor/files/install/templates/initializer.rb
430
431
  - lib/generators/cmor/files/install/templates/routes.source
431
432
  - lib/tasks/cmor_files_tasks.rake
432
- - spec/config/locales/de.yml
433
- - spec/dummy/Rakefile
434
- - spec/dummy/app/assets/config/manifest.js
435
- - spec/dummy/app/assets/javascripts/application.js
436
- - spec/dummy/app/assets/javascripts/cable.js
437
- - spec/dummy/app/assets/stylesheets/application.css
438
- - spec/dummy/app/channels/application_cable/channel.rb
439
- - spec/dummy/app/channels/application_cable/connection.rb
440
- - spec/dummy/app/controllers/application_controller.rb
441
- - spec/dummy/app/helpers/application_helper.rb
442
- - spec/dummy/app/jobs/application_job.rb
443
- - spec/dummy/app/mailers/application_mailer.rb
444
- - spec/dummy/app/models/application_record.rb
445
- - spec/dummy/app/views/layouts/application.html.erb
446
- - spec/dummy/app/views/layouts/mailer.html.erb
447
- - spec/dummy/app/views/layouts/mailer.text.erb
448
- - spec/dummy/bin/bundle
449
- - spec/dummy/bin/rails
450
- - spec/dummy/bin/rake
451
- - spec/dummy/bin/setup
452
- - spec/dummy/bin/update
453
- - spec/dummy/bin/yarn
454
- - spec/dummy/config.ru
455
- - spec/dummy/config/application.rb
456
- - spec/dummy/config/boot.rb
457
- - spec/dummy/config/cable.yml
458
- - spec/dummy/config/database.yml
459
- - spec/dummy/config/environment.rb
460
- - spec/dummy/config/environments/development.rb
461
- - spec/dummy/config/environments/production.rb
462
- - spec/dummy/config/environments/test.rb
463
- - spec/dummy/config/initializers/application_controller_renderer.rb
464
- - spec/dummy/config/initializers/assets.rb
465
- - spec/dummy/config/initializers/backtrace_silencers.rb
466
- - spec/dummy/config/initializers/cmor_files.rb
467
- - spec/dummy/config/initializers/content_security_policy.rb
468
- - spec/dummy/config/initializers/cookies_serializer.rb
469
- - spec/dummy/config/initializers/filter_parameter_logging.rb
470
- - spec/dummy/config/initializers/i18n.rb
471
- - spec/dummy/config/initializers/inflections.rb
472
- - spec/dummy/config/initializers/mime_types.rb
473
- - spec/dummy/config/initializers/wrap_parameters.rb
474
- - spec/dummy/config/locales/en.yml
475
- - spec/dummy/config/puma.rb
476
- - spec/dummy/config/routes.rb
477
- - spec/dummy/config/spring.rb
478
- - spec/dummy/config/storage.yml
479
- - spec/dummy/db/development.sqlite3
480
- - spec/dummy/db/migrate/20200119054027_create_active_storage_tables.active_storage.rb
481
- - spec/dummy/db/migrate/20200119054052_create_cmor_files_folders.cmor_files.rb
482
- - spec/dummy/db/migrate/20200119054053_create_cmor_files_file_details.cmor_files.rb
483
- - spec/dummy/db/schema.rb
484
- - spec/dummy/db/test.sqlite3
485
- - spec/dummy/log/development.log
486
- - spec/dummy/log/test.log
487
- - spec/dummy/package.json
488
- - spec/dummy/public/404.html
489
- - spec/dummy/public/422.html
490
- - spec/dummy/public/500.html
491
- - spec/dummy/public/apple-touch-icon-precomposed.png
492
- - spec/dummy/public/apple-touch-icon.png
493
- - spec/dummy/public/favicon.ico
494
- - spec/dummy/tmp/development_secret.txt
495
- - spec/dummy/tmp/storage/5Z/Lz/5ZLz1RnTjSv6JxA2kxa6Wfdj
496
- - spec/dummy/tmp/storage/Qc/Te/QcTeyM8PiNUmVbGyawobiMy1
497
- - spec/dummy~/Rakefile
498
- - spec/dummy~/app/assets/config/manifest.js
499
- - spec/dummy~/app/assets/javascripts/application.js
500
- - spec/dummy~/app/assets/javascripts/cable.js
501
- - spec/dummy~/app/assets/stylesheets/application.css
502
- - spec/dummy~/app/channels/application_cable/channel.rb
503
- - spec/dummy~/app/channels/application_cable/connection.rb
504
- - spec/dummy~/app/controllers/application_controller.rb
505
- - spec/dummy~/app/helpers/application_helper.rb
506
- - spec/dummy~/app/jobs/application_job.rb
507
- - spec/dummy~/app/mailers/application_mailer.rb
508
- - spec/dummy~/app/models/application_record.rb
509
- - spec/dummy~/app/views/layouts/application.html.erb
510
- - spec/dummy~/app/views/layouts/mailer.html.erb
511
- - spec/dummy~/app/views/layouts/mailer.text.erb
512
- - spec/dummy~/bin/bundle
513
- - spec/dummy~/bin/rails
514
- - spec/dummy~/bin/rake
515
- - spec/dummy~/bin/setup
516
- - spec/dummy~/bin/update
517
- - spec/dummy~/bin/yarn
518
- - spec/dummy~/config.ru
519
- - spec/dummy~/config/application.rb
520
- - spec/dummy~/config/boot.rb
521
- - spec/dummy~/config/cable.yml
522
- - spec/dummy~/config/database.yml
523
- - spec/dummy~/config/environment.rb
524
- - spec/dummy~/config/environments/development.rb
525
- - spec/dummy~/config/environments/production.rb
526
- - spec/dummy~/config/environments/test.rb
527
- - spec/dummy~/config/initializers/application_controller_renderer.rb
528
- - spec/dummy~/config/initializers/assets.rb
529
- - spec/dummy~/config/initializers/backtrace_silencers.rb
530
- - spec/dummy~/config/initializers/cmor/files.rb
531
- - spec/dummy~/config/initializers/content_security_policy.rb
532
- - spec/dummy~/config/initializers/cookies_serializer.rb
533
- - spec/dummy~/config/initializers/filter_parameter_logging.rb
534
- - spec/dummy~/config/initializers/inflections.rb
535
- - spec/dummy~/config/initializers/mime_types.rb
536
- - spec/dummy~/config/initializers/wrap_parameters.rb
537
- - spec/dummy~/config/locales/en.yml
538
- - spec/dummy~/config/puma.rb
539
- - spec/dummy~/config/routes.rb
540
- - spec/dummy~/config/spring.rb
541
- - spec/dummy~/config/storage.yml
542
- - spec/dummy~/db/development.sqlite3
543
- - spec/dummy~/db/schema.rb
544
- - spec/dummy~/db/test.sqlite3
545
- - spec/dummy~/package.json
546
- - spec/dummy~/public/404.html
547
- - spec/dummy~/public/422.html
548
- - spec/dummy~/public/500.html
549
- - spec/dummy~/public/apple-touch-icon-precomposed.png
550
- - spec/dummy~/public/apple-touch-icon.png
551
- - spec/dummy~/public/favicon.ico
552
433
  - spec/factories/cmor_files_file_details.rb
553
434
  - spec/factories/cmor_files_folders.rb
554
435
  - spec/files/cmor/files/file_details/example.png
555
- - spec/models/cmor/files/file_detail_spec.rb
556
- - spec/models/cmor/files/folder_spec.rb
557
- - spec/models/generic_spec.rb
558
- - spec/models/i18n_spec.rb
559
- - spec/rails_helper.rb
560
- - spec/spec_helper.rb
561
- - spec/support/capybara.rb
562
- - spec/support/factory_bot.rb
563
- - spec/support/rao-shoulda_matchers.rb
564
- - spec/support/shoulda_matchers.rb
565
436
  homepage: https://github.com/content-management-on-rails
566
437
  licenses:
567
438
  - MIT
@@ -581,7 +452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
581
452
  - !ruby/object:Gem::Version
582
453
  version: 1.3.1
583
454
  requirements: []
584
- rubygems_version: 3.1.2
455
+ rubygems_version: 3.1.4
585
456
  signing_key:
586
457
  specification_version: 4
587
458
  summary: Cmor Files Module.
@@ -1,3 +0,0 @@
1
- RSpec.describe do
2
-
3
- end
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require_relative 'config/application'
5
-
6
- Rails.application.load_tasks
@@ -1,3 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../javascripts .js
3
- //= link_directory ../stylesheets .css
@@ -1,15 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require rails-ujs
14
- //= require activestorage
15
- //= require_tree .
@@ -1,13 +0,0 @@
1
- // Action Cable provides the framework to deal with WebSockets in Rails.
2
- // You can generate new channels where WebSocket features live using the `rails generate channel` command.
3
- //
4
- //= require action_cable
5
- //= require_self
6
- //= require_tree ./channels
7
-
8
- (function() {
9
- this.App || (this.App = {});
10
-
11
- App.cable = ActionCable.createConsumer();
12
-
13
- }).call(this);
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module ApplicationCable
2
- class Channel < ActionCable::Channel::Base
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module ApplicationCable
2
- class Connection < ActionCable::Connection::Base
3
- end
4
- end