capistrano-windows-server 0.3.0 → 0.4.0
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/VERSION +1 -1
- data/capistrano-windows-server.gemspec +1 -1
- data/lib/capistrano/ext/windows_server.rb +6 -0
- metadata +7 -7
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.4.0
|
|
@@ -129,6 +129,12 @@ configuration.load do
|
|
|
129
129
|
raise "Specify the command with COMMAND='some:task with_arguments'" unless ENV['COMMAND']
|
|
130
130
|
run "cd #{current_path} && #{rake_cmd} #{ENV['COMMAND']} RAILS_ENV=#{rails_env}"
|
|
131
131
|
end
|
|
132
|
+
|
|
133
|
+
desc "Run a git command in COMMAND"
|
|
134
|
+
task :git do
|
|
135
|
+
raise "Specify the command with COMMAND. eg: COMMAND='diff HEAD^^'" unless ENV['COMMAND']
|
|
136
|
+
run "cd #{current_path} && git #{ENV['COMMAND']}"
|
|
137
|
+
end
|
|
132
138
|
|
|
133
139
|
after 'deploy:setup', 'deploy:update_code'
|
|
134
140
|
after 'deploy:setup', 'deploy:mongrel:setup'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-windows-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
8
|
+
- 4
|
|
9
9
|
- 0
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.4.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Edward Anderson
|
|
@@ -19,9 +19,9 @@ date: 2011-08-10 00:00:00 -04:00
|
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
|
-
type: :runtime
|
|
23
|
-
name: capistrano
|
|
24
22
|
prerelease: false
|
|
23
|
+
name: capistrano
|
|
24
|
+
type: :runtime
|
|
25
25
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
26
26
|
none: false
|
|
27
27
|
requirements:
|
|
@@ -33,9 +33,9 @@ dependencies:
|
|
|
33
33
|
version: "0"
|
|
34
34
|
requirement: *id001
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
|
-
type: :development
|
|
37
|
-
name: jeweler
|
|
38
36
|
prerelease: false
|
|
37
|
+
name: jeweler
|
|
38
|
+
type: :development
|
|
39
39
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
|
40
40
|
none: false
|
|
41
41
|
requirements:
|