service_skeleton 0.0.0.14.g60b4507 → 0.0.0.15.g53952e3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/service_skeleton.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f54d510129feffa6867dec6a6b94ed46f6c2821bd0c4225054ea9537cda37bf3
4
- data.tar.gz: 57e937775ddedd01c1ee8c62ed56c4dc95f3157e329a568f42a72f836cb8e12e
3
+ metadata.gz: fbe1a8c148886ef21aa7d756963de8a700b5442d6bb45d239371d07df757a849
4
+ data.tar.gz: 13cdc1c611442d02a29ea83799f343e28fa39482bfc9b91da6e4411979bd9b47
5
5
  SHA512:
6
- metadata.gz: 7803ae7cd3d40b3060f8b9a4ce23a46b11ad51a82b062362bab775315e3aa2f318b04819c71abb3bbddb719fa6671de92f836184ede23666da2fb5564eec06f8
7
- data.tar.gz: 98274a73ae63dd9b9a68ef4d7e7895ffc131917415cb524646e64c42bc507a93c47ebc05adc3409a9395c9be3c87a1cb403e9a588dd4b3474cf5d554c4170392
6
+ metadata.gz: 2de121637dfd9610f781792c4e039b032c19e72e00b0b77fd91924cebd9b27347b432bd6ccd734690335300cb71781e7b9c76b61371c28005cbb7c9bb8c09171
7
+ data.tar.gz: 3c8c260868e32c802d69e75672a6ebdfaa896e5be0119692f8b5cb3622728f5865c63f4ae1d88265746e53e99734bf707ee82aa08cd135249b3685969633a78c
@@ -28,6 +28,7 @@ class ServiceSkeleton
28
28
  .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
29
29
  .gsub(/([a-z\d])([A-Z])/, '\1_\2')
30
30
  .downcase
31
+ .gsub(/[^a-zA-Z0-9_]/, "_")
31
32
  end
32
33
 
33
34
  attr_reader :config, :metrics, :logger
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.14.g60b4507
4
+ version: 0.0.0.15.g53952e3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2018-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: frankenstein