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 11PATH
22 remote: .
33 specs:
4- hooks-ruby (0.6.1 )
4+ hooks-ruby (0.6.2 )
55 dry-schema (~> 1.14 , >= 1.14.1 )
66 grape (~> 2.3 )
77 puma (~> 6.6 )
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ def build
5555 @log . info "starting hooks server v#{ Hooks ::VERSION } "
5656 @log . info "config: #{ endpoints . size } endpoints loaded"
5757 @log . info "environment: #{ config [ :environment ] } "
58+ @log . info "production mode: #{ config [ :production ] } "
5859 @log . info "available endpoints: #{ endpoints . map { |e | e [ :path ] } . join ( ', ' ) } "
5960
6061 # 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)
6969 # Convert string keys to symbols for consistency
7070 config = symbolize_keys ( config )
7171
72- if config [ :environment ] == "production"
72+ if config [ :environment ] . downcase == "production"
7373 config [ :production ] = true
7474 else
7575 config [ :production ] = false
Original file line number Diff line number Diff line change 44module Hooks
55 # Current version of the Hooks webhook framework
66 # @return [String] The version string following semantic versioning
7- VERSION = "0.6.1 " . freeze
7+ VERSION = "0.6.2 " . freeze
88end
You can’t perform that action at this time.
0 commit comments