ricodigo-capistrano-recipes 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,15 @@
1
+ Capistrano::Configuration.instance.load do
2
+ set :asset_packager, "jammit"
3
+
4
+ namespace :assets do
5
+ desc "Compile Assets with compass"
6
+ task :compass do
7
+ run "cd #{current_path} && bundle exec compass compile; true"
8
+ end
9
+
10
+ desc "Package assets"
11
+ task :package do
12
+ run "cd #{current_path} && bundle exec #{asset_packager}; true"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ Capistrano::Configuration.instance.load do
2
+ namespace :magent do
3
+ task :start do
4
+ run "export RAILS_ENV=#{rails_env}; cd #{current_path}; bundle exec magent -d -Q default -l #{current_path}/log -P #{current_path}/tmp/pids start; true"
5
+ end
6
+
7
+ task :restart do
8
+ run "export RAILS_ENV=#{rails_env}; cd #{current_path}; bundle exec magent -d -Q default -l #{current_path}/log -P #{current_path}/tmp/pids restart; true"
9
+ end
10
+
11
+ task :stop do
12
+ run "export RAILS_ENV=#{rails_env}; cd #{current_path}; bundle exec magent -d -Q default -l #{current_path}/log -P #{current_path}/tmp/pids stop; true"
13
+ end
14
+ end
15
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ricodigo-capistrano-recipes}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David A. Cuadrado"]
@@ -29,12 +29,14 @@ Gem::Specification.new do |s|
29
29
  "generators/unicorn.rb.erb",
30
30
  "lib/helpers.rb",
31
31
  "lib/recipes/application.rb",
32
+ "lib/recipes/assets.rb",
32
33
  "lib/recipes/bluepill.rb",
33
34
  "lib/recipes/bundler.rb",
34
35
  "lib/recipes/db.rb",
35
36
  "lib/recipes/deploy.rb",
36
37
  "lib/recipes/hooks.rb",
37
38
  "lib/recipes/log.rb",
39
+ "lib/recipes/magent.rb",
38
40
  "lib/recipes/nginx.rb",
39
41
  "lib/recipes/symlinks.rb",
40
42
  "lib/recipes/unicorn.rb",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - David A. Cuadrado
@@ -164,12 +164,14 @@ files:
164
164
  - generators/unicorn.rb.erb
165
165
  - lib/helpers.rb
166
166
  - lib/recipes/application.rb
167
+ - lib/recipes/assets.rb
167
168
  - lib/recipes/bluepill.rb
168
169
  - lib/recipes/bundler.rb
169
170
  - lib/recipes/db.rb
170
171
  - lib/recipes/deploy.rb
171
172
  - lib/recipes/hooks.rb
172
173
  - lib/recipes/log.rb
174
+ - lib/recipes/magent.rb
173
175
  - lib/recipes/nginx.rb
174
176
  - lib/recipes/symlinks.rb
175
177
  - lib/recipes/unicorn.rb
@@ -189,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
191
  requirements:
190
192
  - - ">="
191
193
  - !ruby/object:Gem::Version
192
- hash: -436794333035792505
194
+ hash: -2880036005150026152
193
195
  segments:
194
196
  - 0
195
197
  version: "0"