upm 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ed3d1537a1fe3ddb82bd8829e01aa2bad76d233e8049bf5407f16c1ed04cad5
4
- data.tar.gz: 2a2061cf7e17752d0f4ab24cc45ac0f17a5393fd1d12a4459654a16cadadc8f2
3
+ metadata.gz: 2f969ff4647460fdbbd74e46dce038f1faf7d227f05bf1798fbfa682132ed3c7
4
+ data.tar.gz: 51e1fb0bb7874548fee681d9a2775b3c758af6703c0e61553273fcc5b62cac7b
5
5
  SHA512:
6
- metadata.gz: 3cc737480d9d0f6f105ddbbe16805f5924000ad9091ea8029c53b72c71b17eb4f5ab0bd68b6dca1e6d8d1ac85d2a53e2aa37be6253e147078a0cbaba72967fe9
7
- data.tar.gz: 14763b3fb6044f02755e5b39199a1f90b7955721df40628b58c81f69c74393f946a091f89ea9a13d4ae7c0ad7c5a1200b02215bfb9c815c00f000b8efb11a47b
6
+ metadata.gz: 5cb6838c1f72cd573cee81ee4df3750005dc92e8d458622aad04355a6341f36afc7c621f3764e926901f99109430013a4a119a00ca4c0cf4875cb3e0e026295f
7
+ data.tar.gz: 2b56430e000bef935520e43225b332fc0f9c6838e5a0ebe20325db28527f0be725827f8bc391bdecac1014f6bab4c9baaaf30350a26c8e136894425cbf1ccc5b
data/README.md CHANGED
@@ -6,6 +6,8 @@ Wraps all known package managers to provide a consistent and pretty interface, a
6
6
 
7
7
  All tools will give you modern, pretty, colourful, piped-to-less output, and you'll only have to remember one consistent set of commands. It'll also prompt you with a text UI whenever faced with ambiguity.
8
8
 
9
+ It will also allow users to maintain lists of their favorite packages (and sync them to some remote server), so that they can automatically install them whenever they setup a new machine. (This can include git repos full of dotfiles/scripts, to give the user a comfortable home environment regardless of which OS they're using.)
10
+
9
11
  ## Usage:
10
12
 
11
13
  ```
@@ -24,12 +26,13 @@ u <command> <pkg>
24
26
  * `info` - show metadata about a package
25
27
  * `sync`/`update` - retrieve the latest package list or manifest
26
28
  * `upgrade` - install new versions of all packages
29
+ * `verfiy` - verify the integrity of installed files
30
+ * `audit` - show known vulnerabilities for installed packages
27
31
  * `pin` - pinning a package means it won't be automatically upgraded
28
32
  * `rollback` - revert to an earlier version of a package (including its dependencies)
29
33
  * `log` - show history of package installs
30
34
  * `packagers` - detect installed package managers, and pick which ones upm should wrap
31
35
  * `sources`/`mirrors` - select remote repositories and mirrors
32
- * `verfiy` - verifies the integrity of installed files
33
36
  * `clean` - clear out the local package cache
34
37
  * `monitor` - ad-hoc package manager for custom installations (like instmon)
35
38
  * `keys` - keyrings and package authentication
@@ -44,6 +47,7 @@ rpm:<pkg> (or yum: y:)
44
47
  bsd:<pkg> (or b:)
45
48
  ruby:<pkg> (or r: gem:)
46
49
  python:<pkg>,<pkg> (or py: p: pip:)
50
+ go:<pkg>,<pkg>,<pkg>
47
51
  ```
48
52
 
49
53
  ### ...or suffixed with its file extension:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -32,9 +32,11 @@ module UPM
32
32
  version = chunks[-2..-1].join("-")
33
33
  package = chunks[0...-2].join("-")
34
34
 
35
- next unless included.any? and included.include?(package)
35
+ if included.any?
36
+ next if not included.include?(package)
37
+ end
36
38
 
37
- puts "<8>[<7>+<8>] <10>#{package} <3>#{version}".colorize
39
+ puts "<8>[<7>+<8>] <10>#{package} <2>#{version}".colorize
38
40
 
39
41
  result = []
40
42
  defaults = {}
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.8
4
+ version: 0.1.9
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-20 00:00:00.000000000 Z
11
+ date: 2018-05-21 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.