rubygems-update 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rubygems-update might be problematic. Click here for more details.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +7 -0
- data/lib/rubygems.rb +1 -1
- data/lib/rubygems/ext/ext_conf_builder.rb +4 -0
- data/test/rubygems/test_gem_ext_ext_conf_builder.rb +36 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59a635b46def21cb6f0373fc28dd5bcbfdb0d9ab
|
4
|
+
data.tar.gz: cd146aab140604eadf8eb49c7e64889e42e8b57f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2fba3840318877dbc31c8bb63b219dc7110e022007b61dda8cd13c677e655e77d11e37a585e44e7f4116049c150c92755852d8de881e87ea08a3b6b152b440
|
7
|
+
data.tar.gz: 1c3f8e06b1f41ff2f46b949b1922965854726cd0812d737734613737bc316a9184d621cb915aac5ce5c055db53982a48f2c5efa6ce8258bf699832ec7a438c0e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/rubygems.rb
CHANGED
@@ -15,7 +15,9 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|
15
15
|
def self.build(extension, directory, dest_path, results, args=[])
|
16
16
|
tmp_dest = Dir.mktmpdir(".gem.", ".")
|
17
17
|
|
18
|
+
t = nil
|
18
19
|
Tempfile.open %w"siteconf .rb", "." do |siteconf|
|
20
|
+
t = siteconf
|
19
21
|
siteconf.puts "require 'rbconfig'"
|
20
22
|
siteconf.puts "dest_path = #{(tmp_dest || dest_path).dump}"
|
21
23
|
%w[sitearchdir sitelibdir].each do |dir|
|
@@ -37,6 +39,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|
37
39
|
run cmd, results
|
38
40
|
|
39
41
|
ENV["DESTDIR"] = nil
|
42
|
+
ENV["RUBYOPT"] = rubyopt
|
40
43
|
siteconf.unlink
|
41
44
|
|
42
45
|
make dest_path, results
|
@@ -54,6 +57,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|
54
57
|
ENV["DESTDIR"] = destdir
|
55
58
|
end
|
56
59
|
end
|
60
|
+
t.unlink if t and t.path
|
57
61
|
ensure
|
58
62
|
FileUtils.rm_rf tmp_dest if tmp_dest
|
59
63
|
end
|
@@ -108,6 +108,42 @@ checking for main\(\) in .*?nonexistent/m, error.message)
|
|
108
108
|
assert_equal("#{Gem.ruby} extconf.rb", output[0])
|
109
109
|
end
|
110
110
|
|
111
|
+
def test_class_build_unconventional
|
112
|
+
if vc_windows? && !nmake_found?
|
113
|
+
skip("test_class_build skipped - nmake not found")
|
114
|
+
end
|
115
|
+
|
116
|
+
File.open File.join(@ext, 'extconf.rb'), 'w' do |extconf|
|
117
|
+
extconf.puts <<-'EXTCONF'
|
118
|
+
include RbConfig
|
119
|
+
|
120
|
+
ruby_exe = "#{CONFIG['RUBY_INSTALL_NAME']}#{CONFIG['EXEEXT']}"
|
121
|
+
ruby = File.join CONFIG['bindir'], ruby_exe
|
122
|
+
|
123
|
+
open 'Makefile', 'w' do |io|
|
124
|
+
io.write <<-Makefile
|
125
|
+
all: ruby
|
126
|
+
install: ruby
|
127
|
+
|
128
|
+
ruby:
|
129
|
+
\t#{ruby} -e0
|
130
|
+
|
131
|
+
Makefile
|
132
|
+
end
|
133
|
+
EXTCONF
|
134
|
+
end
|
135
|
+
|
136
|
+
output = []
|
137
|
+
|
138
|
+
Dir.chdir @ext do
|
139
|
+
Gem::Ext::ExtConfBuilder.build 'extconf.rb', nil, @dest_path, output
|
140
|
+
end
|
141
|
+
|
142
|
+
assert_contains_make_command '', output[2]
|
143
|
+
assert_contains_make_command 'install', output[4]
|
144
|
+
assert_empty Dir.glob(File.join(@ext, 'siteconf*.rb'))
|
145
|
+
end
|
146
|
+
|
111
147
|
def test_class_make
|
112
148
|
if vc_windows? && !nmake_found?
|
113
149
|
skip("test_class_make skipped - nmake not found")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
@@ -32,7 +32,7 @@ cert_chain:
|
|
32
32
|
KDyY1VIazVgoC8XvR4h/95/iScPiuglzA+DBG1hip1xScAtw05BrXyUNrc9CEMYU
|
33
33
|
wgF94UVoHRp6ywo8I7NP3HcwFQDFNEZPNGXsng==
|
34
34
|
-----END CERTIFICATE-----
|
35
|
-
date: 2013-07-
|
35
|
+
date: 2013-07-12 00:00:00.000000000 Z
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: minitest
|
@@ -433,7 +433,7 @@ post_install_message:
|
|
433
433
|
rdoc_options:
|
434
434
|
- --main
|
435
435
|
- README.rdoc
|
436
|
-
- --title=RubyGems 2.0.
|
436
|
+
- --title=RubyGems 2.0.5 Documentation
|
437
437
|
require_paths:
|
438
438
|
- hide_lib_for_update
|
439
439
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -448,7 +448,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
448
448
|
version: '0'
|
449
449
|
requirements: []
|
450
450
|
rubyforge_project: rubygems
|
451
|
-
rubygems_version: 2.0.
|
451
|
+
rubygems_version: 2.0.4
|
452
452
|
signing_key:
|
453
453
|
specification_version: 4
|
454
454
|
summary: RubyGems is a package management framework for Ruby
|
metadata.gz.sig
CHANGED
Binary file
|