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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 177e698c263283b50d725642fbb4f3a3005762dc
4
- data.tar.gz: 54e05e8ca505fe15362a500e533013a100d7082f
2
+ SHA256:
3
+ metadata.gz: 5cbefab8ff3594384572c6ee138527d03b2cea4904cc052d4a3450a7d3d2abfd
4
+ data.tar.gz: afcbbd8734e1f5e144964a73ced12244576b63aacfbd3e91ea401febe2e89fda
5
5
  SHA512:
6
- metadata.gz: 92e9599daad362524207ad4b4c958b62893af13a48e86c339ae574b6a970d29d97094071766d0b736af5c9ef284a44528e0e538137658d1481a0eba01d9d3867
7
- data.tar.gz: 94faf74fec1319f5dd83b138ad2fa171f923a0ee4890075a5909274653f88d27b8696631018756c3a7f573c5a895ef057e011ad743bc561c92c6d29932bd9563
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
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Rackula
22
- VERSION = "0.3.1"
22
+ VERSION = "0.4.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: 0.3.1
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-01-25 00:00:00.000000000 Z
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.12
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.