capistrano-af83 0.4.0 → 0.4.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38e5ccbb39ad34474a5cc623a92352dc3c11008f
4
- data.tar.gz: 99611014107dde30c02a63f659571902061d186b
3
+ metadata.gz: 6bc63b5f0cf5b0ad1e37c657d2d504a83c4fcdba
4
+ data.tar.gz: f62e1020411d6abc567564c0c6af9582af010f9e
5
5
  SHA512:
6
- metadata.gz: 570ca156cc0097ed4da37fc2f6e86bd53d7f47fed55f8c53aaf1e5cb99d6716fc3e86e724c5dc96ea02f0810f69f918f2a0a261a430435ef4dd6628636c4d4fc
7
- data.tar.gz: bb9438a607c19df9cd89bb992863565dd4e28d3d0093bc6cd4444bfa36727fa6e1864c38bb62a4a6043e771732ce367e7b0383d03151880a9810db348d3adffe
6
+ metadata.gz: 5f8fc94089056a78aa8296bf8115e476227b7d2e7e45eef4b0baf61289696d55f0a0ec9d14a048a69a2e457d94dac0c9d4d141c32198fe6ecce2442d29bc007d
7
+ data.tar.gz: 5f4c9e6e4f4e146ffc14ab894b45525bade7f5f3c19e6eb92fb86d6df03bea63f123d5773fe069450baa3bd94efef0dbe2880a37d072e567cde392bab43f5f0b
@@ -0,0 +1,7 @@
1
+ # encoding: UTF-8
2
+ namespace :bower do
3
+ desc "Download JS/CSS assets using bower"
4
+ task :install do
5
+ run "cd #{release_path} && bower install"
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: UTF-8
2
+
3
+ namespace :bundler do
4
+ task :install do
5
+ run 'gem query --local | grep bundler || gem install bundler'
6
+ end
7
+ end
8
+
9
+ before 'deploy:update_code', 'bundler:install'
@@ -0,0 +1,12 @@
1
+ # encoding: utf-8
2
+
3
+ namespace :deploy do
4
+
5
+ desc "Create an environment-specific history file for IRB"
6
+ task "create_irb_history_file" do
7
+ run "touch #{deploy_to}/.irb_history"
8
+ end
9
+
10
+ end
11
+
12
+ after "deploy:setup", "deploy:create_irb_history_file"
@@ -1,4 +1,5 @@
1
1
  # Create a JS file with the Rails routes
2
+ load "af83/bower"
2
3
 
3
4
  namespace :js do
4
5
  desc "Create js routes"
@@ -8,7 +9,7 @@ namespace :js do
8
9
 
9
10
  desc "Download JS/CSS assets using bower"
10
11
  task :bower_install do
11
- run "cd #{release_path} && bower install"
12
+ bower.install
12
13
  end
13
14
  end
14
15
 
@@ -0,0 +1,7 @@
1
+ # encoding: UTF-8
2
+ namespace :nginx do
3
+ desc "reload nginx"
4
+ task :reload do
5
+ run "sudo /etc/init.d/nginx reload"
6
+ end
7
+ end
@@ -21,4 +21,11 @@ namespace :rails do
21
21
  chan.send_data "#{input}\n"
22
22
  end
23
23
  end
24
+
25
+ desc 'Revision on public'
26
+ task :revision do
27
+ run "cd #{current_path} && ln -sf ../REVISION ./public/revision.html"
28
+ end
24
29
  end
30
+
31
+ after "deploy:restart", "rails:revision"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AF83
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-af83
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Michel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-15 00:00:00.000000000 Z
11
+ date: 2013-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -89,10 +89,13 @@ files:
89
89
  - LICENSE
90
90
  - README.md
91
91
  - lib/capistrano/af83.rb
92
+ - lib/capistrano/af83/bower.rb
93
+ - lib/capistrano/af83/bundler.rb
92
94
  - lib/capistrano/af83/custom_maintenance_page.rb
93
95
  - lib/capistrano/af83/database.rb
94
96
  - lib/capistrano/af83/default.rb
95
97
  - lib/capistrano/af83/deploy/assets.rb
98
+ - lib/capistrano/af83/deploy/console.rb
96
99
  - lib/capistrano/af83/dragonfly.rb
97
100
  - lib/capistrano/af83/es.rb
98
101
  - lib/capistrano/af83/extensions.rb
@@ -101,6 +104,7 @@ files:
101
104
  - lib/capistrano/af83/irc_notification.rb
102
105
  - lib/capistrano/af83/js_routes.rb
103
106
  - lib/capistrano/af83/mongoid.rb
107
+ - lib/capistrano/af83/nginx.rb
104
108
  - lib/capistrano/af83/rails_goodies.rb
105
109
  - lib/capistrano/af83/resque.rb
106
110
  - lib/capistrano/af83/sphinx.rb
@@ -128,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
132
  version: '0'
129
133
  requirements: []
130
134
  rubyforge_project:
131
- rubygems_version: 2.0.0
135
+ rubygems_version: 2.0.2
132
136
  signing_key:
133
137
  specification_version: 4
134
138
  summary: Capistrano recipes for af83
135
139
  test_files: []
136
- has_rdoc: