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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cfd09f983045de40a162ba3c00f39af13cda29d
4
- data.tar.gz: 9479de024f509cfc65923a966f1b86d515ff58c8
3
+ metadata.gz: 6fb15cac70e3991f689fc66c620d1dffa6feee8a
4
+ data.tar.gz: ba1a8214257e84aa6f97d9da580212997d565e37
5
5
  SHA512:
6
- metadata.gz: f414372fc3126dbb289bfaa5b63752e1184cb52d3e82aa6fcf3e7f6a7165a03c2b4e4a752cc0fcd2395aa62c00b4ca6d65e269d69ed23edc4fe8262491b962f4
7
- data.tar.gz: ce50215534e187507035f309e69d46ed8301f8e60f6ce36c854cfceca8d2b7350e0f3315e98625805ae37b5a9a6df7b25a6dec102daf6dd644ab1e3175f8f6b6
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
@@ -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 => Logger.new(STDOUT),
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
@@ -1,3 +1,3 @@
1
1
  module Scorched
2
- VERSION = '1.0.0.pre4'
2
+ VERSION = '1.0.0.pre5'
3
3
  end
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.pre4
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-05 00:00:00.000000000 Z
11
+ date: 2017-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack