cmor_galleries_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.md +34 -0
- data/Rakefile +19 -0
- data/app/assets/config/cmor_galleries_backend_manifest.js +2 -0
- data/app/assets/javascripts/cmor/galleries/backend/application/keep.js +0 -0
- data/app/assets/javascripts/cmor/galleries/backend/application.js +14 -0
- data/app/assets/javascripts/cmor_galleries_backend.js +3 -0
- data/app/assets/stylesheets/cmor/galleries/backend/application/bootstrap_extensions.css +15 -0
- data/app/assets/stylesheets/cmor/galleries/backend/application.css +15 -0
- data/app/assets/stylesheets/cmor_galleries_backend.css +1 -0
- data/app/controllers/cmor/galleries/backend/home_controller.rb +8 -0
- data/app/controllers/cmor/galleries/backend/picture_details_controller.rb +32 -0
- data/app/controllers/cmor/galleries/backend/picture_galleries_controller.rb +21 -0
- data/app/helpers/cmor/galleries/backend/application_helper.rb +4 -0
- data/app/jobs/cmor/galleries/backend/application_job.rb +4 -0
- data/app/mailers/cmor/galleries/backend/application_mailer.rb +6 -0
- data/app/models/cmor/galleries/backend/application_record.rb +5 -0
- data/app/views/cmor/galleries/backend/attachments~/_table.haml +13 -0
- data/app/views/cmor/galleries/backend/picture_details/_form.html.haml +10 -0
- data/app/views/cmor/galleries/backend/picture_details/_index_table.html.haml +13 -0
- data/app/views/cmor/galleries/backend/picture_details/_query_form.html.haml +2 -0
- data/app/views/cmor/galleries/backend/picture_details/_show_table.html.haml +7 -0
- data/app/views/cmor/galleries/backend/picture_galleries/_after_show_table.html.haml +28 -0
- data/app/views/cmor/galleries/backend/picture_galleries/_form.html.haml +13 -0
- data/app/views/cmor/galleries/backend/picture_galleries/_index_table.html.haml +7 -0
- data/app/views/cmor/galleries/backend/picture_galleries/_show_table.html.haml +6 -0
- data/app/views/layouts/cmor/galleries/backend/application.html.erb +14 -0
- data/config/initializers/assets.rb +1 -0
- data/config/initializers/cmor.rb +3 -0
- data/config/locales/de.yml +17 -0
- data/config/locales/en.yml +17 -0
- data/config/routes.rb +13 -0
- data/lib/cmor/galleries/backend/configuration.rb +22 -0
- data/lib/cmor/galleries/backend/engine.rb +5 -0
- data/lib/cmor/galleries/backend/version.rb +9 -0
- data/lib/cmor/galleries/backend.rb +12 -0
- data/lib/cmor_galleries_backend.rb +4 -0
- data/lib/generators/cmor/galleries/backend/install/install_generator.rb +17 -0
- data/lib/generators/cmor/galleries/backend/install/templates/initializer.rb +21 -0
- data/lib/generators/cmor/galleries/backend/install/templates/routes.source +5 -0
- data/lib/tasks/cmor_galleries_backend_tasks.rake +4 -0
- metadata +378 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d994793813d949a382d27240a206c7e680d2faa2e4e5be2621e3f744d0f6d17
|
4
|
+
data.tar.gz: 95e99bfd944737a1535d158be66e14051ba101c8fd0d6ca9d23b5076a524c46b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ad631e836b3b7fbffee465f55603aa8ff0b44e708c3677334d41ec6d8be3beaa8fe409c337ef105df3ebdb4d9b09ebd1a3a38eaf62c4d92942fae5f02db82d71
|
7
|
+
data.tar.gz: c9a4aed2e1a987fd16a6bec568b730812390893e9d119ebf9183054c7f3cc040ea3763d9602620bc6e9ab4dce9b4c80e77460cb6addcc30070c28df9df3c7746
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2018 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.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# Cmor::Galleries::Backend
|
2
|
+
Short description and motivation.
|
3
|
+
|
4
|
+
## Usage
|
5
|
+
How to use my plugin.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'cmor_galleries_backend'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
```bash
|
16
|
+
$ bundle
|
17
|
+
```
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
```bash
|
21
|
+
$ gem install cmor_galleries_backend
|
22
|
+
```
|
23
|
+
|
24
|
+
Install initializer, add routes and hook it into the backend:
|
25
|
+
```bash
|
26
|
+
$ rails g cmor:galleries:backend:install
|
27
|
+
```
|
28
|
+
|
29
|
+
|
30
|
+
## Contributing
|
31
|
+
Contribution directions go here.
|
32
|
+
|
33
|
+
## License
|
34
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
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::Galleries::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,14 @@
|
|
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 activestorage
|
14
|
+
//= require_tree ./application
|
@@ -0,0 +1,15 @@
|
|
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 ./application
|
14
|
+
*= require_self
|
15
|
+
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require cmor/galleries/backend/application
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Galleries
|
3
|
+
module Backend
|
4
|
+
class PictureDetailsController < Cmor::Core::Backend::ResourcesController::Base
|
5
|
+
helper Twitter::Bootstrap::Components::Rails::V4::ComponentsHelper
|
6
|
+
|
7
|
+
def self.resource_class
|
8
|
+
Cmor::Galleries::PictureDetail
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.available_rest_actions
|
12
|
+
super - %i(new)
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def load_collection_scope
|
18
|
+
scope = super.joins(:picture_gallery).order(picture_gallery_id: :asc, position: :asc)
|
19
|
+
with_conditions_from_query(scope)
|
20
|
+
end
|
21
|
+
|
22
|
+
def after_destroy_location
|
23
|
+
last_location
|
24
|
+
end
|
25
|
+
|
26
|
+
def permitted_params
|
27
|
+
params.require(:picture_detail).permit(:title, :description, :picture_gallery_id, :published)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Cmor
|
2
|
+
module Galleries
|
3
|
+
module Backend
|
4
|
+
class PictureGalleriesController < Cmor::Core::Backend::ResourcesController::Base
|
5
|
+
include Rao::ResourcesController::ActsAsPublishedConcern
|
6
|
+
|
7
|
+
helper Twitter::Bootstrap::Components::Rails::V4::ComponentsHelper
|
8
|
+
|
9
|
+
def self.resource_class
|
10
|
+
Cmor::Galleries::PictureGallery
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def permitted_params
|
16
|
+
params.require(:picture_gallery).permit(:name, :description, :published, { assets: [], overwrite_assets: [], append_assets: [] })
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
= table.id
|
2
|
+
= table.association :record, label_method: ->(r) { r.try_all(*Itsf::Backend.resource_title_methods) }
|
3
|
+
= table.column :filename do |resource|
|
4
|
+
- resource.blob.filename
|
5
|
+
= table.column :blob_content_type do |resource|
|
6
|
+
- resource.blob.content_type
|
7
|
+
= table.column :blob_byte_size do |resource|
|
8
|
+
- resource.blob.byte_size
|
9
|
+
= table.column :blob_checksum do |resource|
|
10
|
+
- resource.blob.checksum
|
11
|
+
= table.column :blob_created_at do |resource|
|
12
|
+
- resource.blob.created_at
|
13
|
+
= table.timestamp :created_at, format: :short
|
@@ -0,0 +1,10 @@
|
|
1
|
+
.row
|
2
|
+
.col-lg-12
|
3
|
+
%img{ class: 'img-responsive center-block', src: main_app.url_for(form.object.asset) }
|
4
|
+
|
5
|
+
.row
|
6
|
+
.col-lg-12
|
7
|
+
= form.input :picture_gallery_id, collection: Cmor::Galleries::PictureGallery.all
|
8
|
+
= form.input :title
|
9
|
+
= form.input :description
|
10
|
+
= form.input :published, as: :boolean
|
@@ -0,0 +1,13 @@
|
|
1
|
+
= table.batch_actions actions: { destroy: url_for(action: :destroy_many) }
|
2
|
+
= table.acts_as_list_actions scope: :picture_gallery_id
|
3
|
+
= table.column :preview do |resource|
|
4
|
+
- bootstrap_card(image_options: { src: main_app.url_for(resource.asset) })
|
5
|
+
= table.column :picture_gallery, as: :association, label_method: :name, link_to: ->(r) { url_for(r.picture_gallery) }, sort: { column_name: 'cmor_galleries_picture_galleries.name' }
|
6
|
+
= table.column :title
|
7
|
+
= table.timestamps sort: true
|
8
|
+
= table.column :asset do |resource|
|
9
|
+
- link_to( main_app.url_for(resource.asset), class: 'btn btn-xs btn-responsive btn-default btn-secondary') do
|
10
|
+
%i.fas.fa-download
|
11
|
+
%span.glyphicon.glyphicon-download
|
12
|
+
%span.btn-text= t('.download')
|
13
|
+
= table.acts_as_published_actions
|
@@ -0,0 +1,7 @@
|
|
1
|
+
= table.row :preview do |resource|
|
2
|
+
- bootstrap_card(image_options: { src: main_app.url_for(resource.asset) })
|
3
|
+
= table.row :picture_gallery, as: :association, label_method: :name
|
4
|
+
= table.row :title
|
5
|
+
= table.row :description
|
6
|
+
= table.timestamp :published_at
|
7
|
+
= table.row :display_code_for_erb
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.row
|
2
|
+
.col-12
|
3
|
+
%h2= Cmor::Galleries::PictureDetail.model_name.human(count: :other)
|
4
|
+
.row.mb-4
|
5
|
+
- @resource.picture_details.each do |picture_detail|
|
6
|
+
.col-2.d-flex.align-items-stretch
|
7
|
+
= bootstrap_card(image_options: { src: main_app.url_for(picture_detail.asset) }) do
|
8
|
+
- if picture_detail.title.present?
|
9
|
+
%h5.card-header= picture_detail.title
|
10
|
+
- if picture_detail.description.present?
|
11
|
+
.card-body
|
12
|
+
%p= picture_detail.description
|
13
|
+
.card-footer.d-flex
|
14
|
+
.btn-group.mx-auto
|
15
|
+
- if picture_detail.published?
|
16
|
+
= link_to([:toggle_published, picture_detail], class: 'btn btn-xs btn-responsive btn-danger', method: :post) do
|
17
|
+
%span.glyphicon.glyphicon-eye-close
|
18
|
+
%span.btn-text= t('.unpublish')
|
19
|
+
- else
|
20
|
+
= link_to([:toggle_published, picture_detail], class: 'btn btn-xs btn-responsive btn-success', method: :post) do
|
21
|
+
%span.glyphicon.glyphicon-eye-open
|
22
|
+
%span.btn-text= t('.publish')
|
23
|
+
= link_to([:edit, picture_detail], class: 'btn btn-xs btn-responsive btn-primary') do
|
24
|
+
%span.glyphicon.glyphicon-pencil
|
25
|
+
%span.btn-text= t('.edit')
|
26
|
+
= link_to([picture_detail], class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: I18n.t('.confirmations.delete') }) do
|
27
|
+
%span.glyphicon.glyphicon-fire
|
28
|
+
%span.btn-text= t('.destroy')
|
@@ -0,0 +1,13 @@
|
|
1
|
+
= form.input :name
|
2
|
+
- if form.object.assets.empty?
|
3
|
+
= form.input :assets, as: :file, input_html: { multiple: true }
|
4
|
+
- else
|
5
|
+
.row.mb-4
|
6
|
+
.col-md-6
|
7
|
+
.bg-success.p-4
|
8
|
+
= form.input :append_assets, as: :file, input_html: { multiple: true }
|
9
|
+
.col-md-6
|
10
|
+
.bg-danger.p-4
|
11
|
+
= form.input :overwrite_assets, as: :file, input_html: { multiple: true }
|
12
|
+
|
13
|
+
= form.input :published, as: :boolean
|
@@ -0,0 +1,7 @@
|
|
1
|
+
= table.column :preview do |resource|
|
2
|
+
- if resource.picture_details.first.try(:asset).present?
|
3
|
+
- bootstrap_card(image_options: { src: main_app.url_for(resource.picture_details.first.asset.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))) })
|
4
|
+
= table.column :name, sort: true
|
5
|
+
= table.column :picture_details_count
|
6
|
+
= table.timestamps sort: true
|
7
|
+
= table.acts_as_published_actions
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Cmor galleries backend</title>
|
5
|
+
<%= stylesheet_link_tag "cmor/galleries/backend/application", media: "all" %>
|
6
|
+
<%= javascript_include_tag "cmor/galleries/backend/application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
Rails.application.config.assets.precompile += %w( cmor_galleries_backend.css cmor_galleries_backend.js )
|
@@ -0,0 +1,17 @@
|
|
1
|
+
de:
|
2
|
+
classes:
|
3
|
+
cmor/galleries/backend/engine: Bilder
|
4
|
+
routes:
|
5
|
+
cmor-galleries-backend-engine: bilder
|
6
|
+
cmor:
|
7
|
+
galleries:
|
8
|
+
backend:
|
9
|
+
picture_details:
|
10
|
+
destroy_many:
|
11
|
+
success: Löschvorgang erfolgreich.
|
12
|
+
picture_galleries:
|
13
|
+
after_show_table:
|
14
|
+
destroy: Löschen
|
15
|
+
edit: Bearbeiten
|
16
|
+
publish: Veröffentlichen
|
17
|
+
unpublish: Zurückziehen
|
@@ -0,0 +1,17 @@
|
|
1
|
+
en:
|
2
|
+
classes:
|
3
|
+
cmor/galleries/backend/engine: Pictures
|
4
|
+
routes:
|
5
|
+
cmor-galleries-backend-engine: pictures
|
6
|
+
cmor:
|
7
|
+
galleries:
|
8
|
+
backend:
|
9
|
+
picture_details:
|
10
|
+
destroy_many:
|
11
|
+
success: Success deleting entries.
|
12
|
+
picture_galleries:
|
13
|
+
after_show_table:
|
14
|
+
destroy: Delete
|
15
|
+
edit: Edit
|
16
|
+
publish: Publish
|
17
|
+
unpublish: Unpublish
|
data/config/routes.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Cmor::Galleries::Backend::Engine.routes.draw do
|
2
|
+
resources :picture_galleries do
|
3
|
+
post :toggle_published, on: :member
|
4
|
+
end
|
5
|
+
|
6
|
+
resources :picture_details, except: [:new] do
|
7
|
+
post :destroy_many, on: :collection
|
8
|
+
post :reposition, on: :member
|
9
|
+
post :toggle_published, on: :member
|
10
|
+
end
|
11
|
+
|
12
|
+
root to: 'home#index'
|
13
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Cmor::Galleries::Backend
|
2
|
+
module Configuration
|
3
|
+
def configure
|
4
|
+
yield self
|
5
|
+
end
|
6
|
+
|
7
|
+
mattr_accessor :registered_controllers do
|
8
|
+
lambda do
|
9
|
+
[
|
10
|
+
Cmor::Galleries::Backend::PictureGalleriesController,
|
11
|
+
Cmor::Galleries::Backend::PictureDetailsController
|
12
|
+
]
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
mattr_accessor :registered_services do
|
17
|
+
lambda do
|
18
|
+
[]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'cmor/galleries/backend/configuration'
|
2
|
+
require "cmor/galleries/backend/engine"
|
3
|
+
|
4
|
+
module Cmor
|
5
|
+
module Galleries
|
6
|
+
module Backend
|
7
|
+
extend Configuration
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
Cmor.configure { |c| c.register_configuration(:galleries_backend, Cmor::Galleries::Backend) }
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Cmor::Galleries::Backend
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
desc 'Generates the initializer'
|
5
|
+
|
6
|
+
source_root File.expand_path('../templates', __FILE__)
|
7
|
+
|
8
|
+
def generate_initializer
|
9
|
+
template 'initializer.rb', 'config/initializers/cmor_galleries_backend.rb'
|
10
|
+
end
|
11
|
+
|
12
|
+
def generate_routes
|
13
|
+
route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Cmor::Galleries::Backend.configure do |config|
|
2
|
+
# Set the resources, that will be shown in the backend menu.
|
3
|
+
#
|
4
|
+
# Default: config.registered_controllers = -> {[
|
5
|
+
# Cmor::Galleries::Backend::PictureGalleriesController,
|
6
|
+
# Cmor::Galleries::Backend::PictureDetailsController
|
7
|
+
# ]}
|
8
|
+
#
|
9
|
+
config.registered_controllers = -> {[
|
10
|
+
Cmor::Galleries::Backend::PictureGalleriesController,
|
11
|
+
Cmor::Galleries::Backend::PictureDetailsController
|
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
|
+
end
|
metadata
ADDED
@@ -0,0 +1,378 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cmor_galleries_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_galleries
|
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:
|
308
|
+
email:
|
309
|
+
- roberto@vasquez-angel.de
|
310
|
+
executables: []
|
311
|
+
extensions: []
|
312
|
+
extra_rdoc_files: []
|
313
|
+
files:
|
314
|
+
- MIT-LICENSE
|
315
|
+
- README.md
|
316
|
+
- Rakefile
|
317
|
+
- app/assets/config/cmor_galleries_backend_manifest.js
|
318
|
+
- app/assets/javascripts/cmor/galleries/backend/application.js
|
319
|
+
- app/assets/javascripts/cmor/galleries/backend/application/keep.js
|
320
|
+
- app/assets/javascripts/cmor_galleries_backend.js
|
321
|
+
- app/assets/stylesheets/cmor/galleries/backend/application.css
|
322
|
+
- app/assets/stylesheets/cmor/galleries/backend/application/bootstrap_extensions.css
|
323
|
+
- app/assets/stylesheets/cmor_galleries_backend.css
|
324
|
+
- app/controllers/cmor/galleries/backend/home_controller.rb
|
325
|
+
- app/controllers/cmor/galleries/backend/picture_details_controller.rb
|
326
|
+
- app/controllers/cmor/galleries/backend/picture_galleries_controller.rb
|
327
|
+
- app/helpers/cmor/galleries/backend/application_helper.rb
|
328
|
+
- app/jobs/cmor/galleries/backend/application_job.rb
|
329
|
+
- app/mailers/cmor/galleries/backend/application_mailer.rb
|
330
|
+
- app/models/cmor/galleries/backend/application_record.rb
|
331
|
+
- app/views/cmor/galleries/backend/attachments~/_table.haml
|
332
|
+
- app/views/cmor/galleries/backend/picture_details/_form.html.haml
|
333
|
+
- app/views/cmor/galleries/backend/picture_details/_index_table.html.haml
|
334
|
+
- app/views/cmor/galleries/backend/picture_details/_query_form.html.haml
|
335
|
+
- app/views/cmor/galleries/backend/picture_details/_show_table.html.haml
|
336
|
+
- app/views/cmor/galleries/backend/picture_galleries/_after_show_table.html.haml
|
337
|
+
- app/views/cmor/galleries/backend/picture_galleries/_form.html.haml
|
338
|
+
- app/views/cmor/galleries/backend/picture_galleries/_index_table.html.haml
|
339
|
+
- app/views/cmor/galleries/backend/picture_galleries/_show_table.html.haml
|
340
|
+
- app/views/layouts/cmor/galleries/backend/application.html.erb
|
341
|
+
- config/initializers/assets.rb
|
342
|
+
- config/initializers/cmor.rb
|
343
|
+
- config/locales/de.yml
|
344
|
+
- config/locales/en.yml
|
345
|
+
- config/routes.rb
|
346
|
+
- lib/cmor/galleries/backend.rb
|
347
|
+
- lib/cmor/galleries/backend/configuration.rb
|
348
|
+
- lib/cmor/galleries/backend/engine.rb
|
349
|
+
- lib/cmor/galleries/backend/version.rb
|
350
|
+
- lib/cmor_galleries_backend.rb
|
351
|
+
- lib/generators/cmor/galleries/backend/install/install_generator.rb
|
352
|
+
- lib/generators/cmor/galleries/backend/install/templates/initializer.rb
|
353
|
+
- lib/generators/cmor/galleries/backend/install/templates/routes.source
|
354
|
+
- lib/tasks/cmor_galleries_backend_tasks.rake
|
355
|
+
homepage: https://github.com/content-management-on-rails
|
356
|
+
licenses:
|
357
|
+
- MIT
|
358
|
+
metadata: {}
|
359
|
+
post_install_message:
|
360
|
+
rdoc_options: []
|
361
|
+
require_paths:
|
362
|
+
- lib
|
363
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
364
|
+
requirements:
|
365
|
+
- - ">="
|
366
|
+
- !ruby/object:Gem::Version
|
367
|
+
version: '0'
|
368
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
369
|
+
requirements:
|
370
|
+
- - ">"
|
371
|
+
- !ruby/object:Gem::Version
|
372
|
+
version: 1.3.1
|
373
|
+
requirements: []
|
374
|
+
rubygems_version: 3.0.3
|
375
|
+
signing_key:
|
376
|
+
specification_version: 4
|
377
|
+
summary: Cmor Galleries Backend Module.
|
378
|
+
test_files: []
|