rao-service_controller 0.0.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +34 -0
- data/Rakefile +25 -0
- data/app/assets/stylesheets/rao/service_controller/application/table_monospaced.css +4 -0
- data/app/assets/stylesheets/rao/service_controller/application.css +3 -0
- data/app/assets/stylesheets/rao-service_controller.css +3 -0
- data/app/concerns/rao/controller/autosubmit_concern.rb +50 -0
- data/app/concerns/rao/service_controller/location_history_concern.rb +33 -0
- data/app/concerns/rao/service_controller/rest_actions_concern.rb +102 -0
- data/app/concerns/rao/service_controller/rest_service_urls_concern.rb +22 -0
- data/app/concerns/rao/service_controller/service_concern.rb +16 -0
- data/app/concerns/rao/service_controller/service_inflections_concern.rb +17 -0
- data/app/controllers/rao/service_controller/base.rb +13 -0
- data/app/views/rao/service_controller/base/_create_after_service_output.haml +0 -0
- data/app/views/rao/service_controller/base/_create_before_service_output.haml +0 -0
- data/app/views/rao/service_controller/base/_form_buttons.haml +4 -0
- data/app/views/rao/service_controller/base/_form_errors.haml +7 -0
- data/app/views/rao/service_controller/base/create.html.haml +14 -0
- data/app/views/rao/service_controller/base/new.html.haml +6 -0
- data/config/initializers/assets.rb +3 -0
- data/config/locales/de.yml +23 -0
- data/config/locales/en.yml +23 -0
- data/lib/generators/rao/service_controller/install_generator.rb +15 -0
- data/lib/generators/rao/service_controller/templates/initializer.rb +7 -0
- data/lib/rao/service_controller/configuration.rb +11 -0
- data/lib/rao/service_controller/engine.rb +7 -0
- data/lib/rao/service_controller/version.rb +7 -0
- data/lib/rao/service_controller.rb +9 -0
- data/lib/rao-service_controller.rb +4 -0
- data/lib/tasks/rao-service_controller_tasks.rake +4 -0
- metadata +172 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: df9ac2c6396e345aaf96de272a1e40b131f550a0
|
4
|
+
data.tar.gz: d655544316fef373993f9e325ca34ed7f980b104
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4cda9a07ef1835aa0bc39de96fc6daf5f9ca1ff81bee61a62b2596f15ed38352965a9004d66700b02641ef71b62d231699a17dc34d08c4ed8971fd4692dbf565
|
7
|
+
data.tar.gz: e06952c6c03f732428ca8e238069f2c5786f23fab6d2a3d911e354cadc75a82b7d16d46249752b2a513833a2bbe577872aa0ee0531f6d4e4dbbc26c2c9dda838
|
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
|
+
# Rao::ServiceController
|
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 'rao-service_controller'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
```bash
|
16
|
+
$ bundle
|
17
|
+
```
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
```bash
|
21
|
+
$ gem install rao-service_controller
|
22
|
+
```
|
23
|
+
|
24
|
+
Generate the initializer:
|
25
|
+
|
26
|
+
```bash
|
27
|
+
$ rails g rao:service_controller:install
|
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](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,25 @@
|
|
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 = 'Rails Add-Ons Service Controller'
|
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'
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module Raos
|
2
|
+
module Controller
|
3
|
+
# Handles automatic form submits.
|
4
|
+
#
|
5
|
+
# Prerequisites:
|
6
|
+
#
|
7
|
+
# Include the javascript:
|
8
|
+
#
|
9
|
+
# # app/assets/javascripts/application.js
|
10
|
+
# //= require rails/add_ons/application/autosubmit
|
11
|
+
#
|
12
|
+
# Example:
|
13
|
+
#
|
14
|
+
# # app/controllers/posts_controller.rb
|
15
|
+
# class PostsController < ApplicationController
|
16
|
+
# include AutosubmitConcern
|
17
|
+
#
|
18
|
+
# # ...
|
19
|
+
#
|
20
|
+
# private
|
21
|
+
#
|
22
|
+
# def autosubmit?
|
23
|
+
# true
|
24
|
+
# end
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
# # app/views/posts/new.html.haml
|
28
|
+
# = form_for(...) do |f|
|
29
|
+
# = autosubmit
|
30
|
+
#
|
31
|
+
module AutosubmitConcern
|
32
|
+
extend ActiveSupport::Concern
|
33
|
+
|
34
|
+
included do
|
35
|
+
helper Rao::AutosubmitHelper
|
36
|
+
helper_method :autosubmit?, :autosubmit_now?
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
40
|
+
|
41
|
+
def autosubmit?
|
42
|
+
false
|
43
|
+
end
|
44
|
+
|
45
|
+
def autosubmit_now?
|
46
|
+
autosubmit? && action_name == 'new'
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController::LocationHistoryConcern
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
if respond_to?(:before_action)
|
7
|
+
before_action :store_location
|
8
|
+
else
|
9
|
+
before_filter :store_location
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def store_location
|
16
|
+
truncate_location_history(9)
|
17
|
+
location_history[Time.zone.now] = request.referer
|
18
|
+
end
|
19
|
+
|
20
|
+
def location_history
|
21
|
+
session[:location_history] ||= {}
|
22
|
+
end
|
23
|
+
|
24
|
+
def last_location
|
25
|
+
location_history.sort.last.try(:last)
|
26
|
+
end
|
27
|
+
|
28
|
+
def truncate_location_history(count = 0)
|
29
|
+
return if location_history.size <= count
|
30
|
+
session[:location_history] = session[:location_history].sort.last(count).to_h
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController::RestActionsConcern
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
unless respond_to?(:respond_to)
|
7
|
+
raise "undefined method `respond_to' for #{self.name}: If you are running Rails > 4 you may need to add the responders gem to your Gemfile."
|
8
|
+
end
|
9
|
+
|
10
|
+
respond_to :html
|
11
|
+
responders :flash
|
12
|
+
|
13
|
+
if respond_to?(:before_action)
|
14
|
+
before_action :initialize_service, only: [:new]
|
15
|
+
before_action :initialize_service_for_create, only: [:create]
|
16
|
+
else
|
17
|
+
before_filter :initialize_service, only: [:new]
|
18
|
+
before_filter :initialize_service_for_create, only: [:create]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def new; end
|
23
|
+
|
24
|
+
def create
|
25
|
+
perform
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def perform
|
31
|
+
@result = execute_service
|
32
|
+
if @result.success?
|
33
|
+
|
34
|
+
if respond_to?(:after_success_location, true) && after_success_location.present?
|
35
|
+
flash.notice = success_message if success_message.present?
|
36
|
+
redirect_to(after_success_location)
|
37
|
+
else
|
38
|
+
flash.now[:notice] = success_message if success_message.present?
|
39
|
+
render :create
|
40
|
+
end
|
41
|
+
else
|
42
|
+
render :new
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
|
47
|
+
def success_message
|
48
|
+
t('flash.actions.perform.notice', resource_name: @service.class.model_name.human)
|
49
|
+
end
|
50
|
+
|
51
|
+
def execute_service
|
52
|
+
@service.send(execute_method)
|
53
|
+
end
|
54
|
+
|
55
|
+
def execute_method
|
56
|
+
:perform
|
57
|
+
end
|
58
|
+
|
59
|
+
def hashified_params
|
60
|
+
if permitted_params.respond_to?(:to_h)
|
61
|
+
permitted_params.to_h
|
62
|
+
else
|
63
|
+
permitted_params
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def initialize_service
|
68
|
+
@service = service_class.new({}, service_options)
|
69
|
+
end
|
70
|
+
|
71
|
+
# Override this method in your child class to manipulate your service before
|
72
|
+
# it performs.
|
73
|
+
#
|
74
|
+
# Example:
|
75
|
+
# # app/controller/import_services_controller.rb
|
76
|
+
# class ImportServices < ApplicationServicesController
|
77
|
+
# #...
|
78
|
+
# private
|
79
|
+
#
|
80
|
+
# def initialize_service_for_create
|
81
|
+
# super
|
82
|
+
# @service.current_user_id = session['current_user_id']
|
83
|
+
# end
|
84
|
+
# end
|
85
|
+
#
|
86
|
+
def initialize_service_for_create
|
87
|
+
@service = service_class.new(hashified_params, service_options)
|
88
|
+
end
|
89
|
+
|
90
|
+
def service_options
|
91
|
+
default_options
|
92
|
+
end
|
93
|
+
|
94
|
+
def default_options
|
95
|
+
{ autosave: true }
|
96
|
+
end
|
97
|
+
|
98
|
+
def permitted_params
|
99
|
+
raise "You have to implement permitted_params in #{self.class.name}."
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController::RestServiceUrlsConcern
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
helper_method :new_service_path,
|
7
|
+
:create_service_path
|
8
|
+
end
|
9
|
+
|
10
|
+
def new_service_path
|
11
|
+
resource_router.send(:url_for, { action: :new, only_path: true })
|
12
|
+
end
|
13
|
+
|
14
|
+
def create_service_path
|
15
|
+
resource_router.send(:url_for, { action: :create, only_path: true })
|
16
|
+
end
|
17
|
+
|
18
|
+
def resource_router
|
19
|
+
self
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController::ServiceConcern
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
helper_method :service_class
|
7
|
+
end
|
8
|
+
|
9
|
+
def service_class
|
10
|
+
unless self.class.respond_to?(:service_class)
|
11
|
+
raise "undefined method `service_class' for #{self.class.name}: Add a service_class method to your controller. Example: def self.service_class; MyAmazingService; end"
|
12
|
+
end
|
13
|
+
self.class.service_class
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController::ServiceInflectionsConcern
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
helper_method :inflections
|
7
|
+
end
|
8
|
+
|
9
|
+
private
|
10
|
+
|
11
|
+
def inflections
|
12
|
+
{
|
13
|
+
service_name: service_class.model_name.human(count: 1)
|
14
|
+
}
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController
|
3
|
+
class Base < Configuration.service_controller_base_class_name.constantize
|
4
|
+
include ServiceConcern
|
5
|
+
include RestActionsConcern
|
6
|
+
include RestServiceUrlsConcern
|
7
|
+
include ServiceInflectionsConcern
|
8
|
+
include LocationHistoryConcern
|
9
|
+
|
10
|
+
helper Twitter::Bootstrap::Components::Rails::V4::ComponentsHelper
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,7 @@
|
|
1
|
+
- if service.errors.any?
|
2
|
+
= bootstrap_alert(context: :danger, class: 'error-explanation') do
|
3
|
+
- message_default = t('errors.template.header', count: service.errors.count, model: service.class.model_name.human)
|
4
|
+
.error-heading= t('errors.template.services.header', count: service.errors.count, model: service.class.model_name.human, default: message_default)
|
5
|
+
%ul
|
6
|
+
- service.errors.full_messages.each do |msg|
|
7
|
+
%li= msg
|
@@ -0,0 +1,14 @@
|
|
1
|
+
= render 'create_before_service_output', result: @result
|
2
|
+
|
3
|
+
%table.table.table-sm.table-striped.table-monospaced
|
4
|
+
%tbody
|
5
|
+
- @result.messages.each_with_index do |message, index|
|
6
|
+
%tr
|
7
|
+
%td= index + 1
|
8
|
+
%td= message
|
9
|
+
|
10
|
+
= render 'create_after_service_output', result: @result
|
11
|
+
|
12
|
+
= bootstrap_button(to: new_service_path, context: :success) do
|
13
|
+
= fa_icon :back if respond_to?(:fa_icon)
|
14
|
+
= t('.back')
|
@@ -0,0 +1,23 @@
|
|
1
|
+
de:
|
2
|
+
flash:
|
3
|
+
actions:
|
4
|
+
create:
|
5
|
+
notice: "%{resource_name} wurde erstellt."
|
6
|
+
update:
|
7
|
+
notice: "%{resource_name} wurde aktualisiert."
|
8
|
+
destroy:
|
9
|
+
notice: "%{resource_name} wurde gelöscht."
|
10
|
+
alert: "%{resource_name} konnte nicht gelöscht werden."
|
11
|
+
perform:
|
12
|
+
notice: "%{resource_name} wurde ausgeführt."
|
13
|
+
alert: "%{resource_name} konnte nicht ausgeführt werden. Es traten folgende Fehler auf: %{errors}"
|
14
|
+
rao:
|
15
|
+
service_controller:
|
16
|
+
base:
|
17
|
+
create:
|
18
|
+
back: "Zurück"
|
19
|
+
form_buttons:
|
20
|
+
submit: "%{service_name} ausführen"
|
21
|
+
submitted: "Wird ausgeführt..."
|
22
|
+
new:
|
23
|
+
title: "%{service_name} ausführen"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
en:
|
2
|
+
flash:
|
3
|
+
actions:
|
4
|
+
create:
|
5
|
+
notice: "%{resource_name} was successfully created."
|
6
|
+
update:
|
7
|
+
notice: "%{resource_name} was successfully updated."
|
8
|
+
destroy:
|
9
|
+
notice: "%{resource_name} was successfully destroyed."
|
10
|
+
alert: "%{resource_name} could not be destroyed."
|
11
|
+
perform:
|
12
|
+
notice: "%{resource_name} was executed."
|
13
|
+
alert: "%{resource_name} could not be executed. Errors: %{errors}"
|
14
|
+
rao:
|
15
|
+
service_controller:
|
16
|
+
base:
|
17
|
+
create:
|
18
|
+
back: "Back"
|
19
|
+
form_buttons:
|
20
|
+
submit: "Run %{service_name}"
|
21
|
+
submitted: "Running..."
|
22
|
+
new:
|
23
|
+
title: "Run %{service_name}"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Rao
|
2
|
+
module ServiceController
|
3
|
+
module Generators
|
4
|
+
class InstallGenerator < Rails::Generators::Base
|
5
|
+
desc 'Generates the initializer'
|
6
|
+
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
8
|
+
|
9
|
+
def generate_initializer
|
10
|
+
template 'initializer.rb', 'config/initializers/rao-service_controller.rb'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rao-service_controller
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Roberto Vasquez Angel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-12-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rao
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: simple_form
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
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: twitter-bootstrap-components-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
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: font-awesome-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
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: rspec
|
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: guard-bundler
|
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
|
+
description:
|
112
|
+
email:
|
113
|
+
- roberto@vasquez-angel.de
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- MIT-LICENSE
|
119
|
+
- README.md
|
120
|
+
- Rakefile
|
121
|
+
- app/assets/stylesheets/rao-service_controller.css
|
122
|
+
- app/assets/stylesheets/rao/service_controller/application.css
|
123
|
+
- app/assets/stylesheets/rao/service_controller/application/table_monospaced.css
|
124
|
+
- app/concerns/rao/controller/autosubmit_concern.rb
|
125
|
+
- app/concerns/rao/service_controller/location_history_concern.rb
|
126
|
+
- app/concerns/rao/service_controller/rest_actions_concern.rb
|
127
|
+
- app/concerns/rao/service_controller/rest_service_urls_concern.rb
|
128
|
+
- app/concerns/rao/service_controller/service_concern.rb
|
129
|
+
- app/concerns/rao/service_controller/service_inflections_concern.rb
|
130
|
+
- app/controllers/rao/service_controller/base.rb
|
131
|
+
- app/views/rao/service_controller/base/_create_after_service_output.haml
|
132
|
+
- app/views/rao/service_controller/base/_create_before_service_output.haml
|
133
|
+
- app/views/rao/service_controller/base/_form_buttons.haml
|
134
|
+
- app/views/rao/service_controller/base/_form_errors.haml
|
135
|
+
- app/views/rao/service_controller/base/create.html.haml
|
136
|
+
- app/views/rao/service_controller/base/new.html.haml
|
137
|
+
- config/initializers/assets.rb
|
138
|
+
- config/locales/de.yml
|
139
|
+
- config/locales/en.yml
|
140
|
+
- lib/generators/rao/service_controller/install_generator.rb
|
141
|
+
- lib/generators/rao/service_controller/templates/initializer.rb
|
142
|
+
- lib/rao-service_controller.rb
|
143
|
+
- lib/rao/service_controller.rb
|
144
|
+
- lib/rao/service_controller/configuration.rb
|
145
|
+
- lib/rao/service_controller/engine.rb
|
146
|
+
- lib/rao/service_controller/version.rb
|
147
|
+
- lib/tasks/rao-service_controller_tasks.rake
|
148
|
+
homepage: https://github.com/rao
|
149
|
+
licenses:
|
150
|
+
- MIT
|
151
|
+
metadata: {}
|
152
|
+
post_install_message:
|
153
|
+
rdoc_options: []
|
154
|
+
require_paths:
|
155
|
+
- lib
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 1.3.1
|
166
|
+
requirements: []
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 2.6.14
|
169
|
+
signing_key:
|
170
|
+
specification_version: 4
|
171
|
+
summary: Services Controller for Ruby on Rails.
|
172
|
+
test_files: []
|