rconf 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rconf/support/brew_installer.rb +12 -0
- data/lib/rconf/version.rb +1 -1
- metadata +2 -2
@@ -15,8 +15,20 @@ module RightConf
|
|
15
15
|
|
16
16
|
include ProgressReporter
|
17
17
|
|
18
|
+
# Check whether brew is already installed and install it if not
|
19
|
+
#
|
20
|
+
# === Return
|
21
|
+
# true:: Always return true
|
18
22
|
def self.check_and_install
|
19
23
|
return true if File.directory?('/usr/local/.git')
|
24
|
+
new.install
|
25
|
+
end
|
26
|
+
|
27
|
+
# Actually install brew
|
28
|
+
#
|
29
|
+
# === Return
|
30
|
+
# true:: Always return true
|
31
|
+
def install
|
20
32
|
report_check('Installing Homebrew')
|
21
33
|
|
22
34
|
chmods = %w( . bin etc include lib lib/pkgconfig Library sbin share var share/locale share/man
|
data/lib/rconf/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rconf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.7.
|
5
|
+
version: 0.7.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Raphael Simon
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-23 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|