rackula 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rackula/command/generate.rb +3 -0
- data/lib/rackula/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5cbefab8ff3594384572c6ee138527d03b2cea4904cc052d4a3450a7d3d2abfd
|
4
|
+
data.tar.gz: afcbbd8734e1f5e144964a73ced12244576b63aacfbd3e91ea401febe2e89fda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 825a72fb2f86258c1f45fc2decfef3ff7265fca9758cd9c25f180ada833e6191a87f2e1e2aaa978d3ec78e2dbc5391ccbbae8ed7965f1106ac2d4117301dd522
|
7
|
+
data.tar.gz: be3e211bb625e32a57cf5e7a60f45082eb4f5711f9ad8ff4aeff59a5ad8ed1c06d4d964059d8d25917e2807542a5da8fc19963a301f832dad45fde1b6df445a8
|
@@ -98,6 +98,9 @@ module Rackula
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def invoke(parent)
|
101
|
+
# We set the default RACK_ENV to static unless it was already set to something.
|
102
|
+
ENV['RACK_ENV'] ||= 'static'
|
103
|
+
|
101
104
|
Async::Reactor.run do
|
102
105
|
endpoint = Async::IO::Endpoint.tcp("localhost", 0, reuse_port: true)
|
103
106
|
|
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: 0.
|
4
|
+
version: 0.4.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: 2018-
|
11
|
+
date: 2018-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: samovar
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.6
|
123
|
+
rubygems_version: 2.7.6
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Generate a static site from any rackup compatible application.
|