cmor_core_backend 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/controllers/cmor/core/backend/resources_controller/base.rb +4 -0
- data/app/routes/cmor/core/backend/routing/resources_routes.rb +90 -0
- data/app/views/cmor/core/backend/resources_controller/base/_index_actions.html.haml +7 -0
- data/app/views/cmor/core/backend/resources_controller/base/_show_actions.html.haml +16 -0
- data/config/locales/de.yml +7 -0
- data/config/locales/en.yml +7 -0
- data/lib/cmor/core/backend/configuration.rb +32 -2
- data/lib/generators/cmor/core/backend/install/templates/initializer.rb +23 -0
- metadata +10 -77
- 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/controllers/backend_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 -32
- 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/administador.rb +0 -24
- 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_core_backend.rb +0 -12
- 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/simple_form.rb +0 -176
- data/spec/dummy/config/initializers/simple_form_bootstrap.rb +0 -440
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/locales/simple_form.en.yml +0 -31
- data/spec/dummy/config/puma.rb +0 -34
- data/spec/dummy/config/routes.rb +0 -7
- 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/test.sqlite3 +0 -0
- data/spec/dummy/lib/templates/haml/scaffold/_form.html.haml +0 -12
- data/spec/dummy/log/development.log +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/dummy/tmp/development_secret.txt +0 -1
- 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 -12
- data/spec/support/pry-rails.rb +0 -1
- 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: 706d8379a914d4d31042960f41b5e219774eba5fe936c0f11b5be66f1cbba8b6
|
4
|
+
data.tar.gz: 80be7b89718817219c0c9d6bdc943240114338afd608a77fe623e0408b479280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1ad6f2bcdd81cdf7ba3235ccc5689627741b0bcb8e657c6a8e2bcc7c6cc0563209ae568db27290b639a1897b4f7d5e48170feab6ac439d12a3ddf452eb0350
|
7
|
+
data.tar.gz: db7b3929e2f1412a3b0dba67c18110fec69ca8991566335fecb72dafff179f4395d4cd0c664ae71553d6c94b9bfcc145ce2928f21ce87aa0c14faad5e3fba06b
|
@@ -3,6 +3,10 @@ module Cmor
|
|
3
3
|
module Backend
|
4
4
|
module ResourcesController
|
5
5
|
class Base < Administrador::ResourcesController::Base
|
6
|
+
if Cmor::Core.features?(:transports)
|
7
|
+
include Cmor::Transports::ResourcesController::ExportConcern
|
8
|
+
view_helper Cmor::Transports::ExportViewHelper, as: :export_helper
|
9
|
+
end
|
6
10
|
end
|
7
11
|
end
|
8
12
|
end
|
@@ -0,0 +1,90 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Core
|
3
|
+
module Backend
|
4
|
+
module Routing
|
5
|
+
# You can add routes to resources based an any condition that is based
|
6
|
+
# on the controller or resource class that a route is used for.
|
7
|
+
#
|
8
|
+
# This is useful when writing modules that conditionally add actions to
|
9
|
+
# resources based on the capabilities of the controller or resource class.
|
10
|
+
#
|
11
|
+
# Example:
|
12
|
+
#
|
13
|
+
# # lib/cmor/audits/engine.rb (in the Cmor::Audits Engine)
|
14
|
+
# module Cmor::Audits
|
15
|
+
# class Engine < ::Rails::Engine
|
16
|
+
# config.to_prepare do
|
17
|
+
# Cmor::Core::Backend.configure do |config|
|
18
|
+
# config.add_resources_routes(
|
19
|
+
# :cmor_audits,
|
20
|
+
# condition: ->{ resource_class.ancestors.map(&:to_s).include?("PaperTrail::Model::InstanceMethods") },
|
21
|
+
# routes: ->{
|
22
|
+
# get "versions/:version_id", on: :member, action: :version
|
23
|
+
# get "versions_at(/:version_at)", on: :member, action: :version_at
|
24
|
+
# get "versions", on: :member, action: :versions
|
25
|
+
# }
|
26
|
+
# )
|
27
|
+
# end
|
28
|
+
# end
|
29
|
+
# end
|
30
|
+
# end
|
31
|
+
#
|
32
|
+
# # config/routes.rb ( in the Cmor::Cms::Backend Engine)
|
33
|
+
# Cmor::Cms::Backend::Engine.routes.draw do
|
34
|
+
# resources :pages do
|
35
|
+
# Cmor::Core::Backend::Routing::ResourcesRoutes.inject_routes(self)
|
36
|
+
# end
|
37
|
+
# end
|
38
|
+
#
|
39
|
+
#
|
40
|
+
# This will add the routes for the versioning to the pages resource
|
41
|
+
# routing if the resource class of the pages controller includes the
|
42
|
+
# PaperTrail::Model::InstanceMethods module.
|
43
|
+
#
|
44
|
+
class ResourcesRoutes
|
45
|
+
def self.inject_routes(router, options = {})
|
46
|
+
new(router, options).inject_routes
|
47
|
+
end
|
48
|
+
|
49
|
+
def initialize(router, options = {})
|
50
|
+
@router = router
|
51
|
+
@options = options
|
52
|
+
end
|
53
|
+
|
54
|
+
def inject_routes
|
55
|
+
routes.each do |name, options|
|
56
|
+
if instance_exec(&options[:condition])
|
57
|
+
@router.instance_exec(&options[:routes])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def controller_class
|
63
|
+
@controller_class ||= begin
|
64
|
+
__controller = @router.instance_variable_get(:@scope).instance_variable_get(:@hash)[:controller]
|
65
|
+
__namespaces = []
|
66
|
+
__actual_scope = @router.instance_variable_get(:@scope)
|
67
|
+
while __actual_scope.instance_variable_get(:@parent).present?
|
68
|
+
__namespace = __actual_scope.instance_variable_get(:@parent).instance_variable_get(:@hash).try(:[], :module)
|
69
|
+
if __namespace.present? && !__namespaces.any? { |n| n&.start_with?(__namespace) }
|
70
|
+
__namespaces << __actual_scope.instance_variable_get(:@parent).instance_variable_get(:@hash).try(:[], :module)
|
71
|
+
end
|
72
|
+
__actual_scope = __actual_scope.instance_variable_get(:@parent)
|
73
|
+
end
|
74
|
+
__namespace = __namespaces.uniq.reverse.compact.join("/")
|
75
|
+
"#{__namespace}/#{__controller}_controller".camelize.constantize
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
def resource_class
|
80
|
+
controller_class.resource_class
|
81
|
+
end
|
82
|
+
|
83
|
+
def routes
|
84
|
+
@routes ||= Cmor::Core::Backend::Configuration.resources_routes
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
.ml-auto
|
2
|
+
- if Cmor::Core.features?(:cmor_transports) && controller.class.available_rest_actions.include?(:export)
|
3
|
+
= link_to(export_path, class: 'btn btn-secondary btn-circle btn-lg') do
|
4
|
+
%i.fas.fa-file-export
|
5
|
+
- if available_rest_actions.include?(:new)
|
6
|
+
= link_to({ action: :new }, class: 'btn btn-success btn-circle btn-lg') do
|
7
|
+
%i.fas.fa-plus
|
@@ -0,0 +1,16 @@
|
|
1
|
+
= link_to({ action: :index }, class: 'btn btn-light btn-responsive') do
|
2
|
+
%i.fas.fa-arrow-left
|
3
|
+
%span.btn-text= t('.back')
|
4
|
+
|
5
|
+
.ml-auto
|
6
|
+
- if Cmor::Core.features?(:cmor_audits) && controller.respond_to?(:versions)
|
7
|
+
= link_to([:versions, resource_namespace, resource], class: 'btn btn-secondary btn-circle btn-lg') do
|
8
|
+
%i.fas.fa-history
|
9
|
+
|
10
|
+
- if available_rest_actions.include?(:destroy)
|
11
|
+
= link_to([resource_namespace, resource], class: 'destroy btn btn-danger btn-circle btn-lg', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do
|
12
|
+
%i.fas.fa-fire
|
13
|
+
|
14
|
+
- if available_rest_actions.include?(:edit)
|
15
|
+
= link_to([:edit, resource_namespace, resource], class: 'btn btn-success btn-circle btn-lg') do
|
16
|
+
%i.fas.fa-edit
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -5,6 +5,8 @@ module Cmor
|
|
5
5
|
module Core
|
6
6
|
module Backend
|
7
7
|
module Configuration
|
8
|
+
extend self
|
9
|
+
|
8
10
|
def configure
|
9
11
|
yield self
|
10
12
|
end
|
@@ -16,8 +18,36 @@ module Cmor
|
|
16
18
|
}
|
17
19
|
}
|
18
20
|
|
19
|
-
|
20
|
-
|
21
|
+
mattr_accessor(:resources_routes) { {} }
|
22
|
+
|
23
|
+
def image_variant_options_for(identifier)
|
24
|
+
image_variant_options[identifier]
|
25
|
+
end
|
26
|
+
|
27
|
+
# You can add routes to resources based an any condition that can based
|
28
|
+
# on the controller or resource class that a route is used for.
|
29
|
+
#
|
30
|
+
# This is useful when writing modules that conditionally add actions to
|
31
|
+
# resources based on the capabilities of the controller or resource class.
|
32
|
+
#
|
33
|
+
# Example:
|
34
|
+
#
|
35
|
+
# config.add_resources_routes(
|
36
|
+
# :cmor_audits,
|
37
|
+
# condition: ->{ resource_class.ancestors.map(&:to_s).include?("PaperTrail::Model::InstanceMethods") },
|
38
|
+
# routes: ->{ paper_trail_resources }
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# Example:
|
42
|
+
#
|
43
|
+
# config.add_resources_routes(
|
44
|
+
# :acts_as_list,
|
45
|
+
# condition: ->{ resource_class.respond_to?(:position) },
|
46
|
+
# routes: ->{ get :toggle_position, on: :member }
|
47
|
+
# )
|
48
|
+
#
|
49
|
+
def add_resources_routes(name, options)
|
50
|
+
resources_routes[name] = options
|
21
51
|
end
|
22
52
|
end
|
23
53
|
end
|
@@ -9,4 +9,27 @@ Cmor::Core::Backend.configure do |config|
|
|
9
9
|
gallery: { resize: "640x480" },
|
10
10
|
table: { resize: "160x120" }
|
11
11
|
}
|
12
|
+
|
13
|
+
# You can add routes to resources based an any condition that is based
|
14
|
+
# on the controller or resource class that a route is used for.
|
15
|
+
#
|
16
|
+
# This is useful when writing modules that conditionally add actions to
|
17
|
+
# resources based on the capabilities of the controller or resource class.
|
18
|
+
#
|
19
|
+
# Example:
|
20
|
+
#
|
21
|
+
# config.add_resources_routes(
|
22
|
+
# :cmor_audits,
|
23
|
+
# condition: ->{ resource_class.ancestors.map(&:to_s).include?("PaperTrail::Model::InstanceMethods") },
|
24
|
+
# routes: ->{ paper_trail_resources }
|
25
|
+
# )
|
26
|
+
#
|
27
|
+
# Example:
|
28
|
+
#
|
29
|
+
# config.add_resources_routes(
|
30
|
+
# :acts_as_list,
|
31
|
+
# condition: ->{ resource_class.respond_to?(:position) },
|
32
|
+
# routes: ->{ get :toggle_position, on: :member }
|
33
|
+
# )
|
34
|
+
#
|
12
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmor_core_backend
|
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,14 +30,14 @@ 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: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -310,14 +310,14 @@ dependencies:
|
|
310
310
|
requirements:
|
311
311
|
- - ">="
|
312
312
|
- !ruby/object:Gem::Version
|
313
|
-
version: 0.0.
|
313
|
+
version: 0.0.26.pre
|
314
314
|
type: :runtime
|
315
315
|
prerelease: false
|
316
316
|
version_requirements: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
318
|
- - ">="
|
319
319
|
- !ruby/object:Gem::Version
|
320
|
-
version: 0.0.
|
320
|
+
version: 0.0.26.pre
|
321
321
|
description:
|
322
322
|
email:
|
323
323
|
- roberto@vasquez-angel.de
|
@@ -342,6 +342,9 @@ files:
|
|
342
342
|
- app/controllers/cmor/core/backend/resource_controller/base.rb
|
343
343
|
- app/controllers/cmor/core/backend/resources_controller/base.rb
|
344
344
|
- app/controllers/cmor/core/backend/service_controller/base.rb
|
345
|
+
- app/routes/cmor/core/backend/routing/resources_routes.rb
|
346
|
+
- app/views/cmor/core/backend/resources_controller/base/_index_actions.html.haml
|
347
|
+
- app/views/cmor/core/backend/resources_controller/base/_show_actions.html.haml
|
345
348
|
- config/initializers/assets.rb
|
346
349
|
- config/locales/de.yml
|
347
350
|
- config/locales/en.yml
|
@@ -398,76 +401,6 @@ files:
|
|
398
401
|
- lib/generators/cmor/core/backend/resources_controller/templates/resources_controller.rb
|
399
402
|
- lib/generators/cmor/core/backend/service_controller/service_controller_generator.rb
|
400
403
|
- lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
|
401
|
-
- spec/dummy/Rakefile
|
402
|
-
- spec/dummy/app/assets/config/manifest.js
|
403
|
-
- spec/dummy/app/assets/javascripts/application.js
|
404
|
-
- spec/dummy/app/assets/javascripts/cable.js
|
405
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
406
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
407
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
408
|
-
- spec/dummy/app/controllers/application_controller.rb
|
409
|
-
- spec/dummy/app/controllers/backend_controller.rb
|
410
|
-
- spec/dummy/app/helpers/application_helper.rb
|
411
|
-
- spec/dummy/app/jobs/application_job.rb
|
412
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
413
|
-
- spec/dummy/app/models/application_record.rb
|
414
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
415
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
416
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
417
|
-
- spec/dummy/bin/bundle
|
418
|
-
- spec/dummy/bin/rails
|
419
|
-
- spec/dummy/bin/rake
|
420
|
-
- spec/dummy/bin/setup
|
421
|
-
- spec/dummy/bin/update
|
422
|
-
- spec/dummy/bin/yarn
|
423
|
-
- spec/dummy/config.ru
|
424
|
-
- spec/dummy/config/application.rb
|
425
|
-
- spec/dummy/config/boot.rb
|
426
|
-
- spec/dummy/config/cable.yml
|
427
|
-
- spec/dummy/config/database.yml
|
428
|
-
- spec/dummy/config/environment.rb
|
429
|
-
- spec/dummy/config/environments/development.rb
|
430
|
-
- spec/dummy/config/environments/production.rb
|
431
|
-
- spec/dummy/config/environments/test.rb
|
432
|
-
- spec/dummy/config/initializers/administador.rb
|
433
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
434
|
-
- spec/dummy/config/initializers/assets.rb
|
435
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
436
|
-
- spec/dummy/config/initializers/cmor_core_backend.rb
|
437
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
438
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
439
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
440
|
-
- spec/dummy/config/initializers/i18n.rb
|
441
|
-
- spec/dummy/config/initializers/inflections.rb
|
442
|
-
- spec/dummy/config/initializers/mime_types.rb
|
443
|
-
- spec/dummy/config/initializers/simple_form.rb
|
444
|
-
- spec/dummy/config/initializers/simple_form_bootstrap.rb
|
445
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
446
|
-
- spec/dummy/config/locales/en.yml
|
447
|
-
- spec/dummy/config/locales/simple_form.en.yml
|
448
|
-
- spec/dummy/config/puma.rb
|
449
|
-
- spec/dummy/config/routes.rb
|
450
|
-
- spec/dummy/config/spring.rb
|
451
|
-
- spec/dummy/config/storage.yml
|
452
|
-
- spec/dummy/db/development.sqlite3
|
453
|
-
- spec/dummy/db/test.sqlite3
|
454
|
-
- spec/dummy/lib/templates/haml/scaffold/_form.html.haml
|
455
|
-
- spec/dummy/log/development.log
|
456
|
-
- spec/dummy/package.json
|
457
|
-
- spec/dummy/public/404.html
|
458
|
-
- spec/dummy/public/422.html
|
459
|
-
- spec/dummy/public/500.html
|
460
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
461
|
-
- spec/dummy/public/apple-touch-icon.png
|
462
|
-
- spec/dummy/public/favicon.ico
|
463
|
-
- spec/dummy/tmp/development_secret.txt
|
464
|
-
- spec/rails_helper.rb
|
465
|
-
- spec/spec_helper.rb
|
466
|
-
- spec/support/capybara.rb
|
467
|
-
- spec/support/factory_bot.rb
|
468
|
-
- spec/support/pry-rails.rb
|
469
|
-
- spec/support/rao-shoulda_matchers.rb
|
470
|
-
- spec/support/shoulda_matchers.rb
|
471
404
|
homepage: https://github.com/content-management-on-rails
|
472
405
|
licenses:
|
473
406
|
- MIT
|
@@ -487,7 +420,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
487
420
|
- !ruby/object:Gem::Version
|
488
421
|
version: 1.3.1
|
489
422
|
requirements: []
|
490
|
-
rubygems_version: 3.1.
|
423
|
+
rubygems_version: 3.1.4
|
491
424
|
signing_key:
|
492
425
|
specification_version: 4
|
493
426
|
summary: Cmor Core Module.
|
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
|
-
*/
|