travis 1.6.7.travis.425.8 → 1.6.7.travis.426.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +1 -0
- data/lib/travis/tools/notification.rb +7 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGQzNzUwYWYzMmQ2NDUyNzkyZWRlNmVmYzU0NDNlNDA3YmZiMmM0MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDc2MWM4NjA1Y2MyM2M2NWQ2N2M1ZjFiZmMzMzZmMmM3MDU1MjVhNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzI3OWJmMWE5YjM1ZmIzMmU3ZjQ3NTIyYmJkM2Y4NWNiZjM3YmU1ZTFhYzRh
|
10
|
+
YmE1NGU1YmRkYjg1ZTI2ZGMyNDk5ZWQ4ZDE0ZWVmNmFkZjQ4N2E2NGYyZjI0
|
11
|
+
MjBhMzc0Njk0NTY4NzI4NTczNWM2YjZkYmI1NTNiODJkYzM3Nzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTY4YTNlZDE5OTM0NzJkYmY5NmUwMDNkMWQ3MDY1ZTY4MTE4MzIzYzMxZmFm
|
14
|
+
ZGQxZTMxMWRiNjgwZTI0MThhZDViYzIxZWVhOGIzY2VjZTdiNWQwMjIwMDJj
|
15
|
+
ZTFkZmM0OWUwNmIyNzAzZDM2YzAxYTY5NWM3NDk1YjM2MmZiMmM=
|
data/README.md
CHANGED
@@ -1559,6 +1559,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
1559
1559
|
|
1560
1560
|
* Properly display OS for projects tested on multiple operating systems.
|
1561
1561
|
* Better error message when using an invalid access token.
|
1562
|
+
* Fix desktop notifications using libnotify (Linux/BSD).
|
1562
1563
|
|
1563
1564
|
**1.6.6** (December 16, 2013)
|
1564
1565
|
|
@@ -46,27 +46,22 @@ module Travis
|
|
46
46
|
end
|
47
47
|
|
48
48
|
class Growl
|
49
|
-
def initialize
|
50
|
-
@command = "growlnotify"
|
51
|
-
end
|
52
|
-
|
53
49
|
def notify(title, body)
|
54
|
-
system
|
50
|
+
system 'growlnotify', '-n', 'Travis', '--image', ICON, '-m', body, title
|
55
51
|
end
|
56
52
|
|
57
53
|
def available?
|
58
|
-
System.has?
|
54
|
+
System.has? 'growlnotify' and System.running? "Growl"
|
59
55
|
end
|
60
56
|
end
|
61
57
|
|
62
|
-
class LibNotify
|
63
|
-
def
|
64
|
-
|
65
|
-
@expire_time = 10_000
|
58
|
+
class LibNotify
|
59
|
+
def notify(title, body)
|
60
|
+
system 'notify-send', '--expire-time=10000', '-i', ICON, title, CGI.escapeHTML(body)
|
66
61
|
end
|
67
62
|
|
68
|
-
def
|
69
|
-
|
63
|
+
def available?
|
64
|
+
System.has? 'notify-send'
|
70
65
|
end
|
71
66
|
end
|
72
67
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.7.travis.
|
4
|
+
version: 1.6.7.travis.426.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -30,7 +30,7 @@ authors:
|
|
30
30
|
autorequire:
|
31
31
|
bindir: bin
|
32
32
|
cert_chain: []
|
33
|
-
date: 2013-12-
|
33
|
+
date: 2013-12-21 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: faraday
|