showoff 0.20.3 → 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: 4f74f67db7b91942fb6a135c5f66e7624653f5946ba59d4674773b2fdb386a95
4
- data.tar.gz: c063015a1a32fd35ea7b10ee2033f725c35345fe57f2f8d6c902a98d4116884c
3
+ metadata.gz: df07024877714b41c91a0bd6cffa1d893c6899eb71b85c2afc006e176cb6d845
4
+ data.tar.gz: a527332a0f2136801503be3d6aabfb0ec7f8e6b4bb55c4a62101cafeed9696a4
5
5
  SHA512:
6
- metadata.gz: 00dc6115962031eeb962d7fc46d7d5e7e443e9a2f033fc9b5994305364f143472cb651a5ba37802ee095318099e14a1ddf63357be37a51ba824c4dd2d10519cd
7
- data.tar.gz: 676ddf144a82192920808f2caa8b352e630449dcbc0ee19abf147f73069e3e749d0d199225ca94b92c7ea32753328c312b9c3d274a42958019ce68d5771f41e8
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.3'
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.3
4
+ version: 0.20.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-04-11 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
15
  name: commonmarker
@@ -465,7 +465,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
465
465
  - !ruby/object:Gem::Version
466
466
  version: '0'
467
467
  requirements: []
468
- rubygems_version: 3.2.13
468
+ rubygems_version: 3.3.7
469
469
  signing_key:
470
470
  specification_version: 4
471
471
  summary: The best damn presentation software a developer could ever love.