cmor_files 0.0.45.pre → 0.0.52.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +6 -138
- 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/factories/cmor_files_file_details.rb +0 -17
- data/spec/factories/cmor_files_folders.rb +0 -6
- 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: 01b4749c426409136f626da21f0524c3252cb263e885c6295bfdb596d4d475d2
|
4
|
+
data.tar.gz: a35736f55efe085f2f9c8cc2ff6178290aa40452c44e480258ffc54b02bcadae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10e9f950d420ed6926a07637d5d8669b112a597766995dd5987542a359c5ff0c2880c5a22c8c45d5995a95d37c6236cb5dc1b68c41e270a8b2f0251a30f6d041
|
7
|
+
data.tar.gz: a372935fc8b53e269447d8b1e8209f9a1f8d8b05fb798a0dadecb853528244aa7aed6d6dc161e59870d8078ebea1bf62dac0e584265633f03d438c43766f57b0
|
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.52.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-
|
11
|
+
date: 2020-03-26 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.52.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.52.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.52.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.52.pre
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sqlite3
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -429,139 +429,7 @@ files:
|
|
429
429
|
- lib/generators/cmor/files/install/templates/initializer.rb
|
430
430
|
- lib/generators/cmor/files/install/templates/routes.source
|
431
431
|
- 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
|
-
- spec/factories/cmor_files_file_details.rb
|
553
|
-
- spec/factories/cmor_files_folders.rb
|
554
432
|
- 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
433
|
homepage: https://github.com/content-management-on-rails
|
566
434
|
licenses:
|
567
435
|
- MIT
|
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
|
-
*/
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<%= csrf_meta_tags %>
|
6
|
-
<%= csp_meta_tag %>
|
7
|
-
|
8
|
-
<%= stylesheet_link_tag 'application', media: 'all' %>
|
9
|
-
<%= javascript_include_tag 'application' %>
|
10
|
-
</head>
|
11
|
-
|
12
|
-
<body>
|
13
|
-
<%= yield %>
|
14
|
-
</body>
|
15
|
-
</html>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= yield %>
|
data/spec/dummy/bin/bundle
DELETED
data/spec/dummy/bin/rails
DELETED
data/spec/dummy/bin/rake
DELETED
data/spec/dummy/bin/setup
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'fileutils'
|
3
|
-
include FileUtils
|
4
|
-
|
5
|
-
# path to your application root.
|
6
|
-
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
-
|
8
|
-
def system!(*args)
|
9
|
-
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
-
end
|
11
|
-
|
12
|
-
chdir APP_ROOT do
|
13
|
-
# This script is a starting point to setup your application.
|
14
|
-
# Add necessary setup steps to this file.
|
15
|
-
|
16
|
-
puts '== Installing dependencies =='
|
17
|
-
system! 'gem install bundler --conservative'
|
18
|
-
system('bundle check') || system!('bundle install')
|
19
|
-
|
20
|
-
# Install JavaScript dependencies if using Yarn
|
21
|
-
# system('bin/yarn')
|
22
|
-
|
23
|
-
# puts "\n== Copying sample files =="
|
24
|
-
# unless File.exist?('config/database.yml')
|
25
|
-
# cp 'config/database.yml.sample', 'config/database.yml'
|
26
|
-
# end
|
27
|
-
|
28
|
-
puts "\n== Preparing database =="
|
29
|
-
system! 'bin/rails db:setup'
|
30
|
-
|
31
|
-
puts "\n== Removing old logs and tempfiles =="
|
32
|
-
system! 'bin/rails log:clear tmp:clear'
|
33
|
-
|
34
|
-
puts "\n== Restarting application server =="
|
35
|
-
system! 'bin/rails restart'
|
36
|
-
end
|
data/spec/dummy/bin/update
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'fileutils'
|
3
|
-
include FileUtils
|
4
|
-
|
5
|
-
# path to your application root.
|
6
|
-
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
-
|
8
|
-
def system!(*args)
|
9
|
-
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
-
end
|
11
|
-
|
12
|
-
chdir APP_ROOT do
|
13
|
-
# This script is a way to update your development environment automatically.
|
14
|
-
# Add necessary update steps to this file.
|
15
|
-
|
16
|
-
puts '== Installing dependencies =='
|
17
|
-
system! 'gem install bundler --conservative'
|
18
|
-
system('bundle check') || system!('bundle install')
|
19
|
-
|
20
|
-
# Install JavaScript dependencies if using Yarn
|
21
|
-
# system('bin/yarn')
|
22
|
-
|
23
|
-
puts "\n== Updating database =="
|
24
|
-
system! 'bin/rails db:migrate'
|
25
|
-
|
26
|
-
puts "\n== Removing old logs and tempfiles =="
|
27
|
-
system! 'bin/rails log:clear tmp:clear'
|
28
|
-
|
29
|
-
puts "\n== Restarting application server =="
|
30
|
-
system! 'bin/rails restart'
|
31
|
-
end
|
data/spec/dummy/bin/yarn
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path('..', __dir__)
|
3
|
-
Dir.chdir(APP_ROOT) do
|
4
|
-
begin
|
5
|
-
exec "yarnpkg", *ARGV
|
6
|
-
rescue Errno::ENOENT
|
7
|
-
$stderr.puts "Yarn executable was not detected in the system."
|
8
|
-
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
9
|
-
exit 1
|
10
|
-
end
|
11
|
-
end
|
data/spec/dummy/config.ru
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
require_relative 'boot'
|
2
|
-
|
3
|
-
require "rails"
|
4
|
-
# Pick the frameworks you want:
|
5
|
-
require "active_model/railtie"
|
6
|
-
require "active_job/railtie"
|
7
|
-
require "active_record/railtie"
|
8
|
-
require "active_storage/engine"
|
9
|
-
require "action_controller/railtie"
|
10
|
-
require "action_mailer/railtie"
|
11
|
-
require "action_view/railtie"
|
12
|
-
require "action_cable/engine"
|
13
|
-
require "sprockets/railtie"
|
14
|
-
# require "rails/test_unit/railtie"
|
15
|
-
|
16
|
-
Bundler.require(*Rails.groups)
|
17
|
-
require "cmor_files"
|
18
|
-
|
19
|
-
module Dummy
|
20
|
-
class Application < Rails::Application
|
21
|
-
# Initialize configuration defaults for originally generated Rails version.
|
22
|
-
config.load_defaults 5.2
|
23
|
-
|
24
|
-
# Settings in config/environments/* take precedence over those specified here.
|
25
|
-
# Application configuration can go into files in config/initializers
|
26
|
-
# -- all .rb files in that directory are automatically loaded after loading
|
27
|
-
# the framework and any gems in your application.
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|