rails_pwnerer 0.6.74 → 0.6.75
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/rails_pwnerer/app/cluster_config.rb +3 -3
- data/lib/rails_pwnerer/app/db/mysql.rb +1 -1
- data/rails_pwnerer.gemspec +2 -2
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -81,13 +81,13 @@ class RailsPwnerer::App::ClusterConfig
|
|
81
81
|
RailsPwnerer::App::NginxConfig.new.update app_name, instance_name
|
82
82
|
end
|
83
83
|
|
84
|
-
static_cmd = "thin start -a 127.0.0.1 -c #{app_path} -
|
85
|
-
" -g #{pwnerer_group} -e #{environment} "
|
84
|
+
static_cmd = "thin start -a 127.0.0.1 -c #{app_path} -u #{pwnerer_user}" +
|
85
|
+
" -g #{pwnerer_group} -e #{environment} -d "
|
86
86
|
|
87
87
|
# TODO: start the servers simultaneously
|
88
88
|
Dir.chdir app_path do
|
89
89
|
if File.exist? 'config.ru'
|
90
|
-
static_cmd << '-R config.ru '
|
90
|
+
static_cmd << '-R config.ru '
|
91
91
|
else
|
92
92
|
static_cmd << '-A rails '
|
93
93
|
end
|
@@ -75,7 +75,7 @@ ENDSQL
|
|
75
75
|
if !configuration['production'] or
|
76
76
|
!configuration['production']['adapter'] or
|
77
77
|
!(/mysql/ =~ configuration['production']['adapter'])
|
78
|
-
configuration['production']['adapter'] = '
|
78
|
+
configuration['production']['adapter'] = 'mysql2'
|
79
79
|
end
|
80
80
|
configuration['production'].merge! 'database' => db_name, 'username' => db_user, 'password' => db_pass
|
81
81
|
configuration['production'].merge! mysql_host_info()
|
data/rails_pwnerer.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{rails_pwnerer}
|
5
|
-
s.version = "0.6.
|
5
|
+
s.version = "0.6.75"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-10-15}
|
10
10
|
s.default_executable = %q{bin/rpwn}
|
11
11
|
s.description = %q{Rails deployment hack.}
|
12
12
|
s.email = %q{victor@costan.us}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_pwnerer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 145
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 75
|
10
|
+
version: 0.6.75
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-15 00:00:00 -04:00
|
19
19
|
default_executable: bin/rpwn
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|