lib/water_drop/contracts.rb in waterdrop-1.4.1 vs lib/water_drop/contracts.rb in waterdrop-1.4.2
- old
+ new
@@ -2,8 +2,8 @@
module WaterDrop
# Namespace for all the contracts for config validations
module Contracts
# Regex to check that topic has a valid format
- TOPIC_REGEXP = /\A(\w|\-|\.)+\z/.freeze
+ TOPIC_REGEXP = /\A(\w|-|\.)+\z/
end
end