lib/service_skeleton.rb in service_skeleton-0.0.0.14.g60b4507 vs lib/service_skeleton.rb in service_skeleton-0.0.0.15.g53952e3
- old
+ new
@@ -26,9 +26,10 @@
self.to_s
.gsub("::", "_")
.gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
.gsub(/([a-z\d])([A-Z])/, '\1_\2')
.downcase
+ .gsub(/[^a-zA-Z0-9_]/, "_")
end
attr_reader :config, :metrics, :logger
def initialize(env)