別のキーワード
種類
- インスタンスメソッド (35)
- 特異メソッド (12)
- 定数 (3)
- モジュール関数 (1)
クラス
-
Gem
:: Command (2) -
Gem
:: CommandManager (1) -
Gem
:: Commands :: BuildCommand (1) -
Gem
:: Commands :: DependencyCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Commands :: WhichCommand (2) -
Gem
:: Dependency (1) -
Gem
:: DependencyInstaller (6) -
Gem
:: DependencyList (2) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: GemPathSearcher (2) -
Gem
:: Indexer (1) -
Gem
:: Package :: TarHeader (1) -
Gem
:: Platform (1) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (1) -
Gem
:: SourceIndex (1) -
Gem
:: SourceInfoCache (1) -
Gem
:: SpecFetcher (4) -
Gem
:: Specification (14) -
Gem
:: Version (2)
モジュール
- Gem (2)
キーワード
- FIELDS (1)
- TYPES (1)
-
WIN
_ PATTERNS (1) -
add
_ bindir (1) -
array
_ attribute (1) -
array
_ attributes (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - build (3)
-
cert
_ chain (1) -
compact
_ specs (1) - dependencies (1)
-
dependent
_ gems (1) -
development
_ dependencies (1) - fetch (1)
- find (1)
-
find
_ all (1) -
find
_ command _ possibilities (1) -
find
_ gems _ with _ sources (1) -
find
_ matching (1) -
find
_ paths (1) -
find
_ reverse _ dependencies (1) -
find
_ spec _ by _ name _ and _ version (1) -
gather
_ dependencies (1) -
gem
_ paths (1) -
gems
_ to _ install (1) - install (1)
-
installed
_ gems (1) -
latest
_ specs (1) -
legacy
_ repos (1) - list (2)
-
load
_ gemspecs (1) -
marshal
_ dump (1) -
marshal
_ load (1) - parse (1)
- path (1)
-
remove
_ by _ name (1) -
required
_ attributes (1) - requirements (1)
-
runtime
_ dependencies (1) -
search
_ with _ source (1) -
spec
_ predecessors (1) -
specific
_ extra _ args (1) -
to
_ a (1) -
verify
_ gem (1) -
which
_ to _ update (1)
検索結果
先頭5件
- Gem
:: Commands :: DependencyCommand # find _ reverse _ dependencies(spec) -> Array - Gem
:: Specification . array _ attributes -> Array - Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array - Gem
:: Dependency :: TYPES -> Array - Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array
-
Gem
:: Commands :: DependencyCommand # find _ reverse _ dependencies(spec) -> Array (27907.0) -
与えられた Gem スペックに依存する Gem のリストを返します。
与えられた Gem スペックに依存する Gem のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Specification . array _ attributes -> Array (27658.0) -
@@array_attributes の複製を返します。
@@array_attributes の複製を返します。
@see Object#dup -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (27607.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: Dependency :: TYPES -> Array (27607.0) -
有効な依存関係の型を表す配列です。
有効な依存関係の型を表す配列です。
@see Gem::Specification::CURRENT_SPECIFICATION_VERSION -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (27607.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: DependencyInstaller # gather _ dependencies -> Array (27607.0) -
依存関係を無視するように指定されていない限り、インストールするように指定された Gem が依存している Gem の情報を集めて返します。
依存関係を無視するように指定されていない限り、インストールするように指定された
Gem が依存している Gem の情報を集めて返します。 -
Gem
:: Specification # dependencies -> Array (27607.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Specification # dependent _ gems -> Array (27607.0) -
この Gem に依存している全ての Gem の情報のリストを返します。
この Gem に依存している全ての Gem の情報のリストを返します。
それぞれのエントリは配列になっており、各要素は以下のようになっています。
(0) Gem::Specification
(1) Gem::Dependency
(2) Gem::Specification の配列 -
Gem
:: Specification # development _ dependencies -> Array (27607.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # runtime _ dependencies -> Array (27607.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: DependencyList # spec _ predecessors -> Hash (27322.0) -
@todo ???
@todo ???
Return a hash of predecessors. <tt>result[spec]</tt> is an
Array of gemspecs that have a dependency satisfied by the named
spec. -
Gem
:: Specification . array _ attribute(name) -> () (27307.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Commands :: WhichCommand # find _ paths(package _ name , dirs) -> Array (18907.0) -
dirs から package_name という名前を持つファイルを探索します。
dirs から package_name という名前を持つファイルを探索します。
以下の拡張子を持つファイルが対象です。
%w[.rb .rbw .so .dll .bundle]
@param package_name ファイルの名前を指定します。
@param dirs 探索するディレクトリを文字列の配列で指定します。 -
Gem
:: Requirement . parse(obj) -> Array (18625.0) -
バージョンの必要上件をパースして比較演算子とバージョンを要素とする二要素の配列を返します。
バージョンの必要上件をパースして比較演算子とバージョンを要素とする二要素の配列を返します。
@param obj 必要上件を表す文字列または Gem::Version のインスタンスを指定します。
@return 比較演算子と Gem::Version のインスタンスを要素とする二要素の配列を返します。
@raise ArgumentError obj に不正なオブジェクトを指定すると発生します。
//emlist[][ruby]{
p Gem::Requirement.parse("~> 3.2.1") # => ["~>", #<Gem::Version "3.2.1">]
//}
... -
Gem
:: Version # marshal _ dump -> Array (18625.0) -
完全なオブジェクトではなく、バージョン文字列のみダンプします。
完全なオブジェクトではなく、バージョン文字列のみダンプします。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a').marshal_dump # => ["1.2.0a"]
//} -
Gem
. # path -> Array (18610.0) -
Gem を検索するパスの配列を返します。
Gem を検索するパスの配列を返します。 -
Gem
:: WIN _ PATTERNS -> Array (18610.0) -
Windows 上で動いている Ruby を識別するための正規表現の配列。
Windows 上で動いている Ruby を識別するための正規表現の配列。 -
Gem
:: Command . common _ options -> Array (18607.0) -
共通の引数を返します。
共通の引数を返します。 -
Gem
:: Command . specific _ extra _ args(cmd) -> Array (18607.0) -
与えられたコマンドに対応する追加の引数を返します。
与えられたコマンドに対応する追加の引数を返します。
特別な追加引数はプログラムの開始時に Gem の設定ファイルから読み込まれます。
@param cmd コマンド名を指定します。 -
Gem
:: CommandManager # find _ command _ possibilities(command _ name) -> Array (18607.0) -
登録されているコマンドでマッチする可能性のあるものを返します。
登録されているコマンドでマッチする可能性のあるものを返します。
@param command_name コマンド名を文字列で指定します。 -
Gem
:: Commands :: BuildCommand # load _ gemspecs(filename) -> Array (18607.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename ファイル名を指定します。 -
Gem
:: Commands :: WhichCommand # gem _ paths(spec) -> Array (18607.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Indexer # compact _ specs(specs) -> Array (18607.0) -
与えられたスペックを元にスペックを一意に特定できるだけの情報を持った配列を作成して 返します。
与えられたスペックを元にスペックを一意に特定できるだけの情報を持った配列を作成して
返します。
@param specs Gem::Specification の配列を指定します。 -
Gem
:: SourceIndex # latest _ specs -> Array (18607.0) -
自身に含まれる最新の Gem::Specification のリストを返します。
自身に含まれる最新の Gem::Specification のリストを返します。 -
Gem
:: SpecFetcher # legacy _ repos -> Array (18607.0) -
RubyGems 1.2 未満で作成されたリポジトリの配列を返します。
...
RubyGems 1.2 未満で作成されたリポジトリの配列を返します。... -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (9607.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: DependencyInstaller # install(dep _ or _ name , version = Gem :: Requirement . default) -> Array (9607.0) -
指定された Gem とその依存する Gem を全てインストールします。
指定された Gem とその依存する Gem を全てインストールします。
@param dep_or_name Gem の名前か Gem::Dependency のインスタンスを指定します。
@param version バージョンに関する条件を指定します。
@return このメソッドでインストールした Gem のリストを返します。 -
Gem
:: SpecFetcher # fetch(dependency , all = false , matching _ platform = true) -> Array (9607.0) -
依存関係を満たす gemspec の配列を返します。
依存関係を満たす gemspec の配列を返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォームの情報を返します。
@see Gem::Dependency -
Gem
:: SpecFetcher # find _ matching(dependency , all = false , matching _ platform = true) -> Array (9607.0) -
依存関係を満たす gemspec の名前の配列を返します。
依存関係を満たす gemspec の名前の配列を返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォームの情報を返します。
@see Gem::Dependency -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (9322.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (9322.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Array#find -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (9322.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Array#find_all -
Gem
:: DependencyInstaller # gems _ to _ install -> Array (9307.0) -
依存関係によりインストールされる予定の Gem のリストを返します。
依存関係によりインストールされる予定の Gem のリストを返します。 -
Gem
:: DependencyInstaller # installed _ gems -> Array (9307.0) -
Gem::DependencyInstaller#install でインストールされた Gem のリストを返します。
Gem::DependencyInstaller#install でインストールされた Gem のリストを返します。 -
Gem
:: Package :: TarHeader :: FIELDS -> Array (9307.0) -
内部で使用します。
内部で使用します。 -
Gem
:: Platform # to _ a -> Array (9307.0) -
自身にセットされている CPU, OS, バージョンを配列として返します。
自身にセットされている CPU, OS, バージョンを配列として返します。 -
Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array (9307.0) -
与えられたデータを与えられた署名と証明書チェーンで検証します。
与えられたデータを与えられた署名と証明書チェーンで検証します。
@param signature 署名を指定します。
@param data 検証するデータを指定します。
@param chain 検証で使用する証明書チェーンを指定します。
@param time この時刻に有効であることを検証する。
@raise Gem::Security::Exception 検証に失敗した場合に発生します。 -
Gem
:: SpecFetcher # list(all = false) -> Array (9307.0) -
Gem::sources に格納されている各ソースから利用可能な Gem のリストを取得して返します。
Gem::sources に格納されている各ソースから利用可能な Gem のリストを取得して返します。
@param list 真を指定すると全てのバージョンの情報を返します。 -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (9307.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # authors -> Array (9307.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # cert _ chain -> Array (9307.0) -
@todo
@todo -
Gem
:: Specification # requirements -> Array (9307.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification . attribute _ defaults -> Array (9307.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Specification . attribute _ names -> Array (9307.0) -
属性名の配列を返します。
属性名の配列を返します。 -
Gem
:: Specification . list -> Array (9307.0) -
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。 -
Gem
:: Specification . required _ attributes -> Array (9307.0) -
必須属性のリストを返します。
必須属性のリストを返します。 -
Gem
:: Ext :: ConfigureBuilder . build(extension , directory , dest _ path , results) -> Array (607.0) -
@todo
@todo
Makefile が存在しない場合は、configure スクリプトを実行して
Makefile を作成してから make を実行します。
@param extension このメソッドでは使用しません。
@param directory
@param dest_path
@param results コマンドの実行結果を格納します。破壊的に変更されます。
@see Gem::Ext::Builder.make -
Gem
:: Ext :: ExtConfBuilder . build(extension , directory , dest _ path , results) -> Array (607.0) -
@todo
@todo
Makefile が存在しない場合は、extconf.rb を実行して
Makefile を作成してから make を実行します。
@param extension ファイル名を指定します。
@param directory このメソッドでは使用していません。
@param dest_path ???
@param results コマンドの実行結果を格納します。破壊的に変更されます。
@see Gem::Ext::Builder.make -
Gem
:: Ext :: RakeBuilder . build(extension , directory , dest _ path , results) -> Array (607.0) -
@todo
@todo
mkrf_conf が存在する場合は、それを実行してから Rake を実行します。
@param extension ファイル名を指定します。
@param directory このメソッドでは使用していません。
@param dest_path ???
@param results コマンドの実行結果を格納します。破壊的に変更されます。
@see Gem::Ext::Builder.make -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (607.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Gem
:: Version # marshal _ load(array) -> nil (343.0) -
ダンプされた情報をロードし、自身を破壊的に変更します。
ダンプされた情報をロードし、自身を破壊的に変更します。
//emlist[][ruby]{
version = Gem::Version.new('')
version.marshal_load(["1.2.0a"])
p version # => #<Gem::Version "1.2.0a">
//}
@param array バージョン情報を含む配列を指定します。