upm 0.1.10 → 0.1.11
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/lib/upm/tool_dsl.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e29ff72e67c8c3d41fc81f20ea1bcd602750f5ab997e2bc96d8bf241e13c93e
|
4
|
+
data.tar.gz: ea27773719646de552edada4c42557f61b56768811bf5e9e2e723a459fea1eaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9415ca2e35cc161f196b0e4ba44e27bb71181962893a4273fc04fadbedb5f12298f60cd738efcb38eb08218e0897d45aa54fc8aadb03103bacbfb37bc4b8a47
|
7
|
+
data.tar.gz: 1c4df75f46acb38709627f71dcf874b158f93b694ad5040740c6470de1750b3a4e74fc051a58adfcc21c397183f8b0e89cebf2cb19b180df0141269a4fb7c630
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.11
|
data/lib/upm/tool_dsl.rb
CHANGED
@@ -33,10 +33,14 @@ module UPM
|
|
33
33
|
end
|
34
34
|
|
35
35
|
@cmds[name] = proc do |args|
|
36
|
-
query = highlight
|
36
|
+
query = highlight ? args.join(" ") : nil
|
37
37
|
run(*shell_command, *args, paged: paged, root: root, highlight: query)
|
38
38
|
end
|
39
39
|
|
40
|
+
else
|
41
|
+
|
42
|
+
raise "Error: Must supply a block or shell command"
|
43
|
+
|
40
44
|
end
|
41
45
|
end
|
42
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- epitron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Wrap all known command-line package tools with a consistent and pretty
|
14
14
|
interface.
|