oneblackbear-obbistrano 1.0.31 → 1.0.33
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/lib/obbistrano_tasks.rb +9 -5
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -95,7 +95,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
95
95
|
end
|
96
96
|
|
97
97
|
task :git_deploy do
|
98
|
-
logger.level =
|
98
|
+
logger.level = 0
|
99
99
|
begin
|
100
100
|
run "ls #{deploy_to}/.git"
|
101
101
|
rescue
|
@@ -118,14 +118,16 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
118
118
|
end
|
119
119
|
|
120
120
|
task :cms_deploy do
|
121
|
-
logger.level =
|
121
|
+
logger.level = 0
|
122
122
|
run "mkdir -p #{deploy_to}/plugins/cms"
|
123
123
|
begin
|
124
|
-
run "ls #{deploy_to}/plugins/cms/.git"
|
124
|
+
run "ls #{deploy_to}/plugins/cms/.git/"
|
125
125
|
rescue
|
126
|
+
logger.info "Initialising Wildfire Folder"
|
126
127
|
run "cd #{deploy_to}/plugins/cms && git init"
|
127
128
|
run "cd #{deploy_to}/plugins/cms && git remote add origin git://github.com/phpwax/wildfire.git"
|
128
129
|
end
|
130
|
+
logger.info "Updating Wildfire Code"
|
129
131
|
run "cd #{deploy_to}/plugins/cms && git fetch"
|
130
132
|
begin
|
131
133
|
run "cd #{deploy_to}/plugins/cms && git checkout -b #{cms} origin/#{cms}"
|
@@ -137,14 +139,16 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
137
139
|
end
|
138
140
|
|
139
141
|
task :php_wax_deploy do
|
142
|
+
logger.level = -1
|
140
143
|
run "mkdir -p #{deploy_to}/wax"
|
141
144
|
begin
|
142
|
-
run "ls wax/.git"
|
145
|
+
run "ls wax/.git/"
|
143
146
|
rescue
|
147
|
+
logger.info "Initialising PHP Wax Folder"
|
144
148
|
run "cd #{deploy_to}/wax && git init"
|
145
149
|
run "cd #{deploy_to}/wax && git remote add origin git://github.com/phpwax/phpwax.git"
|
146
150
|
end
|
147
|
-
logger.
|
151
|
+
logger.info "Updating PHP Wax Code"
|
148
152
|
run "cd #{deploy_to}/wax && git fetch"
|
149
153
|
begin
|
150
154
|
run "cd #{deploy_to}/wax && git checkout -b #{phpwax} origin/#{phpwax}"
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.33"
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
7
7
|
s.date = Time.now
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oneblackbear-obbistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ross Riley
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-06-
|
13
|
+
date: 2009-06-19 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|