ui_bibz 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -16
- data/lib/ui_bibz.rb +1 -1
- data/lib/ui_bibz/infos.rb +1 -1
- data/lib/ui_bibz/ui/concerns/card_itemable_concern.rb +1 -1
- data/lib/ui_bibz/ui/concerns/html_concern.rb +1 -1
- data/lib/ui_bibz/ui/concerns/navigation_concern.rb +1 -1
- data/lib/ui_bibz/ui/concerns/notification_concern.rb +1 -1
- data/lib/ui_bibz/ui/core/boxes/components/card_col.rb +1 -1
- data/lib/ui_bibz/ui/core/component.rb +1 -1
- data/lib/ui_bibz/ui/core/layouts/col.rb +1 -3
- data/lib/ui_bibz/ui/core/layouts/row.rb +1 -3
- data/lib/ui_bibz/ui/core/navigations/components/navbar_form.rb +1 -1
- data/lib/ui_bibz/ui/ux/tables/extensions/paginable.rb +0 -1
- data/test/ui/ux/tables/table_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ea698e25d31853e0cf7b8fe660f0b5ec71495e8fb76e5669aaa101a037c43ec
|
|
4
|
+
data.tar.gz: d9c1a0975f1799f749b767743fea8ab0e9cac10a22694417bb9aae162aefad15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2f33e5118202bddb6a7dd05e4db66dc92bbe9e9aa8598ee055aa0756352566b1052c2d6bae950647880d39cc2daf4c1bc3d69169c144fd54115dd40940bc035
|
|
7
|
+
data.tar.gz: 9fc847dbd4165c92043f7376276db0720f102ed98a4af29161fd4fd48225fcfc930db39a90895b975a97196678618efec022998f8c15f5c94be94003b813efce
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ui_bibz (3.0.
|
|
4
|
+
ui_bibz (3.0.1)
|
|
5
5
|
will-paginate-i18n
|
|
6
6
|
will_paginate (~> 3.3.0)
|
|
7
7
|
will_paginate-bootstrap4
|
|
@@ -83,9 +83,9 @@ GEM
|
|
|
83
83
|
factory_bot_rails (4.11.1)
|
|
84
84
|
factory_bot (~> 4.11.1)
|
|
85
85
|
railties (>= 3.0.0)
|
|
86
|
-
globalid (0.
|
|
87
|
-
activesupport (>=
|
|
88
|
-
haml (5.2.
|
|
86
|
+
globalid (0.5.2)
|
|
87
|
+
activesupport (>= 5.0)
|
|
88
|
+
haml (5.2.2)
|
|
89
89
|
temple (>= 0.8.0)
|
|
90
90
|
tilt
|
|
91
91
|
haml-rails (2.0.1)
|
|
@@ -106,7 +106,7 @@ GEM
|
|
|
106
106
|
rails-dom-testing (>= 1, < 3)
|
|
107
107
|
railties (>= 4.2.0)
|
|
108
108
|
thor (>= 0.14, < 2.0)
|
|
109
|
-
loofah (2.
|
|
109
|
+
loofah (2.12.0)
|
|
110
110
|
crass (~> 1.0.2)
|
|
111
111
|
nokogiri (>= 1.5.9)
|
|
112
112
|
mail (2.7.1)
|
|
@@ -114,11 +114,11 @@ GEM
|
|
|
114
114
|
marcel (1.0.1)
|
|
115
115
|
method_source (1.0.0)
|
|
116
116
|
mini_mime (1.1.0)
|
|
117
|
-
mini_portile2 (2.
|
|
117
|
+
mini_portile2 (2.6.1)
|
|
118
118
|
minitest (5.14.4)
|
|
119
|
-
nio4r (2.5.
|
|
120
|
-
nokogiri (1.
|
|
121
|
-
mini_portile2 (~> 2.
|
|
119
|
+
nio4r (2.5.8)
|
|
120
|
+
nokogiri (1.12.3)
|
|
121
|
+
mini_portile2 (~> 2.6.1)
|
|
122
122
|
racc (~> 1.4)
|
|
123
123
|
overcommit (0.58.0)
|
|
124
124
|
childprocess (>= 0.6.3, < 5)
|
|
@@ -161,20 +161,20 @@ GEM
|
|
|
161
161
|
rake (13.0.6)
|
|
162
162
|
regexp_parser (2.1.1)
|
|
163
163
|
rexml (3.2.5)
|
|
164
|
-
rubocop (1.
|
|
164
|
+
rubocop (1.19.0)
|
|
165
165
|
parallel (~> 1.10)
|
|
166
166
|
parser (>= 3.0.0.0)
|
|
167
167
|
rainbow (>= 2.2.2, < 4.0)
|
|
168
168
|
regexp_parser (>= 1.8, < 3.0)
|
|
169
169
|
rexml
|
|
170
|
-
rubocop-ast (>= 1.
|
|
170
|
+
rubocop-ast (>= 1.9.1, < 2.0)
|
|
171
171
|
ruby-progressbar (~> 1.7)
|
|
172
172
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
173
|
-
rubocop-ast (1.
|
|
173
|
+
rubocop-ast (1.10.0)
|
|
174
174
|
parser (>= 3.0.1.1)
|
|
175
|
-
rubocop-minitest (0.
|
|
175
|
+
rubocop-minitest (0.15.0)
|
|
176
176
|
rubocop (>= 0.90, < 2.0)
|
|
177
|
-
rubocop-performance (1.11.
|
|
177
|
+
rubocop-performance (1.11.5)
|
|
178
178
|
rubocop (>= 1.7.0, < 2.0)
|
|
179
179
|
rubocop-ast (>= 0.4.0)
|
|
180
180
|
rubocop-rails (2.11.3)
|
|
@@ -182,7 +182,7 @@ GEM
|
|
|
182
182
|
rack (>= 1.1)
|
|
183
183
|
rubocop (>= 1.7.0, < 2.0)
|
|
184
184
|
ruby-progressbar (1.11.0)
|
|
185
|
-
ruby_parser (3.
|
|
185
|
+
ruby_parser (3.17.0)
|
|
186
186
|
sexp_processor (~> 4.15, >= 4.15.1)
|
|
187
187
|
sexp_processor (4.15.3)
|
|
188
188
|
simple_form (5.1.0)
|
|
@@ -212,7 +212,7 @@ GEM
|
|
|
212
212
|
websocket-extensions (>= 0.1.0)
|
|
213
213
|
websocket-extensions (0.1.5)
|
|
214
214
|
will-paginate-i18n (0.1.15)
|
|
215
|
-
will_paginate (3.3.
|
|
215
|
+
will_paginate (3.3.1)
|
|
216
216
|
will_paginate-bootstrap4 (0.2.2)
|
|
217
217
|
will_paginate (~> 3.0, >= 3.0.0)
|
|
218
218
|
yard (0.9.26)
|
data/lib/ui_bibz.rb
CHANGED
data/lib/ui_bibz/infos.rb
CHANGED
|
@@ -47,7 +47,7 @@ module UiBibz::Ui::Core::Boxes::Components
|
|
|
47
47
|
|
|
48
48
|
# See UiBibz::Ui::Core::Component.initialize
|
|
49
49
|
def initialize(content = nil, options = nil, html_options = nil, &block)
|
|
50
|
-
content =
|
|
50
|
+
content = { num: content } if content.is_a?(Integer)
|
|
51
51
|
super
|
|
52
52
|
@items = [@content]
|
|
53
53
|
end
|
|
@@ -148,7 +148,7 @@ module UiBibz::Ui::Core
|
|
|
148
148
|
# Add html data arguments
|
|
149
149
|
def add_html_data(name, value: true)
|
|
150
150
|
html_options[:data] = {} if html_options[:data].nil?
|
|
151
|
-
value = value.is_a?(String)
|
|
151
|
+
value = value.strip if value.is_a?(String)
|
|
152
152
|
html_options[:data].update({ name => value })
|
|
153
153
|
end
|
|
154
154
|
|
|
@@ -52,9 +52,7 @@ module UiBibz::Ui::Core::Layouts
|
|
|
52
52
|
class Col < UiBibz::Ui::Core::Component
|
|
53
53
|
# See UiBibz::Ui::Core::Component.initialize
|
|
54
54
|
def initialize(content = nil, options = nil, html_options = nil, &block)
|
|
55
|
-
|
|
56
|
-
content = content.is_a?(Integer) ? { num: content } : content
|
|
57
|
-
end
|
|
55
|
+
content = { num: content } if !block.nil? && content.is_a?(Integer)
|
|
58
56
|
super
|
|
59
57
|
end
|
|
60
58
|
|
|
@@ -50,9 +50,7 @@ module UiBibz::Ui::Core::Layouts
|
|
|
50
50
|
|
|
51
51
|
# See UiBibz::Ui::Core::Component.initialize
|
|
52
52
|
def initialize(content = nil, options = nil, html_options = nil, &block)
|
|
53
|
-
|
|
54
|
-
content = content.is_a?(Integer) ? { num: content } : content
|
|
55
|
-
end
|
|
53
|
+
content = { num: content } if !block.nil? && content.is_a?(Integer)
|
|
56
54
|
super
|
|
57
55
|
@items = [@content]
|
|
58
56
|
end
|
|
@@ -44,7 +44,7 @@ module UiBibz::Ui::Core::Navigations
|
|
|
44
44
|
include Haml::Helpers
|
|
45
45
|
include SimpleForm::ActionViewExtensions::FormHelper if defined?(SimpleForm)
|
|
46
46
|
include UiBibz::Helpers::UtilsHelper
|
|
47
|
-
include ActionView::Helpers
|
|
47
|
+
include ActionView::Helpers # ::FormHelper
|
|
48
48
|
|
|
49
49
|
attr_accessor :html_options
|
|
50
50
|
|
|
@@ -15,7 +15,6 @@ module UiBibz::Ui::Ux::Tables
|
|
|
15
15
|
content_tag :div, @html_options do
|
|
16
16
|
concat UiBibz::Ui::Ux::Tables::TablePagination.new(store: @store, wrap_form: @options[:wrap_form]).render
|
|
17
17
|
concat UiBibz::Ui::Ux::Tables::TablePaginationPerPage.new(store: @store, wrap_form: @options[:wrap_form]).render
|
|
18
|
-
concat tag(:br, class: 'ui-bibz-clear')
|
|
19
18
|
end
|
|
20
19
|
end
|
|
21
20
|
|
|
@@ -73,7 +73,7 @@ class TableTest < ActionView::TestCase
|
|
|
73
73
|
<option value=\"50\">50</option>
|
|
74
74
|
<option value=\"100\">100</option>
|
|
75
75
|
<option value=\"200\">200</option>
|
|
76
|
-
<option value=\"500\">500</option></select></div></form
|
|
76
|
+
<option value=\"500\">500</option></select></div></form></div>"
|
|
77
77
|
|
|
78
78
|
assert_equal expected, actual
|
|
79
79
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ui_bibz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thooams [Thomas HUMMEL]
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|