eyecare 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/eyecare/version.rb +1 -1
- data/lib/eyecare.rb +3 -1
- data/test/alert_test.rb +2 -2
- 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: 55b305b029d0e5f457a4f2038edfe8b46c828492
|
4
|
+
data.tar.gz: 26da6af224ac7e03d6b4f9fdb01010fc2fb3071c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7157b76deb6ff0afe1fa3c4d1cc20667e270e8c678eab2299086d2d9f25a9c03200460eb0cee53c99cd0ff5ee8bcd86e75a91821001d02912b08c8f0b31f590
|
7
|
+
data.tar.gz: 0a7edbd62afd773c072614c63292d42878998f9442f1e7d02e70a84eaa1b97803eaa03165377c894a3a25da1c9e93dc4f0bde33aca0ed3417370353b183922cd
|
data/lib/eyecare/version.rb
CHANGED
data/lib/eyecare.rb
CHANGED
data/test/alert_test.rb
CHANGED
@@ -7,14 +7,14 @@ describe Eyecare::Alert do
|
|
7
7
|
end
|
8
8
|
|
9
9
|
it 'is defaulted is when no config' do
|
10
|
-
alert = Eyecare::Alert.
|
10
|
+
alert = Eyecare::Alert.send(:new)
|
11
11
|
alert.message.wont_be_empty
|
12
12
|
alert.message.must_equal Eyecare::Alert::DEFAULT_MESSAGE
|
13
13
|
alert.timeout.must_equal Eyecare::Alert::DEFAULT_TIMEOUT
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'is correctly initialized from config hash' do
|
17
|
-
alert = Eyecare::Alert.
|
17
|
+
alert = Eyecare::Alert.send(:new).init(config)
|
18
18
|
|
19
19
|
alert.message.wont_be_empty
|
20
20
|
alert.message.must_equal config[:message]
|