cmor_showcase 0.0.33.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +19 -0
  5. data/app/assets/config/cmor/showcase_manifest.js +1 -0
  6. data/app/assets/javascripts/cmor/showcase/application/keep.js +0 -0
  7. data/app/assets/javascripts/cmor/showcase/application.js +2 -0
  8. data/app/assets/javascripts/cmor_showcase.js +2 -0
  9. data/app/assets/stylesheets/cmor/showcase/application/keep.css +0 -0
  10. data/app/assets/stylesheets/cmor/showcase/application.css +3 -0
  11. data/app/assets/stylesheets/cmor_showcase.css +3 -0
  12. data/app/controllers/cmor/showcase/application_controller.rb +5 -0
  13. data/app/controllers/cmor/showcase/categories_controller.rb +16 -0
  14. data/app/controllers/cmor/showcase/home_controller.rb +4 -0
  15. data/app/controllers/cmor/showcase/items_controller.rb +16 -0
  16. data/app/models/cmor/showcase/category.rb +19 -0
  17. data/app/models/cmor/showcase/item.rb +34 -0
  18. data/app/view_helpers/cmor/showcase/application_view_helper.rb +4 -0
  19. data/app/views/cmor/showcase/categories/_form.html.haml +6 -0
  20. data/app/views/cmor/showcase/categories/_index_table.html.haml +7 -0
  21. data/app/views/cmor/showcase/categories/_show_table.html.haml +7 -0
  22. data/app/views/cmor/showcase/items/_form.html.haml +6 -0
  23. data/app/views/cmor/showcase/items/_index_table.html.haml +7 -0
  24. data/app/views/cmor/showcase/items/_show_table.html.haml +6 -0
  25. data/config/initializers/assets.rb +2 -0
  26. data/config/initializers/cmor.rb +3 -0
  27. data/config/locales/de.yml +32 -0
  28. data/config/locales/en.yml +32 -0
  29. data/config/routes.rb +13 -0
  30. data/db/migrate/20190728095810_create_cmor_showcase_categories.rb +14 -0
  31. data/db/migrate/20190728100031_create_cmor_showcase_items.rb +14 -0
  32. data/lib/cmor/showcase/configuration.rb +23 -0
  33. data/lib/cmor/showcase/engine.rb +5 -0
  34. data/lib/cmor/showcase/version.rb +7 -0
  35. data/lib/cmor_showcase.rb +15 -0
  36. data/lib/generators/cmor/showcase/install/install_generator.rb +25 -0
  37. data/lib/generators/cmor/showcase/install/templates/initializer.rb +31 -0
  38. data/lib/generators/cmor/showcase/install/templates/routes.source +4 -0
  39. data/lib/tasks/cmor/showcase_tasks.rake +4 -0
  40. metadata +446 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 64f7a8247470d79a61e4135e9712aa110b3e12ac7bff9009efb3e8d11235e574
