rails_pwnerer 0.6.86 → 0.6.87

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.87. Added /etc/gemrc to stop wasting time building RDocs on servers.
2
+
1
3
  v0.6.86. Apps start right after they're installed.
2
4
 
3
5
  v0.6.85. Ignores bad configuration files in the application.
@@ -45,6 +45,13 @@ class RailsPwnerer::Scaffolds::RubyGems
45
45
  end
46
46
  end
47
47
 
48
+ # sets up good defaults for Rubygems
49
+ def configure_rubygems
50
+ File.open("/etc/gemrc") do |f|
51
+ f.write "gem --no-force --no-rdoc --no-ri --no-user-install --wrappers\n"
52
+ end
53
+ end
54
+
48
55
  def run
49
56
  # get the old path set by pre-go
50
57
  old_gems = @@old_gems
@@ -53,6 +60,9 @@ class RailsPwnerer::Scaffolds::RubyGems
53
60
  remove_packages %w(rubygems)
54
61
  install_rubygems
55
62
 
63
+ # configure rubygems so it doesn't waste time
64
+ configure_rubygems
65
+
56
66
  # patch Ubuntu's broken rubygems installation
57
67
  system "cp /usr/bin/gem1.8 /usr/bin/gem"
58
68
 
@@ -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.86"
5
+ s.version = "0.6.87"
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{2011-02-27}
9
+ s.date = %q{2011-03-01}
10
10
  s.default_executable = %q{bin/rpwn}
11
11
  s.description = %q{Rails deployment hack.}
12
12
  s.email = %q{victor@costan.us}
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rails_pwnerer", "--main", "README"]
19
19
  s.require_paths = ["lib", "ext"]
20
20
  s.rubyforge_project = %q{rails-pwnage}
21
- s.rubygems_version = %q{1.5.2}
21
+ s.rubygems_version = %q{1.6.0}
22
22
  s.summary = %q{Rails deployment hack.}
23
23
  s.test_files = ["test/base_package_test.rb"]
24
24
 
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: 171
4
+ hash: 169
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 86
10
- version: 0.6.86
9
+ - 87
10
+ version: 0.6.87
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: 2011-02-27 00:00:00 -05:00
18
+ date: 2011-03-01 00:00:00 -05:00
19
19
  default_executable: bin/rpwn
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  requirements: []
230
230
 
231
231
  rubyforge_project: rails-pwnage
232
- rubygems_version: 1.5.2
232
+ rubygems_version: 1.6.0
233
233
  signing_key:
234
234
  specification_version: 3
235
235
  summary: Rails deployment hack.