rails_pwnerer 0.6.71 → 0.6.72

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.6.72. More packages in the ruby scaffold.
2
+
1
3
  v0.6.71. Bugfix 2 for CPU enumeration in VM.
2
4
 
3
5
  v0.6.70. Bugfix for CPU enumeration in VM.
@@ -218,7 +218,8 @@ module RailsPwnerer::Base
218
218
  output = Kernel.` "apt-cache search --full ."
219
219
  versions = output.split("\n\n").map(&:strip).reject(&:empty?).map { |info|
220
220
  info_hash = Hash[*(info.split(/\n(?=\w)/).
221
- map { |s| s.split(': ', 2) }.flatten)]
221
+ map { |s| s.split(': ', 2) }.
222
+ select { |kvp| kvp.length == 2 }.flatten)]
222
223
  [info_hash['Package'], info_hash['Version']]
223
224
  }
224
225
  Hash[*(versions.flatten)]
@@ -82,6 +82,11 @@ class RailsPwnerer::Scaffolds::Packages
82
82
  end
83
83
 
84
84
  package 'ruby', 'ruby1.8'
85
+
86
+ # Libraries needed to compile custom rubies.
87
+ package 'libssl-dev', /^libssl[0-9.]*-dev$/
88
+ package 'libreadline-dev', /^libreadline\d*-dev$/
89
+ package 'zlib-dev', /^zlib[0-9a-z]*-dev$/
85
90
 
86
91
  # Extensions that don't come in the ruby package, but should.
87
92
  package 'libdbm-ruby', 'libdbm-ruby1.8'
@@ -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.71"
5
+ s.version = "0.6.72"
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-06-10}
9
+ s.date = %q{2010-07-04}
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: 137
4
+ hash: 151
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 71
10
- version: 0.6.71
9
+ - 72
10
+ version: 0.6.72
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-06-10 00:00:00 -04:00
18
+ date: 2010-07-04 00:00:00 -04:00
19
19
  default_executable: bin/rpwn
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency