Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.16.136.129
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
lib64 /
ruby /
1.9.1 /
rubygems /
Delete
Unzip
Name
Size
Permission
Date
Action
commands
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
ext
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
package
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
ssl_certs
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
builder.rb
2.21
KB
-rw-r--r--
2012-04-19 22:43
command.rb
12.46
KB
-rw-r--r--
2011-07-27 02:04
command_manager.rb
4.67
KB
-rw-r--r--
2011-07-27 02:04
config_file.rb
9.69
KB
-rw-r--r--
2012-04-19 23:38
custom_require.rb
1.83
KB
-rw-r--r--
2012-04-19 22:43
defaults.rb
2.65
KB
-rw-r--r--
2012-04-19 22:43
dependency.rb
6.43
KB
-rw-r--r--
2011-10-08 10:53
dependency_installer.rb
9.94
KB
-rw-r--r--
2011-07-27 02:04
dependency_list.rb
5.58
KB
-rw-r--r--
2011-10-08 10:53
deprecate.rb
1.81
KB
-rw-r--r--
2011-10-08 10:53
doc_manager.rb
5.55
KB
-rw-r--r--
2011-07-27 02:04
errors.rb
793
B
-rw-r--r--
2011-07-27 02:04
exceptions.rb
2.34
KB
-rw-r--r--
2011-07-27 02:04
ext.rb
379
B
-rw-r--r--
2011-07-27 02:04
format.rb
1.96
KB
-rw-r--r--
2012-04-19 22:43
gem_openssl.rb
2.24
KB
-rw-r--r--
2011-08-05 20:18
gem_path_searcher.rb
4.57
KB
-rw-r--r--
2011-10-08 10:53
gem_runner.rb
2.38
KB
-rw-r--r--
2011-07-27 02:04
gemcutter_utilities.rb
1.86
KB
-rw-r--r--
2011-07-27 02:04
indexer.rb
16.85
KB
-rw-r--r--
2011-10-08 10:53
install_update_options.rb
3.87
KB
-rw-r--r--
2011-07-27 02:04
installer.rb
16.94
KB
-rw-r--r--
2012-10-25 09:18
installer_test_case.rb
3.1
KB
-rw-r--r--
2012-04-19 22:43
local_remote_options.rb
3.36
KB
-rw-r--r--
2011-07-27 02:04
mock_gem_ui.rb
1.05
KB
-rw-r--r--
2011-07-27 02:04
old_format.rb
3.69
KB
-rw-r--r--
2011-07-27 02:04
package.rb
2.15
KB
-rw-r--r--
2011-07-27 02:04
package_task.rb
3.79
KB
-rw-r--r--
2011-07-27 02:04
path_support.rb
1.5
KB
-rw-r--r--
2011-08-26 01:12
platform.rb
5.55
KB
-rw-r--r--
2012-04-19 22:43
psych_additions.rb
498
B
-rw-r--r--
2012-04-19 22:43
psych_tree.rb
1.34
KB
-rw-r--r--
2012-04-19 22:43
remote_fetcher.rb
13.5
KB
-rw-r--r--
2012-04-19 23:38
require_paths_builder.rb
577
B
-rw-r--r--
2011-07-27 02:04
requirement.rb
4.99
KB
-rw-r--r--
2012-04-19 22:43
security.rb
28.83
KB
-rw-r--r--
2011-07-27 02:04
server.rb
21.93
KB
-rw-r--r--
2011-10-08 10:53
source_index.rb
11
KB
-rw-r--r--
2011-10-08 10:53
spec_fetcher.rb
7.17
KB
-rw-r--r--
2012-04-19 22:43
specification.rb
54.68
KB
-rw-r--r--
2012-04-19 22:43
syck_hack.rb
3.96
KB
-rw-r--r--
2012-04-19 23:38
test_case.rb
21.89
KB
-rw-r--r--
2012-04-19 22:43
test_utilities.rb
3.47
KB
-rw-r--r--
2011-08-05 20:18
text.rb
1.23
KB
-rw-r--r--
2011-07-27 02:04
uninstaller.rb
6.77
KB
-rw-r--r--
2011-07-27 03:42
user_interaction.rb
11.22
KB
-rw-r--r--
2011-08-05 20:18
validator.rb
4.65
KB
-rw-r--r--
2011-07-27 02:04
version.rb
10.18
KB
-rw-r--r--
2013-12-22 04:38
version_option.rb
1.59
KB
-rw-r--r--
2011-07-27 02:04
Save
Rename
require 'rubygems/test_case' require 'rubygems/installer' class Gem::Installer ## # Available through requiring rubygems/installer_test_case attr_writer :gem_dir ## # Available through requiring rubygems/installer_test_case attr_writer :format ## # Available through requiring rubygems/installer_test_case attr_writer :gem_home ## # Available through requiring rubygems/installer_test_case attr_writer :env_shebang ## # Available through requiring rubygems/installer_test_case attr_writer :ignore_dependencies ## # Available through requiring rubygems/installer_test_case attr_writer :format_executable ## # Available through requiring rubygems/installer_test_case attr_writer :security_policy ## # Available through requiring rubygems/installer_test_case attr_writer :spec ## # Available through requiring rubygems/installer_test_case attr_writer :wrappers end ## # A test case for Gem::Installer. class Gem::InstallerTestCase < Gem::TestCase def setup super @installer_tmp = File.join @tempdir, 'installer' FileUtils.mkdir_p @installer_tmp Gem.use_paths @installer_tmp Gem.ensure_gem_subdirectories @installer_tmp @spec = quick_gem 'a' util_make_exec @spec util_build_gem @spec @gem = @spec.cache_file @user_spec = quick_gem 'b' util_make_exec @user_spec util_build_gem @user_spec @user_gem = @user_spec.cache_file Gem.use_paths @gemhome @installer = util_installer @spec, @gemhome @user_installer = util_installer @user_spec, Gem.user_dir, :user Gem.use_paths @gemhome end def util_gem_bindir spec = @spec # TODO: deprecate spec.bin_dir end def util_gem_dir spec = @spec # TODO: deprecate spec.gem_dir end def util_inst_bindir File.join @gemhome, "bin" end def util_make_exec(spec = @spec, shebang = "#!/usr/bin/ruby") spec.executables = %w[executable] spec.files << 'bin/executable' exec_path = spec.bin_file "executable" write_file exec_path do |io| io.puts shebang end bin_path = File.join @tempdir, "bin", "executable" write_file bin_path do |io| io.puts shebang end end def util_setup_gem(ui = @ui) # HACK fix use_ui to make this automatic @spec.files << File.join('lib', 'code.rb') @spec.extensions << File.join('ext', 'a', 'mkrf_conf.rb') Dir.chdir @tempdir do FileUtils.mkdir_p 'bin' FileUtils.mkdir_p 'lib' FileUtils.mkdir_p File.join('ext', 'a') File.open File.join('bin', 'executable'), 'w' do |f| f.puts "raise 'ran executable'" end File.open File.join('lib', 'code.rb'), 'w' do |f| f.puts '1' end File.open File.join('ext', 'a', 'mkrf_conf.rb'), 'w' do |f| f << <<-EOF File.open 'Rakefile', 'w' do |rf| rf.puts "task :default" end EOF end use_ui ui do FileUtils.rm @gem @gem = Gem::Builder.new(@spec).build end end @installer = Gem::Installer.new @gem end def util_installer(spec, gem_home, user=false) Gem::Installer.new spec.cache_file, :user_install => user end end