cmd_tools 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmd_tools/bin/emacs_launcher.rb +2 -2
- data/lib/cmd_tools/version.rb +1 -1
- metadata +3 -3
@@ -30,11 +30,11 @@ module CmdTools
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def self.daemon_running?
|
33
|
-
system "emacsclient -e '()'
|
33
|
+
system "emacsclient -e '()' > /dev/null 2>&1"
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.number_of_frames
|
37
|
-
`emacsclient -e "(length (visible-frame-list))"
|
37
|
+
`emacsclient -e "(length (visible-frame-list))" > /dev/null 2>&1`.to_i
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|
data/lib/cmd_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmd_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-08-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby_patch
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153216020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0.3'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153216020
|
25
25
|
description: ! "Command line tools:\n tsh: mv files to ~/.myTrash.\n bak: backup
|
26
26
|
files.\n emacs_launcher_(g|c)ui: launch emacsclient and daemon (if necessary).\n"
|
27
27
|
email:
|