ライブラリ
クラス
-
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (2) -
Gem
:: Indexer (1) -
Gem
:: Installer (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (7) -
Gem
:: SourceInfoCache (1) -
Gem
:: Specification (42) -
Gem
:: Uninstaller (7) -
Gem
:: Validator (1)
キーワード
-
_ dump (1) -
add
_ bindir (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) -
add
_ specs (1) -
ask
_ if _ ok (1) -
assign
_ defaults (1) - autorequire (1)
- autorequire= (1)
-
collect
_ specs (1) -
default
_ executable (1) -
default
_ executable= (1) -
dependencies
_ ok? (1) - download (1)
-
ensure
_ dependency (1) - executable (1)
- executable= (1)
- executables (1)
- executables= (1)
-
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) -
full
_ gem _ path (1) -
full
_ name (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage= (1)
-
latest
_ specs (1) -
load
_ gemspec (1) -
path
_ ok? (1) - remove (1)
-
remove
_ by _ name (1) -
remove
_ executables (1) -
remove
_ spec (1) -
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
-
rubygems
_ version (1) -
rubygems
_ version= (1) -
runtime
_ dependencies (1) -
satisfies
_ requirement? (1) - search (2)
- summary (1)
- summary= (1)
-
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
to
_ ruby (1) -
uninstall
_ gem (1) -
unit
_ test (1)
検索結果
先頭5件
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (82558.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Uninstaller # spec -> Gem :: Specification (63910.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。 -
Gem
:: Specification # executable=(executable) (36604.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (36604.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (36604.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (36604.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (36604.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (36604.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # summary=(summary) (36604.0) -
この Gem パッケージの短い説明をセットします。
この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。 -
Gem
:: Specification # require _ path -> String (36370.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ path=(path) (36370.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: Specification # has _ test _ suite? -> bool (36352.0) -
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。 -
Gem
:: Specification # test _ suite _ file -> String (36352.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # test _ suite _ file=(file) (36352.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。 -
Gem
:: Specification # _ dump -> String (36304.0) -
重要なインスタンス変数のみを Marshal.#dump します。
重要なインスタンス変数のみを Marshal.#dump します。
@see Marshal.#dump -
Gem
:: Specification # assign _ defaults -> () (36304.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # author -> String (36304.0) -
作成者の名前を返します。
作成者の名前を返します。 -
Gem
:: Specification # author=(name) (36304.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
Gem
:: Specification # authors -> Array (36304.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # authors=(names) (36304.0) -
作成者の名前の配列をセットします。
作成者の名前の配列をセットします。 -
Gem
:: Specification # autorequire -> String (36304.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (36304.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # default _ executable -> String | nil (36304.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # default _ executable=(executable) (36304.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Gem
:: Specification # executable -> String (36304.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (36304.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # full _ gem _ path -> String (36304.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # full _ name -> String (36304.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # has _ unit _ tests? -> bool (36304.0) -
この Gem パッケージがユニットテストを含むかどうか返します。
この Gem パッケージがユニットテストを含むかどうか返します。
真の場合はユニットテストを含みます。そうでない場合は偽を返します。 -
Gem
:: Specification # require _ paths -> [String] (36304.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # require _ paths=(paths) (36304.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Gem
:: Specification # requirements -> Array (36304.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # requirements=(informations) (36304.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
Gem
:: Specification # rubygems _ version -> String (36304.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification # rubygems _ version=(version) (36304.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: Specification # runtime _ dependencies -> Array (36304.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (36304.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification # summary -> String (36304.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # to _ ruby -> String (36304.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Gem
:: SourceIndex # add _ spec(gem _ spec) -> Gem :: Specification (28297.0) -
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (28210.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
Gem
:: Uninstaller # uninstall _ gem(spec , specs) (27991.0) -
与えられた spec に対応する Gem をアンインストールします。
与えられた spec に対応する Gem をアンインストールします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param specs アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (27925.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex # add _ specs(*gem _ specs) -> Hash (27670.0) -
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
@param gem_specs 複数の Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # latest _ specs -> Array (27352.0) -
自身に含まれる最新の Gem::Specification のリストを返します。
自身に含まれる最新の Gem::Specification のリストを返します。 -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (27322.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Uninstaller # remove _ executables(gemspec) (18670.0) -
与えられた Gem::Specification に対応する実行ファイルを削除します。
与えられた Gem::Specification に対応する実行ファイルを削除します。
@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (18655.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Indexer # collect _ specs -> Gem :: SourceIndex (18652.0) -
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。 -
Gem
:: Installer # ensure _ dependency(spec , dependency) -> true (18643.0) -
インストールしようとしている Gem が依存関係を満たしている事を確認します。
インストールしようとしている Gem が依存関係を満たしている事を確認します。
依存関係を満たしていない場合は、例外 Gem::InstallError が発生します。
@param spec Gem::Specification のインスタンスを指定します。
@param dependency Gem::Dependency のインスタンスを指定します。
@raise Gem::InstallError 依存関係を満たしていない場合に発生します。 -
Gem
:: Validator # unit _ test(gem _ spec) (18643.0) -
与えられた Gem スペックにしたがってユニットテストを実行します。
与えられた Gem スペックにしたがってユニットテストを実行します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (18322.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (18322.0) -
この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。
この gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。
//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_runtime_dependency, Gem::Depende... -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (18304.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # homepage=(uri) (18304.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
@param uri この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を指定します。 -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (10207.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (9655.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search -
Gem
:: Package :: TarInput # metadata -> Gem :: Specification (9607.0) -
メタデータを返します。
メタデータを返します。 -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (9607.0) -
引数で指定された条件を満たす Gem のリストを返します。
引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。 -
Gem
:: Uninstaller # ask _ if _ ok(spec) -> bool (9343.0) -
アンインストール指定された Gem を削除すると依存関係を満たせなくなる場合に呼び出されます。
アンインストール指定された Gem を削除すると依存関係を満たせなくなる場合に呼び出されます。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: Uninstaller # dependencies _ ok?(spec) -> bool (9343.0) -
アンインストール指定された Gem を削除しても依存関係を満たすことができるか どうかチェックします。
アンインストール指定された Gem を削除しても依存関係を満たすことができるか
どうかチェックします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: Uninstaller # path _ ok?(spec) -> bool (9343.0) -
アンインストール指定されている Gem がインストールされているパスをチェックします。
アンインストール指定されている Gem がインストールされているパスをチェックします。
@param spec Gem::Specification を指定します。 -
Gem
:: Uninstaller # remove(spec , list) (9343.0) -
指定された Gem を削除します。
指定された Gem を削除します。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param list アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。
@raise Gem::DependencyRemovalException アンインストール指定された Gem を削除すると
依存関係が壊れる場合に発生します。
@raise Gem::GemNotInHome... -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (973.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (973.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Gem
:: RemoteFetcher # download(spec , source _ uri , install _ dir = Gem . dir) -> String (943.0) -
source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。
source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。
既に Gem パッケージが存在する場合は、ファイルを置き換えませんが source_uri が
ローカルパス (file://) である場合は常にファイルを置き換えます。
@param spec Gem::Specification のインスタンスを指定します。
@param source_uri 取得先の URI を指定します。
@param install_dir ダウンロードしたファイルの配置先を指定します。
@return ローカルにコピーした Gem ファイルのパスを返します。
...