4
+ data.tar.gz: 92d41b182c56660fd12c260f09cef428301b9a5101fb6ae660e889048862d248
5
+ SHA512:
6
+ metadata.gz: 3d7e9b84084aedcc6327161d7838533dd3bc89655435df5ab93550ac15a7c7e44ce5e43cefdeff72379c35b3b1efd7e8a0d15bb4a12bf9fec81b75ac5c2a989c
7
+ data.tar.gz: 1ac9c23fcafb7606642b89950f0989db0e32a97e46f7d8c58ba242c20382e2e62ab66958c044ce15285fa6e43ae5ee7a2db1f7501740ee2c5fe7b184a67721c6
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2019 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,28 @@
1
+ # Cmor::Showcase
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/showcase'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install cmor/showcase
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ 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::Showcase'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
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
+ //= link_directory ../stylesheets/cmor/showcase .css
@@ -0,0 +1,2 @@
1
+ //= require_tree ./application
2
+
@@ -0,0 +1,2 @@
1
+ //= require ./cmor/showcase/application
2
+
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require_tree ./application
3
+ */
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require ./cmor/showcase/application
3
+ */
@@ -0,0 +1,5 @@
1
+ module Cmor::Showcase
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery with: :exception
4
+ end
5
+ end
@@ -0,0 +1,16 @@
1
+ module Cmor::Showcase
2
+ class CategoriesController < Cmor::Core::Backend::ResourcesController::Base
3
+ include Rao::ResourcesController::ActsAsListConcern
4
+ include Rao::ResourcesController::ActsAsPublishedConcern
5
+
6
+ def self.resource_class
7
+ Cmor::Showcase::Category
8
+ end
9
+
10
+ private
11
+
12
+ def permitted_params
13
+ params.require(:category).permit(:locale, :identifier, :name, :body, :published, :image)
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,4 @@
1
+ module Cmor::Showcase
2
+ class HomeController < Cmor::Core::Backend::HomeController::Base
3
+ end
4
+ end
@@ -0,0 +1,16 @@
1
+ module Cmor::Showcase
2
+ class ItemsController < Cmor::Core::Backend::ResourcesController::Base
3
+ include Rao::ResourcesController::ActsAsListConcern
4
+ include Rao::ResourcesController::ActsAsPublishedConcern
5
+
6
+ def self.resource_class
7
+ Cmor::Showcase::Item
8
+ end
9
+
10
+ private
11
+
12
+ def permitted_params
13
+ params.require(:item).permit(:category_id, :identifier, :name, :body, :published, assets: [])
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,19 @@
1
+ module Cmor::Showcase
2
+ class Category < ApplicationRecord
3
+ include ActsAsPublished::ActiveRecord
4
+
5
+ has_many :items, dependent: :destroy
6
+ has_one_attached :image
7
+
8
+ acts_as_list
9
+ acts_as_published
10
+
11
+ validates :locale, presence: true
12
+ validates :identifier, presence: true, uniqueness: true
13
+ validates :name, presence: true, uniqueness: true
14
+
15
+ def human
16
+ name
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,34 @@
1
+ module Cmor::Showcase
2
+ class Item < ApplicationRecord
3
+ include ActsAsPublished::ActiveRecord
4
+ include Markup::Rails::ActiveRecord
5
+
6
+ belongs_to :category
7
+
8
+ has_many_attached :assets
9
+
10
+ acts_as_list scope: :category
11
+ acts_as_published
12
+ acts_as_markup :body, Cmor::Core::Configuration.default_markup_options
13
+
14
+ validates :name, presence: true, uniqueness: { scope: [ :category_id ] }
15
+
16
+ module PreviewPictureConcern
17
+ extend ActiveSupport::Concern
18
+
19
+ def images
20
+ assets.joins(:blob).where("active_storage_blobs.content_type LIKE '%image/%'")
21
+ end
22
+
23
+ def non_images
24
+ assets.joins(:blob).where("active_storage_blobs.content_type NOT LIKE '%image/%'")
25
+ end
26
+
27
+ def preview_picture
28
+ images.first
29
+ end
30
+ end
31
+
32
+ include PreviewPictureConcern
33
+ end
34
+ end
@@ -0,0 +1,4 @@
1
+ module Cmor::Showcase
2
+ class ApplicationViewHelper < Rao::ViewHelper::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ = form.input :image, as: :file
2
+ = form.input :locale, collection: I18n.available_locales
3
+ = form.input :identifier
4
+ = form.input :name
5
+ = form.input :body
6
+ = form.input :published, as: :boolean
@@ -0,0 +1,7 @@
1
+ = table.acts_as_list_actions
2
+ = table.thumbnail :image
3
+ = table.column :locale, collection: I18n.available_locales
4
+ = table.column :identifier
5
+ = table.column :name
6
+ = table.timestamps
7
+ = table.acts_as_published_actions
@@ -0,0 +1,7 @@
1
+ = table.thumbnail :image
2
+ = table.row :locale
3
+ = table.row :identifier
4
+ = table.row :name
5
+ = table.row :body
6
+ = table.timestamp :published_at
7
+ = table.timestamps
@@ -0,0 +1,6 @@
1
+ = form.association :category
2
+ = form.input :identifier
3
+ = form.input :name
4
+ = form.input :body
5
+ = form.input :published, as: :boolean
6
+ = form.input :assets, as: :file, input_html: { multiple: true }
@@ -0,0 +1,7 @@
1
+ = table.acts_as_list_actions
2
+ = table.thumbnail :preview_picture
3
+ = table.association :category
4
+ = table.column :identifier
5
+ = table.column :name
6
+ = table.timestamps
7
+ = table.acts_as_published_actions
@@ -0,0 +1,6 @@
1
+ = table.association :category
2
+ = table.row :identifier
3
+ = table.row :name
4
+ = table.row :body
5
+ = table.timestamp :published_at
6
+ = table.timestamps
@@ -0,0 +1,2 @@
1
+ Rails.application.config.assets.precompile += %w( cmor_showcase.css )
2
+ Rails.application.config.assets.precompile += %w( cmor_showcase.js )
@@ -0,0 +1,3 @@
1
+ Cmor.configure do |config|
2
+ config.administrador.register_engine('Cmor::Showcase::Engine', {})
3
+ end
@@ -0,0 +1,32 @@
1
+ de:
2
+ classes:
3
+ cmor/showcase/engine: Schaufenster
4
+ activerecord:
5
+ models:
6
+ cmor/showcase/category:
7
+ one: Kategorie
8
+ other: Kategorien
9
+ cmor/showcase/item:
10
+ one: Eintrag
11
+ other: Einträge
12
+ shared_attributes: &shared_attributes
13
+ body: Beschreibung
14
+ created_at: Erstellt am
15
+ id: ID
16
+ identifier: Bezeichner
17
+ name: Name
18
+ position: Position
19
+ published_at: Veröffentlicht am
20
+ published: Veröffentlicht
21
+ updated_at: Aktualisiert am
22
+ attributes:
23
+ cmor/showcase/category:
24
+ <<: *shared_attributes
25
+ locale: Sprache
26
+ cmor/showcase/item:
27
+ <<: *shared_attributes
28
+ category: Kategorie
29
+ category_id: Kategorie
30
+ preview_picture: Vorschaubild
31
+ routes:
32
+ cmor-showcase-engine: schaufenster
@@ -0,0 +1,32 @@
1
+ en:
2
+ classes:
3
+ cmor/showcase/engine: Showcase
4
+ activerecord:
5
+ models:
6
+ cmor/showcase/category:
7
+ one: Category
8
+ other: Categories
9
+ cmor/showcase/item:
10
+ one: Item
11
+ other: Items
12
+ shared_attributes: &shared_attributes
13
+ body: Description
14
+ created_at: Created at
15
+ id: ID
16
+ identifier: Identifier
17
+ name: Name
18
+ position: Position
19
+ published_at: Published at
20
+ published: Published
21
+ updated_at: Updated at
22
+ attributes:
23
+ cmor/showcase/category:
24
+ <<: *shared_attributes
25
+ locale: Locale
26
+ cmor/showcase/item:
27
+ <<: *shared_attributes
28
+ category: Category
29
+ category_id: Category
30
+ preview_picture: Preview
31
+ routes:
32
+ cmor-showcase-engine: showcase
data/config/routes.rb ADDED
@@ -0,0 +1,13 @@
1
+ Cmor::Showcase::Engine.routes.draw do
2
+ resources :categories do
3
+ acts_as_published
4
+ acts_as_list
5
+ end
6
+
7
+ resources :items do
8
+ acts_as_published
9
+ acts_as_list
10
+ end
11
+
12
+ root to: 'home#index'
13
+ end
@@ -0,0 +1,14 @@
1
+ class CreateCmorShowcaseCategories < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :cmor_showcase_categories do |t|
4
+ t.string :locale
5
+ t.string :identifier
6
+ t.string :name
7
+ t.text :body
8
+ t.integer :position
9
+ t.timestamp :published_at
10
+
11
+ t.timestamps
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ class CreateCmorShowcaseItems < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :cmor_showcase_items do |t|
4
+ t.references :category, foreign_key: false
5
+ t.string :identifier
6
+ t.string :name
7
+ t.text :body
8
+ t.integer :position
9
+ t.timestamp :published_at
10
+
11
+ t.timestamps
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ module Cmor::Showcase
2
+ module Configuration
3
+ def configure
4
+ yield self
5
+ end
6
+
7
+ mattr_accessor :resources_controllers do
8
+ -> {[]}
9
+ end
10
+
11
+ mattr_accessor :resource_controllers do
12
+ -> {[]}
13
+ end
14
+
15
+ mattr_accessor :service_controllers do
16
+ -> {[]}
17
+ end
18
+
19
+ mattr_accessor :sidebar_controllers do
20
+ -> {[]}
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,5 @@
1
+ module Cmor::Showcase
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Cmor::Showcase
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'cmor/version'
2
+
3
+ module Cmor
4
+ module Showcase
5
+ VERSION = ::Cmor::VERSION
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ require "cmor_core"
2
+ require "cmor_core_backend"
3
+ require "acts_as_published"
4
+ require "acts_as_list"
5
+ require "markup-rails"
6
+
7
+ require "cmor/showcase/version"
8
+ require "cmor/showcase/configuration"
9
+ require "cmor/showcase/engine"
10
+
11
+ module Cmor
12
+ module Showcase
13
+ extend Configuration
14
+ end
15
+ end
@@ -0,0 +1,25 @@
1
+ module Cmor::Showcase
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
+ attr_reader :base_controller_class_name
9
+
10
+ def initialize(*args)
11
+ super
12
+ @base_controller_class_name = ENV.fetch('BASE_CONTROLLER_CLASS_NAME') { '::ApplicationController' }
13
+ end
14
+
15
+ def generate_initializer
16
+ template 'initializer.rb', 'config/initializers/cmor_showcase.rb'
17
+ end
18
+
19
+ def generate_routes
20
+ route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
21
+ end
22
+ end
23
+ end
24
+ end
25
+
@@ -0,0 +1,31 @@
1
+ Cmor::Showcase.configure do |config|
2
+ # Set the resources, that will be shown in the backend menu.
3
+ #
4
+ # Default: config.resources_controllers = -> {[
5
+ # Cmor::Showcase::CategoriesController,
6
+ # Cmor::Showcase::ItemsController
7
+ # ]}
8
+ #
9
+ config.resources_controllers = -> {[
10
+ Cmor::Showcase::CategoriesController,
11
+ Cmor::Showcase::ItemsController
12
+ ]}
13
+
14
+ # Set the resources, that will be shown in the backend menu.
15
+ #
16
+ # Default: config.resource_controllers = -> {[]}
17
+ #
18
+ config.resource_controllers = -> {[]}
19
+
20
+ # Set the services, that will be shown in the backend menu.
21
+ #
22
+ # Default: config.service_controllers = -> {[]}
23
+ #
24
+ config.service_controllers = -> {[]}
25
+
26
+ # Set the sidebars, that will be shown in the backend menu.
27
+ #
28
+ # Default: config.sidebar_controllers = -> {[]}
29
+ #
30
+ config.sidebar_controllers = -> {[]}
31
+ end
@@ -0,0 +1,4 @@
1
+
2
+ localized do
3
+ mount Cmor::Showcase::Engine, at: '/backend/cmor-showcase-engine'
4
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :cmor/showcase do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,446 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cmor_showcase
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.33.pre
5
+ platform: ruby
6
+ authors:
7
+ - Roberto Vasquez Angel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-06 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
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.33.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.33.pre
41
+ - !ruby/object:Gem::Dependency
42
+ name: cmor_core_backend
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.33.pre
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.33.pre
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.3.6
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.6
69
+ - !ruby/object:Gem::Dependency
70
+ name: responders
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: capybara
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: coveralls
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: factory_bot_rails
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: rubocop
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: shoulda-matchers
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
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: simplecov-console
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ - !ruby/object:Gem::Dependency
308
+ name: acts_as_list
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
314
+ type: :runtime
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - ">="
319
+ - !ruby/object:Gem::Version
320
+ version: '0'
321
+ - !ruby/object:Gem::Dependency
322
+ name: acts_as_published
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - ">="
326
+ - !ruby/object:Gem::Version
327
+ version: '0'
328
+ type: :runtime
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ - !ruby/object:Gem::Dependency
336
+ name: markup-rails
337
+ requirement: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: 0.0.2
342
+ type: :runtime
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ requirements:
346
+ - - ">="
347
+ - !ruby/object:Gem::Version
348
+ version: 0.0.2
349
+ - !ruby/object:Gem::Dependency
350
+ name: bootsnap
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - ">="
354
+ - !ruby/object:Gem::Version
355
+ version: '0'
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - ">="
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
363
+ - !ruby/object:Gem::Dependency
364
+ name: turbolinks
365
+ requirement: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - ">="
368
+ - !ruby/object:Gem::Version
369
+ version: '0'
370
+ type: :development
371
+ prerelease: false
372
+ version_requirements: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - ">="
375
+ - !ruby/object:Gem::Version
376
+ version: '0'
377
+ description:
378
+ email:
379
+ - roberto@vasquez-angel.de
380
+ executables: []
381
+ extensions: []
382
+ extra_rdoc_files: []
383
+ files:
384
+ - MIT-LICENSE
385
+ - README.md
386
+ - Rakefile
387
+ - app/assets/config/cmor/showcase_manifest.js
388
+ - app/assets/javascripts/cmor/showcase/application.js
389
+ - app/assets/javascripts/cmor/showcase/application/keep.js
390
+ - app/assets/javascripts/cmor_showcase.js
391
+ - app/assets/stylesheets/cmor/showcase/application.css
392
+ - app/assets/stylesheets/cmor/showcase/application/keep.css
393
+ - app/assets/stylesheets/cmor_showcase.css
394
+ - app/controllers/cmor/showcase/application_controller.rb
395
+ - app/controllers/cmor/showcase/categories_controller.rb
396
+ - app/controllers/cmor/showcase/home_controller.rb
397
+ - app/controllers/cmor/showcase/items_controller.rb
398
+ - app/models/cmor/showcase/category.rb
399
+ - app/models/cmor/showcase/item.rb
400
+ - app/view_helpers/cmor/showcase/application_view_helper.rb
401
+ - app/views/cmor/showcase/categories/_form.html.haml
402
+ - app/views/cmor/showcase/categories/_index_table.html.haml
403
+ - app/views/cmor/showcase/categories/_show_table.html.haml
404
+ - app/views/cmor/showcase/items/_form.html.haml
405
+ - app/views/cmor/showcase/items/_index_table.html.haml
406
+ - app/views/cmor/showcase/items/_show_table.html.haml
407
+ - config/initializers/assets.rb
408
+ - config/initializers/cmor.rb
409
+ - config/locales/de.yml
410
+ - config/locales/en.yml
411
+ - config/routes.rb
412
+ - db/migrate/20190728095810_create_cmor_showcase_categories.rb
413
+ - db/migrate/20190728100031_create_cmor_showcase_items.rb
414
+ - lib/cmor/showcase/configuration.rb
415
+ - lib/cmor/showcase/engine.rb
416
+ - lib/cmor/showcase/version.rb
417
+ - lib/cmor_showcase.rb
418
+ - lib/generators/cmor/showcase/install/install_generator.rb
419
+ - lib/generators/cmor/showcase/install/templates/initializer.rb
420
+ - lib/generators/cmor/showcase/install/templates/routes.source
421
+ - lib/tasks/cmor/showcase_tasks.rake
422
+ homepage: https://github.com/content-management-on-rails
423
+ licenses:
424
+ - MIT
425
+ metadata:
426
+ allowed_push_host: https://rubygems.org
427
+ post_install_message:
428
+ rdoc_options: []
429
+ require_paths:
430
+ - lib
431
+ required_ruby_version: !ruby/object:Gem::Requirement
432
+ requirements:
433
+ - - ">="
434
+ - !ruby/object:Gem::Version
435
+ version: '0'
436
+ required_rubygems_version: !ruby/object:Gem::Requirement
437
+ requirements:
438
+ - - ">"
439
+ - !ruby/object:Gem::Version
440
+ version: 1.3.1
441
+ requirements: []
442
+ rubygems_version: 3.0.4
443
+ signing_key:
444
+ specification_version: 4
445
+ summary: Cmor::Showcase Module.
446
+ test_files: []