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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 352fc0b8e6ac14a1e23818406315173f1df27ad2
4
- data.tar.gz: e161d8b47f4d6fec95e7200e12f515ad777f06ba
3
+ metadata.gz: 529b5554812b750fdf1d83985bf937a1a992c763
4
+ data.tar.gz: b6e8ef591a8c657845e316500a59169eb59f9dc7
5
5
  SHA512:
6
- metadata.gz: 97ac95ef3c781dbad4b378ccff10125746471b7b4477d337a7de6497ac58959557e46b83c5030cb5c7d1516f72b406bb95090b633e2349651513ba33fd6f3aef
7
- data.tar.gz: b3cb2bbbcbbe761312bccd5af46c1e3baa4d4aa451f3346ecdf22d66327553526078dde9b76ddc89ff875b58996dc922b1d505b5f7c1e684762d3c93ed204972
6
+ metadata.gz: f0013155646ac0dec3810d5b263c20e79d3228d263f5a916879db108471a0a6000a62c88cad8aba6350ca086f38b02cfb1c351feadc8cb26204eed5dfe6e4805
7
+ data.tar.gz: 67cce59a9628007a2b6697e7e4709894b46b99954051099d6ed6bfabce59f0276ae85e10cd5fd821346ed7f8318a0dfa252e8c3c64c7e91a72b99be040addc08
@@ -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
@@ -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
@@ -3,7 +3,7 @@ module Test
3
3
  module Notify
4
4
  # test-unit-notify version number formatted as
5
5
  # "#\\{MAJOR}.#\\{MINOR}.#\\{MICRO}".
6
- VERSION = "1.0.3"
6
+ VERSION = "1.0.4"
7
7
  end
8
8
  end
9
9
  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.3
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-08-03 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit