scribo 1.0.43 → 1.0.44

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '029c283ec7d69ebae9acf0a9d55b9ab7053236f88614709b702623e19818e8c0'
4
- data.tar.gz: 3710cc12afb19430cfc65e444e4d2e8cd4a957e97aa24353e7396f731813b02a
3
+ metadata.gz: 1afdd24cf12cb2306dad841425f948bbed9c5d0180478433841d83044efcb349
4
+ data.tar.gz: 8372cb65bbdbd763320b4136578eb4170273822b4694efe085096b2e1235fc19
5
5
  SHA512:
6
- metadata.gz: 0363b6af84320b2d2d4afa71afde47beb9e5eb350d3ad61811ce934ac3ee8375b865088b092a43dc6434e721d0e9c046e3da964a25169d490dd0463144e9daf8
7
- data.tar.gz: 9ad6d69c2813d30ce000fbdf2ef92f12b7a2b9b31c9c9f6068c137861302491518aabd6097274ac73e8158ddf86e5bd15ef8cd5fb74eb1681805a5ebfcd80631
6
+ metadata.gz: 9fec9b1dca212ef7eefb1e1ccb2d82e43680e43b466b632e20d1f10f3b9c3295503b504be63b06e3b98d1a1cc0edeabbfcb6a53131656195f4cb578160c4912a
7
+ data.tar.gz: '059c41eb871820ce584a9f2539370c78026472c853ffd90bf4cf64fa645eebbb8eb16d31c67e36bd63dbd43c6884384a9067a7f2358ac02fe48926384590da07'
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- scribo (1.0.42)
12
+ scribo (1.0.43)
13
13
  babel-transpiler (~> 0.7)
14
14
  closure_tree
15
15
  down (~> 5.2)
@@ -201,6 +201,7 @@ GEM
201
201
  rails (>= 5.2)
202
202
  sassc (~> 2.2)
203
203
  slim-rails (~> 3.6)
204
+ logger (1.6.1)
204
205
  loofah (2.22.0)
205
206
  crass (~> 1.0.2)
206
207
  nokogiri (>= 1.12.0)
@@ -212,9 +213,10 @@ GEM
212
213
  marcel (1.0.4)
213
214
  matrix (0.4.2)
214
215
  method_source (1.0.0)
215
- mime-types (3.5.2)
216
+ mime-types (3.6.0)
217
+ logger
216
218
  mime-types-data (~> 3.2015)
217
- mime-types-data (3.2024.0702)
219
+ mime-types-data (3.2024.1001)
218
220
  mimemagic (0.4.3)
219
221
  nokogiri (~> 1)
220
222
  rake
@@ -349,18 +351,17 @@ GEM
349
351
  state_machines-activemodel (0.9.0)
350
352
  activemodel (>= 6.0)
351
353
  state_machines (>= 0.6.0)
352
- stimulus-rails (1.3.3)
354
+ stimulus-rails (1.3.4)
353
355
  railties (>= 6.0.0)
354
356
  stringio (3.1.0)
355
- tailwindcss-rails (2.6.3)
357
+ tailwindcss-rails (2.7.7)
356
358
  railties (>= 7.0.0)
357
359
  temple (0.10.3)
358
360
  thor (1.3.1)
359
361
  tilt (2.4.0)
360
362
  timeout (0.4.1)
361
- turbo-rails (2.0.5)
363
+ turbo-rails (2.0.10)
362
364
  actionpack (>= 6.0.0)
363
- activejob (>= 6.0.0)
364
365
  railties (>= 6.0.0)
365
366
  tzinfo (2.0.6)
366
367
  concurrent-ruby (~> 1.0)
@@ -40,7 +40,7 @@
40
40
  .name[data-path="LICENSE"] {
41
41
  background-image: url("scribo/icons/markdown.svg");
42
42
  }
43
- // script
43
+ /* script */
44
44
  .name[data-path$=".js"] {
45
45
  background-image: url("scribo/icons/javascript.svg");
46
46
  }
@@ -54,7 +54,7 @@
54
54
  background-image: url("scribo/icons/ruby.svg");
55
55
  }
56
56
 
57
- // image
57
+ /* image */
58
58
  .name[data-path$=".png"] {
59
59
  background-image: url("scribo/icons/image.svg");
60
60
  }
@@ -80,7 +80,7 @@
80
80
  background-image: url("scribo/icons/image.svg");
81
81
  }
82
82
 
83
- // video
83
+ /* video */
84
84
  .name[data-path$=".webm"] {
85
85
  background-image: url("scribo/icons/video.svg");
86
86
  }
@@ -91,7 +91,7 @@
91
91
  background-image: url("scribo/icons/video.svg");
92
92
  }
93
93
 
94
- // audio
94
+ /* audio */
95
95
  .name[data-path$=".midi"] {
96
96
  background-image: url("scribo/icons/audio.svg");
97
97
  }
@@ -105,7 +105,7 @@
105
105
  background-image: url("scribo/icons/audio.svg");
106
106
  }
107
107
 
108
- // document
108
+ /* document */
109
109
  .name[data-path$=".doc"] {
110
110
  background-image: url("scribo/icons/word.svg");
111
111
  }
@@ -134,7 +134,7 @@
134
134
  background-image: url("scribo/icons/zip.svg");
135
135
  }
136
136
 
137
- // font
137
+ /* font */
138
138
  .name[data-path$=".eot"] {
139
139
  background-image: url("scribo/icons/font.svg");
140
140
  }
@@ -151,7 +151,7 @@
151
151
  background-image: url("scribo/icons/font.svg");
152
152
  }
153
153
 
154
- // other
154
+ /* other */
155
155
  .name[data-path$=".link"] {
156
156
  background-image: url("scribo/icons/http.svg");
157
157
  }
@@ -201,15 +201,17 @@
201
201
  background-size: 18px 18px;
202
202
  }
203
203
 
204
- // .tree-view .entry.selected:before {
205
- // content: '';
206
- // position: absolute;
207
- // left: 0;
208
- // right: 0;
209
- // height: 25px;
210
- // background-color: #f5f5f5;
211
- // z-index: -1;
212
- // }
204
+ /*
205
+ .tree-view .entry.selected:before {
206
+ content: '';
207
+ position: absolute;
208
+ left: 0;
209
+ right: 0;
210
+ height: 25px;
211
+ background-color: #f5f5f5;
212
+ z-index: -1;
213
+ }
214
+ */
213
215
 
214
216
  .tree-view .directory.closed > ul {
215
217
  display: none;
@@ -26,6 +26,8 @@ module Scribo
26
26
 
27
27
  zio.put_next_entry(base_path + content_path)
28
28
  zio.write content.data_with_frontmatter
29
+ rescue StandardError => e
30
+ Rails.logger.error "Error while exporting content #{content.id}: #{e.message}"
29
31
  end
30
32
  end
31
33
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Scribo
4
- VERSION = '1.0.43'
4
+ VERSION = '1.0.44'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scribo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.43
4
+ version: 1.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2024-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: closure_tree