cmor_blog_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 +3 -0
- data/Rakefile +19 -0
- data/app/assets/javascripts/cmor/blog/backend/application.js +1 -0
- data/app/assets/javascripts/cmor/blog/backend/application/dummy.js +0 -0
- data/app/assets/javascripts/cmor_blog_backend.js +1 -0
- data/app/assets/stylesheets/cmor/blog/backend/application.css +3 -0
- data/app/assets/stylesheets/cmor/blog/backend/application/dummy.css +0 -0
- data/app/assets/stylesheets/cmor_blog_backend.css +3 -0
- data/app/controllers/cmor/blog/backend/asset_details_controller.rb +31 -0
- data/app/controllers/cmor/blog/backend/home_controller.rb +8 -0
- data/app/controllers/cmor/blog/backend/posts_controller.rb +49 -0
- data/app/helpers/cmor/blog/backend/application_helper.rb +8 -0
- data/app/policies/cmor/blog/backend/engine_policy.rb +4 -0
- data/app/policies/cmor/blog/post_policy.rb +4 -0
- data/app/views/cmor/blog/backend/asset_details/_index_table.html.haml +10 -0
- data/app/views/cmor/blog/backend/posts/_after_show_table.html.haml +26 -0
- data/app/views/cmor/blog/backend/posts/_form.html.haml +20 -0
- data/app/views/cmor/blog/backend/posts/_index_table.html.haml +9 -0
- data/app/views/cmor/blog/backend/posts/_query_form.html.haml +2 -0
- data/app/views/cmor/blog/backend/posts/_show_table.html.haml +9 -0
- data/app/views/layouts/cmor/blog/backend/application.html.erb +14 -0
- data/config/initializers/assets.rb +2 -0
- data/config/initializers/cmor.rb +3 -0
- data/config/locales/de.yml +5 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +11 -0
- data/lib/cmor/blog/backend.rb +12 -0
- data/lib/cmor/blog/backend/configuration.rb +30 -0
- data/lib/cmor/blog/backend/engine.rb +13 -0
- data/lib/cmor/blog/backend/version.rb +9 -0
- data/lib/cmor_blog_backend.rb +4 -0
- data/lib/generators/cmor/blog/backend/install/install_generator.rb +21 -0
- data/lib/generators/cmor/blog/backend/install/templates/initializer.rb +28 -0
- data/lib/generators/cmor/blog/backend/install/templates/routes.source +4 -0
- data/lib/tasks/cmor/blog/backend_tasks.rake +4 -0
- metadata +373 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 17baa9873498740b07d8075b9b496615241b65493312d7238c34a4f3170166e7
|
4
|
+
data.tar.gz: ac8211162f399f08f317468213ea6fe7c309e70370eb7f4dab2790454bc9177d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ecd60a59c3a1d125e8fa91480cba1a36c78e2690bcfebbb67f7385d33189c136ab53991c5ee9970f9b97fd26cd85417cfc9ed48735162b40aac88cc3733e6187
|
7
|
+
data.tar.gz: 4c6407373bb7c41cd02989fec04362646489afd4d23a5d71d62928eedc2e4736bc9ab1766adfd55aa9abd4869145a52260a0be633fd239463ed07b89962c9872
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2016 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
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::Blog::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'
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require_tree ./application
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require cmor/blog/backend/application
|
File without changes
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Blog
|
3
|
+
module Backend
|
4
|
+
class AssetDetailsController < Cmor::Core::Backend::ResourcesController::Base
|
5
|
+
include Rao::ResourcesController::ActsAsListConcern
|
6
|
+
include Rao::ResourcesController::ActsAsPublishedConcern
|
7
|
+
include Rao::ResourcesController::SortingConcern
|
8
|
+
|
9
|
+
helper Twitter::Bootstrap::Components::Rails::V3::ComponentsHelper
|
10
|
+
|
11
|
+
def self.resource_class
|
12
|
+
Cmor::Blog::AssetDetail
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def after_destroy_location
|
18
|
+
last_location
|
19
|
+
end
|
20
|
+
|
21
|
+
def after_reposition_location
|
22
|
+
last_location
|
23
|
+
end
|
24
|
+
|
25
|
+
def permitted_params
|
26
|
+
params.require(:asset_detail).permit(:title, :description)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Blog
|
3
|
+
module Backend
|
4
|
+
class PostsController < Cmor::Core::Backend::ResourcesController::Base
|
5
|
+
include Rao::ResourcesController::ActsAsListConcern
|
6
|
+
include Rao::ResourcesController::ActsAsPublishedConcern
|
7
|
+
include Rao::ResourcesController::FriendlyIdConcern
|
8
|
+
|
9
|
+
helper Cmor::Tags::Backend::ApplicationHelper if Cmor::Blog.features?(:cmor_tags)
|
10
|
+
|
11
|
+
include Rao::Query::Controller::QueryConcern
|
12
|
+
view_helper Rao::Query::ApplicationHelper, as: :query_helper
|
13
|
+
|
14
|
+
def self.resource_class
|
15
|
+
Cmor::Blog::Post
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def current_user_for_userstamp
|
21
|
+
Cmor::Blog::Backend::Configuration.current_user_proc.call(self)
|
22
|
+
end
|
23
|
+
|
24
|
+
def initialize_resource
|
25
|
+
super
|
26
|
+
@resource.creator = current_user_for_userstamp
|
27
|
+
end
|
28
|
+
|
29
|
+
def initialize_resource_for_create
|
30
|
+
super
|
31
|
+
@resource.creator = current_user_for_userstamp
|
32
|
+
end
|
33
|
+
|
34
|
+
def load_collection_scope
|
35
|
+
scope = super.friendly
|
36
|
+
with_conditions_from_query(scope)
|
37
|
+
end
|
38
|
+
|
39
|
+
def load_resource_scope
|
40
|
+
super.friendly
|
41
|
+
end
|
42
|
+
|
43
|
+
def permitted_params
|
44
|
+
params.require(:post).permit(:title, :body, :published, :tag_list, assets: [], append_assets: [], overwrite_assets: [])
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
= table.acts_as_list_actions
|
2
|
+
= table.id sort: true
|
3
|
+
= table.association :post do |resource|
|
4
|
+
- link_to(resource.post.title, resource.post)
|
5
|
+
= table.association :asset, label_method: ->(r) { r.filename }
|
6
|
+
= table.timestamps sort: true
|
7
|
+
= table.column :asset_actions do |resource|
|
8
|
+
- link_to(main_app.url_for(resource.asset), class: 'btn btn-sm btn-xs btn-primary') do
|
9
|
+
%span.glyphicon.glyphicon-download
|
10
|
+
= t('.download')
|
@@ -0,0 +1,26 @@
|
|
1
|
+
- if @resource.asset_details.any?
|
2
|
+
= collection_table(collection: @resource.asset_details) do |t|
|
3
|
+
= t.acts_as_list_actions
|
4
|
+
= t.column(:preview_picture) do |resource|
|
5
|
+
- capture_haml do
|
6
|
+
- begin
|
7
|
+
%img.img-responsive.bottom-margin-2{ src: main_app.url_for(resource.asset.variant(thumbnail: '160x120^')) }
|
8
|
+
- rescue ActiveStorage::InvariableError
|
9
|
+
= t.column :filename
|
10
|
+
= t.column :asset_actions do |resource|
|
11
|
+
- link_to(main_app.url_for(resource.asset), class: 'btn btn-xs btn-primary btn-responsive') do
|
12
|
+
%span.glyphicon.glyphicon-download
|
13
|
+
%span.btn-text= t('.download')
|
14
|
+
= t.column :actions do |resource|
|
15
|
+
- capture_haml do
|
16
|
+
- id_base = "link-to-#{controller.class.name.underscore.gsub('_controller', '').gsub(/[\/_]/, '-')}-#{resource.to_param}"
|
17
|
+
.btn-group
|
18
|
+
= link_to(resource, id: "#{id_base}-show", class: 'btn btn-xs btn-responsive btn-primary') do
|
19
|
+
%span.glyphicon.glyphicon-eye-open
|
20
|
+
%span.btn-text= t('.show')
|
21
|
+
= link_to([:edit, resource], id: "#{id_base}-edit", class: 'btn btn-xs btn-responsive btn-default') do
|
22
|
+
%span.glyphicon.glyphicon-pencil
|
23
|
+
%span.btn-text= t('.edit')
|
24
|
+
= link_to(resource, id: "#{id_base}-destroy", class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: I18n.t('.confirmations.delete') }) do
|
25
|
+
%span.glyphicon.glyphicon-fire
|
26
|
+
%span.btn-text= t('.destroy')
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.bottom-margin-1
|
2
|
+
= "#{Cmor::Blog::Post.human_attribute_name(:creator)}: #{form.object.creator.send(Cmor::Blog::Configuration.creator_label_method_name) }"
|
3
|
+
|
4
|
+
= form.input :title
|
5
|
+
= form.input :body
|
6
|
+
= form.input :published, as: :boolean
|
7
|
+
|
8
|
+
- if form.object.assets.empty?
|
9
|
+
= form.input :assets, as: :file, input_html: { multiple: true }
|
10
|
+
- else
|
11
|
+
.row.mb-4
|
12
|
+
.col-md-6
|
13
|
+
.bg-success.p-4
|
14
|
+
= form.input :append_assets, as: :file, input_html: { multiple: true }
|
15
|
+
.col-md-6
|
16
|
+
.bg-danger.p-4
|
17
|
+
= form.input :overwrite_assets, as: :file, input_html: { multiple: true }
|
18
|
+
|
19
|
+
- if Cmor::Blog.features?(:cmor_tags)
|
20
|
+
= form.input :tag_list
|
@@ -0,0 +1,9 @@
|
|
1
|
+
= table.acts_as_list_actions
|
2
|
+
= table.column :title, sort: true
|
3
|
+
= table.column :body, sort: true do |resource|
|
4
|
+
- resource.body[0..100]
|
5
|
+
= table.column :asset_details_count
|
6
|
+
= table.association :creator, label_method: ->(r) { r.send(Cmor::Blog::Configuration.creator_label_method_name) }
|
7
|
+
= table.association :updater, label_method: ->(r) { r.send(Cmor::Blog::Configuration.creator_label_method_name) }
|
8
|
+
= table.timestamps sort: true
|
9
|
+
= table.acts_as_published_actions
|
@@ -0,0 +1,9 @@
|
|
1
|
+
= table.row :title
|
2
|
+
= table.row :body
|
3
|
+
- if Cmor::Blog.features?(:cmor_tags)
|
4
|
+
= table.row(:tags) do |resource|
|
5
|
+
- tag_labels_for(resource)
|
6
|
+
= table.association :creator, label_method: ->(r) { r.send(Cmor::Blog::Configuration.creator_label_method_name) }
|
7
|
+
= table.association :updater, label_method: ->(r) { r.send(Cmor::Blog::Configuration.creator_label_method_name) }
|
8
|
+
= table.timestamp :published_at, format: :short
|
9
|
+
= table.timestamps format: :short
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Backend</title>
|
5
|
+
<%= stylesheet_link_tag "cmor/blog/backend/application", media: "all" %>
|
6
|
+
<%= javascript_include_tag "cmor/blog/backend/application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
data/config/routes.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'cmor/blog/backend/configuration'
|
2
|
+
require "cmor/blog/backend/engine"
|
3
|
+
|
4
|
+
module Cmor
|
5
|
+
module Blog
|
6
|
+
module Backend
|
7
|
+
extend Configuration
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
Cmor.configure { |c| c.register_configuration(:blog_backend, Cmor::Blog::Backend) }
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'active_support/core_ext/module/delegation'
|
2
|
+
require 'active_support/core_ext/module/attribute_accessors'
|
3
|
+
|
4
|
+
module Cmor
|
5
|
+
module Blog
|
6
|
+
module Backend
|
7
|
+
module Configuration
|
8
|
+
def configure
|
9
|
+
yield self
|
10
|
+
end
|
11
|
+
|
12
|
+
mattr_accessor :registered_controllers do
|
13
|
+
lambda do
|
14
|
+
[
|
15
|
+
Cmor::Blog::Backend::PostsController
|
16
|
+
]
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
mattr_accessor :registered_services do
|
21
|
+
lambda do
|
22
|
+
[]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
mattr_accessor(:current_user_proc) { ->(controller) { controller.current_user } }
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Blog
|
3
|
+
module Backend
|
4
|
+
module Generators
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
6
|
+
desc 'Installs the initializer, routes and itsf_backend integration'
|
7
|
+
|
8
|
+
source_root File.expand_path('../templates', __FILE__)
|
9
|
+
|
10
|
+
def generate_initializer
|
11
|
+
template 'initializer.rb', 'config/initializers/cmor_blog_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,28 @@
|
|
1
|
+
Cmor::Blog::Backend.configure do |config|
|
2
|
+
# Set the resources, that will be shown in the backend menu.
|
3
|
+
#
|
4
|
+
# Default: config.registered_controllers = -> {[
|
5
|
+
# Cmor::Blog::Backend::PostsController,
|
6
|
+
# Cmor::Blog::Backend::AssetDetailsController
|
7
|
+
# ]}
|
8
|
+
#
|
9
|
+
config.registered_controllers = -> {[
|
10
|
+
Cmor::Blog::Backend::PostsController,
|
11
|
+
Cmor::Blog::Backend::AssetDetailsController
|
12
|
+
]}
|
13
|
+
|
14
|
+
# Set the services, that will be shown in the backend menu.
|
15
|
+
#
|
16
|
+
# Default: config.registered_services = -> {[
|
17
|
+
# ]}
|
18
|
+
#
|
19
|
+
config.registered_services = -> {[
|
20
|
+
]}
|
21
|
+
|
22
|
+
# This proc is used in context of the PostsController to retrieve the current
|
23
|
+
# user to userstamp created/updated posts.
|
24
|
+
#
|
25
|
+
# default: config.current_user_proc = ->(controller) { controller.send(:current_user) }
|
26
|
+
#
|
27
|
+
config.current_user_proc = ->(controller) { controller.send(:current_user) }
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,373 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cmor_blog_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_blog
|
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: Cmor::Blog::Backend Module.
|
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/blog/backend/application.js
|
318
|
+
- app/assets/javascripts/cmor/blog/backend/application/dummy.js
|
319
|
+
- app/assets/javascripts/cmor_blog_backend.js
|
320
|
+
- app/assets/stylesheets/cmor/blog/backend/application.css
|
321
|
+
- app/assets/stylesheets/cmor/blog/backend/application/dummy.css
|
322
|
+
- app/assets/stylesheets/cmor_blog_backend.css
|
323
|
+
- app/controllers/cmor/blog/backend/asset_details_controller.rb
|
324
|
+
- app/controllers/cmor/blog/backend/home_controller.rb
|
325
|
+
- app/controllers/cmor/blog/backend/posts_controller.rb
|
326
|
+
- app/helpers/cmor/blog/backend/application_helper.rb
|
327
|
+
- app/policies/cmor/blog/backend/engine_policy.rb
|
328
|
+
- app/policies/cmor/blog/post_policy.rb
|
329
|
+
- app/views/cmor/blog/backend/asset_details/_index_table.html.haml
|
330
|
+
- app/views/cmor/blog/backend/posts/_after_show_table.html.haml
|
331
|
+
- app/views/cmor/blog/backend/posts/_form.html.haml
|
332
|
+
- app/views/cmor/blog/backend/posts/_index_table.html.haml
|
333
|
+
- app/views/cmor/blog/backend/posts/_query_form.html.haml
|
334
|
+
- app/views/cmor/blog/backend/posts/_show_table.html.haml
|
335
|
+
- app/views/layouts/cmor/blog/backend/application.html.erb
|
336
|
+
- config/initializers/assets.rb
|
337
|
+
- config/initializers/cmor.rb
|
338
|
+
- config/locales/de.yml
|
339
|
+
- config/locales/en.yml
|
340
|
+
- config/routes.rb
|
341
|
+
- lib/cmor/blog/backend.rb
|
342
|
+
- lib/cmor/blog/backend/configuration.rb
|
343
|
+
- lib/cmor/blog/backend/engine.rb
|
344
|
+
- lib/cmor/blog/backend/version.rb
|
345
|
+
- lib/cmor_blog_backend.rb
|
346
|
+
- lib/generators/cmor/blog/backend/install/install_generator.rb
|
347
|
+
- lib/generators/cmor/blog/backend/install/templates/initializer.rb
|
348
|
+
- lib/generators/cmor/blog/backend/install/templates/routes.source
|
349
|
+
- lib/tasks/cmor/blog/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: Cmor::Blog::Backend.
|
373
|
+
test_files: []
|