showoff 0.20.2 → 0.20.4

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: f61b9fc523ec9e56d30f4b62952fb0de93ffbba83f588fd9e753165cfb40fb3f
4
- data.tar.gz: 9518221ae954431b7ac93a70e9f4fd6cd3e9fa6f0488993bd02b6602eb79bc67
3
+ metadata.gz: df07024877714b41c91a0bd6cffa1d893c6899eb71b85c2afc006e176cb6d845
4
+ data.tar.gz: a527332a0f2136801503be3d6aabfb0ec7f8e6b4bb55c4a62101cafeed9696a4
5
5
  SHA512:
6
- metadata.gz: f5689f7fa30e67f3ad90699ef5611efe9809cbe20ac30a48fcfd65170632f2b4dc44b6292f4848f41ee04034a096c705860b11ec2f2f9ac49fd0ec1e22c0ebe2
7
- data.tar.gz: 21b8af225ff1582354b3c82f4345b76fa354d249a3eedb1bf35c771073fbb8f6a43ccb442cf2dc8f60d8a7cce8ab42dac835b22e6cade3023dcb196b18c7a0e1
6
+ metadata.gz: a87deb6402bc0f3b6fc7fd84ef578efab7dfd747a31721835514e69d4582696b0f34a5399369a0f9244ee57caf2e178b1f5b2eefee55750cbdb3fc594b37666c
7
+ data.tar.gz: 80d8b9533462f105b263db7dd1472cc83a963837c84e434b39dff80e5786b6845e78d3604fc28c7059caf279f2b17ab4862c0dd18f9bec21a1b781f59a6f7497
@@ -67,7 +67,7 @@ class Showoff::Compiler
67
67
  end
68
68
  rescue LoadError
69
69
  puts "ERROR: The #{renderer} markdown rendering engine does not appear to be installed correctly."
70
- exit! 1
70
+ exit 1
71
71
  end
72
72
 
73
73
  profile
@@ -1,3 +1,3 @@
1
1
  # No namespace here since Showoff is a class and I'd have to inherit from
2
2
  # Sinatra::Application (which we don't want to load here)
3
- SHOWOFF_VERSION = '0.20.2'
3
+ SHOWOFF_VERSION = '0.20.4'
data/lib/showoff.rb CHANGED
@@ -1810,7 +1810,7 @@ class Showoff < Sinatra::Application
1810
1810
  end
1811
1811
  end
1812
1812
 
1813
- get %r{(?:image|file)/(.*)} do
1813
+ get %r{/(?:image|file)/(.*)} do
1814
1814
  path = params[:captures].first
1815
1815
  full_path = File.join(settings.pres_dir, path)
1816
1816
  if File.exist?(full_path)
data/lib/showoff_utils.rb CHANGED
@@ -173,7 +173,7 @@ class ShowoffUtils
173
173
  puts "Found #{errors.size} errors."
174
174
  unless errors.empty?
175
175
  errors.each { |err| puts " * #{err}" }
176
- exit!
176
+ exit 1
177
177
  end
178
178
  end
179
179
 
@@ -715,7 +715,7 @@ module MarkdownConfig
715
715
  end
716
716
  rescue LoadError
717
717
  puts "ERROR: The #{renderer} markdown rendering engine does not appear to be installed correctly."
718
- exit! 1
718
+ exit 1
719
719
  end
720
720
  end
721
721
 
@@ -736,6 +736,10 @@ module MarkdownConfig
736
736
  }
737
737
  when 'kramdown'
738
738
  {}
739
+ when 'commonmarker'
740
+ {
741
+ :UNSAFE => true,
742
+ }
739
743
  else
