rails_pwnerer 0.6.31 → 0.6.32

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.32. Fixed default instance names for DNS names with dashes.
2
+
1
3
  v0.6.31. Debian package installer tries to bypass proxy if necessary.
2
4
 
3
5
  v0.6.30. Fixed crash if the highline gem is not available.
@@ -15,8 +15,8 @@ class RailsPwnage::Scaffolds::Config
15
15
 
16
16
  # host info
17
17
  host_info = RailsPwnage::Config.create_db :host
18
- # the default instance name
19
- host_info[:instance] = Socket.gethostname().split('.').first
18
+ # the default instance name -- DNS names have dashes, but mySQL hates that
19
+ host_info[:instance] = Socket.gethostname().split('.').first.gsub('-', '_')
20
20
  # the computer's name (if we ever do status reports)
21
21
  host_info[:name] = Socket.gethostname()
22
22
  # username for creating / dropping databases
@@ -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.31"
5
+ s.version = "0.6.32"
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{2009-02-03}
9
+ s.date = %q{2009-02-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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_pwnerer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.31
4
+ version: 0.6.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-03 00:00:00 -05:00
12
+ date: 2009-02-05 00:00:00 -05:00
13
13
  default_executable: bin/rpwn
14
14
  dependencies: []
15
15