hooks-ruby 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbd8eab8f1b3453b5f7d25e31db64e1631f1974cfbc63305530fe9150ceb6b17
4
- data.tar.gz: 178ac27f5b7036fef1decd7e8a237675aac0ce909395958af0b9cc582cb94a9f
3
+ metadata.gz: 95eac66108bc8b0c7daacff27a2ef89370a4bd7853b7f43173eb40a9872c109c
4
+ data.tar.gz: 385cc5359905ba780ea6cddff9dce6c4a7a2bfaecf391232a54ce395ba98326a
5
5
  SHA512:
6
- metadata.gz: 1d4fe7a469fc76d228da18b804c69ab7d088fad45ae627fb9489b319a52a5a533862bb1e237b68585b6a8db156bdd014495239b320ef8754655a31d7e47acf4c
7
- data.tar.gz: 26fa0e76bfd46e44a19f8a6504f63020173c91ad714ec45bdbfc8a5a64c9522fba9e5ac782d952715a3447c67d34f48f5490f4b3a014d53506d077d07aa0a749
6
+ metadata.gz: 0efb78d712745ee54b38616d741c5a8d99cbf9f9b6e6310e71f255ddc9294aad5a8b8ad0f3500d92a00668a54549ec02edda65b6c3431300107cc336240d3385
7
+ data.tar.gz: 7da1c9915a825b7ccdbe8504f4a8805d1982cd68550f8324b7fbcf2d2be9fe649fee64b0596bdf9e97614e480f0f33f676d9813f518a783fa3a3ca74f0102012
@@ -55,6 +55,7 @@ module Hooks
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
@@ -69,7 +69,7 @@ module Hooks
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
data/lib/hooks/version.rb CHANGED
@@ -4,5 +4,5 @@
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooks-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - github