wobapphelpers 3.1.0 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +1 -1
- data/README.md +12 -5
- data/app/assets/config/manifest.js +3 -0
- data/config/locales/de.yml +11 -6
- data/config/locales/en.yml +9 -4
- data/lib/wobapphelpers/breadcrumbs/action_controller.rb +0 -5
- data/lib/wobapphelpers/breadcrumbs/breadcrumbs_helper.rb +5 -10
- data/lib/wobapphelpers/helpers.rb +2 -0
- data/lib/wobapphelpers/helpers/action_view_helper.rb +40 -27
- data/lib/wobapphelpers/helpers/icon_helper.rb +2 -2
- data/lib/wobapphelpers/helpers/polymorphic_helper.rb +51 -0
- data/lib/wobapphelpers/version.rb +2 -2
- data/test/breadcrumbs/breadcrumb_helper_test.rb +3 -3
- data/test/dummy/config/application.rb +2 -0
- data/test/helpers/action_view_helper_test.rb +3 -4
- data/test/helpers/can_view_helper_test.rb +0 -1
- data/test/helpers/form_legend_test.rb +2 -2
- data/test/helpers/icon_helper_test.rb +4 -5
- data/test/helpers/show_edit_delete_link_helper_test.rb +0 -1
- data/test/integration/helper_delivery_test.rb +1 -1
- data/test/test_helper.rb +1 -2
- metadata +92 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: df7c5424fa0826e39dd85f4f4e0e9ba738f4712db237a2b5b8373d34b5f5285e
|
4
|
+
data.tar.gz: d4841615915834333aa3ed44f0f550482cd50ac6c6c194bab9346fa7a80712df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670963ebb79163383d2f6c39ab47d6ef811bb35663440d3677e1b854729e27514ec6bdc0ab9e27a7e828ca26a4614542c86c59fd0633265cc31d06e531cf3620
|
7
|
+
data.tar.gz: c7b647442b09ae16373becf5d72b55196feec5e5e75a28f4938154836b3e614cc59f597856f958e3d6dd55896fd696caf3c895d3cc6db21e35672ed368fb9d83
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,16 +1,22 @@
|
|
1
1
|
wobapphelpers
|
2
2
|
=============
|
3
3
|
|
4
|
-
|
4
|
+
This is the ''master'' branch, for use with rails >= 5.2.
|
5
|
+
|
6
|
+
BREAKING CHANGE between 3-0 -> master: please reinstall wobapphelpers locales with:
|
5
7
|
|
6
|
-
|
8
|
+
* rails g wobapphelpers:install
|
9
|
+
|
10
|
+
|
11
|
+
Rails helpers and more shared between common wob rails applications. Depends on twitter bootstrap.
|
7
12
|
|
8
13
|
Requirements
|
9
14
|
------------
|
10
15
|
|
11
16
|
| branch | rails | ruby | bootstrap | icons |
|
12
17
|
|------------|-------|--------|-----------|-------------|
|
13
|
-
| master | 5.
|
18
|
+
| master | >=5.2 | >= 2.3 | v4 | fontawesome |
|
19
|
+
| 3-0-stable | 5.1 | >= 2.3 | v4 | fontawesome |
|
14
20
|
| 2-0-stable | 5.0 | >= 2.2 | v3 | glyphicons |
|
15
21
|
| 1-0-stable | 4.2 | >= 2.0 | v3 | glyphicons |
|
16
22
|
|
@@ -19,9 +25,10 @@ Requirements
|
|
19
25
|
Installation
|
20
26
|
------------
|
21
27
|
|
28
|
+
gem 'wobapphelpers', github: 'swobspace/wobapphelpers', branch: "master"
|
29
|
+
gem 'wobapphelpers', github: 'swobspace/wobapphelpers', branch: "3-0-stable"
|
22
30
|
gem 'wobapphelpers', github: 'swobspace/wobapphelpers', branch: "2-0-stable"
|
23
31
|
gem 'wobapphelpers', github: 'swobspace/wobapphelpers', branch: "1-0-stable"
|
24
|
-
gem 'wobapphelpers', github: 'swobspace/wobapphelpers', branch: "master"
|
25
32
|
|
26
33
|
Generators
|
27
34
|
----------
|
@@ -149,7 +156,7 @@ other variable names you have to use :add_breadcrumbs_for, i.e.
|
|
149
156
|
Licence
|
150
157
|
-------
|
151
158
|
|
152
|
-
Wobapphelpers Copyright (C) 2014-
|
159
|
+
Wobapphelpers Copyright (C) 2014-2020 Wolfgang Barth
|
153
160
|
|
154
161
|
MIT License, see [LICENSE](LICENSE)
|
155
162
|
|
data/config/locales/de.yml
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
de:
|
2
2
|
wobapphelpers:
|
3
3
|
helpers:
|
4
|
-
back:
|
5
|
-
cancel:
|
6
|
-
|
7
|
-
new: "%{
|
8
|
-
|
9
|
-
|
4
|
+
back: Zurück
|
5
|
+
cancel: Abbrechen
|
6
|
+
actions:
|
7
|
+
new: "%{model} erstellen"
|
8
|
+
create: "%{model} erstellen"
|
9
|
+
show: "%{model} anzeigen"
|
10
|
+
edit: "%{model} bearbeiten"
|
11
|
+
copy: "%{model} kopieren"
|
12
|
+
update: "%{model} bearbeiten"
|
13
|
+
destroy: "%{model} löschen"
|
14
|
+
destroy_confirm: "Der Datensatz kann nicht wieder hergestellt werden!"
|
data/config/locales/en.yml
CHANGED
@@ -3,7 +3,12 @@ en:
|
|
3
3
|
helpers:
|
4
4
|
back: Back
|
5
5
|
cancel: Cancel
|
6
|
-
|
7
|
-
new: "create %{
|
8
|
-
|
9
|
-
|
6
|
+
actions:
|
7
|
+
new: "create %{model}"
|
8
|
+
create: "create %{model}"
|
9
|
+
show: "show %{model}"
|
10
|
+
edit: "update %{model}"
|
11
|
+
update: "update %{model}"
|
12
|
+
copy: "copy %{model}"
|
13
|
+
destroy: "destroy %{model}"
|
14
|
+
destroy_confirm: "record would be finally destroyed, no recovery possible!"
|
@@ -3,11 +3,6 @@ module Wobapphelpers
|
|
3
3
|
module ActionController
|
4
4
|
def add_breadcrumb(name, url)
|
5
5
|
breadcrumbs ||= (session[:breadcrumbs] || [] )
|
6
|
-
if params[:bci]
|
7
|
-
# this a back link of an existing breadcrumb entry,
|
8
|
-
# shorten the list
|
9
|
-
breadcrumbs = breadcrumbs.first(params[:bci].to_i)
|
10
|
-
end
|
11
6
|
if breadcrumbs.size == 0 || url != breadcrumbs.last[1]
|
12
7
|
breadcrumbs << [name, url]
|
13
8
|
end
|
@@ -5,21 +5,16 @@ module Wobapphelpers
|
|
5
5
|
return if Wobapphelpers.breadcrumb_controller_blacklist.include?(controller.controller_path)
|
6
6
|
return if session[:breadcrumbs].nil? || session[:breadcrumbs].size == 0
|
7
7
|
track = ""
|
8
|
-
session[:breadcrumbs].
|
9
|
-
track += "> #{
|
8
|
+
session[:breadcrumbs].each do |b|
|
9
|
+
track += "> #{set_breadcrumb(b[0], b[1])} "
|
10
10
|
end
|
11
11
|
%Q[<div id="breadcrumbs" class="visible-desktop">#{track}</div>].html_safe
|
12
12
|
end
|
13
13
|
|
14
|
-
def
|
14
|
+
def set_breadcrumb(name, url, options = {})
|
15
|
+
options.symbolize_keys!
|
15
16
|
uri = URI.parse(url)
|
16
|
-
|
17
|
-
if query =~ /bci=(\d+)/
|
18
|
-
uri.query.gsub!(/bci=(\d+)/, "bci=#{idx}")
|
19
|
-
else
|
20
|
-
uri.query = query + "&bci=#{idx}"
|
21
|
-
end
|
22
|
-
link_to name, uri.to_s.gsub('?&','?'), :class => html_class
|
17
|
+
link_to name, uri.to_s, options
|
23
18
|
end
|
24
19
|
end
|
25
20
|
end
|
@@ -2,11 +2,13 @@ module Wobapphelpers
|
|
2
2
|
module Helpers
|
3
3
|
autoload :IconHelper, 'wobapphelpers/helpers/icon_helper.rb'
|
4
4
|
autoload :ActionViewHelper, 'wobapphelpers/helpers/action_view_helper.rb'
|
5
|
+
autoload :PolymorphicHelper, 'wobapphelpers/helpers/polymorphic_helper.rb'
|
5
6
|
|
6
7
|
# one module to rule all
|
7
8
|
module All
|
8
9
|
include IconHelper
|
9
10
|
include ActionViewHelper
|
11
|
+
# PolymorphicHelper must be explicit included
|
10
12
|
end
|
11
13
|
end
|
12
14
|
end
|
@@ -19,11 +19,9 @@ module Wobapphelpers
|
|
19
19
|
mypoly, obj = get_parts(poly)
|
20
20
|
if _can?(:create, obj)
|
21
21
|
options.symbolize_keys!
|
22
|
-
link_to obj
|
23
|
-
new_polymorphic_path(mypoly),
|
24
|
-
|
25
|
-
title: options.fetch(:title, title(obj) + " hinzufügen"),
|
26
|
-
class: options.fetch(:class, 'btn btn-secondary')
|
22
|
+
link_to title(obj, :new),
|
23
|
+
new_polymorphic_path(mypoly),
|
24
|
+
default_options(obj, :new).merge(options)
|
27
25
|
end
|
28
26
|
end
|
29
27
|
|
@@ -31,10 +29,8 @@ module Wobapphelpers
|
|
31
29
|
mypoly, obj = get_parts(poly)
|
32
30
|
if _can?(:read, obj)
|
33
31
|
options.symbolize_keys!
|
34
|
-
link_to icon_show, polymorphic_path(mypoly),
|
35
|
-
|
36
|
-
title: options.fetch(:title, title(obj) + " anzeigen"),
|
37
|
-
class: options.fetch(:class, 'btn btn-secondary')
|
32
|
+
link_to icon_show, polymorphic_path(mypoly),
|
33
|
+
default_options(obj, :show).merge(options)
|
38
34
|
end
|
39
35
|
end
|
40
36
|
|
@@ -42,10 +38,8 @@ module Wobapphelpers
|
|
42
38
|
mypoly, obj = get_parts(poly)
|
43
39
|
if _can?(:edit, obj)
|
44
40
|
options.symbolize_keys!
|
45
|
-
link_to icon_edit, edit_polymorphic_path(mypoly),
|
46
|
-
|
47
|
-
title: options.fetch(:title, title(obj) + " bearbeiten"),
|
48
|
-
class: options.fetch(:class, 'btn btn-secondary')
|
41
|
+
link_to icon_edit, edit_polymorphic_path(mypoly),
|
42
|
+
default_options(obj, :edit).merge(options)
|
49
43
|
end
|
50
44
|
end
|
51
45
|
|
@@ -53,15 +47,11 @@ module Wobapphelpers
|
|
53
47
|
mypoly, obj = get_parts(poly)
|
54
48
|
if _can?(:destroy, obj)
|
55
49
|
options.symbolize_keys!
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}.merge(verify),
|
62
|
-
method: :delete,
|
63
|
-
title: options.fetch(:title, title(obj) + " löschen"),
|
64
|
-
class: options.fetch(:class, 'btn btn-danger')
|
50
|
+
options = delete_options(obj).merge(options)
|
51
|
+
if options[:data][:confirm].blank?
|
52
|
+
options[:data][:confirm] = confirm_message(obj)
|
53
|
+
end
|
54
|
+
link_to icon_delete, mypoly, options
|
65
55
|
end
|
66
56
|
end
|
67
57
|
|
@@ -76,7 +66,7 @@ module Wobapphelpers
|
|
76
66
|
idx = session[:breadcrumbs].size - 2
|
77
67
|
title = bc[0]
|
78
68
|
goto = bc[1]
|
79
|
-
|
69
|
+
set_breadcrumb(label, goto, class: 'btn btn-secondary')
|
80
70
|
else
|
81
71
|
link_to label, url_for(:back), :class => 'btn btn-secondary'
|
82
72
|
end
|
@@ -134,13 +124,14 @@ module Wobapphelpers
|
|
134
124
|
end
|
135
125
|
end
|
136
126
|
|
137
|
-
def title(obj)
|
127
|
+
def title(obj, action)
|
138
128
|
if obj.kind_of? Class
|
139
129
|
model = obj
|
140
130
|
else
|
141
131
|
model = obj.class
|
142
132
|
end
|
143
|
-
t(
|
133
|
+
t(action.to_s, scope: "wobapphelpers.actions".to_sym,
|
134
|
+
model: t('activerecord.models.' + model.model_name.i18n_key.to_s))
|
144
135
|
end
|
145
136
|
|
146
137
|
def controlleraction
|
@@ -148,8 +139,8 @@ module Wobapphelpers
|
|
148
139
|
namespace = controller.controller_path
|
149
140
|
resource_name = t("activerecord.models.#{namespace.singularize}")
|
150
141
|
search_for = [namespace, action].join(".").to_sym
|
151
|
-
t(search_for, scope: "wobapphelpers.
|
152
|
-
default: action.to_sym,
|
142
|
+
t(search_for, scope: "wobapphelpers.actions".to_sym,
|
143
|
+
default: action.to_sym, model: resource_name)
|
153
144
|
end
|
154
145
|
|
155
146
|
def _can?(action, obj)
|
@@ -165,6 +156,28 @@ module Wobapphelpers
|
|
165
156
|
model
|
166
157
|
end
|
167
158
|
end
|
159
|
+
|
160
|
+
def default_options(obj, action)
|
161
|
+
{
|
162
|
+
title: title(obj, action),
|
163
|
+
remote: false,
|
164
|
+
class: 'btn btn-secondary',
|
165
|
+
}
|
166
|
+
end
|
167
|
+
|
168
|
+
def delete_options(obj)
|
169
|
+
{
|
170
|
+
title: title(obj, :destroy),
|
171
|
+
remote: false,
|
172
|
+
class: 'btn btn-danger',
|
173
|
+
data: {},
|
174
|
+
method: :delete,
|
175
|
+
}
|
176
|
+
end
|
177
|
+
|
178
|
+
def confirm_message(obj)
|
179
|
+
"#{title(obj, :destroy)}?\n" + t('wobapphelpers.actions.destroy_confirm')
|
180
|
+
end
|
168
181
|
end
|
169
182
|
end
|
170
183
|
end
|
@@ -11,7 +11,7 @@ module Wobapphelpers
|
|
11
11
|
delete: 'trash',
|
12
12
|
document: 'file',
|
13
13
|
download: 'download',
|
14
|
-
edit: 'pencil',
|
14
|
+
edit: 'pencil-alt',
|
15
15
|
help: 'question',
|
16
16
|
info: 'info',
|
17
17
|
left: 'arrow-left',
|
@@ -26,7 +26,7 @@ module Wobapphelpers
|
|
26
26
|
}
|
27
27
|
|
28
28
|
def icon(what)
|
29
|
-
raw(%Q[<i class="
|
29
|
+
raw(%Q[<i class="fas fa-#{what} fa-fw" aria-hidden="true"></i>])
|
30
30
|
end
|
31
31
|
|
32
32
|
PREDEFINED_ICONS.each do |key,value|
|
@@ -0,0 +1,51 @@
|
|
1
|
+
module Wobapphelpers
|
2
|
+
module Helpers
|
3
|
+
module PolymorphicHelper
|
4
|
+
def polymorphic_selector(form, poly, types, group_method = :all, options = {})
|
5
|
+
msg = ""
|
6
|
+
# -- object available?
|
7
|
+
if form.object.send(poly).present?
|
8
|
+
msg += poly_type_display(form, poly)
|
9
|
+
msg += poly_id_select(form, poly, form.object.send("#{poly}_type"), :all, options)
|
10
|
+
elsif types.size == 0
|
11
|
+
# empty
|
12
|
+
elsif types.size == 1
|
13
|
+
msg += poly_type_display(form, poly, Array(types).first)
|
14
|
+
msg += poly_id_select(form, poly, Array(types).first, :all, options)
|
15
|
+
else
|
16
|
+
msg += poly_type_select(form, poly, types)
|
17
|
+
msg += poly_id_select(form, poly, types, group_method, options)
|
18
|
+
end
|
19
|
+
msg.html_safe
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def poly_type_select(f, poly, types)
|
25
|
+
f.input "#{poly}_type".to_sym, collection: types,
|
26
|
+
label_method: lambda {|x| t('activerecord.models.' + x.underscore)}
|
27
|
+
end
|
28
|
+
|
29
|
+
def poly_type_display(f, poly, type = nil)
|
30
|
+
if type.present?
|
31
|
+
f.input("#{poly}_type".to_sym, collection: Array(type),
|
32
|
+
label_method: lambda {|x| t('activerecord.models.' + x.underscore)},
|
33
|
+
include_blank: false, disabled: true) +
|
34
|
+
f.hidden_field("#{poly}_type".to_sym, value: type, id: "#{poly}_type_hidden")
|
35
|
+
else
|
36
|
+
f.input("#{poly}_type".to_sym, collection: Array(f.object.send("#{poly}_type")),
|
37
|
+
label_method: lambda {|x| t('activerecord.models.' + x.underscore)},
|
38
|
+
disabled: true) +
|
39
|
+
f.hidden_field("#{poly}_type".to_sym, value: f.object.send("#{poly}_type"), id: "#{poly}_type_hidden")
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def poly_id_select(f, poly, types, group_method, options = {})
|
44
|
+
collections = Array(types).map {|t| t.constantize}
|
45
|
+
f.input "#{poly}_id".to_sym, collection: collections,
|
46
|
+
as: :grouped_select, group_method: group_method,
|
47
|
+
input_html: options
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -10,8 +10,8 @@ class BreadcrumbHelperHelperTest < ActionDispatch::IntegrationTest
|
|
10
10
|
get home_path
|
11
11
|
get posts_path
|
12
12
|
assert_select "div#breadcrumbs" do
|
13
|
-
assert_select "[href='/home
|
14
|
-
assert_select "[href='/posts
|
13
|
+
assert_select "[href='/home']", title: "Home"
|
14
|
+
assert_select "[href='/posts']", title: "Postings"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -22,7 +22,7 @@ class BreadcrumbHelperHelperTest < ActionDispatch::IntegrationTest
|
|
22
22
|
get home_path, headers: {'HTTP_REFERER' => 'http://example.org'}
|
23
23
|
get posts_path
|
24
24
|
assert_select "[class=?]", "btn btn-secondary" do
|
25
|
-
assert_select "[href='/home
|
25
|
+
assert_select "[href='/home']", text: /.*Zurück/
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'test_helper'
|
2
|
-
require 'sass'
|
3
2
|
require 'jquery-rails'
|
4
3
|
require 'shoulda-context'
|
5
4
|
|
@@ -28,12 +27,12 @@ class ActionViewHelperTest < ActionDispatch::IntegrationTest
|
|
28
27
|
"No back button found"
|
29
28
|
end
|
30
29
|
|
31
|
-
should "cancel_button renders i with class
|
30
|
+
should "cancel_button renders i with class fas" do
|
32
31
|
visit new_post_path
|
33
|
-
assert page.has_text?('
|
32
|
+
assert page.has_text?('Posting erstellen')
|
34
33
|
within('form') do
|
35
34
|
assert page.has_link?('Abbrechen'), "button submit not found"
|
36
|
-
assert find('a.btn.btn-secondary i.
|
35
|
+
assert find('a.btn.btn-secondary i.fas.fa-trash'),
|
37
36
|
"button cancel not found"
|
38
37
|
end
|
39
38
|
end
|
@@ -12,7 +12,7 @@ class FormLegendTest < ActionController::TestCase
|
|
12
12
|
get :new
|
13
13
|
assert_select "div.row" do
|
14
14
|
assert_select "div" do
|
15
|
-
assert_select "legend", text: "
|
15
|
+
assert_select "legend", text: "Posting erstellen"
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -21,7 +21,7 @@ class FormLegendTest < ActionController::TestCase
|
|
21
21
|
get :edit, params: { id: @p1 }
|
22
22
|
assert_select "div.row" do
|
23
23
|
assert_select "div" do
|
24
|
-
assert_select "legend", text: "
|
24
|
+
assert_select "legend", text: "Posting bearbeiten"
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -1,21 +1,20 @@
|
|
1
1
|
require 'test_helper'
|
2
|
-
require 'sass'
|
3
2
|
|
4
3
|
class IconHelperTest < ActionView::TestCase
|
5
4
|
include Wobapphelpers::Helpers::IconHelper
|
6
5
|
|
7
|
-
test "icon() renders i with class
|
6
|
+
test "icon() renders i with class fas" do
|
8
7
|
render plain: icon('search')
|
9
8
|
|
10
|
-
assert_select 'i.
|
11
|
-
assert_select 'i.
|
9
|
+
assert_select 'i.fas.fa-search.fa-fw', 1
|
10
|
+
assert_select 'i.fas.fa-quark', 0
|
12
11
|
end
|
13
12
|
|
14
13
|
Wobapphelpers::Helpers::IconHelper::PREDEFINED_ICONS.each do |key,value|
|
15
14
|
test "icon_#{key} renders i with class fa-#{value}" do
|
16
15
|
render plain: send("icon_#{key}")
|
17
16
|
|
18
|
-
assert_select "i.
|
17
|
+
assert_select "i.fas.fa-#{value}", 1
|
19
18
|
end
|
20
19
|
end
|
21
20
|
end
|
@@ -11,7 +11,7 @@ class HelperDeliveryTest < ActionDispatch::IntegrationTest
|
|
11
11
|
get home_path
|
12
12
|
assert_response :success
|
13
13
|
Wobapphelpers::Helpers::IconHelper::PREDEFINED_ICONS.each do |key,value|
|
14
|
-
assert_match "<i class=\"
|
14
|
+
assert_match "<i class=\"fas fa-#{value} fa-fw\" aria-hidden=\"true\"></i>", response.body
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
data/test/test_helper.rb
CHANGED
@@ -4,10 +4,9 @@ ENV["RAILS_ENV"] = "test"
|
|
4
4
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
5
|
require "rails/test_help"
|
6
6
|
require 'capybara/rails'
|
7
|
-
require 'mocha/
|
7
|
+
require 'mocha/minitest'
|
8
8
|
require 'rails-controller-testing'
|
9
9
|
Rails::Controller::Testing.install
|
10
|
-
|
11
10
|
Rails.backtrace_cleaner.remove_silencers!
|
12
11
|
|
13
12
|
# load locales from config/locales
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wobapphelpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wolfgang Barth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: sassc-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -26,32 +26,18 @@ dependencies:
|
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '5.0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '5.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: sassc-rails
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
33
|
+
version: '5.0'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - ">="
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
40
|
+
version: '5.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: coffee-rails
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,6 +100,20 @@ dependencies:
|
|
114
100
|
- - "<="
|
115
101
|
- !ruby/object:Gem::Version
|
116
102
|
version: '6'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: responders
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: sqlite3
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,6 +212,76 @@ dependencies:
|
|
212
212
|
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: guard
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - ">="
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: guard-minitest
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - ">="
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
name: guard-rails
|
245
|
+
requirement: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: '0'
|
250
|
+
type: :development
|
251
|
+
prerelease: false
|
252
|
+
version_requirements: !ruby/object:Gem::Requirement
|
253
|
+
requirements:
|
254
|
+
- - ">="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: '0'
|
257
|
+
- !ruby/object:Gem::Dependency
|
258
|
+
name: guard-bundler
|
259
|
+
requirement: !ruby/object:Gem::Requirement
|
260
|
+
requirements:
|
261
|
+
- - ">="
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: '0'
|
264
|
+
type: :development
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - ">="
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: '0'
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: puma
|
273
|
+
requirement: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
requirements:
|
282
|
+
- - ">="
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '0'
|
215
285
|
description: Rails helpers and more shared between wob's rails applications
|
216
286
|
email:
|
217
287
|
- wob@swobspace.de
|
@@ -222,6 +292,7 @@ files:
|
|
222
292
|
- LICENSE
|
223
293
|
- README.md
|
224
294
|
- Rakefile
|
295
|
+
- app/assets/config/manifest.js
|
225
296
|
- app/assets/stylesheets/wobapphelpers/breadcrumbs.scss
|
226
297
|
- config/locales/de.yml
|
227
298
|
- config/locales/en.yml
|
@@ -243,6 +314,7 @@ files:
|
|
243
314
|
- lib/wobapphelpers/helpers.rb
|
244
315
|
- lib/wobapphelpers/helpers/action_view_helper.rb
|
245
316
|
- lib/wobapphelpers/helpers/icon_helper.rb
|
317
|
+
- lib/wobapphelpers/helpers/polymorphic_helper.rb
|
246
318
|
- lib/wobapphelpers/rails.rb
|
247
319
|
- lib/wobapphelpers/responders.rb
|
248
320
|
- lib/wobapphelpers/responders/locales/de.yml
|
@@ -315,8 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
387
|
- !ruby/object:Gem::Version
|
316
388
|
version: '0'
|
317
389
|
requirements: []
|
318
|
-
|
319
|
-
rubygems_version: 2.6.14.1
|
390
|
+
rubygems_version: 3.0.3
|
320
391
|
signing_key:
|
321
392
|
specification_version: 4
|
322
393
|
summary: Rails helpers and more shared between wob's rails applications
|