deprec 3.1.0.rc12 → 3.1.0.rc13

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,10 @@
1
1
  deprec changelog
2
2
  ================
3
3
 
4
+ = 3.1.0.rc13 (Jul 22, 2011)
5
+
6
+ * temp fix - canonical service names not working
7
+
4
8
  = 3.1.0.rc12 (Jul 22, 2011)
5
9
 
6
10
  * Added TEMPLATE_LOAD_PATH so deprec-core can locate templates
@@ -13,8 +13,12 @@ Capistrano::Configuration.instance(:must_exist).load do
13
13
  # Some things Rails needs
14
14
  apt.install( { :base => %w(libmysqlclient15-dev sqlite3 libsqlite3-ruby libsqlite3-dev libpq-dev) }, :stable)
15
15
 
16
- top.deprec.web.install # Uses web_server_type
17
- top.deprec.app.install # Uses app_server_type
16
+ # XXX temporary fix
17
+ # top.deprec.web.install # Uses web_server_type
18
+ # top.deprec.app.install # Uses app_server_type
19
+ top.deprec.apache.install
20
+ top.deprec.passenger.install
21
+
18
22
  # top.deprec.rails.install
19
23
  top.deprec.logrotate.install
20
24
  # top.deprec.monit.install # Not using monit lately
@@ -22,14 +26,20 @@ Capistrano::Configuration.instance(:must_exist).load do
22
26
 
23
27
  desc "Generate config files for rack app."
24
28
  task :config_gen do
25
- top.deprec.web.config_gen_project
26
- top.deprec.app.config_gen_project
29
+ # XXX temporary fix
30
+ # top.deprec.web.config_gen_project
31
+ # top.deprec.app.config_gen_project
32
+ top.deprec.apache.config_gen_project
33
+ top.deprec.passenger.config_gen_project
27
34
  end
28
35
 
29
36
  desc "Push out config files for rack app."
30
37
  task :config do
31
- top.deprec.web.config_project
32
- top.deprec.app.config_project
38
+ # XXX temporary fix
39
+ # top.deprec.web.config_project
40
+ # top.deprec.app.config_project
41
+ top.deprec.apache.config_project
42
+ top.deprec.passenger.config_project
33
43
  end
34
44
 
35
45
  desc "Install debs listed in :packages_for_project"
@@ -1,3 +1,3 @@
1
1
  module Deprec
2
- VERSION = "3.1.0.rc12"
2
+ VERSION = "3.1.0.rc13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deprec
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.rc12
4
+ version: 3.1.0.rc13
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -14,18 +14,18 @@ default_executable: depify
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: deprec-core
17
- requirement: &11350820 !ruby/object:Gem::Requirement
17
+ requirement: &9817220 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
- version: 3.1.4
22
+ version: 3.1.7
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *11350820
25
+ version_requirements: *9817220
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: capistrano
28
- requirement: &11350280 !ruby/object:Gem::Requirement
28
+ requirement: &9816720 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.6.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *11350280
36
+ version_requirements: *9816720
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: capistrano-ext
39
- requirement: &11349820 !ruby/object:Gem::Requirement
39
+ requirement: &9816240 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 1.2.1
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *11349820
47
+ version_requirements: *9816240
48
48
  description: ! " This project provides Capistrano and Rake tasks to \n assist
49
49
  with deployment and configuration management\n on ubuntu linux servers.\n"
50
50
  email: mike@bailey.net.au
@@ -89,7 +89,6 @@ files:
89
89
  - lib/deprec/recipes/rack.rb
90
90
  - lib/deprec/recipes/utils.rb
91
91
  - lib/deprec/recipes/php.rb
92
- - lib/deprec/recipes/canonical.rb
93
92
  - lib/deprec/recipes/mongrel.rb
94
93
  - lib/deprec/recipes/heartbeat.rb
95
94
  - lib/deprec/recipes/passenger.rb
@@ -1,68 +0,0 @@
1
- require 'deprec-core'
2
- # canonical.rb
3
- #
4
- # Running deprec:web:stop will be the same as running deprec:apache:stop or
5
- # deprec:nginx:stop depending what you have chosen.
6
- #
7
- # generic namespaces are linked up to chosen applications at runtime but these
8
- # stubs are so they'll be included in the output of "cap -T"
9
- #
10
- Capistrano::Configuration.instance(:must_exist).load do
11
-
12
- %w(ruby).each do |package|
13
- namespace "deprec:#{package}" do
14
-
15
- desc "Install #{package.capitalize}"
16
- task :install do
17
- end
18
-
19
- end
20
- end
21
-
22
- %w(web app db).each do |server|
23
- namespace "deprec:#{server}" do
24
-
25
- desc "Install #{server.capitalize} server"
26
- task :install, :roles => server do
27
- end
28
-
29
- desc "Generate config file(s) for #{server} server from template(s)"
30
- task :config_gen do
31
- end
32
-
33
- desc "Deploy configuration files(s) for #{server} server"
34
- task :config, :roles => server do
35
- end
36
-
37
- desc "Start #{server} server"
38
- task :start, :roles => server do
39
- end
40
-
41
- desc "Stop #{server} server"
42
- task :stop, :roles => server do
43
- end
44
-
45
- desc "Stop #{server} server"
46
- task :restart, :roles => server do
47
- end
48
-
49
- desc "Enable startup script for #{server} server"
50
- task :activate, :roles => server do
51
- end
52
-
53
- desc "Disable startup script for #{server} server"
54
- task :deactivate, :roles => server do
55
- end
56
-
57
- desc "Backup data for #{server} server"
58
- task :backup, :roles => server do
59
- end
60
-
61
- desc "Restore data for #{server} server from backup"
62
- task :restore, :roles => server do
63
- end
64
-
65
- end
66
- end
67
-
68
- end