ecm_opening_times_backend 0.0.1
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 +28 -0
- data/Rakefile +26 -0
- data/app/assets/config/ecm_opening_times_backend_manifest.js +2 -0
- data/app/assets/javascripts/ecm/opening_times/backend/application.js +13 -0
- data/app/assets/javascripts/ecm/opening_times/backend/application/exclusivity_groups.js.coffee +62 -0
- data/app/assets/javascripts/ecm_opening_times_backend.js +1 -0
- data/app/assets/stylesheets/ecm/opening_times/backend/application.css +15 -0
- data/app/assets/stylesheets/ecm_opening_times_backend.css +3 -0
- data/app/controllers/ecm/opening_times/backend/branches_controller.rb +19 -0
- data/app/controllers/ecm/opening_times/backend/entries_controller.rb +17 -0
- data/app/controllers/ecm/opening_times/backend/home_controller.rb +8 -0
- data/app/helpers/ecm/opening_times/backend/application_helper.rb +8 -0
- data/app/views/ecm/opening_times/backend/branches/_entries_form.haml +12 -0
- data/app/views/ecm/opening_times/backend/branches/_form.haml +2 -0
- data/app/views/ecm/opening_times/backend/branches/_table.haml +4 -0
- data/app/views/ecm/opening_times/backend/entries/_form.haml +23 -0
- data/app/views/ecm/opening_times/backend/entries/_table.haml +32 -0
- data/app/views/layouts/ecm/opening_times/backend/application.html.erb +14 -0
- data/config/initializers/assets.rb +2 -0
- data/config/locales/de.yml +5 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +8 -0
- data/lib/ecm/opening_times/backend/configuration.rb +28 -0
- data/lib/ecm/opening_times/backend/engine.rb +16 -0
- data/lib/ecm/opening_times/backend/version.rb +7 -0
- data/lib/ecm_opening_times_backend.rb +10 -0
- data/lib/generators/ecm/opening_times/backend/install/install_generator.rb +33 -0
- data/lib/generators/ecm/opening_times/backend/install/templates/initializer.rb +21 -0
- data/lib/generators/ecm/opening_times/backend/install/templates/routes.source +4 -0
- data/lib/tasks/ecm_opening_times_backend_tasks.rake +4 -0
- metadata +243 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d9b76bcc68ce1d7922fa9ed1c1e1bba6b4235957
|
4
|
+
data.tar.gz: 0a65cb18f224586f2596888c929e6f93ac8b4aca
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a047b82fceacd45902c4acee5b6aff43c5884304e802ab4e1349061f58515a42d2644c0f08670ccc04f49d60cf554a9f8b495bcfedae0b502ba2d45375524e54
|
7
|
+
data.tar.gz: 37173c62ab91b94c51a5163b0a4f436e582d038d05655b2e85d0d50bc5a990c7835628d15db4ff6e439c40ebb634ce75131ca1127d68b8fbff6273e0a35de819
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2017 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
|
+
# Ecm::OpeningTimes::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 'ecm_opening_times_backend'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
```bash
|
16
|
+
$ bundle
|
17
|
+
```
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
```bash
|
21
|
+
$ gem install ecm_opening_times_backend
|
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](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
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 = 'Ecm::OpeningTimes::Backend'
|
12
|
+
rdoc.options << '--line-numbers'
|
13
|
+
rdoc.rdoc_files.include('README.md')
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
+
end
|
16
|
+
|
17
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
18
|
+
load 'rails/tasks/engine.rake'
|
19
|
+
|
20
|
+
|
21
|
+
load 'rails/tasks/statistics.rake'
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
require 'bundler/gem_tasks'
|
26
|
+
|
@@ -0,0 +1,13 @@
|
|
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_tree ./application
|
data/app/assets/javascripts/ecm/opening_times/backend/application/exclusivity_groups.js.coffee
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
$ ->
|
2
|
+
$('body').on 'click', '*[data-disables]', (e)->
|
3
|
+
inputs_to_toggle = $(this).data('disables')
|
4
|
+
if $(this).is(':checked')
|
5
|
+
for input in $(inputs_to_toggle)
|
6
|
+
# disable input
|
7
|
+
$(input).prop('disabled', true);
|
8
|
+
# unset name
|
9
|
+
$(input).data('name', $(input).attr('name'))
|
10
|
+
$(input).removeAttr('name')
|
11
|
+
# unset value
|
12
|
+
$(input).data('value', $(input).attr('value'))
|
13
|
+
$(input).removeAttr('value')
|
14
|
+
else
|
15
|
+
for input in $(inputs_to_toggle)
|
16
|
+
# enable input
|
17
|
+
$(input).prop('disabled', false);
|
18
|
+
# set name
|
19
|
+
$(input).attr('name', $(input).data('name'))
|
20
|
+
$(input).removeData('name')
|
21
|
+
# set value
|
22
|
+
$(input).attr('value', $(input).data('value'))
|
23
|
+
$(input).removeData('value')
|
24
|
+
#class DataExclusivityGrouping
|
25
|
+
# constructor: (@container) ->
|
26
|
+
# bindClickEvent
|
27
|
+
#
|
28
|
+
# bindClickEvent: =>
|
29
|
+
# @container.o
|
30
|
+
# alert('test')
|
31
|
+
|
32
|
+
# $ ->
|
33
|
+
# $('body').on 'click', '*[data-exclusivity-group] *', (e)->
|
34
|
+
# # DataExclusivityGrouping.new(this)
|
35
|
+
# own_container = $(this).closest("*[data-exclusivity-group]")
|
36
|
+
# group_name = own_container.data('exclusivity-group')
|
37
|
+
# all_containers = $("*[data-exclusivity-group='#{group_name}']")
|
38
|
+
# for container in all_containers
|
39
|
+
# if container == own_container[0]
|
40
|
+
# console.log("same")
|
41
|
+
# console.log($(container))
|
42
|
+
# for input in $(container).find('input')
|
43
|
+
# # enable input
|
44
|
+
# $(input).prop('disabled', false);
|
45
|
+
# # set name
|
46
|
+
# $(input).attr('name', $(input).data('name'))
|
47
|
+
# $(input).removeData('name')
|
48
|
+
# # set value
|
49
|
+
# $(input).attr('value', $(input).data('value'))
|
50
|
+
# $(input).removeData('value')
|
51
|
+
# else
|
52
|
+
# console.log("other")
|
53
|
+
# console.log($(container))
|
54
|
+
# for input in $(container).find('input')
|
55
|
+
# # disable input
|
56
|
+
# $(input).prop('disabled', true);
|
57
|
+
# # unset name
|
58
|
+
# $(input).data('name', $(input).attr('name'))
|
59
|
+
# $(input).removeAttr('name')
|
60
|
+
# # unset value
|
61
|
+
# $(input).data('value', $(input).attr('value'))
|
62
|
+
# $(input).removeAttr('value')
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require ecm/opening_times/backend/application.js
|
@@ -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,19 @@
|
|
1
|
+
module Ecm
|
2
|
+
module OpeningTimes
|
3
|
+
module Backend
|
4
|
+
class BranchesController < Itsf::Backend::Resource::BaseController
|
5
|
+
include Controller::ActsAsListConcern
|
6
|
+
|
7
|
+
def self.resource_class
|
8
|
+
Ecm::OpeningTimes::Branch
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def permitted_params
|
14
|
+
params.require(:branch).permit(:name, :identifier)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Ecm
|
2
|
+
module OpeningTimes
|
3
|
+
module Backend
|
4
|
+
class EntriesController < Itsf::Backend::Resource::BaseController
|
5
|
+
def self.resource_class
|
6
|
+
Ecm::OpeningTimes::Entry
|
7
|
+
end
|
8
|
+
|
9
|
+
private
|
10
|
+
|
11
|
+
def permitted_params
|
12
|
+
params.require(:entry).permit(:branch_id, :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday, :open_all_day, :open_at, :close_at)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
= form.input :monday
|
2
|
+
= form.input :tuesday
|
3
|
+
= form.input :wednesday
|
4
|
+
= form.input :thursday
|
5
|
+
= form.input :friday
|
6
|
+
= form.input :saturday
|
7
|
+
= form.input :sunday
|
8
|
+
|
9
|
+
= form.input :open_at, as: :string
|
10
|
+
= form.input :close_at, as: :string
|
11
|
+
|
12
|
+
= form.input :open_all_day
|
@@ -0,0 +1,23 @@
|
|
1
|
+
= form.association :branch
|
2
|
+
|
3
|
+
.well
|
4
|
+
= form.input :monday
|
5
|
+
= form.input :tuesday
|
6
|
+
= form.input :wednesday
|
7
|
+
= form.input :thursday
|
8
|
+
= form.input :friday
|
9
|
+
= form.input :saturday
|
10
|
+
= form.input :sunday
|
11
|
+
|
12
|
+
.well
|
13
|
+
#open-all-day.row
|
14
|
+
.col-lg-12
|
15
|
+
= form.input :open_all_day, as: :boolean, input_html: { data: { disables: '#opening-times input' } }
|
16
|
+
|
17
|
+
.horizontal-separator= t('or')
|
18
|
+
|
19
|
+
#opening-times.row
|
20
|
+
.col-lg-6
|
21
|
+
= form.input :open_at, as: :string, input_html: { value: form.object.open_at }
|
22
|
+
.col-lg-6
|
23
|
+
= form.input :close_at, as: :string, input_html: { value: form.object.close_at }
|
@@ -0,0 +1,32 @@
|
|
1
|
+
= table.association :branch, label_method: :name, url: ->(entry) { branch_path(entry.branch) }
|
2
|
+
= table.column :monday do |resource|
|
3
|
+
- if resource.monday
|
4
|
+
%div.text-center
|
5
|
+
%i.glyphicon.glyphicon-ok
|
6
|
+
= table.column :tuesday do |resource|
|
7
|
+
- if resource.tuesday
|
8
|
+
%div.text-center
|
9
|
+
%i.glyphicon.glyphicon-ok
|
10
|
+
= table.column :wednesday do |resource|
|
11
|
+
- if resource.wednesday
|
12
|
+
%div.text-center
|
13
|
+
%i.glyphicon.glyphicon-ok
|
14
|
+
= table.column :thursday do |resource|
|
15
|
+
- if resource.thursday
|
16
|
+
%div.text-center
|
17
|
+
%i.glyphicon.glyphicon-ok
|
18
|
+
= table.column :friday do |resource|
|
19
|
+
- if resource.friday
|
20
|
+
%div.text-center
|
21
|
+
%i.glyphicon.glyphicon-ok
|
22
|
+
= table.column :saturday do |resource|
|
23
|
+
- if resource.saturday
|
24
|
+
%div.text-center
|
25
|
+
%i.glyphicon.glyphicon-ok
|
26
|
+
= table.column :sunday do |resource|
|
27
|
+
- if resource.sunday
|
28
|
+
%div.text-center
|
29
|
+
%i.glyphicon.glyphicon-ok
|
30
|
+
= table.column :open_at
|
31
|
+
= table.column :close_at
|
32
|
+
= table.timestamps
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Opening Times</title>
|
5
|
+
<%= stylesheet_link_tag "ecm/opening_times/backend/application", media: "all" %>
|
6
|
+
<%= javascript_include_tag "ecm/opening_times/backend/application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
data/config/routes.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'active_support/core_ext/module/delegation'
|
2
|
+
require 'active_support/core_ext/module/attribute_accessors'
|
3
|
+
|
4
|
+
module Ecm
|
5
|
+
module OpeningTimes
|
6
|
+
module Backend
|
7
|
+
module Configuration
|
8
|
+
def configure
|
9
|
+
yield self
|
10
|
+
end
|
11
|
+
|
12
|
+
mattr_accessor :registered_controllers do
|
13
|
+
lambda do
|
14
|
+
[
|
15
|
+
# Ecm::OpeningTimes::Backend::FoosController
|
16
|
+
]
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
mattr_accessor :registered_services do
|
21
|
+
lambda do
|
22
|
+
[]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Ecm
|
2
|
+
module OpeningTimes
|
3
|
+
module Backend
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
isolate_namespace Ecm::OpeningTimes::Backend
|
6
|
+
|
7
|
+
config.generators do |g|
|
8
|
+
g.test_framework :rspec, fixture: true
|
9
|
+
g.fixture_replacement :factory_girl, dir: 'spec/factories'
|
10
|
+
g.form_builder :simple_form
|
11
|
+
g.template_engine :haml
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Ecm
|
2
|
+
module OpeningTimes
|
3
|
+
module Backend
|
4
|
+
module Generators
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
6
|
+
desc 'Installs the initializer, routes and itsf_backend integration'
|
7
|
+
|
8
|
+
source_root File.expand_path('../templates', __FILE__)
|
9
|
+
|
10
|
+
def generate_initializer
|
11
|
+
copy_file 'initializer.rb', 'config/initializers/ecm_opening_times_backend.rb'
|
12
|
+
end
|
13
|
+
|
14
|
+
def generate_routes
|
15
|
+
route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
|
16
|
+
end
|
17
|
+
|
18
|
+
def add_to_itsf_backend
|
19
|
+
insert_into_itsf_backend_config(Ecm::OpeningTimes::Backend::Engine)
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def insert_into_itsf_backend_config(engine_name)
|
25
|
+
inject_into_file 'config/initializers/001_itsf_backend.rb', after: "config.backend_engines = %w(\n" do
|
26
|
+
" #{engine_name}\n"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Ecm::OpeningTimes::Backend.configure do |config|
|
2
|
+
# Set the resources, that will be shown in the backend menu.
|
3
|
+
#
|
4
|
+
# Default: config.registered_controllers = -> {[
|
5
|
+
# Ecm::OpeningTimes::Backend::BranchesController,
|
6
|
+
# Ecm::OpeningTimes::Backend::EntriesController
|
7
|
+
# ]}
|
8
|
+
#
|
9
|
+
config.registered_controllers = -> {[
|
10
|
+
Ecm::OpeningTimes::Backend::BranchesController,
|
11
|
+
Ecm::OpeningTimes::Backend::EntriesController
|
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,243 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ecm_opening_times_backend
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Roberto Vasquez Angel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-10-31 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.1.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.1.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: capybara
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: factory_girl_rails
|
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: guard-bundler
|
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: guard-rspec
|
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: i18n-debug
|
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: launchy
|
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: pry-rails
|
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: rspec-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: rubocop
|
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: shoulda-matchers
|
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
|
+
description:
|
182
|
+
email:
|
183
|
+
- roberto@vasquez-angel.de
|
184
|
+
executables: []
|
185
|
+
extensions: []
|
186
|
+
extra_rdoc_files: []
|
187
|
+
files:
|
188
|
+
- MIT-LICENSE
|
189
|
+
- README.md
|
190
|
+
- Rakefile
|
191
|
+
- app/assets/config/ecm_opening_times_backend_manifest.js
|
192
|
+
- app/assets/javascripts/ecm/opening_times/backend/application.js
|
193
|
+
- app/assets/javascripts/ecm/opening_times/backend/application/exclusivity_groups.js.coffee
|
194
|
+
- app/assets/javascripts/ecm_opening_times_backend.js
|
195
|
+
- app/assets/stylesheets/ecm/opening_times/backend/application.css
|
196
|
+
- app/assets/stylesheets/ecm_opening_times_backend.css
|
197
|
+
- app/controllers/ecm/opening_times/backend/branches_controller.rb
|
198
|
+
- app/controllers/ecm/opening_times/backend/entries_controller.rb
|
199
|
+
- app/controllers/ecm/opening_times/backend/home_controller.rb
|
200
|
+
- app/helpers/ecm/opening_times/backend/application_helper.rb
|
201
|
+
- app/views/ecm/opening_times/backend/branches/_entries_form.haml
|
202
|
+
- app/views/ecm/opening_times/backend/branches/_form.haml
|
203
|
+
- app/views/ecm/opening_times/backend/branches/_table.haml
|
204
|
+
- app/views/ecm/opening_times/backend/entries/_form.haml
|
205
|
+
- app/views/ecm/opening_times/backend/entries/_table.haml
|
206
|
+
- app/views/layouts/ecm/opening_times/backend/application.html.erb
|
207
|
+
- config/initializers/assets.rb
|
208
|
+
- config/locales/de.yml
|
209
|
+
- config/locales/en.yml
|
210
|
+
- config/routes.rb
|
211
|
+
- lib/ecm/opening_times/backend/configuration.rb
|
212
|
+
- lib/ecm/opening_times/backend/engine.rb
|
213
|
+
- lib/ecm/opening_times/backend/version.rb
|
214
|
+
- lib/ecm_opening_times_backend.rb
|
215
|
+
- lib/generators/ecm/opening_times/backend/install/install_generator.rb
|
216
|
+
- lib/generators/ecm/opening_times/backend/install/templates/initializer.rb
|
217
|
+
- lib/generators/ecm/opening_times/backend/install/templates/routes.source
|
218
|
+
- lib/tasks/ecm_opening_times_backend_tasks.rake
|
219
|
+
homepage: https://github.com/robotex82/ecm_opening_times
|
220
|
+
licenses:
|
221
|
+
- MIT
|
222
|
+
metadata: {}
|
223
|
+
post_install_message:
|
224
|
+
rdoc_options: []
|
225
|
+
require_paths:
|
226
|
+
- lib
|
227
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
requirements: []
|
238
|
+
rubyforge_project:
|
239
|
+
rubygems_version: 2.6.11
|
240
|
+
signing_key:
|
241
|
+
specification_version: 4
|
242
|
+
summary: ECM Opening Times Backend Module.
|
243
|
+
test_files: []
|