File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- hooks-ruby (0.6.1 )
4
+ hooks-ruby (0.6.2 )
5
5
dry-schema (~> 1.14 , >= 1.14.1 )
6
6
grape (~> 2.3 )
7
7
puma (~> 6.6 )
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ def build
55
55
@log . info "starting hooks server v#{ Hooks ::VERSION } "
56
56
@log . info "config: #{ endpoints . size } endpoints loaded"
57
57
@log . info "environment: #{ config [ :environment ] } "
58
+ @log . info "production mode: #{ config [ :production ] } "
58
59
@log . info "available endpoints: #{ endpoints . map { |e | e [ :path ] } . join ( ', ' ) } "
59
60
60
61
# Build and return Grape API class
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def self.load(config_path: nil)
69
69
# Convert string keys to symbols for consistency
70
70
config = symbolize_keys ( config )
71
71
72
- if config [ :environment ] == "production"
72
+ if config [ :environment ] . downcase == "production"
73
73
config [ :production ] = true
74
74
else
75
75
config [ :production ] = false
Original file line number Diff line number Diff line change 4
4
module Hooks
5
5
# Current version of the Hooks webhook framework
6
6
# @return [String] The version string following semantic versioning
7
- VERSION = "0.6.1 " . freeze
7
+ VERSION = "0.6.2 " . freeze
8
8
end
You can’t perform that action at this time.
0 commit comments