rconf 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 0
15
15
  MINOR = 7
16
- BUILD = 2
16
+ BUILD = 3
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rconf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.2
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-22 00:00:00 -07:00
13
+ date: 2011-03-23 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency