rackula 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/rackula/command/generate.rb +6 -8
- data/lib/rackula/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5039707ba9bb39bbbfddfc7fc89340e4ac80035adbe7b1fd6384e31192c58fde
|
4
|
+
data.tar.gz: eb3c3ea58a63accd923ff265ceee6c92bd3cb075e853aa635378ba359e199181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec376d563599f830413d6f4a63c662cc3727651b42239d7d27ee3f999f72fe8774e23c7f972bd1f05bee9fa48e78c01f713598a3da9b613c1cab39bf57456121
|
7
|
+
data.tar.gz: b59920cbe6cc4d5260ce4c64a08e5c4e1b09d897aff4247d83d9ef8ccad4ceb8eb42ffed404c269e8bea8c01d48103fc69e3865ced9f6c911bf2807f8ab58179
|
data/.gitignore
CHANGED
@@ -108,14 +108,12 @@ module Rackula
|
|
108
108
|
def call
|
109
109
|
Variant.force!('static')
|
110
110
|
|
111
|
-
Async
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
run(socket.local_address, Pathname.new(parent.root))
|
118
|
-
end
|
111
|
+
endpoint = Async::IO::Endpoint.tcp("localhost", 0, reuse_port: true)
|
112
|
+
|
113
|
+
# We bind to a socket to generate a temporary port:
|
114
|
+
socket = Sync{endpoint.each.first.bind}
|
115
|
+
|
116
|
+
run(socket.local_address, Pathname.new(parent.root))
|
119
117
|
end
|
120
118
|
end
|
121
119
|
end
|
data/lib/rackula/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: samovar
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '3.0'
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email:
|
113
113
|
- samuel.williams@oriontransfer.co.nz
|
114
114
|
executables:
|
@@ -132,7 +132,7 @@ homepage: https://github.com/socketry/rackula
|
|
132
132
|
licenses:
|
133
133
|
- MIT
|
134
134
|
metadata: {}
|
135
|
-
post_install_message:
|
135
|
+
post_install_message:
|
136
136
|
rdoc_options: []
|
137
137
|
require_paths:
|
138
138
|
- lib
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubygems_version: 3.1.2
|
151
|
-
signing_key:
|
151
|
+
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Generate a static site from any rackup compatible application.
|
154
154
|
test_files: []
|