oneblackbear-obbistrano 1.0.39 → 1.0.40
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 +8 -3
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
@@ -68,7 +68,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
68
68
|
config_setup
|
69
69
|
databases rescue set(:databases, ["#{application}"])
|
70
70
|
aliases rescue set(:aliases, []);
|
71
|
-
|
72
71
|
end
|
73
72
|
|
74
73
|
task :needs_root do
|
@@ -99,7 +98,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
99
98
|
end
|
100
99
|
|
101
100
|
task :syncdb do
|
101
|
+
logger.level = -1
|
102
102
|
run "cd #{deploy_to} && script/syncdb #{environment}"
|
103
|
+
logger.level=2
|
104
|
+
logger.info "Application database has been synchronised"
|
103
105
|
end
|
104
106
|
|
105
107
|
task :git_deploy do
|
@@ -117,7 +119,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
117
119
|
rescue
|
118
120
|
run "cd #{deploy_to} && git checkout #{branch}"
|
119
121
|
end
|
120
|
-
logger.level =
|
122
|
+
logger.level = 2
|
121
123
|
logger.info "Application has been updated on branch #{branch}"
|
122
124
|
end
|
123
125
|
|
@@ -142,12 +144,15 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
142
144
|
rescue
|
143
145
|
run "cd #{deploy_to}/plugins/cms && git checkout #{cms}"
|
144
146
|
end
|
145
|
-
logger.level =
|
147
|
+
logger.level = 2
|
146
148
|
logger.info "Wildfire CMS has been updated on branch #{cms}"
|
147
149
|
end
|
148
150
|
|
149
151
|
task :cms_syncdb do
|
152
|
+
logger.level = -1
|
150
153
|
run "cd #{deploy_to} && script/plugin syncdb cms #{environment}"
|
154
|
+
logger.level = 2
|
155
|
+
logger.info "Wildfire CMS database has been synchronised"
|
151
156
|
end
|
152
157
|
|
153
158
|
task :php_wax_deploy do
|
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.40"
|
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=
|