scribo 1.0.43 → 1.0.45

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: cc280c5c5f774acaeb3e40e3c71b2b58ff6cf682b245e9e01615d98c539c9367
4
+ data.tar.gz: f72856e276d7ff367ad06eab1f0214c61c8fb20e5cfe935a3a3552acffeec702
5
5
  SHA512:
6
- metadata.gz: 0363b6af84320b2d2d4afa71afde47beb9e5eb350d3ad61811ce934ac3ee8375b865088b092a43dc6434e721d0e9c046e3da964a25169d490dd0463144e9daf8
7
- data.tar.gz: 9ad6d69c2813d30ce000fbdf2ef92f12b7a2b9b31c9c9f6068c137861302491518aabd6097274ac73e8158ddf86e5bd15ef8cd5fb74eb1681805a5ebfcd80631
6
+ metadata.gz: 6a6d9719a7c1f853feaf533bd5638a95de53bf819d6b1eb6e333e586da70cbf0bee7044fed46e7c0a73907a2957c191117b3a3692bbf191160de0dfd51e0ada1
7
+ data.tar.gz: 309f873f91b53242609b45e4fc89d74da6dcffe50a0fa2f9f9303b4db8596b81cb06fb8a30670dfbe4b5bcce808dc3d30ea35a6f18c3005120ce0399e39ae82a
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.45'
5
5
  end
data/scribo.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.version = Scribo::VERSION
12
12
  s.authors = ['Tom de Grunt']
13
13
  s.email = ['tom@degrunt.nl']
14
- s.homepage = 'https://gitlab.com/tdegrunt/scribo'
14
+ s.homepage = 'https://gitlab.com/entdec/scribo'
15
15
  s.summary = 'An easy to use, embeddable CMS for Ruby on Rails'
16
16
  s.description = 'Scribo is designed to work with your models and renders your content inside customer designed layouts.'
17
17
  s.license = 'MIT'
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.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2025-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: closure_tree
@@ -1142,11 +1142,11 @@ files:
1142
1142
  - vendor/javascript/painterro.js
1143
1143
  - vendor/javascript/sortablejs.js
1144
1144
  - yarn.lock
1145
- homepage: https://gitlab.com/tdegrunt/scribo
1145
+ homepage: https://gitlab.com/entdec/scribo
1146
1146
  licenses:
1147
1147
  - MIT
1148
1148
  metadata: {}
1149
- post_install_message:
1149
+ post_install_message:
1150
1150
  rdoc_options: []
1151
1151
  require_paths:
1152
1152
  - lib
@@ -1162,7 +1162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1162
1162
  version: '0'
1163
1163
  requirements: []
1164
1164
  rubygems_version: 3.4.10
1165
- signing_key:
1165
+ signing_key:
1166
1166
  specification_version: 4
1167
1167
  summary: An easy to use, embeddable CMS for Ruby on Rails
1168
1168
  test_files: []