test-unit-notify 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +11 -0
- data/lib/test/unit/notify.rb +2 -0
- data/lib/test/unit/notify/version.rb +1 -1
- 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: 529b5554812b750fdf1d83985bf937a1a992c763
|
4
|
+
data.tar.gz: b6e8ef591a8c657845e316500a59169eb59f9dc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0013155646ac0dec3810d5b263c20e79d3228d263f5a916879db108471a0a6000a62c88cad8aba6350ca086f38b02cfb1c351feadc8cb26204eed5dfe6e4805
|
7
|
+
data.tar.gz: 67cce59a9628007a2b6697e7e4709894b46b99954051099d6ed6bfabce59f0276ae85e10cd5fd821346ed7f8318a0dfa252e8c3c64c7e91a72b99be040addc08
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.0.4 - 2014-10-13 {#version-1-0-4}
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* terminal-notifier: Supported icon.
|
8
|
+
[GitHub#5][Patch by Yuichi NANSAI]
|
9
|
+
|
10
|
+
### Thanks
|
11
|
+
|
12
|
+
* Yuichi NANSAI
|
13
|
+
|
3
14
|
## 1.0.3 - 2014-08-03 {#version-1-0-3}
|
4
15
|
|
5
16
|
### Improvements
|
data/lib/test/unit/notify.rb
CHANGED
@@ -192,12 +192,14 @@ module Test
|
|
192
192
|
def run(parameters)
|
193
193
|
title = parameters[:title]
|
194
194
|
message = parameters[:message]
|
195
|
+
icon = parameters[:icon]
|
195
196
|
|
196
197
|
command_line = [
|
197
198
|
@command,
|
198
199
|
"-title", title,
|
199
200
|
"-message", message,
|
200
201
|
]
|
202
|
+
command_line.concat(["-appIcon", icon.to_s]) if icon
|
201
203
|
system(*command_line)
|
202
204
|
end
|
203
205
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit-notify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|