/macosx-10.10.1/ruby-106/ruby/ |
H A D | gem_prelude.rb | 1 require 'rubygems.rb' if defined?(Gem)
|
/macosx-10.10.1/ruby-106/ruby/test/rubygems/ |
H A D | bogussources.rb | 8 Gem.use_paths("test/mock/gems")
|
H A D | test_gem_name_tuple.rb | 4 class TestGemNameTuple < Gem::TestCase 6 n = Gem::NameTuple.new "a", Gem::Version.new(0), "ruby" 9 n = Gem::NameTuple.new "a", Gem::Version.new(0), nil 12 n = Gem::NameTuple.new "a", Gem::Version.new(0), ""
|
H A D | rubygems_plugin.rb | 8 class Gem::Commands::InterruptCommand < Gem::Command class 20 Gem::CommandManager.instance.register_command :interrupt
|
H A D | test_config.rb | 4 class TestConfig < Gem::TestCase 8 spec = Gem::Specification.find_by_name("a") 10 assert_equal "#{spec.full_gem_path}/data/a", Gem.datadir('a')
|
H A D | test_deprecate.rb | 6 class TestDeprecate < Gem::TestCase 11 # Gem::Deprecate.saved_warnings.clear 12 @original_skip = Gem::Deprecate.skip 13 Gem::Deprecate.skip = false 19 # Gem::Deprecate.saved_warnings.clear 20 Gem::Deprecate.skip = @original_skip 28 Gem::Deprecate.skip = false 29 assert_equal false, Gem::Deprecate.skip 31 Gem::Deprecate.skip = true 32 assert_equal true, Gem [all...] |
H A D | test_gem_platform.rb | 5 class TestGemPlatform < Gem::TestCase 10 assert_equal Gem::Platform.new(%w[x86 darwin 8]), Gem::Platform.local 14 assert Gem::Platform.match(nil), 'nil == ruby' 15 assert Gem::Platform.match(Gem::Platform.local), 'exact match' 16 assert Gem::Platform.match(Gem::Platform.local.to_s), '=~ match' 17 assert Gem::Platform.match(Gem [all...] |
H A D | test_gem_gem_runner.rb | 4 class TestGemGemRunner < Gem::TestCase 9 @orig_args = Gem::Command.build_args 15 Gem::Command.build_args = @orig_args 19 Gem.clear_paths 26 Gem.ensure_gem_subdirectories other_gem_path 27 Gem.ensure_gem_subdirectories other_gem_home 37 gr = Gem::GemRunner.new 40 assert_equal [other_gem_path, other_gem_home], Gem.path 41 assert_equal %w[--commands], Gem::Command.extra_args 45 Gem [all...] |
H A D | test_gem_commands_search_command.rb | 4 class TestGemCommandsSearchCommand < Gem::TestCase 9 @cmd = Gem::Commands::SearchCommand.new
|
H A D | test_gem_commands_mirror.rb | 4 class TestGemCommandsMirrorCommand < Gem::TestCase 9 @cmd = Gem::Commands::MirrorCommand.new 11 @mirror_specs = Gem::Specification.find_all_by_name('rubygems-mirror').each do |spec| 12 Gem::Specification.remove_spec spec 18 Gem::Specification.add_spec spec
|
/macosx-10.10.1/ruby-106/ruby/lib/rubygems/ |
H A D | ext.rb | 12 module Gem::Ext; end module
|
H A D | exceptions.rb | 9 class Gem::Exception < RuntimeError class 13 class Gem::CommandLineError < Gem::Exception; end class 15 class Gem::DependencyError < Gem::Exception; end class 17 class Gem::DependencyRemovalException < Gem::Exception; end class 22 class Gem::GemNotInHomeException < Gem::Exception class 26 class Gem class 30 class Gem::EndOfYAMLException < Gem::Exception; end class 36 class Gem::FilePermissionError < Gem::Exception class 50 class Gem::FormatException < Gem::Exception class 54 class Gem::GemNotFoundException < Gem::Exception; end class 56 class Gem::SpecificGemNotFoundException < Gem::GemNotFoundException class 68 class Gem::InstallError < Gem::Exception; end class 72 class Gem::InvalidSpecificationException < Gem::Exception; end class 74 class Gem::OperationNotSupportedError < Gem::Exception; end class 83 class Gem::RemoteError < Gem::Exception; end class 85 class Gem::RemoteInstallationCancelled < Gem::Exception; end class 87 class Gem::RemoteInstallationSkipped < Gem::Exception; end class 91 class Gem::RemoteSourceException < Gem::Exception; end class 93 class Gem::VerificationError < Gem::Exception; end class 99 class Gem::SystemExitException < SystemExit class [all...] |
H A D | install_message.rb | 8 Gem.post_install do |installer| 9 ui = Gem::DefaultUserInteraction.ui
|
H A D | version_option.rb | 10 # Mixin methods for --version and --platform Gem::Command options. 12 module Gem::VersionOption module 18 OptionParser.accept Gem::Platform do |value| 19 if value == Gem::Platform::RUBY then 22 Gem::Platform.new value 26 add_option('--platform PLATFORM', Gem::Platform, 30 Gem.platforms = [Gem::Platform::RUBY] 34 Gem.platforms << value unless Gem [all...] |
H A D | gem_runner.rb | 14 Gem.load_env_plugins rescue nil 19 # Gem::GemRunner is only intended for internal use by RubyGems itself. It 25 class Gem::GemRunner class 29 @command_manager_class = options[:command_manager] || Gem::CommandManager 30 @config_file_class = options[:config_file] || Gem::ConfigFile 50 config_args = Gem.configuration[command_name] 57 Gem::Command.add_specific_extra_args command_name, config_args 60 cmd.run Gem.configuration.args, build_args 66 Gem.configuration = @config_file_class.new(args) 67 Gem [all...] |
H A D | compatibility.rb | 11 module Gem module 16 # Gem::QuickLoader exists in the gem prelude code in ruby 1.9.2 itself. 18 if Gem::GEM_PRELUDE_SUCKAGE and defined?(Gem::QuickLoader) then 19 Gem::QuickLoader.remove 21 $LOADED_FEATURES.delete Gem::QuickLoader.path_to_full_rubygems_library 28 class << Gem 29 remove_method :try_activate if Gem.respond_to?(:try_activate, true) 33 module Gem module
|
H A D | source_specific_file.rb | 1 class Gem::Source::SpecificFile < Gem::Source class 6 @package = Gem::Package.new @path 19 raise Gem::Exception, "Unable to find '#{name}'" 25 raise Gem::Exception, "Unable to download '#{spec.full_name}'"
|
/macosx-10.10.1/ruby-106/ruby/test/rubygems/rubygems/commands/ |
H A D | crash_command.rb | 1 class Gem::Commands::CrashCommand < Gem::Command class
|
/macosx-10.10.1/ruby-106/ruby/lib/rubygems/commands/ |
H A D | mirror_command.rb | 3 class Gem::Commands::MirrorCommand < Gem::Command class 7 Gem::Specification.find_by_name('rubygems-mirror').activate 8 rescue Gem::LoadError
|
H A D | outdated_command.rb | 6 class Gem::Commands::OutdatedCommand < Gem::Command class 8 include Gem::LocalRemoteOptions 9 include Gem::VersionOption 19 Gem::Specification.outdated.sort.each do |name| 20 local = Gem::Specification.find_all_by_name(name).max 21 dep = Gem::Dependency.new local.name, ">= #{local.version}" 22 remotes, _ = Gem::SpecFetcher.fetcher.spec_for_dependency dep
|
H A D | build_command.rb | 4 class Gem::Commands::BuildCommand < Gem::Command class 26 spec = Gem::Specification.load gemspec 29 Gem::Package.build spec, options[:force]
|
/macosx-10.10.1/ruby-106/ruby/bin/ |
H A D | gem | 12 required_version = Gem::Requirement.new ">= 1.8.7" 14 unless required_version.satisfied_by? Gem.ruby_version then 15 abort "Expected Ruby Version #{required_version}, is #{Gem.ruby_version}" 21 Gem::GemRunner.new.run args 22 rescue Gem::SystemExitException => e
|
/macosx-10.10.1/ruby-106/ruby/lib/rake/ |
H A D | gempackagetask.rb | 13 GemPackageTask = Gem::PackageTask
|
/macosx-10.10.1/ruby-106/ruby/lib/minitest/ |
H A D | autorun.rb | 11 rescue Gem::LoadError
|
/macosx-10.10.1/ruby-106/ruby/lib/rubygems/ext/ |
H A D | cmake_builder.rb | 1 class Gem::Ext::CmakeBuilder < Gem::Ext::Builder class 5 cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty?
|