ライブラリ
クラス
-
Gem
:: DependencyInstaller (1) -
Gem
:: GemPathSearcher (5) -
Gem
:: Indexer (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (8) -
Gem
:: SourceInfoCache (2)
キーワード
-
add
_ spec (1) -
add
_ specs (1) -
collect
_ specs (1) - download (1)
- find (1)
-
find
_ all (1) -
find
_ gems _ with _ sources (1) -
find
_ name (1) -
init
_ gemspecs (1) -
latest
_ specs (1) -
matching
_ file? (1) -
matching
_ files (1) - outdated (1)
-
remove
_ spec (1) - search (2)
-
search
_ with _ source (1)
検索結果
先頭5件
- Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil - Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array - Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array - Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] - Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification]
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (81958.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (54970.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (45652.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (36955.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (36907.0) -
引数で指定された条件を満たす Gem のリストを返します。
引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。 -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (36607.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (27655.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Array#find -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (27655.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Array#find_all -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (27655.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (27622.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (27322.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: SourceIndex # add _ spec(gem _ spec) -> Gem :: Specification (18673.0) -
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: RemoteFetcher # download(spec , source _ uri , install _ dir = Gem . dir) -> String (18622.0) -
source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。
source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。
既に Gem パッケージが存在する場合は、ファイルを置き換えませんが source_uri が
ローカルパス (file://) である場合は常にファイルを置き換えます。
@param spec Gem::Specification のインスタンスを指定します。
@param source_uri 取得先の URI を指定します。
@param install_dir ダウンロードしたファイルの配置先を指定します。
@return ローカルにコピーした Gem ファイルのパスを返します。
... -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (18607.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
Gem
:: SourceIndex # add _ specs(*gem _ specs) -> Hash (18070.0) -
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
@param gem_specs 複数の Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # latest _ specs -> Array (18052.0) -
自身に含まれる最新の Gem::Specification のリストを返します。
自身に含まれる最新の Gem::Specification のリストを返します。 -
Gem
:: SourceIndex # outdated -> Array (18052.0) -
更新されていない Gem::Specification のリストを返します。
更新されていない Gem::Specification のリストを返します。 -
Gem
:: Indexer # collect _ specs -> Gem :: SourceIndex (9652.0) -
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。