sunshine 1.0.1 → 1.0.2
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.
- data/History.txt +15 -1
- data/lib/sunshine.rb +1 -1
- data/lib/sunshine/dependencies.rb +3 -1
- data/lib/sunshine/repo.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
-
=== 1.0.
|
1
|
+
=== 1.0.2 / 2010-03-25
|
2
|
+
|
3
|
+
* Bugfixes:
|
4
|
+
|
5
|
+
* Fixed apache passenger dependency to run as sudo.
|
6
|
+
|
7
|
+
* Fixed a bug in Repo::detect
|
8
|
+
|
9
|
+
=== 1.0.1 / 2010-03-25
|
10
|
+
|
11
|
+
* Bugfixes:
|
12
|
+
|
13
|
+
* Added json dependency
|
14
|
+
|
15
|
+
=== 1.0.0 / 2010-03-25
|
2
16
|
|
3
17
|
* Improvements:
|
4
18
|
|
data/lib/sunshine.rb
CHANGED
@@ -97,7 +97,9 @@ Sunshine.dependencies.instance_eval do
|
|
97
97
|
dependency 'passenger-apache' do
|
98
98
|
requires 'passenger', 'apache2'
|
99
99
|
|
100
|
-
install
|
100
|
+
install do |shell, sudo|
|
101
|
+
shell.call 'passenger-install-apache2-module --auto', :sudo => true
|
102
|
+
end
|
101
103
|
|
102
104
|
check do |shell, sudo|
|
103
105
|
passenger_dir = Server.passenger_root shell
|
data/lib/sunshine/repo.rb
CHANGED
@@ -37,11 +37,11 @@ module Sunshine
|
|
37
37
|
|
38
38
|
def self.detect path=".", shell=nil
|
39
39
|
|
40
|
-
if SvnRepo.valid? path
|
40
|
+
if SvnRepo.valid? path
|
41
41
|
info = SvnRepo.get_info path, shell
|
42
42
|
SvnRepo.new info[:url], info
|
43
43
|
|
44
|
-
elsif GitRepo.valid? path
|
44
|
+
elsif GitRepo.valid? path
|
45
45
|
info = GitRepo.get_info path, shell
|
46
46
|
GitRepo.new info[:url], info
|
47
47
|
end
|