Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
3.0.0 /
bundler /
cli /
Delete
Unzip
Name
Size
Permission
Date
Action
add.rb
1.46
KB
-rw-r--r--
2021-07-07 19:08
binstubs.rb
1.74
KB
-rw-r--r--
2021-07-07 19:08
cache.rb
1.1
KB
-rw-r--r--
2021-07-07 19:08
check.rb
1.28
KB
-rw-r--r--
2021-07-07 19:08
clean.rb
608
B
-rw-r--r--
2021-07-07 19:08
common.rb
4.52
KB
-rw-r--r--
2021-07-07 19:08
config.rb
5.87
KB
-rw-r--r--
2021-07-07 19:08
console.rb
1.05
KB
-rw-r--r--
2021-07-07 19:08
doctor.rb
4.2
KB
-rw-r--r--
2021-07-07 19:08
exec.rb
2.51
KB
-rw-r--r--
2021-07-07 19:08
fund.rb
900
B
-rw-r--r--
2021-07-07 19:08
gem.rb
12.66
KB
-rw-r--r--
2021-07-07 19:08
info.rb
2.62
KB
-rw-r--r--
2021-07-07 19:08
init.rb
1.13
KB
-rw-r--r--
2021-07-07 19:08
inject.rb
2.12
KB
-rw-r--r--
2021-07-07 19:08
install.rb
8.87
KB
-rw-r--r--
2021-07-07 19:08
issue.rb
1.27
KB
-rw-r--r--
2021-07-07 19:08
list.rb
1.83
KB
-rw-r--r--
2021-07-07 19:08
lock.rb
1.88
KB
-rw-r--r--
2021-07-07 19:08
open.rb
977
B
-rw-r--r--
2021-07-07 19:08
outdated.rb
9.03
KB
-rw-r--r--
2021-07-07 19:08
platform.rb
1.38
KB
-rw-r--r--
2021-07-07 19:08
plugin.rb
1.72
KB
-rw-r--r--
2021-07-07 19:08
pristine.rb
1.64
KB
-rw-r--r--
2021-07-07 19:08
remove.rb
375
B
-rw-r--r--
2021-07-07 19:08
show.rb
2.23
KB
-rw-r--r--
2021-07-07 19:08
update.rb
3.97
KB
-rw-r--r--
2021-07-07 19:08
viz.rb
1.06
KB
-rw-r--r--
2021-07-07 19:08
Save
Rename
# frozen_string_literal: true module Bundler class CLI::Show attr_reader :options, :gem_name, :latest_specs def initialize(options, gem_name) @options = options @gem_name = gem_name @verbose = options[:verbose] || options[:outdated] @latest_specs = fetch_latest_specs if @verbose end def run Bundler.ui.silence do Bundler.definition.validate_runtime! Bundler.load.lock end if gem_name if gem_name == "bundler" path = File.expand_path("../../../..", __FILE__) else spec = Bundler::CLI::Common.select_spec(gem_name, :regex_match) return unless spec path = spec.full_gem_path unless File.directory?(path) return Bundler.ui.warn "The gem #{gem_name} has been deleted. It was installed at: #{path}" end end return Bundler.ui.info(path) end if options[:paths] Bundler.load.specs.sort_by(&:name).map do |s| Bundler.ui.info s.full_gem_path end else Bundler.ui.info "Gems included by the bundle:" Bundler.load.specs.sort_by(&:name).each do |s| desc = " * #{s.name} (#{s.version}#{s.git_version})" if @verbose latest = latest_specs.find {|l| l.name == s.name } Bundler.ui.info <<-END.gsub(/^ +/, "") #{desc} \tSummary: #{s.summary || "No description available."} \tHomepage: #{s.homepage || "No website available."} \tStatus: #{outdated?(s, latest) ? "Outdated - #{s.version} < #{latest.version}" : "Up to date"} END else Bundler.ui.info desc end end end end private def fetch_latest_specs definition = Bundler.definition(true) if options[:outdated] Bundler.ui.info "Fetching remote specs for outdated check...\n\n" Bundler.ui.silence { definition.resolve_remotely! } else definition.resolve_with_cache! end Bundler.reset! definition.specs end def outdated?(current, latest) return false unless latest Gem::Version.new(current.version) < Gem::Version.new(latest.version) end end end