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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 876152fb45917929d74512f7a698af3aab184bf4
4
- data.tar.gz: 6e38d356acdd2720fd07db9327cb6133a79e0552
3
+ metadata.gz: 7209e392f8c7246f9fc6636fc30aab688e9ab428
4
+ data.tar.gz: 5171ef0f04c4ab325e0bd465cec9c09efeedfb8d
5
5
  SHA512:
6
- metadata.gz: 61be1407248d38797d75408e882bc21ebb969aaf4ca92c57fe770d1067efcc49a551f49aee414501a09699b88715d2e403f7816adc2fb7666b62fde573c981f0
7
- data.tar.gz: 9cf417c8e2b97c50a973d9aa9dda83a7a10c054cafdddd00a6b768c1dec33f5548199e806c72c854f8e74cdaf96abe370dd8b52e842b26140cca824b58879ac4
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.
@@ -1,3 +1,3 @@
1
1
  module RunscopeStatuspage
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -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[:token].nil?
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[:token].nil?
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.5
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-08 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler