$23 GRAYBYTE WORDPRESS FILE MANAGER $80

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby27/share/gems/gems/bundler-2.2.24/lib/bundler/cli/

HOME
Current File : /opt/alt/ruby27/share/gems/gems/bundler-2.2.24/lib/bundler/cli//lock.rb
# frozen_string_literal: true

module Bundler
  class CLI::Lock
    attr_reader :options

    def initialize(options)
      @options = options
    end

    def run
      unless Bundler.default_gemfile
        Bundler.ui.error "Unable to find a Gemfile to lock"
        exit 1
      end

      print = options[:print]
      ui = Bundler.ui
      Bundler.ui = UI::Silent.new if print

      Bundler::Fetcher.disable_endpoint = options["full-index"]

      update = options[:update]
      conservative = options[:conservative]

      if update.is_a?(Array) # unlocking specific gems
        Bundler::CLI::Common.ensure_all_gems_in_lockfile!(update)
        update = { :gems => update, :conservative => conservative }
      elsif update
        update = { :conservative => conservative } if conservative
      end
      definition = Bundler.definition(update)

      Bundler::CLI::Common.configure_gem_version_promoter(Bundler.definition, options) if options[:update]

      options["remove-platform"].each do |platform|
        definition.remove_platform(platform)
      end

      options["add-platform"].each do |platform_string|
        platform = Gem::Platform.new(platform_string)
        if platform.to_s == "unknown"
          Bundler.ui.warn "The platform `#{platform_string}` is unknown to RubyGems " \
            "and adding it will likely lead to resolution errors"
        end
        definition.add_platform(platform)
      end

      if definition.platforms.empty?
        raise InvalidOption, "Removing all platforms from the bundle is not allowed"
      end

      definition.resolve_remotely! unless options[:local]

      if print
        puts definition.to_lock
      else
        file = options[:lockfile]
        file = file ? File.expand_path(file) : Bundler.default_lockfile
        puts "Writing lockfile to #{file}"
        definition.lock(file)
      end

      Bundler.ui = ui
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.47 PM
root / linksafe
0755
add.rb
1.462 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
binstubs.rb
1.738 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
cache.rb
1.104 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
check.rb
1.277 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
clean.rb
0.594 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
common.rb
4.521 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
config.rb
5.872 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
console.rb
1.055 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
doctor.rb
4.199 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
exec.rb
2.515 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
fund.rb
0.879 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
gem.rb
12.656 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
info.rb
2.62 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
init.rb
1.135 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
inject.rb
2.116 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
install.rb
8.866 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
issue.rb
1.268 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
list.rb
1.83 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
lock.rb
1.875 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
open.rb
0.954 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
outdated.rb
9.033 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
platform.rb
1.382 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
plugin.rb
1.722 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
pristine.rb
1.638 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
remove.rb
0.366 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
show.rb
2.227 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
update.rb
3.97 KB
15 Jul 2021 1.30 PM
root / linksafe
0644
viz.rb
1.061 KB
15 Jul 2021 1.30 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF