oneblackbear-obbistrano 1.0.73 → 1.0.74
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 +17 -6
- data/obbistrano.gemspec +1 -1
- metadata +4 -3
data/lib/obbistrano_tasks.rb
CHANGED
@@ -87,6 +87,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
87
87
|
server_ssh_key
|
88
88
|
api.add_key({:title=>"#{host}",:key=>server_ssh_key})
|
89
89
|
end
|
90
|
+
|
90
91
|
|
91
92
|
end
|
92
93
|
|
@@ -115,6 +116,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
115
116
|
deploy_check
|
116
117
|
php_wax_deploy if defined? "#{phpwax}"
|
117
118
|
cms_deploy if defined? "#{cms}"
|
119
|
+
css_build
|
120
|
+
js_build
|
118
121
|
end
|
119
122
|
|
120
123
|
task :deploy_check do
|
@@ -182,12 +185,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
182
185
|
logger.info "Wildfire CMS has been updated on branch #{cms}"
|
183
186
|
end
|
184
187
|
|
185
|
-
task :cms_syncdb do
|
186
|
-
logger.level = -1
|
187
|
-
run "cd #{deploy_to} && script/plugin syncdb cms #{environment}"
|
188
|
-
logger.level = 2
|
189
|
-
logger.info "Wildfire CMS database has been synchronised"
|
190
|
-
end
|
191
188
|
|
192
189
|
task :php_wax_deploy do
|
193
190
|
logger.level = -1
|
@@ -213,6 +210,20 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
213
210
|
logger.info "PHP Wax has been updated on branch #{phpwax}"
|
214
211
|
end
|
215
212
|
|
213
|
+
|
214
|
+
task :css_build
|
215
|
+
run "cd #{deploy_to} && rm -f public/stylesheets/build.css"
|
216
|
+
Dir.glob("**/*.css").each do |f|
|
217
|
+
run "cd #{deploy_to} && cat #{f} >> public/stylesheets/build.css"
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
task :js_build
|
222
|
+
run "cd #{deploy_to} && rm -f public/javascripts/build.js"
|
223
|
+
Dir.glob("**/*.js").each do |f|
|
224
|
+
run "cd #{deploy_to} && cat #{f} >> public/javascripts/build.js"
|
225
|
+
end
|
226
|
+
end
|
216
227
|
####### ##############
|
217
228
|
|
218
229
|
|
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.74"
|
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.74
|
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-
|
13
|
+
date: 2009-08-21 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- lib/templates/apache_vhost.erb
|
62
62
|
has_rdoc: false
|
63
63
|
homepage: http://github.com/oneblackbear/obbistrano
|
64
|
+
licenses:
|
64
65
|
post_install_message:
|
65
66
|
rdoc_options: []
|
66
67
|
|
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
82
|
requirements: []
|
82
83
|
|
83
84
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.
|
85
|
+
rubygems_version: 1.3.5
|
85
86
|
signing_key:
|
86
87
|
specification_version: 2
|
87
88
|
summary: Adds extra namespaces to Capistrano to allow simple setup, deploys and maintenance.
|