runscope_statuspage 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/runscope_statuspage/version.rb +1 -1
- data/lib/runscope_statuspage.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7209e392f8c7246f9fc6636fc30aab688e9ab428
|
4
|
+
data.tar.gz: 5171ef0f04c4ab325e0bd465cec9c09efeedfb8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c176029b404f9e017dc23cab1a4fc7a2e2f7a337ac0e8ba8eb9961b6c5eca186fa748ec4606c77892b1b29e927e66d8de18592da4d34d23c1f161571cac1bf8e
|
7
|
+
data.tar.gz: 76b2677f4511d6a84a2ce0e5c48bb8796abd005d2d039469f9ba24c9a51ec53359687c533dd4354d7e6d1271bed53e7d7bc561f0dc4b0fb43d97d71db2c85a60
|
data/README.md
CHANGED
@@ -109,6 +109,9 @@ Usage:
|
|
109
109
|
|
110
110
|
## Changelog
|
111
111
|
|
112
|
+
0.1.6
|
113
|
+
* Fix interpolation bug.
|
114
|
+
|
112
115
|
0.1.5
|
113
116
|
* Added `:no_sp` to available options so that data can be returned instead of posting to statuspage.io. Useful for SMS notifications.
|
114
117
|
* Fix bug where gem crashes when a key with a null value is used in the incident strings.
|
data/lib/runscope_statuspage.rb
CHANGED
@@ -31,7 +31,7 @@ module RunscopeStatuspage
|
|
31
31
|
@name.scan(/.*?(\/)([A-Za-z]*)(\/)/).each do |set|
|
32
32
|
set.each do |token|
|
33
33
|
if radar.has_key?(token)
|
34
|
-
next if radar[
|
34
|
+
next if radar["#{token}"].nil?
|
35
35
|
rname = rname.sub!("/#{token}/", radar[token]) unless (token == "/" and token.length == 1)
|
36
36
|
end
|
37
37
|
end
|
@@ -40,7 +40,7 @@ module RunscopeStatuspage
|
|
40
40
|
@msg.scan(/.*?(\/)([A-Za-z]*)(\/)/).each do |set|
|
41
41
|
set.each do |token|
|
42
42
|
if radar.has_key?(token)
|
43
|
-
next if radar[
|
43
|
+
next if radar["#{token}"].nil?
|
44
44
|
rmsg = rmsg.sub!("/#{token}/", radar[token]) unless (token == "/" and token.length == 1)
|
45
45
|
end
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runscope_statuspage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Stancu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|