appsignal 1.0.5.beta.1 → 1.0.5.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/appsignal/utils.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/utils_spec.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dd8c7b3fec034fcd99924f7658b6b698878c520
|
4
|
+
data.tar.gz: be461d8b433726f48663e7b40a631460f0ad1a1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 021c29a0304e931d1a6f8df1e24d2d2c4fc9923ec43f9262cdb880d0f57a553209815e5b7a98a5169f729d5b84354e0e8dc95c63fdfc74752832528ad26f5ecc
|
7
|
+
data.tar.gz: a50f561dcfc6121ed0052f918b12651017d520ce4f0ab1f2fcb4621884abf253c56146118c029146620fca60f178f240f113b701f572afbac6947563db4ec5e9
|
data/lib/appsignal/utils.rb
CHANGED
data/lib/appsignal/version.rb
CHANGED
@@ -47,6 +47,10 @@ describe Appsignal::Utils do
|
|
47
47
|
it "should sanitize key when dots are in the key" do
|
48
48
|
expect( Appsignal::Utils.sanitize_key('foo.bar', :mongodb) ).to eql('foo.?')
|
49
49
|
end
|
50
|
+
|
51
|
+
it "should sanitize a symbol" do
|
52
|
+
expect( Appsignal::Utils.sanitize_key(:ismaster, :mongodb) ).to eql('ismaster')
|
53
|
+
end
|
50
54
|
end
|
51
55
|
end
|
52
56
|
end
|