740
744
  {
741
745
  :autolink => true,
metadata CHANGED
@@ -1,226 +1,226 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.2
4
+ version: 0.20.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
8
8
  - Ben Ford
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-16 00:00:00.000000000 Z
12
+ date: 2023-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: sinatra
15
+ name: commonmarker
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.3'
20
+ version: '0.21'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.3'
27
+ version: '0.21'
28
28
  - !ruby/object:Gem::Dependency
29
- name: gli
29
+ name: fidget
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '2.0'
34
+ version: '0.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '2.0'
41
+ version: '0.0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: tilt
43
+ name: gli
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 2.0.3
48
+ version: '2.20'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 2.0.3
55
+ version: '2.20'
56
56
  - !ruby/object:Gem::Dependency
57
- name: fidget
57
+ name: htmlentities
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 0.0.3
62
+ version: '4.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 0.0.3
69
+ version: '4.3'
70
70
  - !ruby/object:Gem::Dependency
71
- name: json
71
+ name: i18n
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '0'
76
+ version: '1.8'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '0'
83
+ version: '1.8'
84
84
  - !ruby/object:Gem::Dependency
85
- name: parslet
85
+ name: iso-639
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0'
90
+ version: '0.3'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '0'
97
+ version: '0.3'
98
98
  - !ruby/object:Gem::Dependency
99
- name: htmlentities
99
+ name: json
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">="
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
104
+ version: '2.5'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: '2.5'
112
112
  - !ruby/object:Gem::Dependency
113
- name: redcarpet
113
+ name: nokogiri
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ">="
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '0'
118
+ version: '1.11'
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ">="
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '0'
125
+ version: '1.11'
126
126
  - !ruby/object:Gem::Dependency
127
- name: nokogiri
127
+ name: parslet
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '0'
132
+ version: '2.0'
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ">="
137
+ - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0'
139
+ version: '2.0'
140
140
  - !ruby/object:Gem::Dependency
141
- name: i18n
141
+ name: rack-contrib
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - ">="
144
+ - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0'
146
+ version: '2.3'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - ">="
151
+ - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0'
153
+ version: '2.3'
154
154
  - !ruby/object:Gem::Dependency
155
- name: iso-639
155
+ name: redcarpet
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ">="
158
+ - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '0'
160
+ version: '3.5'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
165
+ - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '0'
167
+ version: '3.5'
168
168
  - !ruby/object:Gem::Dependency
169
- name: rack-contrib
169
+ name: sinatra
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ">="
172
+ - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: '0'
174
+ version: '2.1'
175
175
  type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ">="
179
+ - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: '0'
181
+ version: '2.1'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: sinatra-websocket
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ">="
186
+ - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '0'
188
+ version: '0.3'
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ">="
193
+ - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '0'
195
+ version: '0.3'
196
196
  - !ruby/object:Gem::Dependency
197
- name: commonmarker
197
+ name: tilt
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ">="
200
+ - - "~>"
201
201
  - !ruby/object:Gem::Version
202
- version: '0'
202
+ version: '2.0'
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">="
207
+ - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '0'
209
+ version: '2.0'
210
210
  - !ruby/object:Gem::Dependency
211
211
  name: mg
212
212
  requirement: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - ">="
214
+ - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: '0'
216
+ version: '0.0'
217
217
  type: :development
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - ">="
221
+ - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '0'
223
+ version: '0.0'
224
224
  description: |2
225
225
  Showoff is a Sinatra web app that reads simple configuration files for a
226
226
  presentation. It is sort of like a Keynote web app engine. I am using it
@@ -450,7 +450,7 @@ homepage: https://puppetlabs.github.io/showoff
450
450
  licenses:
451
451
  - MIT
452
452
  metadata: {}
453
- post_install_message:
453
+ post_install_message:
454
454
  rdoc_options: []
455
455
  require_paths:
456
456
  - lib
@@ -465,8 +465,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
465
465
  - !ruby/object:Gem::Version
466
466
  version: '0'
467
467
  requirements: []
468
- rubygems_version: 3.0.6
469
- signing_key:
468
+ rubygems_version: 3.3.7
469
+ signing_key:
470
470
  specification_version: 4
471
471
  summary: The best damn presentation software a developer could ever love.
472
472
  test_files: []