utils 0.0.95 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/probe +4 -4
- data/lib/utils/probe_server.rb +7 -1
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +4 -4
- 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: 266c90fe7703c6489e6d66096965c92b59f80e1c
|
4
|
+
data.tar.gz: 51d36018ce055b1887c081ae93f401c826f6d79f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77964738b8e9413f48ad1b73cef2709e789539fa9ee4227953cbcebfbce40cde887319b7ccf06653828093e5994c04516c624cfe383804fc223cfc86ee3a8f43
|
7
|
+
data.tar.gz: b567bc1621be74d10258a5e3f1a6040b0a1fb719ddfba11d14ae94fe000e14f46bfacff07d01576ec5b59137616a4808e24b285270b5bb2fa027daf8b4c1cf1e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.96
|
data/bin/probe
CHANGED
@@ -75,9 +75,9 @@ def connect_server
|
|
75
75
|
DRb.start_service
|
76
76
|
probe_server = DRbObject.new_with_uri($uri)
|
77
77
|
if $opt['c']
|
78
|
-
opts = $opt.subhash('n', 't').
|
79
|
-
v.full?
|
80
|
-
}
|
78
|
+
opts = $opt.subhash('n', 't').each_with_object([]) { |(k, v), a|
|
79
|
+
v.full? and a.concat [ "-#{k}", v ]
|
80
|
+
}
|
81
81
|
probe_server.enqueue opts + $args
|
82
82
|
exit
|
83
83
|
elsif $opt['C']
|
@@ -90,7 +90,7 @@ end
|
|
90
90
|
case
|
91
91
|
when $opt['l']
|
92
92
|
start_server
|
93
|
-
|
93
|
+
when $opt['c'], $opt['C']
|
94
94
|
connect_server
|
95
95
|
end
|
96
96
|
|
data/lib/utils/probe_server.rb
CHANGED
@@ -112,7 +112,13 @@ module Utils
|
|
112
112
|
end
|
113
113
|
|
114
114
|
def cmd(job)
|
115
|
-
|
115
|
+
call = []
|
116
|
+
if ENV.key?('BUNDLE_GEMFILE') and bundle = `which bundle`.full?(:chomp)
|
117
|
+
call << bundle << 'exec'
|
118
|
+
end
|
119
|
+
call.push($0, *job)
|
120
|
+
output_message "Executing #{call.inspect} now.", :type => :info
|
121
|
+
call
|
116
122
|
end
|
117
123
|
end
|
118
124
|
end
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: utils 0.0.
|
2
|
+
# stub: utils 0.0.96 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "utils"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.96"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["Florian Frank"]
|
10
|
-
s.date = "2013-
|
10
|
+
s.date = "2013-10-01"
|
11
11
|
s.description = "This ruby gem provides some useful command line utilities"
|
12
12
|
s.email = "flori@ping.de"
|
13
13
|
s.executables = ["brakeman2err", "chroot-exec", "chroot-libs", "classify", "create_tags", "discover", "edit", "edit_wait", "enum", "errf", "git-empty", "irb_connect", "myex", "number_files", "on_change", "path", "probe", "remote_copy", "same_files", "search", "sedit", "ssh-tunnel", "strip_spaces", "unquarantine_apps", "untest", "utils-install-config", "utils-utilsrc", "vacuum_firefox_sqlite", "xmp"]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = "http://github.com/flori/utils"
|
17
17
|
s.rdoc_options = ["--title", "Utils - Some useful command line utilities", "--main", "README.rdoc"]
|
18
18
|
s.require_paths = ["lib"]
|
19
|
-
s.rubygems_version = "2.1.
|
19
|
+
s.rubygems_version = "2.1.5"
|
20
20
|
s.summary = "Some useful command line utilities"
|
21
21
|
|
22
22
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.96
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
236
|
rubyforge_project:
|
237
|
-
rubygems_version: 2.1.
|
237
|
+
rubygems_version: 2.1.5
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: Some useful command line utilities
|