cmor_files_backend 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +34 -0
  4. data/Rakefile +19 -0
  5. data/app/assets/config/cmor_files_backend_manifest.js +2 -0
  6. data/app/assets/javascripts/cmor/files/backend/application.js +14 -0
  7. data/app/assets/javascripts/cmor/files/backend/application/keep.js +0 -0
  8. data/app/assets/javascripts/cmor_files_backend.js +3 -0
  9. data/app/assets/stylesheets/cmor/files/backend/application.css +15 -0
  10. data/app/assets/stylesheets/cmor/files/backend/application/keep.css +0 -0
  11. data/app/assets/stylesheets/cmor_files_backend.css +1 -0
  12. data/app/controllers/cmor/files/backend/attachments_controller.rb +45 -0
  13. data/app/controllers/cmor/files/backend/file_details_controller.rb +21 -0
  14. data/app/controllers/cmor/files/backend/folders_controller.rb +19 -0
  15. data/app/controllers/cmor/files/backend/home_controller.rb +8 -0
  16. data/app/helpers/cmor/files/backend/application_helper.rb +4 -0
  17. data/app/jobs/cmor/files/backend/application_job.rb +4 -0
  18. data/app/mailers/cmor/files/backend/application_mailer.rb +6 -0
  19. data/app/models/cmor/files/backend/application_record.rb +5 -0
  20. data/app/views/cmor/files/backend/file_details/_index_table.html.haml +14 -0
  21. data/app/views/cmor/files/backend/file_details/_query_form.html.haml +2 -0
  22. data/app/views/cmor/files/backend/folders/_after_show_table.html.haml +16 -0
  23. data/app/views/cmor/files/backend/folders/_form.html.haml +15 -0
  24. data/app/views/cmor/files/backend/folders/_index_table.html.haml +6 -0
  25. data/app/views/cmor/files/backend/folders/_show_table.html.haml +6 -0
  26. data/app/views/layouts/cmor/files/backend/application.html.erb +14 -0
  27. data/config/initializers/assets.rb +1 -0
  28. data/config/initializers/cmor.rb +3 -0
  29. data/config/locales/de.yml +5 -0
  30. data/config/locales/en.yml +5 -0
  31. data/config/routes.rb +18 -0
  32. data/lib/cmor/files/backend.rb +12 -0
  33. data/lib/cmor/files/backend/configuration.rb +22 -0
  34. data/lib/cmor/files/backend/engine.rb +5 -0
  35. data/lib/cmor/files/backend/version.rb +9 -0
  36. data/lib/cmor_files_backend.rb +4 -0
  37. data/lib/generators/cmor/files/backend/install/install_generator.rb +17 -0
  38. data/lib/generators/cmor/files/backend/install/templates/initializer.rb +21 -0
  39. data/lib/generators/cmor/files/backend/install/templates/routes.source +5 -0
  40. data/lib/tasks/cmor_files_backend_tasks.rake +4 -0
  41. metadata +376 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2c408fb3480ddd6df91cd7a6d6773fc7a2947872752e1c976edc0dc0fc18e4bf
