rackula 1.1.3 → 1.2.0

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: '0281af1617fada7ee4c90875d489a0f681c45164fb4941718ddff54754e67a30'
4
- data.tar.gz: 727840b9497c08f9a31b13ffda2fa584c642bc00697c29370b30a04a360d4f52
3
+ metadata.gz: a65b358d0a9a1ac24b53cdaee0266caf8aa001e2be84adb6e341e14be0368b55
4
+ data.tar.gz: 733ee30905600dc2a1f705bfe1c58fbbc4c3c271743d269a2328765a42714fc6
5
5
  SHA512:
6
- metadata.gz: 8b9f2d4ce3a41e1aaae806ea69d59f2673617105d874bdd42414eb2e60d8f05afcd4a2d22fd06fd560b9faee7b0ffebb685ae119ab3bf6cce8b093112172a4ab
7
- data.tar.gz: 2a2309ce12cc4679863fe97bc0d7f209ed9f20c9b968b28b86bacf099b086ce38a7738f074d3a29afd51c89cec77b27514741b2f950c8abb6664d571536d00ce
6
+ metadata.gz: 5b29df5d58b1b68f899b5b08d6286d637431053d5e4821abb5e3154a0835459ad993f7cad057c2e989d60c47be1a0b075b2310532f80e4a98b0e2c75010762ae
7
+ data.tar.gz: 88a9686c865cf3697edf7938268fdd94e9abca35c9295c7880cc1e2365c9b6959f674392d5ab85551d405178591f19f7bed62d6c439168669148b2325cf9f19e
@@ -69,7 +69,9 @@ module Rackula
69
69
  end
70
70
 
71
71
  # Generate HTML pages:
72
- system("wget", "--mirror", "--recursive", "--continue", "--convert-links", "--adjust-extension", "--no-host-directories", "--directory-prefix", output_path.to_s, "http://localhost:#{port}")
72
+ unless system("wget", "--mirror", "--recursive", "--continue", "--convert-links", "--adjust-extension", "--no-host-directories", "--directory-prefix", output_path.to_s, "http://localhost:#{port}")
73
+ raise "The wget command failed!"
74
+ end
73
75
  end
74
76
 
75
77
  def serve(endpoint, root)
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Rackula
22
- VERSION = "1.1.3"
22
+ VERSION = "1.2.0"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rackula
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-18 00:00:00.000000000 Z
11
+ date: 2021-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: falcon
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.2.22
142
+ rubygems_version: 3.2.32
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Generate a static site from any rackup compatible application.