wolf_core 1.0.40 → 1.0.42

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
  SHA256:
3
- metadata.gz: 72f385d95554b49bbcd5c0807f43d32ab7923c93ebbac30f53a61ea21ce076d1
4
- data.tar.gz: 69a246974641da28de1c38d0657514c468c91fb05de4a0d7e0c68f5efab4b1f6
3
+ metadata.gz: 861df943e4ce0a1b95fc265787a2a93f3a541ce6f00bf37db5ed9028c26da7f9
4
+ data.tar.gz: 54c77611ae4d74a7d30a3cabd001249abbd35e81b5e6953b080e13d7b9083db0
5
5
  SHA512:
6
- metadata.gz: 0ae845f5508f3f6bb5d742e5937b62df0682fe9b55f6929f1a9b5d5edf5cb5c526ba102401200625ca72ae4230848105f0311bc803671adaee03815bf45afddb
7
- data.tar.gz: 915e777cd79e5cc657a93a8649dff67ec457470e9e0f33833c8d69c6747f2261b144fea5654bddda23663b4b25141c1e51af65ca28ac7ae161487b069723cd8c
6
+ metadata.gz: a976e9060529d0a8b7af2bdbfb442888eab5459f2ea5965eb5e960623a6fdd93321f6f77e56ada6fad8ebf4fe7f794f0e766ee39730beda3ab418173a0177b6e
7
+ data.tar.gz: f2f50cf922c9439e78051a1649757405eacbe79ee44dc4a39e55e62202eecfa98378d7cfb3d7a2303a0a2882534b5858c4858f272003f9e1341faa2b0e574ab2
@@ -6,8 +6,8 @@ module WolfCore
6
6
  include WolfCore::ExceptionOperations
7
7
 
8
8
  def route_event_request(path:, body:)
9
- environment = ENV['ENVIRONMENT']
10
- deployable_envs = ['production', 'staging']
9
+ environment = ENV['ENVIRONMENT'].downcase
10
+ deployable_envs = ['production', 'staging', 'testing']
11
11
  if deployable_envs.include?(environment)
12
12
  function_name = PATH_TO_FUNCTION_NAME_MAPPING[path]
13
13
  raise_service_error("Function name not found for path: #{path}") if function_name.blank?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "1.0.40"
4
+ VERSION = "1.0.42"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.40
4
+ version: 1.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-28 00:00:00.000000000 Z
11
+ date: 2024-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty