rails_pwnerer 0.6.95 → 0.6.96

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.96. Another bugfix in the rubygems configuration.
2
+
1
3
  v0.6.95. Bugfix in rubygems configuration.
2
4
 
3
5
  v0.6.94. Improvements to file backup logic. Breaking change in format :(
@@ -48,7 +48,7 @@ class RailsPwnerer::Scaffolds::RubyGems
48
48
  # sets up good defaults for Rubygems
49
49
  def configure_rubygems
50
50
  File.open('/etc/gemrc', 'w') do |f|
51
- f.write "gem --no-force --no-rdoc --no-ri --no-user-install --wrappers\n"
51
+ f.write "gem: --no-force --no-rdoc --no-ri --no-user-install --wrappers\n"
52
52
  end
53
53
  end
54
54
 
@@ -64,7 +64,7 @@ class RailsPwnerer::Scaffolds::RubyGems
64
64
  configure_rubygems
65
65
 
66
66
  # patch Ubuntu's broken rubygems installation
67
- system "cp /usr/bin/gem1.8 /usr/bin/gem"
67
+ Kernel.system "cp /usr/bin/gem1.8 /usr/bin/gem"
68
68
 
69
69
  # remove the gems that are trailing behind
70
70
  new_gems = File.dirname(File.dirname(path_to_gem('sources', '/lib/sources.rb')))
@@ -75,7 +75,7 @@ class RailsPwnerer::Scaffolds::RubyGems
75
75
  def preflight
76
76
  # save old lib path, in case we need to wipe it
77
77
  # we need to do this because setting up packages might wipe Ubuntu's gems
78
- @@old_gems = File.dirname(File.dirname(path_to_gem('sources', '/lib/sources.rb')))
78
+ @@old_gems = File.dirname(File.dirname(path_to_gem('sources', '/lib/sources.rb')))
79
79
  end
80
80
 
81
81
  # called before packages get installed
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rails_pwnerer}
5
- s.version = "0.6.95"
5
+ s.version = "0.6.96"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Victor Costan}]
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: 185
4
+ hash: 199
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 95
10
- version: 0.6.95
9
+ - 96
10
+ version: 0.6.96
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan