ui_bibz 4.0.0.beta4 → 4.0.0.beta7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 700d531ae188bd2c4a87404667a960cdeb73ecdb278a60e66ed216822f899bdc
4
- data.tar.gz: 6612425d1076b9aed91259c733d5560c7a8d80d6a5d155281441874d52e1bed0
3
+ metadata.gz: c214a04b928da73dfcb4feb28bef2a8fdff46ef460c5079090c5d843f176bd9a
4
+ data.tar.gz: 45c7dbabf9d32153b04b8044f3e3a71816bdf134da499027ac0e301a613dfd53
5
5
  SHA512:
6
- metadata.gz: 97cc99d6e3d772d40c6be7091e6c5a2a68e9de849952b2b016f57b42eb3801df26247103c29ddd22f5ad75b59344bf067dd328b2ec6f0de30b607bd67ef41f5b
7
- data.tar.gz: 0e3e98b1d96c9eb7ab56eec9d1f128c261b99f3787244e6deeda56d50620956b145abc2f39f916263c38587e7547db6ea9a77ece08b9aa06695d36a56ea12399
6
+ metadata.gz: 6719cfe7238e74257ee0382bba4a5d93ba4018b85fac812ea01bbd3345853af86c279d65c462a0f604215de181e56a71e0f01787f6217d0a5a84e92a8b146d50
7
+ data.tar.gz: ea5a435647afeeee53c2b1f6f58f2e5f98a441d999606d12684fbb41f6f1c3f9a511a3f0a8beba2fa247ecc1e931cd808710d5f064179f7b90875ad2a0fff9a4
data/Gemfile.lock CHANGED
@@ -1,9 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (4.0.0.beta4)
4
+ ui_bibz (4.0.0.beta7)
5
5
  bootstrap (~> 5.3.0)
6
- rails (>= 7.0.6)
6
+ dartsass-sprockets (~> 3.0.0)
7
+ rails (>= 7.1.0)
7
8
  will-paginate-i18n
8
9
  will_paginate (~> 3.3.0)
9
10
  will_paginate-bootstrap4
@@ -11,70 +12,71 @@ PATH
11
12
  GEM
12
13
  remote: https://rubygems.org/
13
14
  specs:
14
- actioncable (7.1.1)
15
- actionpack (= 7.1.1)
16
- activesupport (= 7.1.1)
15
+ actioncable (7.1.2)
16
+ actionpack (= 7.1.2)
17
+ activesupport (= 7.1.2)
17
18
  nio4r (~> 2.0)
18
19
  websocket-driver (>= 0.6.1)
19
20
  zeitwerk (~> 2.6)
20
- actionmailbox (7.1.1)
21
- actionpack (= 7.1.1)
22
- activejob (= 7.1.1)
23
- activerecord (= 7.1.1)
24
- activestorage (= 7.1.1)
25
- activesupport (= 7.1.1)
21
+ actionmailbox (7.1.2)
22
+ actionpack (= 7.1.2)
23
+ activejob (= 7.1.2)
24
+ activerecord (= 7.1.2)
25
+ activestorage (= 7.1.2)
26
+ activesupport (= 7.1.2)
26
27
  mail (>= 2.7.1)
27
28
  net-imap
28
29
  net-pop
29
30
  net-smtp
30
- actionmailer (7.1.1)
31
- actionpack (= 7.1.1)
32
- actionview (= 7.1.1)
33
- activejob (= 7.1.1)
34
- activesupport (= 7.1.1)
31
+ actionmailer (7.1.2)
32
+ actionpack (= 7.1.2)
33
+ actionview (= 7.1.2)
34
+ activejob (= 7.1.2)
35
+ activesupport (= 7.1.2)
35
36
  mail (~> 2.5, >= 2.5.4)
36
37
  net-imap
37
38
  net-pop
38
39
  net-smtp
39
40
  rails-dom-testing (~> 2.2)
40
- actionpack (7.1.1)
41
- actionview (= 7.1.1)
42
- activesupport (= 7.1.1)
41
+ actionpack (7.1.2)
42
+ actionview (= 7.1.2)
43
+ activesupport (= 7.1.2)
43
44
  nokogiri (>= 1.8.5)
45
+ racc
44
46
  rack (>= 2.2.4)
45
47
  rack-session (>= 1.0.1)
46
48
  rack-test (>= 0.6.3)
47
49
  rails-dom-testing (~> 2.2)
48
50
  rails-html-sanitizer (~> 1.6)
49
- actiontext (7.1.1)
50
- actionpack (= 7.1.1)
51
- activerecord (= 7.1.1)
52
- activestorage (= 7.1.1)
53
- activesupport (= 7.1.1)
51
+ actiontext (7.1.2)
52
+ actionpack (= 7.1.2)
53
+ activerecord (= 7.1.2)
54
+ activestorage (= 7.1.2)
55
+ activesupport (= 7.1.2)
54
56
  globalid (>= 0.6.0)
55
57
  nokogiri (>= 1.8.5)
56
- actionview (7.1.1)
57
- activesupport (= 7.1.1)
58
+ actionview (7.1.2)
59
+ activesupport (= 7.1.2)
58
60
  builder (~> 3.1)
59
61
  erubi (~> 1.11)
60
62
  rails-dom-testing (~> 2.2)
61
63
  rails-html-sanitizer (~> 1.6)
62
- activejob (7.1.1)
63
- activesupport (= 7.1.1)
64
+ activejob (7.1.2)
65
+ activesupport (= 7.1.2)
64
66
  globalid (>= 0.3.6)
65
- activemodel (7.1.1)
66
- activesupport (= 7.1.1)
67
- activerecord (7.1.1)
68
- activemodel (= 7.1.1)
69
- activesupport (= 7.1.1)
67
+ activemodel (7.1.2)
68
+ activesupport (= 7.1.2)
69
+ activerecord (7.1.2)
70
+ activemodel (= 7.1.2)
71
+ activesupport (= 7.1.2)
70
72
  timeout (>= 0.4.0)
71
- activestorage (7.1.1)
72
- actionpack (= 7.1.1)
73
- activejob (= 7.1.1)
74
- activerecord (= 7.1.1)
75
- activesupport (= 7.1.1)
73
+ activestorage (7.1.2)
74
+ actionpack (= 7.1.2)
75
+ activejob (= 7.1.2)
76
+ activerecord (= 7.1.2)
77
+ activesupport (= 7.1.2)
76
78
  marcel (~> 1.0)
77
- activesupport (7.1.1)
79
+ activesupport (7.1.2)
78
80
  base64
79
81
  bigdecimal
80
82
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -88,21 +90,28 @@ GEM
88
90
  autoprefixer-rails (10.4.15.0)
89
91
  execjs (~> 2)
90
92
  awesome_print (1.9.2)
91
- base64 (0.1.1)
93
+ base64 (0.2.0)
92
94
  bigdecimal (3.1.4)
93
- bootstrap (5.3.1)
95
+ bootstrap (5.3.2)
94
96
  autoprefixer-rails (>= 9.1.0)
95
97
  popper_js (>= 2.11.8, < 3)
96
- sassc-rails (>= 2.0.0)
97
98
  builder (3.2.4)
98
99
  byebug (11.1.3)
99
100
  childprocess (4.1.0)
100
101
  concurrent-ruby (1.2.2)
101
102
  connection_pool (2.4.1)
102
103
  crass (1.0.6)
103
- date (3.3.3)
104
+ dartsass-ruby (3.0.2)
105
+ sass-embedded (~> 1.54, < 1.67)
106
+ dartsass-sprockets (3.0.0)
107
+ dartsass-ruby (~> 3.0)
108
+ railties (>= 4.0.0)
109
+ sprockets (> 3.0)
110
+ sprockets-rails
111
+ tilt
112
+ date (3.3.4)
104
113
  docile (1.4.0)
105
- drb (2.1.1)
114
+ drb (2.2.0)
106
115
  ruby2_keywords
