Searched refs:tempdir (Results 26 - 50 of 71) sorted by relevance

123

/macosx-10.9.5/ruby-104/ruby/test/rubygems/
H A Dtest_gem_commands_cert_command.rb109 assert_equal "Certificate: #{File.join @tempdir, 'gem-public_cert.pem'}",
111 assert_equal "Private Key: #{File.join @tempdir, 'gem-private_key.pem'}",
120 assert_path_exists File.join(@tempdir, 'gem-private_key.pem')
121 assert_path_exists File.join(@tempdir, 'gem-public_cert.pem')
136 assert_equal "Certificate: #{File.join @tempdir, 'gem-public_cert.pem'}",
138 assert_equal "Private Key: #{File.join @tempdir, 'gem-private_key.pem'}",
147 assert_path_exists File.join(@tempdir, 'gem-public_cert.pem')
149 private_key_file = File.join @tempdir, 'gem-private_key.pem'
282 path = File.join @tempdir, 'cert.pem'
319 path = File.join @tempdir, 'cer
[all...]
H A Dtest_gem_commands_install_command.rb73 FileUtils.mv @a2.cache_file, @tempdir
80 Dir.chdir @tempdir
103 FileUtils.mv @a2.cache_file, @tempdir
113 Dir.chdir @tempdir
337 FileUtils.mv @a2.cache_file, @tempdir
347 Dir.chdir @tempdir
373 FileUtils.mv @a2.cache_file, @tempdir
383 Dir.chdir @tempdir
432 FileUtils.mv @a2.cache_file, @tempdir
450 Dir.chdir @tempdir d
[all...]
H A Dtest_gem_commands_help_command.rb57 Dir.chdir @tempdir do
H A Dtest_gem.rb20 @additional = %w[a b].map { |d| File.join @tempdir, d }
619 Dir.chdir @tempdir do
684 Dir.chdir @tempdir
730 gemdir = File.join @tempdir, 'a/b/c/gemdir'
731 FileUtils.rm_rf File.join(@tempdir, 'a') rescue nil
732 refute File.exist?(File.join(@tempdir, 'a')),
733 "manually remove #{File.join @tempdir, 'a'}, tests are broken"
743 gemdir = File.join @tempdir, "egd"
758 parent = File.join(@tempdir, "egd")
886 apple_gem_home = File.join @tempdir, 'apple_gem_hom
[all...]
H A Dtest_gem_remote_fetcher.rb91 @gems_dir = File.join @tempdir, 'gems'
196 path = File.join @tempdir, 'file'
209 path = File.join @tempdir, 'file'
269 FileUtils.mv @a1_gem, @tempdir
270 local_path = File.join @tempdir, @a1.file_name
273 Dir.chdir @tempdir do
281 space_path = File.join @tempdir, 'space path'
287 Dir.chdir @tempdir do
301 install_dir = File.join @tempdir, 'more_gems'
316 FileUtils.mv @a1_gem, @tempdir
[all...]
H A Dtest_gem_specification.rb1342 Dir.chdir @tempdir do
1355 Dir.chdir @tempdir do
1395 Dir.chdir @tempdir do
1410 Dir.chdir @tempdir do
1430 Dir.chdir @tempdir do
1471 Dir.chdir @tempdir do
1509 FileUtils.mkdir_p File.join(@tempdir, 'bin')
1510 File.open File.join(@tempdir, 'bin', 'exec'), 'w' do end
1511 FileUtils.mkdir_p File.join(@tempdir, 'exec')
1514 Dir.chdir @tempdir d
[all...]
H A Dtest_gem_doctor.rb124 other_dir = File.join @tempdir, 'other', 'dir'
128 doctor = Gem::Doctor.new @tempdir
139 Checking #{@tempdir}
H A Dtest_gem_ext_ext_conf_builder.rb11 @ext = File.join @tempdir, 'ext'
12 @dest_path = File.join @tempdir, 'prefix'
H A Dtest_gem_package_old.rb14 @destination = File.join @tempdir, 'extract'
H A Dtest_gem_package_task.rb30 Dir.chdir @tempdir do
H A Dtest_gem_security_trust_dir.rb10 @dest_dir = File.join @tempdir, 'trust'
H A Dtest_gem_config_file.rb9 @temp_conf = File.join @tempdir, '.gemrc'
16 File.join(@tempdir, 'system-gemrc')
143 conf1 = File.join @tempdir, 'gemrc1'
148 conf2 = File.join @tempdir, 'gemrc2'
153 conf3 = File.join @tempdir, 'gemrc3'
H A Dtest_gem_rdoc.rb17 write_file File.join(@tempdir, 'lib', 'a.rb')
18 write_file File.join(@tempdir, 'README')
H A Dtest_gem_installer.rb694 gem = File.join @tempdir, spec.file_name
698 FileUtils.mv spec.cache_file, @tempdir
716 Gem::Installer.new @gem, :user_install => true, :bin_dir => @tempdir
720 assert_equal @tempdir, installer.bin_dir
887 Dir.chdir @tempdir do
1026 write_file File.join(@tempdir, "extconf.rb") do |io|
1035 write_file File.join(@tempdir, rb) do |io|
1044 write_file File.join(@tempdir, rb2) do |io|
1070 write_file File.join(@tempdir, "extconf.rb") do |io|
1084 write_file File.join(@tempdir, fil
[all...]
H A Dtest_gem_commands_cleanup_command.rb42 gemhome2 = File.join @tempdir, 'gemhome2'
H A Dtest_gem_commands_setup_command.rb11 @install_dir = File.join @tempdir, 'install'
/macosx-10.9.5/CPANInternal-140/DateTime-TimeZone/tools/
H A Dupdate-from-latest-olson20 my $dir = $opts{dir} ? $opts{dir} : File::Temp::tempdir( CLEANUP => 1 );
/macosx-10.9.5/ruby-104/ruby/lib/rubygems/
H A Dinstaller_test_case.rb143 bin_path = File.join @tempdir, "bin", "executable"
161 Dir.chdir @tempdir do
H A Dtest_case.rb189 @tempdir = File.join(tmpdir, "test_rubygems_#{$$}.#{Time.now.to_i}")
191 @tempdir = File.join(tmpdir, "test_rubygems_#{$$}")
193 @tempdir.untaint
195 FileUtils.mkdir_p @tempdir
197 # This makes the tempdir consistent on OS X.
202 Dir.chdir @tempdir do
203 @tempdir = File.expand_path '.'
204 @tempdir.untaint
207 @gemhome = File.join @tempdir, 'gemhome'
208 @userhome = File.join @tempdir, 'userhom
[all...]
/macosx-10.9.5/ruby-104/ruby/test/rdoc/
H A Dtest_rdoc_servlet.rb10 @tempdir = File.join Dir.tmpdir, "test_rdoc_servlet_#{$$}"
11 Gem.use_paths @tempdir
12 Gem.ensure_gem_subdirectories @tempdir
37 @base = File.join @tempdir, 'base'
38 @system_dir = File.join @tempdir, 'base', 'system'
39 @home_dir = File.join @tempdir, 'home'
40 @gem_doc_dir = File.join @tempdir, 'doc'
57 FileUtils.rm_rf @tempdir
H A Dtest_rdoc_rubygems_hook.rb18 write_file File.join(@tempdir, 'lib', 'a.rb')
19 write_file File.join(@tempdir, 'README')
/macosx-10.9.5/ruby-104/ruby/test/rake/
H A Dhelper.rb61 @tempdir = File.join tmpdir, "test_rake_#{$$}"
63 FileUtils.mkdir_p @tempdir
65 Dir.chdir @tempdir
74 FileUtils.rm_rf @tempdir
H A Dtest_rake_makefile_loader.rb8 Dir.chdir @tempdir
H A Dtest_rake_functional.rb120 Dir.chdir @tempdir
268 assert File.exist?(File.join(@tempdir, 'dynamic_deps')),
278 assert File.exist?(File.join(@tempdir, 'play.app')),
H A Dtest_rake_application.rb138 assert_equal @tempdir, Dir.pwd
166 assert_equal @tempdir, Dir.pwd
182 assert_equal "(in #{@tempdir}\)\n", err
201 Dir.chdir @tempdir

Completed in 228 milliseconds

123