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.
- checksums.yaml +4 -4
- data/app/view_helpers/cmor/files/application_view_helper.rb +25 -3
- data/app/views/cmor/files/application_view_helper/_render_folder.html.haml +15 -0
- data/app/views/cmor/files/folders/index.html.haml +1 -1
- data/app/views/cmor/files/folders/show.html.haml +14 -9
- data/config/locales/de.yml +7 -0
- data/config/locales/en.yml +7 -0
- metadata +8 -137
- data/spec/config/locales/de.yml +0 -3
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/javascripts/application.js +0 -15
- data/spec/dummy/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -2
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/jobs/application_job.rb +0 -2
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -3
- data/spec/dummy/app/views/layouts/application.html.erb +0 -15
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -36
- data/spec/dummy/bin/update +0 -31
- data/spec/dummy/bin/yarn +0 -11
- data/spec/dummy/config.ru +0 -5
- data/spec/dummy/config/application.rb +0 -30
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -61
- data/spec/dummy/config/environments/production.rb +0 -94
- data/spec/dummy/config/environments/test.rb +0 -46
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/assets.rb +0 -14
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/cmor_files.rb +0 -7
- data/spec/dummy/config/initializers/content_security_policy.rb +0 -25
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/i18n.rb +0 -2
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/puma.rb +0 -34
- data/spec/dummy/config/routes.rb +0 -6
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/config/storage.yml +0 -34
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20200119054027_create_active_storage_tables.active_storage.rb +0 -27
- data/spec/dummy/db/migrate/20200119054052_create_cmor_files_folders.cmor_files.rb +0 -12
- data/spec/dummy/db/migrate/20200119054053_create_cmor_files_file_details.cmor_files.rb +0 -14
- data/spec/dummy/db/schema.rb +0 -54
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -122
- data/spec/dummy/log/test.log +0 -143
- data/spec/dummy/package.json +0 -5
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +0 -1
- data/spec/dummy/tmp/storage/5Z/Lz/5ZLz1RnTjSv6JxA2kxa6Wfdj +0 -0
- data/spec/dummy/tmp/storage/Qc/Te/QcTeyM8PiNUmVbGyawobiMy1 +0 -0
- data/spec/dummy~/Rakefile +0 -6
- data/spec/dummy~/app/assets/config/manifest.js +0 -4
- data/spec/dummy~/app/assets/javascripts/application.js +0 -14
- data/spec/dummy~/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy~/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy~/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy~/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy~/app/controllers/application_controller.rb +0 -2
- data/spec/dummy~/app/helpers/application_helper.rb +0 -2
- data/spec/dummy~/app/jobs/application_job.rb +0 -2
- data/spec/dummy~/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy~/app/models/application_record.rb +0 -3
- data/spec/dummy~/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy~/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy~/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy~/bin/bundle +0 -3
- data/spec/dummy~/bin/rails +0 -4
- data/spec/dummy~/bin/rake +0 -4
- data/spec/dummy~/bin/setup +0 -36
- data/spec/dummy~/bin/update +0 -31
- data/spec/dummy~/bin/yarn +0 -11
- data/spec/dummy~/config.ru +0 -5
- data/spec/dummy~/config/application.rb +0 -30
- data/spec/dummy~/config/boot.rb +0 -5
- data/spec/dummy~/config/cable.yml +0 -10
- data/spec/dummy~/config/database.yml +0 -25
- data/spec/dummy~/config/environment.rb +0 -5
- data/spec/dummy~/config/environments/development.rb +0 -61
- data/spec/dummy~/config/environments/production.rb +0 -94
- data/spec/dummy~/config/environments/test.rb +0 -46
- data/spec/dummy~/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy~/config/initializers/assets.rb +0 -14
- data/spec/dummy~/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy~/config/initializers/cmor/files.rb +0 -7
- data/spec/dummy~/config/initializers/content_security_policy.rb +0 -22
- data/spec/dummy~/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy~/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy~/config/initializers/inflections.rb +0 -16
- data/spec/dummy~/config/initializers/mime_types.rb +0 -4
- data/spec/dummy~/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy~/config/locales/en.yml +0 -33
- data/spec/dummy~/config/puma.rb +0 -34
- data/spec/dummy~/config/routes.rb +0 -3
- data/spec/dummy~/config/spring.rb +0 -6
- data/spec/dummy~/config/storage.yml +0 -35
- data/spec/dummy~/db/development.sqlite3 +0 -0
- data/spec/dummy~/db/schema.rb +0 -41
- data/spec/dummy~/db/test.sqlite3 +0 -0
- data/spec/dummy~/package.json +0 -5
- data/spec/dummy~/public/404.html +0 -67
- data/spec/dummy~/public/422.html +0 -67
- data/spec/dummy~/public/500.html +0 -66
- data/spec/dummy~/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy~/public/apple-touch-icon.png +0 -0
- data/spec/dummy~/public/favicon.ico +0 -0
- data/spec/models/cmor/files/file_detail_spec.rb +0 -7
- data/spec/models/cmor/files/folder_spec.rb +0 -12
- data/spec/models/generic_spec.rb +0 -50
- data/spec/models/i18n_spec.rb +0 -41
- data/spec/rails_helper.rb +0 -62
- data/spec/spec_helper.rb +0 -96
- data/spec/support/capybara.rb +0 -1
- data/spec/support/factory_bot.rb +0 -5
- data/spec/support/rao-shoulda_matchers.rb +0 -5
- data/spec/support/shoulda_matchers.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dddf95b2060f3ba15dc3f57a80cb7f6786ff54fc5d991d3e2d3a10a4551aae8
|
4
|
+
data.tar.gz: caefb2ec7248d9bd6cced5455a0d0c7adb01e3f07ef0789f039430eb1686600e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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).
|
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
|
-
|
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
|
-
|
1
|
+
.row
|
2
|
+
.col-12
|
3
|
+
%h1= @resource.name
|
2
4
|
|
3
5
|
.row
|
4
6
|
.col-12
|
5
|
-
|
6
|
-
=
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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 :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
|
data/config/locales/de.yml
CHANGED
@@ -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
|
data/config/locales/en.yml
CHANGED
@@ -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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
455
|
+
rubygems_version: 3.1.4
|
585
456
|
signing_key:
|
586
457
|
specification_version: 4
|
587
458
|
summary: Cmor Files Module.
|
data/spec/config/locales/de.yml
DELETED
data/spec/dummy/Rakefile
DELETED
@@ -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
|
-
*/
|