rails_pwnerer 0.6.95 → 0.6.96
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 +2 -0
- data/lib/rails_pwnerer/scaffolds/rubygems.rb +3 -3
- data/rails_pwnerer.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -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
|
data/rails_pwnerer.gemspec
CHANGED
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:
|
4
|
+
hash: 199
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 96
|
10
|
+
version: 0.6.96
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|