gitpusshuten 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gitpusshuten/commands/user.rb +0 -2
- data/lib/gitpusshuten/modules/apache/command.rb +2 -4
- data/lib/gitpusshuten/modules/mysql/command.rb +0 -2
- data/lib/gitpusshuten/modules/nginx/command.rb +0 -2
- data/lib/gitpusshuten/modules/redis/command.rb +0 -2
- data/lib/gitpusshuten/modules/rvm/command.rb +0 -2
- data/lib/gitpusshuten/version.rb +1 -1
- metadata +3 -12
@@ -25,8 +25,6 @@ module GitPusshuTen
|
|
25
25
|
|
26
26
|
help if command.nil? or e.name.nil?
|
27
27
|
|
28
|
-
@command = @command.underscore
|
29
|
-
|
30
28
|
##
|
31
29
|
# Default Configuration
|
32
30
|
@installation_dir = "/etc/apache2"
|
@@ -95,7 +93,7 @@ module GitPusshuTen
|
|
95
93
|
local_apache_dir = File.join(local.gitpusshuten_dir, 'apache')
|
96
94
|
local.execute("mkdir -p '#{local_apache_dir}'")
|
97
95
|
Spinner.return :message => "Downloading Apache2 configuration file to #{y(local_apache_dir)}.." do
|
98
|
-
scp_as_root(:download, "/etc/apache2/apache2.conf", local_apache_dir)
|
96
|
+
e.scp_as_root(:download, "/etc/apache2/apache2.conf", local_apache_dir)
|
99
97
|
g('Done!')
|
100
98
|
end
|
101
99
|
end
|
@@ -121,7 +119,7 @@ module GitPusshuTen
|
|
121
119
|
end
|
122
120
|
|
123
121
|
Spinner.return :message => "Uploading Apache2 configuration file #{y(local_configuration_file)}.." do
|
124
|
-
scp_as_root(:upload, local_configuration_file, "/etc/apache2/apache2.conf")
|
122
|
+
e.scp_as_root(:upload, local_configuration_file, "/etc/apache2/apache2.conf")
|
125
123
|
g('Done!')
|
126
124
|
end
|
127
125
|
end
|
data/lib/gitpusshuten/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitpusshuten
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 21
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
8
|
+
- 6
|
9
|
+
version: 0.0.6
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Michael van Rooijen
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-29 00:00:00 +01:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -26,7 +25,6 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 19
|
30
28
|
segments:
|
31
29
|
- 1
|
32
30
|
- 1
|
@@ -42,7 +40,6 @@ dependencies:
|
|
42
40
|
requirements:
|
43
41
|
- - ~>
|
44
42
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 15
|
46
43
|
segments:
|
47
44
|
- 1
|
48
45
|
- 6
|
@@ -58,7 +55,6 @@ dependencies:
|
|
58
55
|
requirements:
|
59
56
|
- - ~>
|
60
57
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 15
|
62
58
|
segments:
|
63
59
|
- 2
|
64
60
|
- 0
|
@@ -74,7 +70,6 @@ dependencies:
|
|
74
70
|
requirements:
|
75
71
|
- - ~>
|
76
72
|
- !ruby/object:Gem::Version
|
77
|
-
hash: 23
|
78
73
|
segments:
|
79
74
|
- 1
|
80
75
|
- 0
|
@@ -90,7 +85,6 @@ dependencies:
|
|
90
85
|
requirements:
|
91
86
|
- - ~>
|
92
87
|
- !ruby/object:Gem::Version
|
93
|
-
hash: 7
|
94
88
|
segments:
|
95
89
|
- 3
|
96
90
|
- 0
|
@@ -106,7 +100,6 @@ dependencies:
|
|
106
100
|
requirements:
|
107
101
|
- - ~>
|
108
102
|
- !ruby/object:Gem::Version
|
109
|
-
hash: 7
|
110
103
|
segments:
|
111
104
|
- 1
|
112
105
|
- 4
|
@@ -209,7 +202,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
209
202
|
requirements:
|
210
203
|
- - ">="
|
211
204
|
- !ruby/object:Gem::Version
|
212
|
-
hash: 3
|
213
205
|
segments:
|
214
206
|
- 0
|
215
207
|
version: "0"
|
@@ -218,7 +210,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
210
|
requirements:
|
219
211
|
- - ">="
|
220
212
|
- !ruby/object:Gem::Version
|
221
|
-
hash: 3
|
222
213
|
segments:
|
223
214
|
- 0
|
224
215
|
version: "0"
|