deployable 0.0.7 → 0.1.0

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.
@@ -1,3 +1,8 @@
1
+ ## 0.1.0 (December 2nd, 2012)
2
+
3
+ * Added the passenger standalone configuration option path
4
+ * Update dependency of capistrano to newest version
5
+
1
6
  ## 0.0.7 (April 4th, 2012)
2
7
 
3
8
  * Added recipe without database support
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
 
21
21
  # specify any dependencies here; for example:
22
22
  # s.add_development_dependency "rspec"
23
- s.add_runtime_dependency "capistrano", "~> 2.9.0"
23
+ s.add_runtime_dependency "capistrano", "~> 2.13.0"
24
24
  s.add_runtime_dependency "capistrano-ext", "~> 1.2.1"
25
25
 
26
26
  # This may be deleted in future versions. Needed because in older
@@ -19,10 +19,6 @@ set :git_enable_submodules, 1
19
19
  set :user, "admin"
20
20
  set :use_sudo, false
21
21
 
22
- set :config_files, {
23
- "local.rb" => defer{ "#{current_release}/config/local.rb" }
24
- }
25
-
26
22
  # ======================================
27
23
 
28
24
  require 'deployable/recipes/default_with_database'
@@ -4,8 +4,8 @@
4
4
  # description: Passenger Standalone
5
5
 
6
6
  # ======================================================
7
- # Version: 0.0.7
8
- # Date: 2012-02-05
7
+ # Version: 0.1.0
8
+ # Date: 2012-12-02
9
9
  # ======================================================
10
10
 
11
11
  # The user the applications run as.
@@ -25,7 +25,8 @@ APPLICATIONS_PATH = USER_HOME_PATH + "/applications/"
25
25
  # Example :Server.yml
26
26
  #
27
27
  # passenger:
28
- # port: 10001 # The port number passenger standalone will be ran on
28
+ # port: 10001 # The port number passenger standalone will be ran on
29
+ # path: current # The path to the application (default: current)
29
30
  # rvm:
30
31
  # rvm_ruby_string: "rubyversion@gemsetname" # The ruby version and gemset RVM will use
31
32
  # callbacks: # All callbacks are optional and are references to scripts relative to APPLICATIONS_PATH/APPLICATION_NAME/STAGE
@@ -158,13 +159,14 @@ class Application
158
159
 
159
160
  # Start the server
160
161
  options = []
162
+ options << File.join(self.path, self.config['passenger']['path'] || "current")
161
163
  options << "--user #{USER}"
162
164
  options << "--port #{self.config['passenger']['port']}"
163
165
  options << "--environment production"
164
166
  options << "--daemonize"
165
167
  options << "--pid-file #{self.path + "shared/pid/passenger.pid"}"
166
168
  options << "--log-file /dev/null"
167
- puts rvm_execute(self.config, "passenger start #{self.path + "current"} #{options.join(" ")}")
169
+ puts rvm_execute(self.config, "passenger start #{options.join(" ")}")
168
170
 
169
171
  # Run the after start callback
170
172
  run_callback(:start, :after)
@@ -1,3 +1,3 @@
1
1
  module Deployable
2
- VERSION = "0.0.7"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,22 +10,27 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-04 00:00:00.000000000Z
13
+ date: 2012-12-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
17
- requirement: &70267159523680 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 2.9.0
22
+ version: 2.13.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70267159523680
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: 2.13.0
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: capistrano-ext
28
- requirement: &70267159510180 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ~>
@@ -33,7 +38,12 @@ dependencies:
33
38
  version: 1.2.1
34
39
  type: :runtime
35
40
  prerelease: false
36
- version_requirements: *70267159510180
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 1.2.1
37
47
  description: This library contains commonly used capistrano tasks, a couple of default
38
48
  recipes and example configurations.
39
49
  email:
@@ -86,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
96
  version: '0'
87
97
  requirements: []
88
98
  rubyforge_project: deployable
89
- rubygems_version: 1.8.6
99
+ rubygems_version: 1.8.24
90
100
  signing_key:
91
101
  specification_version: 3
92
102
  summary: A collection of handy capistrano tasks and recipes