config_curator 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/config_curator/package_lookup.rb +8 -1
- data/lib/config_curator/version.rb +1 -1
- 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: cc46233b979aba4d379befdf86f788f153a081a7
|
4
|
+
data.tar.gz: 119eb4200a5d6b3dc1ea603ec835da180cd18bc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78a4a644fc57783d40318ec7c8fce4d25b6e558d6e0e9c7437ec013e07cd3783403ba8336f9efcdb1198251d9c7213bdccc60a4a9dc78257b0382684324c7647
|
7
|
+
data.tar.gz: 1cc001c6bdea4a5daee71435c44b399e61ed76e7265f3f90275b2a4c685eb855370fba7893cf6c63e8f0dd09734d044ccacbbdc1e355d2b21987513cff9546d3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -20,7 +20,8 @@ module ConfigCurator
|
|
20
20
|
TOOLS = {
|
21
21
|
dpkg: 'dpkg',
|
22
22
|
pacman: 'pacman',
|
23
|
-
pkgng: 'pkg'
|
23
|
+
pkgng: 'pkg',
|
24
|
+
brew: 'brew'
|
24
25
|
}
|
25
26
|
|
26
27
|
attr_accessor :tool, :tools
|
@@ -86,5 +87,11 @@ module ConfigCurator
|
|
86
87
|
wait_thr.value.to_i == 0
|
87
88
|
end
|
88
89
|
end
|
90
|
+
|
91
|
+
def brew(package)
|
92
|
+
cmd = command? 'brew'
|
93
|
+
stdout = `${cmd} ls --versions ${package}`
|
94
|
+
!stdout.empty?
|
95
|
+
end
|
89
96
|
end
|
90
97
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: config_curator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Boyd Sosenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -324,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
324
|
version: '0'
|
325
325
|
requirements: []
|
326
326
|
rubyforge_project:
|
327
|
-
rubygems_version: 2.
|
327
|
+
rubygems_version: 2.5.1
|
328
328
|
signing_key:
|
329
329
|
specification_version: 4
|
330
330
|
summary: Simple and intelligent configuration file management.
|