107
116
  erubi (1.12.0)
108
117
  execjs (2.9.1)
@@ -111,9 +120,10 @@ GEM
111
120
  factory_bot_rails (4.11.1)
112
121
  factory_bot (~> 4.11.1)
113
122
  railties (>= 3.0.0)
114
- ffi (1.16.3)
115
123
  globalid (1.2.1)
116
124
  activesupport (>= 6.1)
125
+ google-protobuf (3.25.1-x86_64-darwin)
126
+ google-protobuf (3.25.1-x86_64-linux)
117
127
  haml (6.2.3)
118
128
  temple (>= 0.8.2)
119
129
  thor
@@ -125,17 +135,18 @@ GEM
125
135
  railties (>= 5.1)
126
136
  i18n (1.14.1)
127
137
  concurrent-ruby (~> 1.0)
128
- importmap-rails (1.2.1)
138
+ importmap-rails (1.2.3)
129
139
  actionpack (>= 6.0.0)
140
+ activesupport (>= 6.0.0)
130
141
  railties (>= 6.0.0)
131
142
  iniparse (1.5.0)
132
143
  io-console (0.6.0)
133
- irb (1.8.3)
144
+ irb (1.9.0)
134
145
  rdoc
135
146
  reline (>= 0.3.8)
136
147
  json (2.6.3)
137
148
  language_server-protocol (3.17.0.3)
138
- loofah (2.21.4)
149
+ loofah (2.22.0)
139
150
  crass (~> 1.0.2)
140
151
  nokogiri (>= 1.12.0)
141
152
  mail (2.8.1)
@@ -146,17 +157,17 @@ GEM
146
157
  marcel (1.0.2)
147
158
  mini_mime (1.1.5)
148
159
  minitest (5.20.0)
149
- mutex_m (0.1.2)
150
- net-imap (0.4.1)
160
+ mutex_m (0.2.0)
161
+ net-imap (0.4.5)
151
162
  date
152
163
  net-protocol
153
164
  net-pop (0.1.2)
154
165
  net-protocol
155
- net-protocol (0.2.1)
166
+ net-protocol (0.2.2)
156
167
  timeout
157
168
  net-smtp (0.4.0)
158
169
  net-protocol
159
- nio4r (2.5.9)
170
+ nio4r (2.6.0)
160
171
  nokogiri (1.15.4-x86_64-darwin)
161
172
  racc (~> 1.4)
162
173
  nokogiri (1.15.4-x86_64-linux)
@@ -174,7 +185,7 @@ GEM
174
185
  stringio
175
186
  puma (6.4.0)
176
187
  nio4r (~> 2.0)
177
- racc (1.7.1)
188
+ racc (1.7.3)
178
189
  rack (3.0.8)
179
190
  rack-session (2.0.0)
180
191
  rack (>= 3.0.0)
@@ -183,20 +194,20 @@ GEM
183
194
  rackup (2.1.0)
184
195
  rack (>= 3)
185
196
  webrick (~> 1.8)
186
- rails (7.1.1)
187
- actioncable (= 7.1.1)
188
- actionmailbox (= 7.1.1)
189
- actionmailer (= 7.1.1)
190
- actionpack (= 7.1.1)
191
- actiontext (= 7.1.1)
192
- actionview (= 7.1.1)
193
- activejob (= 7.1.1)
194
- activemodel (= 7.1.1)
195
- activerecord (= 7.1.1)
196
- activestorage (= 7.1.1)
197
- activesupport (= 7.1.1)
197
+ rails (7.1.2)
198
+ actioncable (= 7.1.2)
199
+ actionmailbox (= 7.1.2)
200
+ actionmailer (= 7.1.2)
201
+ actionpack (= 7.1.2)
202
+ actiontext (= 7.1.2)
203
+ actionview (= 7.1.2)
204
+ activejob (= 7.1.2)
205
+ activemodel (= 7.1.2)
206
+ activerecord (= 7.1.2)
207
+ activestorage (= 7.1.2)
208
+ activesupport (= 7.1.2)
198
209
  bundler (>= 1.15.0)