4
+ data.tar.gz: 23841ef7d527393a5f49483e8fc79d8a0cdc8a04b12a63d808f6b17e2cd84444
5
+ SHA512:
6
+ metadata.gz: 0a2de5414a4553c32e49912ade7247e8032f349b98627764a6441ebd9c462421cde4bdf7c2f85e07259cd79bbcdff798428f03be800d0b85ae4bb3abfa3b29a1
7
+ data.tar.gz: 10c99f3c5fbc10e62b003992af0ab921ce05e8bad2f07a4926f08982036907574cb76afe4641d2f90c2d1d374990419ac9c2cb6c575058cb96d506ae4c65379c
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::Files::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_files_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_files_backend
22
+ ```
23
+
24
+ Install initializer, add routes and hook it into the backend:
25
+ ```bash
26
+ $ rails g cmor:files: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::Files::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,2 @@
1
+ //= link_directory ../javascripts/cmor/files/backend .js
2
+ //= link_directory ../stylesheets/cmor/files/backend .css
@@ -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,3 @@
1
+ /*
2
+ *= require cmor/files/backend/application
3
+ */
@@ -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/files/backend/application
@@ -0,0 +1,45 @@
1
+ module Cmor
2
+ module Files
3
+ module Backend
4
+ class AttachmentsController < Cmor::Core::Backend::ResourcesController::Base
5
+ include Rao::ResourcesController::SortingConcern
6
+ include Rao::ResourcesController::BatchActionsConcern
7
+
8
+ def self.resource_class
9
+ ActiveStorage::Attachment
10
+ end
11
+
12
+ # def destroy_many
13
+ # @collection = load_collection_scope.where(id: params[:ids])
14
+ # @collection.destroy_all
15
+
16
+ # respond_with @collection, location: after_destroy_many_location, noticse: t('.success')
17
+ # end
18
+
19
+ # def publish_many
20
+ # @collection = load_collection_scope.where(id: params[:ids])
21
+ # @collection.map(&:publish!)
22
+
23
+ # respond_with @collection, location: last_location, noticse: t('.success')
24
+ # end
25
+
26
+ # def unpublish_many
27
+ # @collection = load_collection_scope.where(id: params[:ids])
28
+ # @collection.map(&:unpublish!)
29
+
30
+ # respond_with @collection, location: last_location, noticse: t('.success')
31
+ # end
32
+
33
+ private
34
+
35
+ def after_destroy_many_location
36
+ last_location
37
+ end
38
+
39
+ def permitted_params
40
+ params.require(:attachment).permit()
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,21 @@
1
+ module Cmor
2
+ module Files
3
+ module Backend
4
+ class FileDetailsController < Cmor::Core::Backend::ResourcesController::Base
5
+ include Rao::ResourcesController::SortingConcern
6
+
7
+ helper Twitter::Bootstrap::Components::Rails::V3::ComponentsHelper
8
+
9
+ def self.resource_class
10
+ Cmor::Files::FileDetail
11
+ end
12
+
13
+ private
14
+
15
+ def permitted_params
16
+ params.require(:file_detail).permit(:title, :description)
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ module Cmor
2
+ module Files
3
+ module Backend
4
+ class FoldersController < Cmor::Core::Backend::ResourcesController::Base
5
+ include Rao::ResourcesController::ActsAsPublishedConcern
6
+
7
+ def self.resource_class
8
+ Cmor::Files::Folder
9
+ end
10
+
11
+ private
12
+
13
+ def permitted_params
14
+ params.require(:folder).permit(:name, :description, :published, assets: [], append_assets: [], overwrite_assets: [])
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,8 @@
1
+ module Cmor
2
+ module Files
3
+ module Backend
4
+ class HomeController < Cmor::Core::Backend::HomeController::Base
5
+ end
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,4 @@
1
+ module Cmor::Files::Backend
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Cmor::Files::Backend
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Cmor::Files::Backend
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: 'from@example.com'
4
+ layout 'mailer'
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Cmor::Files::Backend
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -0,0 +1,14 @@
1
+ = table.batch_actions( actions: { destroy: destroy_many_attachments_path })
2
+ = table.id
3
+ /=# table.association :record, label_method: ->(r) { r.try_all(*Itsf::Backend.resource_title_methods) }
4
+ = table.column :filename do |resource|
5
+ - resource.asset.blob.filename
6
+ = table.column :blob_content_type do |resource|
7
+ - resource.asset.blob.content_type
8
+ = table.column :blob_byte_size do |resource|
9
+ - resource.asset.blob.byte_size
10
+ = table.column :blob_checksum do |resource|
11
+ - resource.asset.blob.checksum
12
+ = table.column :blob_created_at do |resource|
13
+ - I18n.l(resource.asset.blob.created_at, format: :short)
14
+ = table.timestamp :created_at
@@ -0,0 +1,2 @@
1
+ = form.input :title_cont
2
+ = form.input :name_cont, association: :folder
@@ -0,0 +1,16 @@
1
+ %h2= Cmor::Files::FileDetail.model_name.human(count: :other)
2
+
3
+ = collection_table(collection: @resource.file_details, resource_class: Cmor::Files::FileDetail) do |t|
4
+ = t.id
5
+ = t.column :title
6
+ = t.column :blob_filename do |resource|
7
+ - resource.asset.blob.filename
8
+ = t.column :blob_byte_size do |resource|
9
+ - number_to_human_size(resource.asset.blob.byte_size)
10
+ = t.column :blob_checksum do |resource|
11
+ - resource.asset.blob.checksum
12
+ = t.timestamps format: :short
13
+ = t.column :actions do |resource|
14
+ - link_to([resource], id: "#{dom_id(resource)}-destroy", class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: I18n.t('.confirmations.delete') }) do
15
+ %span.glyphicon.glyphicon-fire
16
+ %span.btn-text= t('.destroy')
@@ -0,0 +1,15 @@
1
+ = form.input :name
2
+ = form.input :description
3
+
4
+ - if form.object.assets.empty?
5
+ = form.input :assets, as: :file, input_html: { multiple: true }
6
+ - else
7
+ .row.mb-4
8
+ .col-md-6
9
+ .bg-success.p-4
10
+ = form.input :append_assets, as: :file, input_html: { multiple: true }
11
+ .col-md-6
12
+ .bg-danger.p-4
13
+ = form.input :overwrite_assets, as: :file, input_html: { multiple: true }
14
+
15
+ = form.input :published, as: :boolean
@@ -0,0 +1,6 @@
1
+ = table.batch_actions( actions: { destroy: destroy_many_folders_path, publish: publish_many_folders_path, unpublish: unpublish_many_folders_path })
2
+ = table.id sort: true
3
+ = table.column :name, sort: true
4
+ = table.column :assets_count
5
+ = table.timestamps sort: true
6
+ = table.acts_as_published_actions
@@ -0,0 +1,6 @@
1
+ = table.id
2
+ = table.row :name
3
+ = table.row :description
4
+ = table.row :assets_count
5
+ = table.timestamp :published_at
6
+ = table.timestamps
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Cmor files backend</title>
5
+ <%= stylesheet_link_tag "cmor/files/backend/application", media: "all" %>
6
+ <%= javascript_include_tag "cmor/files/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_files_backend.css cmor_files_backend.js )
@@ -0,0 +1,3 @@
1
+ Cmor.configure do |config|
2
+ config.administrador.register_engine('Cmor::Files::Backend::Engine', {})
3
+ end
@@ -0,0 +1,5 @@
1
+ de:
2
+ classes:
3
+ cmor/files/backend/engine: Dateien
4
+ routes:
5
+ cmor-files-backend-engine: dateien
@@ -0,0 +1,5 @@
1
+ en:
2
+ classes:
3
+ cmor/files/backend/engine: Files
4
+ routes:
5
+ cmor-files-backend-engine: files
data/config/routes.rb ADDED
@@ -0,0 +1,18 @@
1
+ Cmor::Files::Backend::Engine.routes.draw do
2
+ resources :attachments do
3
+ post :destroy_many, on: :collection
4
+ end
5
+
6
+ resources :folders do
7
+ post :toggle_published, on: :member
8
+ post :destroy_many, on: :collection
9
+ post :unpublish_many, on: :collection
10
+ post :publish_many, on: :collection
11
+ end
12
+
13
+ resources :file_details do
14
+ post :destroy_many, on: :collection
15
+ end
16
+
17
+ root to: 'home#index'
18
+ end
@@ -0,0 +1,12 @@
1
+ require 'cmor/files/backend/configuration'
2
+ require "cmor/files/backend/engine"
3
+
4
+ module Cmor
5
+ module Files
6
+ module Backend
7
+ extend Configuration
8
+ end
9
+ end
10
+ end
11
+
12
+ Cmor.configure { |c| c.register_configuration(:files_backend, Cmor::Files::Backend) }
@@ -0,0 +1,22 @@
1
+ module Cmor::Files::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::Files::Backend::FoldersController,
11
+ Cmor::Files::Backend::FileDetailsController
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,5 @@
1
+ module Cmor::Files::Backend
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Cmor::Files::Backend
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ require 'cmor/version'
2
+
3
+ module Cmor
4
+ module Files
5
+ module Backend
6
+ VERSION = ::Cmor::VERSION
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,4 @@
1
+ require 'cmor_core_backend'
2
+ require 'cmor_files'
3
+
4
+ require 'cmor/files/backend'
@@ -0,0 +1,17 @@
1
+ module Cmor::Files::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_files_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::Files::Backend.configure do |config|
2
+ # Set the resources, that will be shown in the backend menu.
3
+ #
4
+ # Default: config.registered_controllers = -> {[
5
+ # Cmor::Files::Backend::FoldersController,
6
+ # Cmor::Files::Backend::FileDetailsController
7
+ # ]}
8
+ #
9
+ config.registered_controllers = -> {[
10
+ Cmor::Files::Backend::FoldersController,
11
+ Cmor::Files::Backend::FileDetailsController
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
@@ -0,0 +1,5 @@
1
+
2
+
3
+ localized do
4
+ mount Cmor::Files::Backend::Engine, at: '/backend/cmor-files-backend-engine'
5
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :cmor/files/backend do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,376 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cmor_files_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_files
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_files_backend_manifest.js
318
+ - app/assets/javascripts/cmor/files/backend/application.js
319
+ - app/assets/javascripts/cmor/files/backend/application/keep.js
320
+ - app/assets/javascripts/cmor_files_backend.js
321
+ - app/assets/stylesheets/cmor/files/backend/application.css
322
+ - app/assets/stylesheets/cmor/files/backend/application/keep.css
323
+ - app/assets/stylesheets/cmor_files_backend.css
324
+ - app/controllers/cmor/files/backend/attachments_controller.rb
325
+ - app/controllers/cmor/files/backend/file_details_controller.rb
326
+ - app/controllers/cmor/files/backend/folders_controller.rb
327
+ - app/controllers/cmor/files/backend/home_controller.rb
328
+ - app/helpers/cmor/files/backend/application_helper.rb
329
+ - app/jobs/cmor/files/backend/application_job.rb
330
+ - app/mailers/cmor/files/backend/application_mailer.rb
331
+ - app/models/cmor/files/backend/application_record.rb
332
+ - app/views/cmor/files/backend/file_details/_index_table.html.haml
333
+ - app/views/cmor/files/backend/file_details/_query_form.html.haml
334
+ - app/views/cmor/files/backend/folders/_after_show_table.html.haml
335
+ - app/views/cmor/files/backend/folders/_form.html.haml
336
+ - app/views/cmor/files/backend/folders/_index_table.html.haml
337
+ - app/views/cmor/files/backend/folders/_show_table.html.haml
338
+ - app/views/layouts/cmor/files/backend/application.html.erb
339
+ - config/initializers/assets.rb
340
+ - config/initializers/cmor.rb
341
+ - config/locales/de.yml
342
+ - config/locales/en.yml
343
+ - config/routes.rb
344
+ - lib/cmor/files/backend.rb
345
+ - lib/cmor/files/backend/configuration.rb
346
+ - lib/cmor/files/backend/engine.rb
347
+ - lib/cmor/files/backend/version.rb
348
+ - lib/cmor_files_backend.rb
349
+ - lib/generators/cmor/files/backend/install/install_generator.rb
350
+ - lib/generators/cmor/files/backend/install/templates/initializer.rb
351
+ - lib/generators/cmor/files/backend/install/templates/routes.source
352
+ - lib/tasks/cmor_files_backend_tasks.rake
353
+ homepage: https://github.com/content-management-on-rails
354
+ licenses:
355
+ - MIT
356
+ metadata: {}
357
+ post_install_message:
358
+ rdoc_options: []
359
+ require_paths:
360
+ - lib
361
+ required_ruby_version: !ruby/object:Gem::Requirement
362
+ requirements:
363
+ - - ">="
364
+ - !ruby/object:Gem::Version
365
+ version: '0'
366
+ required_rubygems_version: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - ">"
369
+ - !ruby/object:Gem::Version
370
+ version: 1.3.1
371
+ requirements: []
372
+ rubygems_version: 3.0.3
373
+ signing_key:
374
+ specification_version: 4
375
+ summary: Cmor Files Backend Module.
376
+ test_files: []