upm 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8a190f9686ce55b16d74b0ff642047a17e19683187a40d40cebfc542262fcff
4
- data.tar.gz: 470640b6500e070840f9f03131e0087d2b3fa3ab25d6450dee3d130463f082b8
3
+ metadata.gz: 2ed3d1537a1fe3ddb82bd8829e01aa2bad76d233e8049bf5407f16c1ed04cad5
4
+ data.tar.gz: 2a2061cf7e17752d0f4ab24cc45ac0f17a5393fd1d12a4459654a16cadadc8f2
5
5
  SHA512:
6
- metadata.gz: 39453d5478a636f20c45580e91f5a7c9251a0258274e1da16a9736e5b09a74ba7cf4204c65205f44430a35b4a2c7a316a518cd3f5eead7e448723afe747b8e28
7
- data.tar.gz: 2b761cbb9ea039c2257e263b46302df7e3c55b4c31849366a5f535141224aa9b1e52a400b75fec88a55486f9cc35a21f96e0d8990a124eb2f0c695e0d873e66c
6
+ metadata.gz: 3cc737480d9d0f6f105ddbbe16805f5924000ad9091ea8029c53b72c71b17eb4f5ab0bd68b6dca1e6d8d1ac85d2a53e2aa37be6253e147078a0cbaba72967fe9
7
+ data.tar.gz: 14763b3fb6044f02755e5b39199a1f90b7955721df40628b58c81f69c74393f946a091f89ea9a13d4ae7c0ad7c5a1200b02215bfb9c815c00f000b8efb11a47b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
data/lib/upm/tool_dsl.rb CHANGED
@@ -116,7 +116,7 @@ module UPM
116
116
  if block = (@cmds[name] || @cmds[ALIASES[name]])
117
117
  block.call args
118
118
  else
119
- puts "Command #{name} not supported in #{@name}"
119
+ puts "Command #{name.inspect} not supported by #{@name.inspect}"
120
120
  end
121
121
  end
122
122
 
data/lib/upm/tools/pkg.rb CHANGED
@@ -6,7 +6,8 @@ UPM::Tool.new "pkg" do
6
6
  command "update", "pkg update", root: true
7
7
  command "upgrade", "pkg upgrade", root: true
8
8
  command "info", "pkg clean", root: true
9
- command "check", "pkg check --checksums", root: true
9
+ command "audit", "pkg audit", root: true
10
+ command "verify", "pkg check --checksums", root: true
10
11
 
11
12
  command "files", "pkg list", paged: true
12
13
  command "search", "pkg search", paged: true, highlight: true
@@ -21,4 +22,8 @@ UPM::Tool.new "pkg" do
21
22
  end
22
23
  end
23
24
 
25
+ command "mirrors" do
26
+ print_files("/etc/pkg/FreeBSD.conf", exclude: /^(#|$)/)
27
+ end
28
+
24
29
  end
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.7
4
+ version: 0.1.8
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-19 00:00:00.000000000 Z
11
+ date: 2018-05-20 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.