utils 0.0.82 → 0.0.83
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 +18 -2
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cac17754edbeea81ad0952a6c2ab16c1324f45cb
|
4
|
+
data.tar.gz: 4e5b6cf14c086f6937ed8d1e0e5969403dddda29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ff7b756dc3075d9ade327861565815821b08dfede8302626ea52ad9e1a395304b5557ba12871de98c472c66157321ed6bcec35018d3685d0e48ae1a55cc8db5
|
7
|
+
data.tar.gz: f07cb7ac70286ce3a34b99b0cc2cb07c60d53b61d0cc70043bbf40125abc452627b610c75cd499d8d75746bb409792fcd6b3f3c3b94ede329e1783e65900d9c6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.83
|
data/bin/probe
CHANGED
@@ -133,7 +133,7 @@ when :rspec
|
|
133
133
|
when :'test-unit'
|
134
134
|
testrb = find_cmd('testrb')
|
135
135
|
if testname = $opt['n']
|
136
|
-
cmd 'ruby', '-I', $config.probe.include_dirs_argument,
|
136
|
+
cmd 'ruby', '-I', $config.probe.include_dirs_argument, testrb,
|
137
137
|
'-n', testname, *(args + testrunner_args)
|
138
138
|
else
|
139
139
|
for filename in args
|
@@ -147,9 +147,25 @@ when :'test-unit'
|
|
147
147
|
warn "no test found before line #{sl.linenumber}"
|
148
148
|
end
|
149
149
|
else
|
150
|
-
cmd 'ruby', '-I', $config.probe.include_dirs_argument,
|
150
|
+
cmd 'ruby', '-I', $config.probe.include_dirs_argument, testrb,
|
151
151
|
sl.filename, *testrunner_args
|
152
152
|
end
|
153
153
|
end
|
154
154
|
end
|
155
|
+
when :cucumber
|
156
|
+
cucumber = find_cmd('cucumber')
|
157
|
+
if linenumber = $opt['n']
|
158
|
+
cmd 'ruby', cucumber, '-r', $config.probe.include_dirs_argument, '-l',
|
159
|
+
linenumber, *(args + testrunner_args)
|
160
|
+
else
|
161
|
+
args = args.map do |a|
|
162
|
+
if Utils::Editor::FILE_LINENUMBER_REGEXP =~ a
|
163
|
+
$~.captures * ':'
|
164
|
+
else
|
165
|
+
a
|
166
|
+
end
|
167
|
+
end
|
168
|
+
cmd 'ruby', cucumber, '-r', $config.probe.include_dirs_argument,
|
169
|
+
*(args + testrunner_args)
|
170
|
+
end
|
155
171
|
end
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "utils"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.83"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = "2013-
|
9
|
+
s.date = "2013-06-19"
|
10
10
|
s.description = "This ruby gem provides some useful command line utilities"
|
11
11
|
s.email = "flori@ping.de"
|
12
12
|
s.executables = ["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"]
|
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.83
|
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-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|