capistrano-af83 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,16 @@
1
1
  # Use the config/database/#{rails_env}.yml file for database config
2
2
 
3
3
  namespace :database do
4
+ desc "Database create"
5
+ task :create do
6
+ run "cd #{current_path} && #{bundle_cmd} exec rake db:create:all"
7
+ end
8
+
9
+ desc "Database seeds population"
10
+ task :seed do
11
+ run "cd #{current_path} && #{bundle_cmd} exec rake db:seed"
12
+ end
13
+
4
14
  desc "Copy database config"
5
15
  task :copy do
6
16
  upload "config/database/#{rails_env}.yml", "#{shared_path}/database.yml", :via => :scp
@@ -0,0 +1,13 @@
1
+ # encoding: UTF-8
2
+ namespace :sphinx do
3
+ desc "Rebuild sphinx index"
4
+ task :rebuild do
5
+ run "cd #{current_path} && #{bundle_cmd} exec rake ts:rebuild"
6
+ end
7
+ desc "Start sphinx"
8
+ task :start do
9
+ run "cd #{current_path} && #{bundle_cmd} exec rake ts:start"
10
+ end
11
+ end
12
+
13
+ after "deploy:restart", "sphinx:rebuild"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AF83
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,66 +1,93 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: capistrano-af83
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 2
10
+ version: 0.2.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Bruno Michel
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-05-07 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-06-08 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: capistrano
16
- requirement: &19437240 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
26
+ requirements:
19
27
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '2.9'
28
+ - !ruby/object:Gem::Version
29
+ hash: 17
30
+ segments:
31
+ - 2
32
+ - 9
33
+ version: "2.9"
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *19437240
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: capistrano_colors
27
- requirement: &19436460 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
28
40
  none: false
29
- requirements:
41
+ requirements:
30
42
  - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '0.5'
43
+ - !ruby/object:Gem::Version
44
+ hash: 1
45
+ segments:
46
+ - 0
47
+ - 5
48
+ version: "0.5"
33
49
  type: :runtime
34
- prerelease: false
35
- version_requirements: *19436460
36
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
37
52
  name: capistrano-notification
38
- requirement: &19435620 !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
39
55
  none: false
40
- requirements:
56
+ requirements:
41
57
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '0.1'
58
+ - !ruby/object:Gem::Version
59
+ hash: 9
60
+ segments:
61
+ - 0
62
+ - 1
63
+ version: "0.1"
44
64
  type: :runtime
45
- prerelease: false
46
- version_requirements: *19435620
47
- - !ruby/object:Gem::Dependency
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
48
67
  name: sushi
49
- requirement: &19433840 !ruby/object:Gem::Requirement
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
50
70
  none: false
51
- requirements:
71
+ requirements:
52
72
  - - ~>
53
- - !ruby/object:Gem::Version
73
+ - !ruby/object:Gem::Version
74
+ hash: 27
75
+ segments:
76
+ - 0
77
+ - 0
78
+ - 2
54
79
  version: 0.0.2
55
80
  type: :runtime
56
- prerelease: false
57
- version_requirements: *19433840
81
+ version_requirements: *id004
58
82
  description: Capistrano recipes for af83
59
83
  email: bruno.michel@af83.com
60
84
  executables: []
85
+
61
86
  extensions: []
87
+
62
88
  extra_rdoc_files: []
63
- files:
89
+
90
+ files:
64
91
  - LICENSE
65
92
  - README.md
66
93
  - lib/capistrano/af83.rb
@@ -75,32 +102,44 @@ files:
75
102
  - lib/capistrano/af83/js_routes.rb
76
103
  - lib/capistrano/af83/mongoid.rb
77
104
  - lib/capistrano/af83/resque.rb
105
+ - lib/capistrano/af83/sphinx.rb
78
106
  - lib/capistrano/af83/stages.rb
79
107
  - lib/capistrano/af83/thin.rb
80
108
  - lib/capistrano/af83/unicorn.rb
81
109
  - lib/capistrano/af83/version.rb
110
+ has_rdoc: true
82
111
  homepage: https://github.com/af83/capistrano-af83
83
112
  licenses: []
113
+
84
114
  post_install_message:
85
115
  rdoc_options: []
86
- require_paths:
116
+
117
+ require_paths:
87
118
  - lib
88
- required_ruby_version: !ruby/object:Gem::Requirement
119
+ required_ruby_version: !ruby/object:Gem::Requirement
89
120
  none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ hash: 3
125
+ segments:
126
+ - 0
127
+ version: "0"
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
129
  none: false
96
- requirements:
97
- - - ! '>='
98
- - !ruby/object:Gem::Version
99
- version: '0'
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ hash: 3
134
+ segments:
135
+ - 0
136
+ version: "0"
100
137
  requirements: []
138
+
101
139
  rubyforge_project:
102
- rubygems_version: 1.8.11
140
+ rubygems_version: 1.6.2
103
141
  signing_key:
104
142
  specification_version: 3
105
143
  summary: Capistrano recipes for af83
106
144
  test_files: []
145
+