cmor_partners 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/partners_manifest.js +1 -0
  6. data/app/assets/javascripts/cmor/partners/application/keep.js +0 -0
  7. data/app/assets/javascripts/cmor/partners/application.js +2 -0
  8. data/app/assets/javascripts/cmor_partners.js +2 -0
  9. data/app/assets/stylesheets/cmor/partners/application/keep.css +0 -0
  10. data/app/assets/stylesheets/cmor/partners/application.css +3 -0
  11. data/app/assets/stylesheets/cmor_partners.css +3 -0
  12. data/app/controllers/cmor/partners/categories_controller.rb +16 -0
  13. data/app/controllers/cmor/partners/home_controller.rb +4 -0
  14. data/app/controllers/cmor/partners/partners_controller.rb +21 -0
  15. data/app/models/cmor/partners/category.rb +17 -0
  16. data/app/models/cmor/partners/partner.rb +18 -0
  17. data/app/view_helpers/cmor/partners/application_view_helper.rb +4 -0
  18. data/app/views/cmor/partners/categories/_form.html.haml +5 -0
  19. data/app/views/cmor/partners/categories/_index_table.html.haml +6 -0
  20. data/app/views/cmor/partners/categories/_query_form.html.haml +2 -0
  21. data/app/views/cmor/partners/partners/_form.html.haml +6 -0
  22. data/app/views/cmor/partners/partners/_index_table.html.haml +7 -0
  23. data/app/views/cmor/partners/partners/_query_form.html.haml +2 -0
  24. data/app/views/cmor/partners/partners/_show_table.html.haml +7 -0
  25. data/config/initializers/assets.rb +2 -0
  26. data/config/initializers/cmor.rb +3 -0
  27. data/config/locales/de.yml +39 -0
  28. data/config/locales/en.yml +39 -0
  29. data/config/routes.rb +13 -0
  30. data/db/migrate/20190416140001_create_cmor_partners_categories.rb +14 -0
  31. data/db/migrate/20190416141644_create_cmor_partners_partners.rb +14 -0
  32. data/lib/cmor/partners/configuration.rb +23 -0
  33. data/lib/cmor/partners/engine.rb +5 -0
  34. data/lib/cmor/partners/version.rb +7 -0
  35. data/lib/cmor_partners.rb +14 -0
  36. data/lib/generators/cmor/partners/install/install_generator.rb +25 -0
  37. data/lib/generators/cmor/partners/install/templates/initializer.rb +31 -0
  38. data/lib/generators/cmor/partners/install/templates/routes.source +4 -0
  39. data/lib/tasks/cmor/partners_tasks.rake +4 -0
  40. metadata +417 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d42a491e315a435fe235f0dfbe04aea9d460618455651442fbea4fd544f2565e
