rackula 1.1.0 → 1.1.1

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: b84258f755ce6cf699ab275ed40821c8de998d9fa5b7d4984c925defa5691709
4
- data.tar.gz: db9d71a7ade7b25813721fd08229bb0328ac40a4d7422cc00d3fe572d5b6f5c5
3
+ metadata.gz: 5039707ba9bb39bbbfddfc7fc89340e4ac80035adbe7b1fd6384e31192c58fde
4
+ data.tar.gz: eb3c3ea58a63accd923ff265ceee6c92bd3cb075e853aa635378ba359e199181
5
5
  SHA512:
6
- metadata.gz: 42097e227243b328f20804fa963e444e463f6945c91b657b9088253c4053caa88d2f2eebb5ee179618793312c8f53150223637af70b2eca2e831928c6b56d30b
7
- data.tar.gz: 03c6c09e6b478f45a85fcf56e7494ee4f0df6c8c787d4a9dbef2522cff24eaecc206498f1a7acd51ea92f699dace50c6da9145585f8536eeb9267b7d101d7ba3
6
+ metadata.gz: ec376d563599f830413d6f4a63c662cc3727651b42239d7d27ee3f999f72fe8774e23c7f972bd1f05bee9fa48e78c01f713598a3da9b613c1cab39bf57456121
7
+ data.tar.gz: b59920cbe6cc4d5260ce4c64a08e5c4e1b09d897aff4247d83d9ef8ccad4ceb8eb42ffed404c269e8bea8c01d48103fc69e3865ced9f6c911bf2807f8ab58179
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ /spec/static
@@ -108,14 +108,12 @@ module Rackula
108
108
  def call
109
109
  Variant.force!('static')
110
110
 
111
- Async do
112
- endpoint = Async::IO::Endpoint.tcp("localhost", 0, reuse_port: true)
113
-
114
- # We bind to a socket to generate a temporary port:
115
- socket = endpoint.each.first.bind
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
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Rackula
22
- VERSION = "1.1.0"
22
+ VERSION = "1.1.1"
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.0
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-04-27 00:00:00.000000000 Z
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: []