rails_pwnerer 0.6.59 → 0.6.60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/pwnage/app/db/mysql.rb +1 -1
- data/lib/pwnage/scaffolds/gems.rb +1 -1
- data/lib/pwnage/scaffolds/packages.rb +1 -1
- data/rails_pwnerer.gemspec +2 -2
- metadata +3 -3
data/CHANGELOG
CHANGED
data/lib/pwnage/app/db/mysql.rb
CHANGED
@@ -72,7 +72,7 @@ ENDSQL
|
|
72
72
|
|
73
73
|
config_file = File.join app_config[:app_path], 'config', 'database.yml'
|
74
74
|
configuration = File.open(config_file, 'r') { |f| YAML.load f }
|
75
|
-
configuration['production'].merge! 'adapter' => '
|
75
|
+
configuration['production'].merge! 'adapter' => 'mysql2', 'database' => db_name, 'username' => db_user, 'password' => db_pass
|
76
76
|
configuration['production'].merge! mysql_host_info()
|
77
77
|
File.open(config_file, 'w') { |f| YAML.dump(configuration, f) }
|
78
78
|
|
@@ -29,7 +29,7 @@ class RailsPwnage::Scaffolds::Packages
|
|
29
29
|
# packages that are needed by popular gems
|
30
30
|
def install_tools
|
31
31
|
# needed by rmagick which does image processing
|
32
|
-
install_packages %w(libmagick9-dev)
|
32
|
+
install_packages %w(libmagick9-dev libmagickwand-dev)
|
33
33
|
|
34
34
|
# needed by xml parsers
|
35
35
|
install_packages %w(libxml2-dev libxslt1-dev)
|
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.60"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-05-05}
|
10
10
|
s.default_executable = %q{bin/rpwn}
|
11
11
|
s.description = %q{Rails deployment tool/hack.}
|
12
12
|
s.email = %q{victor@costan.us}
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 60
|
9
|
+
version: 0.6.60
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Victor Costan
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-05-05 00:00:00 -04:00
|
18
18
|
default_executable: bin/rpwn
|
19
19
|
dependencies: []
|
20
20
|
|