4
+ data.tar.gz: 32b59ac696f7e74e7ef53b6e0dedaa55aceb529430b372f60af5a217211b4af1
5
+ SHA512:
6
+ metadata.gz: 2d5811177491299d409bcb3adc982fa63b28ba23a807b94f1df8022c3a46e8afad6de08b6107092d3b68db757e5a2978154ca1e46bb6633fc15187c3f579a4a1
7
+ data.tar.gz: 9aa1d19908fb72f356602dac1bb74bb41aef7f1743b7ed1695e1abc8adcbe90604afc79682920f842716d01100d098c8d0a2261b508129664d6fd756438d6838
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::Partners
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/partners'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install cmor/partners
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::Partners'
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/partners .css
@@ -0,0 +1,2 @@
1
+ //= require_tree ./application
2
+
@@ -0,0 +1,2 @@
1
+ //= require ./cmor/partners/application
2
+
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require_tree ./application
3
+ */
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require ./cmor/partners/application
3
+ */
@@ -0,0 +1,16 @@
1
+ module Cmor::Partners
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::Partners::Category
8
+ end
9
+
10
+ private
11
+
12
+ def permitted_params
13
+ params.require(:category).permit(:locale, :identifier, :name, :body, :published)
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,4 @@
1
+ module Cmor::Partners
2
+ class HomeController < Cmor::Core::Backend::HomeController::Base
3
+ end
4
+ end
@@ -0,0 +1,21 @@
1
+ module Cmor::Partners
2
+ class PartnersController < Cmor::Core::Backend::ResourcesController::Base
3
+ include Rao::ResourcesController::ActsAsListConcern
4
+ include Rao::ResourcesController::ActsAsPublishedConcern
5
+ helper Twitter::Bootstrap::Components::Rails::V4::ComponentsHelper
6
+
7
+ def self.resource_class
8
+ Cmor::Partners::Partner
9
+ end
10
+
11
+ def load_collection_scope
12
+ super.includes(:category)
13
+ end
14
+
15
+ private
16
+
17
+ def permitted_params
18
+ params.require(:partner).permit(:category_id, :identifier, :name, :body, :published, :logo)
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,17 @@
1
+ module Cmor::Partners
2
+ class Category < ApplicationRecord
3
+ include ActsAsPublished::ActiveRecord
4
+
5
+ has_many :partners, -> { order(position: :asc) }, dependent: :destroy
6
+ has_one_attached :image
7
+
8
+ acts_as_list
9
+ acts_as_published
10
+
11
+ default_scope -> { order(position: :asc) }
12
+
13
+ validates :locale, presence: true
14
+ validates :identifier, presence: true, uniqueness: true
15
+ validates :name, presence: true, uniqueness: true
16
+ end
17
+ end
@@ -0,0 +1,18 @@
1
+ module Cmor::Partners
2
+ class Partner < ApplicationRecord
3
+ include ActsAsPublished::ActiveRecord
4
+ include Markup::Rails::ActiveRecord
5
+
6
+ belongs_to :category
7
+
8
+ has_one_attached :logo
9
+
10
+ acts_as_list scope: :category
11
+ acts_as_published
12
+ acts_as_markup :body, Cmor::Core::Configuration.default_markup_options
13
+
14
+ default_scope -> { order(position: :asc) }
15
+
16
+ validates :name, presence: true, uniqueness: { scope: [ :category_id ] }
17
+ end
18
+ end
@@ -0,0 +1,4 @@
1
+ module Cmor::Partners
2
+ class ApplicationViewHelper < Rao::ViewHelper::Base
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ = form.input :locale, collection: I18n.available_locales
2
+ = form.input :identifier
3
+ = form.input :name
4
+ = form.input :body
5
+ = form.input :published, as: :boolean
@@ -0,0 +1,6 @@
1
+ = table.acts_as_list_actions
2
+ = table.column :locale, sort: true, collection: I18n.available_locales
3
+ = table.column :identifier, sort: true
4
+ = table.column :name, sort: true
5
+ = table.timestamps sort: true
6
+ = table.acts_as_published_actions
@@ -0,0 +1,2 @@
1
+ = form.input :identifier_cont
2
+ = form.input :name_cont
@@ -0,0 +1,6 @@
1
+ = form.association :category
2
+ = form.input :identifier
3
+ = form.input :name
4
+ = form.input :body
5
+ = form.input :logo
6
+ = form.input :published, as: :boolean
@@ -0,0 +1,7 @@
1
+ = table.acts_as_list_actions
2
+ = table.thumbnail :logo
3
+ = table.association :category, sort: { column_name: 'cmor_partners_categories.name' }, label_method: :name, link_to: ->(r) { url_for(r.category) }
4
+ = table.column :identifier, sort: true
5
+ = table.column :name, sort: true
6
+ = table.timestamps sort: true
7
+ = table.acts_as_published_actions
@@ -0,0 +1,2 @@
1
+ = form.input :identifier_cont
2
+ = form.input :name_cont
@@ -0,0 +1,7 @@
1
+ = table.thumbnail :logo
2
+ = table.association :category, label_method: :name, link_to: ->(r) { url_for(r.category) }
3
+ = table.row :identifier
4
+ = table.row :name
5
+ = table.row :body
6
+ = table.timestamp :published_at
7
+ = table.timestamps
@@ -0,0 +1,2 @@
1
+ Rails.application.config.assets.precompile += %w( cmor_partners.css )
2
+ Rails.application.config.assets.precompile += %w( cmor_partners.js )
@@ -0,0 +1,3 @@
1
+ Cmor.configure do |config|
2
+ config.administrador.register_engine('Cmor::Partners::Engine', {})
3
+ end
@@ -0,0 +1,39 @@
1
+ de:
2
+ activerecord:
3
+ models:
4
+ cmor/partners/category:
5
+ one: Kategorie
6
+ other: Kategorien
7
+ cmor/partners/partner:
8
+ one: Partner
9
+ other: Partner
10
+ attributes:
11
+ defaults: &defaults
12
+ id: ID
13
+ created_at: Erstellt am
14
+ updated_at: Aktualisiert am
15
+ cmor/partners/category:
16
+ <<: *defaults
17
+ locale: Sprache
18
+ identifier: Bezeichner
19
+ name: Name
20
+ body: Beschreibung
21
+ position: Position
22
+ published: Veröffentlicht
23
+ published_at: Veröffentlicht am
24
+ cmor/partners/partner:
25
+ <<: *defaults
26
+ category: Kategorie
27
+ category_id: Kategorie
28
+ identifier: Bezeichner
29
+ name: Name
30
+ body: Beschreibung
31
+ position: Position
32
+ published: Veröffentlicht
33
+ published_at: Veröffentlicht am
34
+ classes:
35
+ cmor/partners/engine: Partner
36
+ routes:
37
+ cmor-partners-engine: 'partner'
38
+ categories: 'kategorien'
39
+ partners: 'partner'
@@ -0,0 +1,39 @@
1
+ en:
2
+ activerecord:
3
+ models:
4
+ cmor/partners/category:
5
+ one: Category
6
+ other: Categories
7
+ cmor/partners/partner:
8
+ one: Partner
9
+ other: Partners
10
+ attributes:
11
+ defaults: &defaults
12
+ id: ID
13
+ created_at: Created at
14
+ updated_at: Updated at
15
+ cmor/partners/category:
16
+ <<: *defaults
17
+ locale: Locale
18
+ identifier: Identifier
19
+ name: Name
20
+ body: Body
21
+ position: Position
22
+ published: Published
23
+ published_at: Published at
24
+ cmor/partners/partner:
25
+ <<: *defaults
26
+ category: Category
27
+ category_id: Category
28
+ identifier: Identifier
29
+ name: Name
30
+ body: Body
31
+ position: Position
32
+ published: Published
33
+ published_at: Published at
34
+ classes:
35
+ cmor/partners/engine: Partners
36
+ routes:
37
+ cmor-partners-engine: 'partners'
38
+ categories: 'categories'
39
+ partners: 'partners'
data/config/routes.rb ADDED
@@ -0,0 +1,13 @@
1
+ Cmor::Partners::Engine.routes.draw do
2
+ resources :partners do
3
+ acts_as_published
4
+ acts_as_list
5
+ end
6
+
7
+ resources :categories 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 CreateCmorPartnersCategories < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :cmor_partners_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 CreateCmorPartnersPartners < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :cmor_partners_partners 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::Partners
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::Partners
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Cmor::Partners
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'cmor/version'
2
+
3
+ module Cmor
4
+ module Partners
5
+ VERSION = ::Cmor::VERSION
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ require "acts_as_list"
2
+ require "acts_as_published"
3
+ require "cmor_core_backend"
4
+ require "markup-rails"
5
+
6
+ require "cmor/partners/version"
7
+ require "cmor/partners/configuration"
8
+ require "cmor/partners/engine"
9
+
10
+ module Cmor
11
+ module Partners
12
+ extend Configuration
13
+ end
14
+ end
@@ -0,0 +1,25 @@
1
+ module Cmor::Partners
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_partners.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::Partners.configure do |config|
2
+ # Set the resources, that will be shown in the backend menu.
3
+ #
4
+ # Default: config.resources_controllers = -> {[
5
+ # Cmor::Partners::CategoriesController,
6
+ # Cmor::Partners::PartnersController
7
+ # ]}
8
+ #
9
+ config.resources_controllers = -> {[
10
+ Cmor::Partners::CategoriesController,
11
+ Cmor::Partners::PartnersController
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::Partners::Engine, at: '/backend/cmor-partners-engine'
4
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :cmor/partners do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,417 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cmor_partners
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
+ description:
350
+ email:
351
+ - roberto@vasquez-angel.de
352
+ executables: []
353
+ extensions: []
354
+ extra_rdoc_files: []
355
+ files:
356
+ - MIT-LICENSE
357
+ - README.md
358
+ - Rakefile
359
+ - app/assets/config/cmor/partners_manifest.js
360
+ - app/assets/javascripts/cmor/partners/application.js
361
+ - app/assets/javascripts/cmor/partners/application/keep.js
362
+ - app/assets/javascripts/cmor_partners.js
363
+ - app/assets/stylesheets/cmor/partners/application.css
364
+ - app/assets/stylesheets/cmor/partners/application/keep.css
365
+ - app/assets/stylesheets/cmor_partners.css
366
+ - app/controllers/cmor/partners/categories_controller.rb
367
+ - app/controllers/cmor/partners/home_controller.rb
368
+ - app/controllers/cmor/partners/partners_controller.rb
369
+ - app/models/cmor/partners/category.rb
370
+ - app/models/cmor/partners/partner.rb
371
+ - app/view_helpers/cmor/partners/application_view_helper.rb
372
+ - app/views/cmor/partners/categories/_form.html.haml
373
+ - app/views/cmor/partners/categories/_index_table.html.haml
374
+ - app/views/cmor/partners/categories/_query_form.html.haml
375
+ - app/views/cmor/partners/partners/_form.html.haml
376
+ - app/views/cmor/partners/partners/_index_table.html.haml
377
+ - app/views/cmor/partners/partners/_query_form.html.haml
378
+ - app/views/cmor/partners/partners/_show_table.html.haml
379
+ - config/initializers/assets.rb
380
+ - config/initializers/cmor.rb
381
+ - config/locales/de.yml
382
+ - config/locales/en.yml
383
+ - config/routes.rb
384
+ - db/migrate/20190416140001_create_cmor_partners_categories.rb
385
+ - db/migrate/20190416141644_create_cmor_partners_partners.rb
386
+ - lib/cmor/partners/configuration.rb
387
+ - lib/cmor/partners/engine.rb
388
+ - lib/cmor/partners/version.rb
389
+ - lib/cmor_partners.rb
390
+ - lib/generators/cmor/partners/install/install_generator.rb
391
+ - lib/generators/cmor/partners/install/templates/initializer.rb
392
+ - lib/generators/cmor/partners/install/templates/routes.source
393
+ - lib/tasks/cmor/partners_tasks.rake
394
+ homepage: https://github.com/content-management-on-rails
395
+ licenses:
396
+ - MIT
397
+ metadata: {}
398
+ post_install_message:
399
+ rdoc_options: []
400
+ require_paths:
401
+ - lib
402
+ required_ruby_version: !ruby/object:Gem::Requirement
403
+ requirements:
404
+ - - ">="
405
+ - !ruby/object:Gem::Version
406
+ version: '0'
407
+ required_rubygems_version: !ruby/object:Gem::Requirement
408
+ requirements:
409
+ - - ">"
410
+ - !ruby/object:Gem::Version
411
+ version: 1.3.1
412
+ requirements: []
413
+ rubygems_version: 3.0.4
414
+ signing_key:
415
+ specification_version: 4
416
+ summary: Cmor::Partners Module.
417
+ test_files: []