199
- railties (= 7.1.1)
210
+ railties (= 7.1.2)
200
211
  rails-dom-testing (2.2.0)
201
212
  activesupport (>= 5.0.0)
202
213
  minitest
@@ -204,24 +215,23 @@ GEM
204
215
  rails-html-sanitizer (1.6.0)
205
216
  loofah (~> 2.21)
206
217
  nokogiri (~> 1.14)
207
- railties (7.1.1)
208
- actionpack (= 7.1.1)
209
- activesupport (= 7.1.1)
218
+ railties (7.1.2)
219
+ actionpack (= 7.1.2)
220
+ activesupport (= 7.1.2)
210
221
  irb
211
222
  rackup (>= 1.0.0)
212
223
  rake (>= 12.2)
213
224
  thor (~> 1.0, >= 1.2.2)
214
225
  zeitwerk (~> 2.6)
215
226
  rainbow (3.1.1)
216
- rake (13.0.6)
217
- rdoc (6.5.0)
227
+ rake (13.1.0)
228
+ rdoc (6.6.0)
218
229
  psych (>= 4.0.0)
219
230
  regexp_parser (2.8.2)
220
- reline (0.3.9)
231
+ reline (0.4.0)
221
232
  io-console (~> 0.5)
222
233
  rexml (3.2.6)
223
- rubocop (1.57.1)
224
- base64 (~> 0.1.1)
234
+ rubocop (1.57.2)
225
235
  json (~> 2.3)
226
236
  language_server-protocol (>= 3.17.0)
227
237
  parallel (~> 1.10)
@@ -232,27 +242,23 @@ GEM
232
242
  rubocop-ast (>= 1.28.1, < 2.0)
233
243
  ruby-progressbar (~> 1.7)
234
244
  unicode-display_width (>= 2.4.0, < 3.0)
235
- rubocop-ast (1.29.0)
245
+ rubocop-ast (1.30.0)
236
246
  parser (>= 3.2.1.0)
237
- rubocop-minitest (0.32.2)
247
+ rubocop-minitest (0.33.0)
238
248
  rubocop (>= 1.39, < 2.0)
239
249
  rubocop-performance (1.19.1)
240
250
  rubocop (>= 1.7.0, < 2.0)
241
251
  rubocop-ast (>= 0.4.0)
242
- rubocop-rails (2.21.2)
252
+ rubocop-rails (2.22.1)
243
253
  activesupport (>= 4.2.0)
244
254
  rack (>= 1.1)
245
255
  rubocop (>= 1.33.0, < 2.0)
246
256
  ruby-progressbar (1.13.0)
247
257
  ruby2_keywords (0.0.5)
248
- sassc (2.4.0)
249
- ffi (~> 1.9)
250
- sassc-rails (2.1.2)
251
- railties (>= 4.0.0)
252
- sassc (>= 2.0)
253
- sprockets (> 3.0)
254
- sprockets-rails
255
- tilt
258
+ sass-embedded (1.66.1-x86_64-darwin)
259
+ google-protobuf (~> 3.23)
260
+ sass-embedded (1.66.1-x86_64-linux-gnu)
261
+ google-protobuf (~> 3.23)
256
262
  simple_form (5.3.0)
257
263
  actionpack (>= 5.2)
258
264
  activemodel (>= 5.2)
@@ -269,13 +275,13 @@ GEM
269
275
  actionpack (>= 5.2)
270
276
  activesupport (>= 5.2)
271
277
  sprockets (>= 3.0.0)
272
- sqlite3 (1.6.7-x86_64-darwin)
273
- sqlite3 (1.6.7-x86_64-linux)
274
- stringio (3.0.8)
278
+ sqlite3 (1.6.8-x86_64-darwin)
279
+ sqlite3 (1.6.8-x86_64-linux)
280
+ stringio (3.0.9)
275
281
  temple (0.10.3)
