cmor_links_backend 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +37 -0
- data/Rakefile +19 -0
- data/app/assets/javascripts/cmor/links/backend/application/dummy.js +0 -0
- data/app/assets/javascripts/cmor/links/backend/application.js +13 -0
- data/app/assets/javascripts/cmor_links_backend.js +1 -0
- data/app/assets/stylesheets/cmor/links/backend/application/dummy.css +0 -0
- data/app/assets/stylesheets/cmor/links/backend/application.css +14 -0
- data/app/assets/stylesheets/cmor_links_backend.css +3 -0
- data/app/controllers/cmor/links/backend/categories_controller.rb +19 -0
- data/app/controllers/cmor/links/backend/home_controller.rb +6 -0
- data/app/controllers/cmor/links/backend/links_controller.rb +19 -0
- data/app/helpers/cmor/links/backend/application_helper.rb +8 -0
- data/app/policies/cmor/links/backend/engine_policy.rb +4 -0
- data/app/policies/cmor/links/category_policy.rb +4 -0
- data/app/policies/cmor/links/link_policy.rb +4 -0
- data/app/views/cmor/links/backend/categories/_form.html.haml +14 -0
- data/app/views/cmor/links/backend/categories/_index_table.html.haml +9 -0
- data/app/views/cmor/links/backend/categories/_show_table.html.haml +7 -0
- data/app/views/cmor/links/backend/links/_form.html.haml +11 -0
- data/app/views/cmor/links/backend/links/_index_table.html.haml +6 -0
- data/app/views/layouts/cmor/links/backend/application.html.erb +14 -0
- data/config/initializers/cmor.rb +3 -0
- data/config/locales/de.yml +14 -0
- data/config/locales/en.yml +14 -0
- data/config/rbac.yml +40 -0
- data/config/routes.rb +8 -0
- data/lib/cmor/links/backend/configuration.rb +22 -0
- data/lib/cmor/links/backend/engine.rb +14 -0
- data/lib/cmor/links/backend/version.rb +9 -0
- data/lib/cmor/links/backend.rb +12 -0
- data/lib/cmor_links_backend.rb +4 -0
- data/lib/generators/cmor/links/backend/install/install_generator.rb +21 -0
- data/lib/generators/cmor/links/backend/install/templates/cmor_links_backend.rb +24 -0
- data/lib/generators/cmor/links/backend/install/templates/routes.source +4 -0
- data/lib/tasks/cmor/links/backend_tasks.rake +4 -0
- metadata +373 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 36471c9347e66aca2920f77ac05a1e7a89a7358a1170c18ff9f25fe3e75fab3d
|
4
|
+
data.tar.gz: 9ae0a0d5fcded8cb0d140b9cb3dfec6feb64084f7c6f00feb6315333e3f6dab9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: aec0ee6c24f261fbd858dca42b3e9e2cee0cb038f6bdb52681bbfd7d949e737a84062483a665ab2fda261d15ade6785ff3bff96c6a5e9e2ecb5a10641e6b1db5
|
7
|
+
data.tar.gz: cd81ec1313008aae8ccc339b4b298befbd3debce6cde7a17fb690d209bc313352196a46cedd0978742f9c9cbbde35ec59f7627f22169e869ace3aef96ada3572
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2015 Roberto Vasquez Angel
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
= CMOR Links 2 Backend
|
2
|
+
|
3
|
+
= Prerequisites
|
4
|
+
|
5
|
+
Install cmor_links2
|
6
|
+
|
7
|
+
= Installation
|
8
|
+
|
9
|
+
Add it to your Gemfile:
|
10
|
+
|
11
|
+
# Gemfile
|
12
|
+
gem 'route_translator'
|
13
|
+
gem 'itsf_backend'
|
14
|
+
gem 'cmor_links2_backend'
|
15
|
+
|
16
|
+
Generate the initializer, backend controller and routes:
|
17
|
+
|
18
|
+
rails g itsf:backend:install
|
19
|
+
rails g cmor:links:backend:install
|
20
|
+
|
21
|
+
Register the backend in the ITSF Backend configuration:
|
22
|
+
|
23
|
+
# config/initializers/itsf_backend.rb
|
24
|
+
Itsf::Backend.configure do |config|
|
25
|
+
config.backend_engines = [
|
26
|
+
Cmor::Links::Backend::Engine
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
= How to run specs
|
31
|
+
|
32
|
+
gem install bundler
|
33
|
+
bundle
|
34
|
+
cd spec/dummy && rake db:migrate RAILS_ENV=test && cd ../..
|
35
|
+
guard
|
36
|
+
|
37
|
+
This project rocks and uses MIT-LICENSE.
|
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/setup'
|
3
|
+
rescue LoadError
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
8
|
+
|
9
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
11
|
+
rdoc.title = 'Cmor::Links::Backend'
|
12
|
+
rdoc.options << '--line-numbers'
|
13
|
+
rdoc.rdoc_files.include('README.rdoc')
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
+
end
|
16
|
+
|
17
|
+
Bundler::GemHelper.install_tasks
|
18
|
+
|
19
|
+
require 'rails/dummy/tasks'
|
File without changes
|
@@ -0,0 +1,13 @@
|
|
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.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require_tree ./application
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require cmor/links/backend/application
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
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. It is generally better to create a new file per style scope.
|
11
|
+
*
|
12
|
+
*= require_tree ./application
|
13
|
+
*= require_self
|
14
|
+
*/
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Links
|
3
|
+
module Backend
|
4
|
+
class CategoriesController < Cmor::Core::Backend::ResourcesController::Base
|
5
|
+
def self.resource_class
|
6
|
+
Cmor::Links::Category
|
7
|
+
end
|
8
|
+
|
9
|
+
private
|
10
|
+
|
11
|
+
def permitted_params
|
12
|
+
params
|
13
|
+
.require(:category)
|
14
|
+
.permit(:parent_id, :locale, :name, :markup_language, :short_description, :long_description, :link_footer_column)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Links
|
3
|
+
module Backend
|
4
|
+
class LinksController < Cmor::Core::Backend::ResourcesController::Base
|
5
|
+
def self.resource_class
|
6
|
+
Cmor::Links::Link
|
7
|
+
end
|
8
|
+
|
9
|
+
private
|
10
|
+
|
11
|
+
def permitted_params
|
12
|
+
params
|
13
|
+
.require(:link)
|
14
|
+
.permit(:category_id, :name, :url, :markup_language, :description)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
.well
|
2
|
+
= form.association :parent
|
3
|
+
|
4
|
+
.well
|
5
|
+
= form.input :locale, collection: I18n.available_locales
|
6
|
+
= form.input :name
|
7
|
+
|
8
|
+
.well
|
9
|
+
= form.input :markup_language, collection: Cmor::Links::markup_languages
|
10
|
+
= form.input :short_description
|
11
|
+
= form.input :long_description
|
12
|
+
|
13
|
+
.well
|
14
|
+
= form.input :link_footer_column, collection: (1..Cmor::Links::Configuration.link_footer_columns).to_a
|
@@ -0,0 +1,9 @@
|
|
1
|
+
= table.id sort: true
|
2
|
+
= table.column :locale, sort: true
|
3
|
+
= table.association :parent, sort: true
|
4
|
+
= table.column :name, sort: true, class: 'truncate-chars truncate-chars-30'
|
5
|
+
= table.column :short_description, sort: true, class: 'truncate-chars truncate-chars-30'
|
6
|
+
= table.column :long_description, sort: true, class: 'truncate-chars truncate-chars-30'
|
7
|
+
= table.column :link_footer_column, sort: true, class: 'truncate-chars truncate-chars-30'
|
8
|
+
= table.column :links_count, sort: true
|
9
|
+
= table.timestamps sort: true
|
@@ -0,0 +1,6 @@
|
|
1
|
+
= table.id sort: true
|
2
|
+
= table.association :category, sort: true, link_to: ->(resource) { resource.category }
|
3
|
+
= table.column :name, sort: true, class: 'truncate-chars truncate-chars-30'
|
4
|
+
= table.column :description, sort: true, class: 'truncate-chars truncate-chars-30'
|
5
|
+
= table.timestamps sort: true
|
6
|
+
= table.column(:link_actions) { |link| link_to(t('.visit'), link.url, class: 'btn btn-xs btn-primary') }
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Backend</title>
|
5
|
+
<%= stylesheet_link_tag "cmor/links/backend/application", media: "all" %>
|
6
|
+
<%= javascript_include_tag "cmor/links/backend/application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
data/config/rbac.yml
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
defaults:
|
2
|
+
permissions:
|
3
|
+
- cmor/links/backend/engine
|
4
|
+
- cmor/links/category/index
|
5
|
+
- cmor/links/category/show
|
6
|
+
- cmor/links/category/new
|
7
|
+
- cmor/links/category/create
|
8
|
+
- cmor/links/category/edit
|
9
|
+
- cmor/links/category/update
|
10
|
+
- cmor/links/category/destroy
|
11
|
+
- cmor/links/link/index
|
12
|
+
- cmor/links/link/show
|
13
|
+
- cmor/links/link/new
|
14
|
+
- cmor/links/link/create
|
15
|
+
- cmor/links/link/edit
|
16
|
+
- cmor/links/link/update
|
17
|
+
- cmor/links/link/destroy
|
18
|
+
roles:
|
19
|
+
cmor/links/administrator:
|
20
|
+
- cmor/links/backend/engine
|
21
|
+
- cmor/links/category/index
|
22
|
+
- cmor/links/category/show
|
23
|
+
- cmor/links/category/new
|
24
|
+
- cmor/links/category/create
|
25
|
+
- cmor/links/category/edit
|
26
|
+
- cmor/links/category/update
|
27
|
+
- cmor/links/category/destroy
|
28
|
+
- cmor/links/link/index
|
29
|
+
- cmor/links/link/show
|
30
|
+
- cmor/links/link/new
|
31
|
+
- cmor/links/link/create
|
32
|
+
- cmor/links/link/edit
|
33
|
+
- cmor/links/link/update
|
34
|
+
- cmor/links/link/destroy
|
35
|
+
cmor/links/reviewer:
|
36
|
+
- cmor/links/backend/engine
|
37
|
+
- cmor/links/category/index
|
38
|
+
- cmor/links/category/show
|
39
|
+
- cmor/links/link/index
|
40
|
+
- cmor/links/link/show
|
data/config/routes.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'active_support/core_ext/module/delegation'
|
2
|
+
require 'active_support/core_ext/module/attribute_accessors'
|
3
|
+
|
4
|
+
module Cmor
|
5
|
+
module Links
|
6
|
+
module Backend
|
7
|
+
module Configuration
|
8
|
+
def configure
|
9
|
+
yield self
|
10
|
+
end
|
11
|
+
|
12
|
+
mattr_accessor :registered_controllers do
|
13
|
+
-> { [] }
|
14
|
+
end
|
15
|
+
|
16
|
+
mattr_accessor :registered_services do
|
17
|
+
-> { [] }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Links
|
3
|
+
module Backend
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
isolate_namespace Cmor::Links::Backend
|
6
|
+
|
7
|
+
initializer 'cmor_links_backend.asset_pipeline' do |app|
|
8
|
+
app.config.assets.precompile << 'cmor_links_backend.js'
|
9
|
+
app.config.assets.precompile << 'cmor_links_backend.css'
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'cmor/links/backend/configuration'
|
2
|
+
require 'cmor/links/backend/engine'
|
3
|
+
|
4
|
+
module Cmor
|
5
|
+
module Links
|
6
|
+
module Backend
|
7
|
+
extend Configuration
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
Cmor.configure { |c| c.register_configuration(:links_backend, Cmor::Links::Backend) }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Links
|
3
|
+
module Backend
|
4
|
+
module Generators
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
6
|
+
desc 'Generates the intializer'
|
7
|
+
|
8
|
+
source_root File.expand_path('../templates', __FILE__)
|
9
|
+
|
10
|
+
def generate_initializer
|
11
|
+
copy_file 'cmor_links_backend.rb', 'config/initializers/cmor_links_backend.rb'
|
12
|
+
end
|
13
|
+
|
14
|
+
def generate_routes
|
15
|
+
route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Cmor::Links::Backend.configure do |config|
|
2
|
+
# Set the resources, that will be shown in the backend menu in development
|
3
|
+
# mode. This needs to be set to get a correct menu because
|
4
|
+
# Controller.descendants is empty in development. This is an eager load
|
5
|
+
# issue.
|
6
|
+
#
|
7
|
+
# Default: config.registered_controllers = -> {[
|
8
|
+
# Cmor::Links::Backend::CategoriesController,
|
9
|
+
# Cmor::Links::Backend::LinksController
|
10
|
+
# ]}
|
11
|
+
#
|
12
|
+
config.registered_controllers = lambda {
|
13
|
+
[
|
14
|
+
Cmor::Links::Backend::CategoriesController,
|
15
|
+
Cmor::Links::Backend::LinksController
|
16
|
+
]
|
17
|
+
}
|
18
|
+
|
19
|
+
# Set the services, that will be shown in the backend menu.
|
20
|
+
#
|
21
|
+
# Default: config.registered_services = -> {[]}
|
22
|
+
#
|
23
|
+
config.registered_services = -> { [] }
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,373 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cmor_links_backend
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Roberto Vasquez Angel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.2.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.2.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cmor_core_backend
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.1.pre
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.0.1.pre
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.3.6
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.3.6
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: responders
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: capybara
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: coveralls
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: factory_bot_rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: git_log_generator
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard-bundler
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: guard-rails
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard-rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rails-dummy
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rails-i18n
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rao-shoulda_matchers
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rspec-rails
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rubocop
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: shoulda-matchers
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: simplecov
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: simplecov-console
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: cmor_links
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - '='
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: 0.0.1.pre
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - '='
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: 0.0.1.pre
|
307
|
+
description: Provides a Backend for CMOR Links
|
308
|
+
email:
|
309
|
+
- roberto@vasquez-angel.de
|
310
|
+
executables: []
|
311
|
+
extensions: []
|
312
|
+
extra_rdoc_files: []
|
313
|
+
files:
|
314
|
+
- MIT-LICENSE
|
315
|
+
- README.rdoc
|
316
|
+
- Rakefile
|
317
|
+
- app/assets/javascripts/cmor/links/backend/application.js
|
318
|
+
- app/assets/javascripts/cmor/links/backend/application/dummy.js
|
319
|
+
- app/assets/javascripts/cmor_links_backend.js
|
320
|
+
- app/assets/stylesheets/cmor/links/backend/application.css
|
321
|
+
- app/assets/stylesheets/cmor/links/backend/application/dummy.css
|
322
|
+
- app/assets/stylesheets/cmor_links_backend.css
|
323
|
+
- app/controllers/cmor/links/backend/categories_controller.rb
|
324
|
+
- app/controllers/cmor/links/backend/home_controller.rb
|
325
|
+
- app/controllers/cmor/links/backend/links_controller.rb
|
326
|
+
- app/helpers/cmor/links/backend/application_helper.rb
|
327
|
+
- app/policies/cmor/links/backend/engine_policy.rb
|
328
|
+
- app/policies/cmor/links/category_policy.rb
|
329
|
+
- app/policies/cmor/links/link_policy.rb
|
330
|
+
- app/views/cmor/links/backend/categories/_form.html.haml
|
331
|
+
- app/views/cmor/links/backend/categories/_index_table.html.haml
|
332
|
+
- app/views/cmor/links/backend/categories/_show_table.html.haml
|
333
|
+
- app/views/cmor/links/backend/links/_form.html.haml
|
334
|
+
- app/views/cmor/links/backend/links/_index_table.html.haml
|
335
|
+
- app/views/layouts/cmor/links/backend/application.html.erb
|
336
|
+
- config/initializers/cmor.rb
|
337
|
+
- config/locales/de.yml
|
338
|
+
- config/locales/en.yml
|
339
|
+
- config/rbac.yml
|
340
|
+
- config/routes.rb
|
341
|
+
- lib/cmor/links/backend.rb
|
342
|
+
- lib/cmor/links/backend/configuration.rb
|
343
|
+
- lib/cmor/links/backend/engine.rb
|
344
|
+
- lib/cmor/links/backend/version.rb
|
345
|
+
- lib/cmor_links_backend.rb
|
346
|
+
- lib/generators/cmor/links/backend/install/install_generator.rb
|
347
|
+
- lib/generators/cmor/links/backend/install/templates/cmor_links_backend.rb
|
348
|
+
- lib/generators/cmor/links/backend/install/templates/routes.source
|
349
|
+
- lib/tasks/cmor/links/backend_tasks.rake
|
350
|
+
homepage: https://github.com/content-management-on-rails
|
351
|
+
licenses:
|
352
|
+
- MIT
|
353
|
+
metadata: {}
|
354
|
+
post_install_message:
|
355
|
+
rdoc_options: []
|
356
|
+
require_paths:
|
357
|
+
- lib
|
358
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
|
+
requirements:
|
365
|
+
- - ">"
|
366
|
+
- !ruby/object:Gem::Version
|
367
|
+
version: 1.3.1
|
368
|
+
requirements: []
|
369
|
+
rubygems_version: 3.0.3
|
370
|
+
signing_key:
|
371
|
+
specification_version: 4
|
372
|
+
summary: Backend Module for CMOR Links
|
373
|
+
test_files: []
|