watchdoge 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watchdoge/notification/gitlab_repo.rb +1 -1
- data/lib/watchdoge/pixel_test.rb +2 -1
- data/lib/watchdoge/version.rb +1 -1
- data/watchdoge.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fee0b23d21d1a25ab6a4a8564098638bccf13c21291eb1929fa2d722b1c43e3
|
4
|
+
data.tar.gz: 5d7d925eca6f53ddd416d9eb207cace260d8e926e6fbd85a617dce2326d6f035
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aae01ddbba8d13bc57acf1086302b526876650f97a5043be1223e08bb3c0b2915eea9880786d5aad66764e0afd611270cf9c6812060cf0347f3ff3967cb18eb1
|
7
|
+
data.tar.gz: 5f94f9a9e1436a9ac9a9cf26760fdc9801a4afd76a3e4dc47e9b3bfabadf31bd5d4cfc3630bc0dd702688d10c7d60efedb1490acfb7a16989736b982fed1061c
|
@@ -42,7 +42,7 @@ module WatchDoge
|
|
42
42
|
|
43
43
|
post_discussion target_id, message: link
|
44
44
|
when WatchDoge::PixelTest
|
45
|
-
filename = message.
|
45
|
+
filename = message.option[:filename]
|
46
46
|
|
47
47
|
before = md_img_link upload_image(message.before)
|
48
48
|
after = md_img_link upload_image(message.after)
|
data/lib/watchdoge/pixel_test.rb
CHANGED
@@ -46,12 +46,13 @@ module WatchDoge
|
|
46
46
|
attr_reader :diff
|
47
47
|
attr_reader :before
|
48
48
|
attr_reader :after
|
49
|
+
attr_reader :option
|
49
50
|
|
50
51
|
def initialize input, reference, **kwargs
|
51
52
|
@before = reference
|
52
53
|
@after = input
|
53
54
|
|
54
|
-
@
|
55
|
+
@option = kwargs
|
55
56
|
|
56
57
|
@diff = self.class.diff input, reference
|
57
58
|
end
|
data/lib/watchdoge/version.rb
CHANGED
data/watchdoge.gemspec
CHANGED