guard 2.2.2 → 2.2.3
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/README.md +1 -1
- data/lib/guard/commander.rb +1 -1
- data/lib/guard/notifiers/emacs.rb +2 -1
- data/lib/guard/notifiers/notifysend.rb +1 -1
- data/lib/guard/notifiers/tmux.rb +9 -1
- data/lib/guard/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb89fd8c33c9157806648b93f82adc1756ae93d3
|
4
|
+
data.tar.gz: 39596d5b723687f2e0aab7e31aeca974ee952af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33195a00ad0b4dfce3e70ab175254aba5a485e2eb8e5cf72ba601b34b31e948f5eb13c6f88a5bdfc6c200bf1b5d7c08d1c0a26f3658faf04c10d5fe54dea8f52
|
7
|
+
data.tar.gz: 74db8ad59ac2ecda8d0c3cdd2aa2fcf9967ed3ef809ee0e0e5de1b523e6374b5f03d24c3feafa3b59519ac0eaa0dac8f9b6abb20f7c169497fed1aae8851b53f
|
data/README.md
CHANGED
@@ -718,7 +718,7 @@ Please try to follow these simple rules:
|
|
718
718
|
#### Core Team
|
719
719
|
|
720
720
|
* [Michael Kessler](https://github.com/netzpirat) ([@netzpirat](http://twitter.com/netzpirat), [mksoft.ch](https://mksoft.ch))
|
721
|
-
* [Rémy Coutable](https://github.com/rymai)
|
721
|
+
* [Rémy Coutable](https://github.com/rymai)
|
722
722
|
* [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) ([@thibaudgg](http://twitter.com/thibaudgg), [thibaud.me](http://thibaud.me/))
|
723
723
|
|
724
724
|
#### Contributors
|
data/lib/guard/commander.rb
CHANGED
data/lib/guard/notifiers/tmux.rb
CHANGED
@@ -134,7 +134,11 @@ module Guard
|
|
134
134
|
teaser_message = message.split("\n").first
|
135
135
|
display_title = title_format % [title, teaser_message]
|
136
136
|
|
137
|
-
|
137
|
+
if _tmux_version >= 1.7
|
138
|
+
_run_client "set-option -q set-titles-string '#{ display_title }'"
|
139
|
+
else
|
140
|
+
_run_client "set-option set-titles-string '#{ display_title }'"
|
141
|
+
end
|
138
142
|
end
|
139
143
|
|
140
144
|
# Displays a message in the status bar of tmux.
|
@@ -256,6 +260,10 @@ module Guard
|
|
256
260
|
}
|
257
261
|
end
|
258
262
|
|
263
|
+
def _tmux_version
|
264
|
+
@tmux_version ||= `tmux -V`.chomp.gsub(/[^0-9.]/,'').to_f
|
265
|
+
end
|
266
|
+
|
259
267
|
end
|
260
268
|
|
261
269
|
end
|
data/lib/guard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibaud Guillaume-Gentil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.
|
196
|
+
rubygems_version: 2.1.10
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Guard keeps an eye on your file modifications
|