scorched 1.0.0.pre4 → 1.0.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +2 -0
- data/lib/scorched/controller.rb +2 -1
- data/lib/scorched/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fb15cac70e3991f689fc66c620d1dffa6feee8a
|
4
|
+
data.tar.gz: ba1a8214257e84aa6f97d9da580212997d565e37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77d6c22bf53f20697e85f08da25fbdda913697c8e66f9a78750b1cbb2840dbf77403d3d3c2e862f57809972c31ed7669afcbfd3876264685c70640d6786968a3
|
7
|
+
data.tar.gz: 978414e8104f87ce54df8cc080ffeb55561ce023922a30392d596c25c947b93ab749237504a38a9674972dbfd821de1eee613dd4e8500e3f96be19d31bc3b1b2
|
data/CHANGES.md
CHANGED
@@ -3,6 +3,8 @@ Changelog
|
|
3
3
|
|
4
4
|
_Note that Scorched is yet to reach a v1.0 release. This means breaking changes may still be made. If upgrading the version of Scorched for your project, review this changelog carefully._
|
5
5
|
|
6
|
+
### v1.0.0.pre5
|
7
|
+
* Log level now defaults to :warn for every environment except development, which defaults to :debug
|
6
8
|
### v1.0.0.pre4
|
7
9
|
* Added `dispatched` condition which performs a similar role to the recently removed `handled` condition.
|
8
10
|
### v1.0.0.pre3
|
data/lib/scorched/controller.rb
CHANGED
@@ -18,7 +18,7 @@ module Scorched
|
|
18
18
|
config << {
|
19
19
|
:auto_pass => false, # Automatically _pass_ request back to outer controller if no route matches.
|
20
20
|
:cache_templates => true,
|
21
|
-
:logger =>
|
21
|
+
:logger => nil,
|
22
22
|
:show_exceptions => false,
|
23
23
|
:show_http_error_pages => false, # If true, shows the default Scorched HTTP error page.
|
24
24
|
:static_dir => false, # The directory Scorched should serve static files from. Set to false if web server or anything else is serving static files.
|
@@ -35,6 +35,7 @@ module Scorched
|
|
35
35
|
}
|
36
36
|
|
37
37
|
if ENV['APP_ENV'] == 'development'
|
38
|
+
config[:logger] = Logger.new(STDOUT)
|
38
39
|
config[:show_exceptions] = true
|
39
40
|
config[:static_dir] = 'public'
|
40
41
|
config[:cache_templates] = false
|
data/lib/scorched/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scorched
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Wardrop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|