rails_pwnerer 0.6.59 → 0.6.60

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.6.60. Switched Rails database adapter to mysql2.
2
+
1
3
  v0.6.59. Bugfix in pgsql scaffold code.
2
4
 
3
5
  v0.6.58. Added Gemfile to list of rpwn-changed files to be reverted on VCS ops.
@@ -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' => 'mysql', 'database' => db_name, 'username' => db_user, 'password' => db_pass
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
 
@@ -13,7 +13,7 @@ class RailsPwnage::Scaffolds::Gems
13
13
  end
14
14
 
15
15
  def install_dbi
16
- install_gems %w(mysql pg sqlite3-ruby)
16
+ install_gems %w(mysql mysql2 pg sqlite3-ruby)
17
17
  end
18
18
 
19
19
  def install_text_tools
@@ -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)
@@ -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.59"
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-03-19}
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
- - 59
9
- version: 0.6.59
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-03-19 00:00:00 -04:00
17
+ date: 2010-05-05 00:00:00 -04:00
18
18
  default_executable: bin/rpwn
19
19
  dependencies: []
20
20