276
- thor (1.2.2)
282
+ thor (1.3.0)
277
283
  tilt (2.3.0)
278
- timeout (0.4.0)
284
+ timeout (0.4.1)
279
285
  tzinfo (2.0.6)
280
286
  concurrent-ruby (~> 1.0)
281
287
  unicode-display_width (2.5.0)
@@ -151,15 +151,15 @@ $panel-columns-margin: $panel-spacer-y !default;
151
151
  //
152
152
 
153
153
  .panel-header-tabs {
154
- margin-right: -($panel-spacer-x / 2);
154
+ margin-right: -calc($panel-spacer-x / 2);
155
155
  margin-bottom: -$panel-spacer-y;
156
156
  margin-left: 0;
157
157
  border-bottom: 0;
158
158
  }
159
159
 
160
160
  .panel-header-pills {
161
- margin-right: -($panel-spacer-x / 2);
162
- margin-left: -($panel-spacer-x / 2);
161
+ margin-right: -calc($panel-spacer-x / 2);
162
+ margin-left: -calc($panel-spacer-x / 2);
163
163
  }
164
164
 
165
165
  // panel image
data/lib/ui_bibz/infos.rb CHANGED
@@ -12,6 +12,6 @@ module UiBibz
12
12
  REPO = 'git+https://github.com/thooams/ui_bibz.git'
13
13
  EMAIL = 'thomas@hummel.link'
14
14
  AUTHOR = 'Thooams [Thomas HUMMEL]'
15
- VERSION = '4.0.0.beta4'
15
+ VERSION = '4.0.0.beta7'
16
16
  AUTHORS = ['Thooams'].freeze
17
17
  end
@@ -24,6 +24,8 @@ module UiBibz
24
24
  private
25
25
 
26
26
  def read_cache
27
+ return if @options.try(:[], :cache).blank?
28
+
27
29
  ::Rails.cache.read(@options.try(:[], :cache))
28
30
  end
29
31
  end
data/test/test_helper.rb CHANGED
@@ -20,9 +20,9 @@ Rails::TestUnitReporter.executable = 'bin/test'
20
20
 
21
21
  # Load fixtures from the engine
22
22
  if ActiveSupport::TestCase.respond_to?(:fixture_path=)
23
- ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
24
- ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
25
- ActiveSupport::TestCase.file_fixture_path = "#{ActiveSupport::TestCase.fixture_path}/files"
23
+ ActiveSupport::TestCase.fixture_paths = [File.expand_path("fixtures", __dir__)]
24
+ ActionDispatch::IntegrationTest.fixture_paths = ActiveSupport::TestCase.fixture_paths || []
25
+ ActiveSupport::TestCase.file_fixture_path = "#{ActiveSupport::TestCase.fixture_paths&.first}/files"
26
26
  ActiveSupport::TestCase.fixtures :all
27
27
  end
28
28
 
data/ui_bibz.gemspec CHANGED
@@ -26,10 +26,11 @@ Gem::Specification.new do |s|
26
26
  s.require_paths = %w[lib vendor]
27
27
 
28
28
  # Rails gems
29
- s.add_dependency 'rails', '>= 7.0.6'
29
+ s.add_dependency 'rails', '>= 7.1.0'
30
30
 
31
31
  # Remove these dependencies after
32
32
  s.add_dependency 'bootstrap', '~> 5.3.0'
33
+ s.add_dependency 'dartsass-sprockets', '~> 3.0.0'
33
34
  s.add_dependency 'will_paginate', '~> 3.3.0'
34
35
  s.add_dependency 'will_paginate-bootstrap4'
35
36
  s.add_dependency 'will-paginate-i18n'
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: 4.0.0.beta4
4
+ version: 4.0.0.beta7
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: 2023-10-17 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.6
19
+ version: 7.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 7.0.6
26
+ version: 7.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bootstrap
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 5.3.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: dartsass-sprockets
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 3.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.0.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: will_paginate
43
57
  requirement: !ruby/object:Gem::Requirement