ライブラリ
- ビルトイン (1)
- rake (1)
-
rake
/ gempackagetask (4) - rubygems (9)
-
rubygems
/ builder (2) -
rubygems
/ command (19) -
rubygems
/ command _ manager (4) -
rubygems
/ commands / build _ command (5) -
rubygems
/ commands / dependency _ command (5) -
rubygems
/ commands / lock _ command (2) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (2) -
rubygems
/ commands / which _ command (2) -
rubygems
/ config _ file (22) -
rubygems
/ custom _ require (1) -
rubygems
/ dependency (5) -
rubygems
/ dependency _ installer (6) -
rubygems
/ dependency _ list (7) -
rubygems
/ digest / digest _ adapter (3) -
rubygems
/ doc _ manager (5) -
rubygems
/ format (4) -
rubygems
/ gem _ path _ searcher (6) -
rubygems
/ indexer (15) -
rubygems
/ installer (18) -
rubygems
/ old _ format (4) -
rubygems
/ package / f _ sync _ dir (1) -
rubygems
/ package / tar _ header (17) -
rubygems
/ package / tar _ input (6) -
rubygems
/ package / tar _ output (2) -
rubygems
/ package / tar _ reader (2) -
rubygems
/ package / tar _ reader / entry (8) -
rubygems
/ package / tar _ writer (13) -
rubygems
/ platform (5) -
rubygems
/ remote _ fetcher (14) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (11) -
rubygems
/ security (18) -
rubygems
/ server (1) -
rubygems
/ source _ index (21) -
rubygems
/ source _ info _ cache (21) -
rubygems
/ source _ info _ cache _ entry (3) -
rubygems
/ spec _ fetcher (8) -
rubygems
/ specification (97) -
rubygems
/ uninstaller (11) -
rubygems
/ user _ interaction (32) -
rubygems
/ validator (5) -
rubygems
/ version (9) -
rubygems
/ version _ option (2)
クラス
-
Gem
:: Builder (2) -
Gem
:: Command (19) -
Gem
:: CommandManager (4) -
Gem
:: Commands :: BuildCommand (5) -
Gem
:: Commands :: DependencyCommand (5) -
Gem
:: Commands :: LockCommand (2) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (2) -
Gem
:: Commands :: WhichCommand (2) -
Gem
:: ConfigFile (22) -
Gem
:: Dependency (5) -
Gem
:: DependencyInstaller (6) -
Gem
:: DependencyList (7) -
Gem
:: DigestAdapter (3) -
Gem
:: DocManager (5) -
Gem
:: Format (4) -
Gem
:: GemPathSearcher (6) -
Gem
:: Indexer (15) -
Gem
:: Installer (18) -
Gem
:: LoadError (3) -
Gem
:: OldFormat (4) -
Gem
:: Package :: TarHeader (17) -
Gem
:: Package :: TarInput (6) -
Gem
:: Package :: TarOutput (2) -
Gem
:: Package :: TarReader (2) -
Gem
:: Package :: TarReader :: Entry (8) -
Gem
:: Package :: TarWriter (9) -
Gem
:: Package :: TarWriter :: BoundedStream (3) -
Gem
:: Package :: TarWriter :: RestrictedStream (1) -
Gem
:: Platform (5) -
Gem
:: RemoteFetcher (13) -
Gem
:: RemoteFetcher :: FetchError (1) -
Gem
:: Requirement (11) -
Gem
:: Security :: Policy (13) -
Gem
:: Security :: Signer (5) -
Gem
:: Server (1) -
Gem
:: SourceIndex (21) -
Gem
:: SourceInfoCache (21) -
Gem
:: SourceInfoCacheEntry (3) -
Gem
:: SpecFetcher (8) -
Gem
:: Specification (97) -
Gem
:: StreamUI (12) -
Gem
:: StreamUI :: SilentProgressReporter (3) -
Gem
:: StreamUI :: SimpleProgressReporter (3) -
Gem
:: StreamUI :: VerboseProgressReporter (3) -
Gem
:: Uninstaller (11) -
Gem
:: Validator (5) -
Gem
:: Version (9) -
Rake
:: GemPackageTask (4) - String (1)
モジュール
キーワード
- <=> (2)
- === (1)
- =~ (1)
- [] (2)
- []= (1)
-
_ dump (1) - abbreviate (1)
-
accept
_ uri _ http (1) - add (1)
-
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ gem _ contents (1) -
add
_ option (1) -
add
_ platform _ option (1) -
add
_ proxy _ option (1) -
add
_ runtime _ dependency (1) -
add
_ signatures (1) -
add
_ source _ option (1) -
add
_ spec (1) -
add
_ specs (1) -
add
_ update _ sources _ option (1) -
add
_ version _ option (1) - alert (2)
-
alert
_ error (2) -
alert
_ warning (2) - alien (1)
-
app
_ script _ text (1) - args (1)
- arguments (3)
-
as
_ list (1) - ask (2)
-
ask
_ if _ ok (1) -
ask
_ yes _ no (2) -
assign
_ defaults (1) - autorequire (1)
- autorequire= (1)
- backtrace (1)
- backtrace= (1)
- begins? (1)
- benchmark (1)
- benchmark= (1)
-
bin
_ dir (2) - bindir (1)
- bindir= (1)
- both? (1)
- build (1)
-
build
_ extensions (1) -
build
_ indices (1) -
bulk
_ threshold (1) -
bulk
_ threshold= (1) - bump (1)
-
bytes
_ read (1) -
cache
_ data (1) -
cache
_ dir (1) -
cache
_ file (1) -
calculate
_ integers _ for _ gem _ version (1) -
cert
_ chain (2) -
cert
_ chain= (2) -
check
_ closed (1) - checksum (1)
-
choose
_ from _ list (2) - close (3)
- closed? (1)
-
collect
_ specs (1) - command (1)
-
compact
_ specs (1) - complain (1)
- compress (1)
- concat (1)
-
config
_ file _ name (1) -
connection
_ for (1) -
const
_ missing (1) - count (3)
- cpu (1)
- crypt (1)
- date (1)
- date= (1)
-
default
_ executable (1) -
default
_ executable= (1) -
defaults
_ str (1) - define (1)
- dependencies (1)
-
dependencies
_ ok? (1) -
dependency
_ order (1) -
dependent
_ gems (1) - description (2)
- description= (1)
-
dest
_ directory (1) -
development
_ dependencies (1) - devmajor (1)
- devminor (1)
- digest (1)
- dir (1)
- directory (1)
- directory? (1)
-
do
_ rubygems _ update (1) - done (3)
- download (1)
- dump (1)
- each (4)
- email (1)
- email= (1)
-
ensure
_ dependency (1) - eql? (1)
- errs (1)
- escape (1)
- exact? (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
- execute (1)
- extensions (1)
- extensions= (1)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
extract
_ entry (1) -
extract
_ files (1) - fetch (1)
-
fetch
_ path (1) -
fetch
_ size (1) -
fetch
_ spec (1) - file? (1)
-
file
_ entries (2) -
file
_ entries= (2) -
file
_ name (1) -
file
_ uri? (1) - files (1)
- files= (1)
- find (1)
-
find
_ all (1) -
find
_ command (1) -
find
_ command _ possibilities (1) -
find
_ gems (1) -
find
_ gems _ with _ sources (1) -
find
_ matching (1) -
find
_ name (2) -
find
_ paths (1) -
find
_ reverse _ dependencies (1) -
find
_ spec _ by _ name _ and _ version (1) - flush (2)
-
formatted
_ program _ filename (1) -
fsync
_ dir (1) -
full
_ gem _ path (1) -
full
_ name (2) -
gather
_ dependencies (1) -
gem
_ file (1) -
gem
_ file _ list (1) -
gem
_ home (2) -
gem
_ path (2) -
gem
_ paths (1) -
gem
_ signature (1) -
gem
_ spec (1) -
gems
_ to _ install (1) -
generate
_ bin (1) -
generate
_ bin _ script (1) -
generate
_ bin _ symlink (1) -
generate
_ index (1) -
generate
_ ri (1) -
generate
_ windows _ script (1) -
get
_ file _ uri _ path (1) -
get
_ one _ gem _ name (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
get
_ proxy _ from _ env (1) - getc (1)
- gid (1)
- gname (1)
- gzip (1)
-
handle
_ arguments (1) -
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hash (1)
- hexdigest (1)
- homepage (1)
- homepage= (1)
-
index
_ signature (1) - init (1)
-
init
_ gemspecs (1) - ins (1)
- install (2)
-
install
_ indices (1) -
install
_ rdoc (1) -
install
_ ri (1) -
install
_ update _ defaults _ str (1) -
installation
_ path (1) -
installation
_ satisfies _ dependency? (1) -
installed
_ gems (1) - invoke (1)
- key (1)
- key= (1)
-
latest
_ cache _ data (1) -
latest
_ cache _ file (1) -
latest
_ specs (1) -
latest
_ system _ cache _ file (1) -
latest
_ user _ cache _ file (1) - length (1)
-
lib
_ dirs _ for (1) -
lib
_ files (1) - limit (1)
- linkname (1)
- list (1)
-
load
_ file (1) -
load
_ gems _ in (1) -
load
_ gemspec (1) -
load
_ gemspecs (1) -
load
_ specs (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - local? (1)
- magic (1)
-
make
_ temp _ directories (1) -
mark
_ version (1) -
marshal
_ dump (1) -
marshal
_ load (1) -
matching
_ file? (1) -
matching
_ files (1) -
method
_ missing (1) - mkdir (1)
- mode (1)
- mtime (1)
- multitask (1)
- name (4)
- name= (1)
- new (1)
- none? (1)
- normalize (1)
-
normalize
_ uri (1) - ok? (1)
-
ok
_ to _ remove? (1) -
only
_ signed (1) -
only
_ signed= (1) -
only
_ trusted (1) -
only
_ trusted= (1) -
open
_ uri _ or _ path (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - os (1)
- outdated (1)
- outs (1)
- paranoid (1)
- path (1)
- path= (1)
-
path
_ ok? (1) - platform (1)
- platform= (1)
- pos (1)
- prefix (1)
- prerelease? (2)
-
pretty
_ print (1) -
print
_ dependencies (1) -
program
_ name (1) -
progress
_ reporter (1) -
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) - quick (1)
-
rdoc
_ installed? (1) - read (1)
-
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) -
really
_ verbose (1) - refresh (2)
- refresh! (1)
-
register
_ command (1) - release (1)
- remote? (1)
- remove (1)
-
remove
_ all (1) -
remove
_ by _ name (1) -
remove
_ executables (1) -
remove
_ leading _ dot _ dir (1) -
remove
_ option (1) -
remove
_ spec (1) - request (1)
- require (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)
-
requirements
_ list (1) - reset (1)
-
reset
_ cache _ data (1) -
reset
_ cache _ file (1) -
reset
_ cache _ for (1) - rewind (2)
-
rubygems
_ version (1) -
rubygems
_ version= (1) -
runtime
_ dependencies (1) - sanitize (1)
-
sanitize
_ string (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (2)
- search (2)
-
search
_ with _ source (1) -
set
_ cache _ data (1) - shebang (1)
-
show
_ lookup _ failure (1) - sign (1)
-
signing
_ key (1) -
signing
_ key= (1) - size (4)
-
source
_ index (1) - spec (4)
-
spec
_ dirs (1) -
spec
_ dirs= (1) -
spec
_ path (1) -
spec
_ predecessors (1) - specific? (1)
- specification (1)
-
specification
_ version (1) -
specification
_ version= (1) - success (1)
- summary (2)
- summary= (2)
-
system
_ cache _ file (1) -
terminate
_ interaction (2) -
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
to
_ ruby (1) -
to
_ s (4) -
try
_ file (1) - typeflag (1)
- ui (1)
- ui= (1)
- uid (1)
- uname (1)
- unescape (1)
- uninstall (1)
-
uninstall
_ doc (1) -
uninstall
_ gem (1) -
unit
_ test (1) - unpack (1)
- update (2)
-
update
_ sources (1) -
update
_ sources= (1) - updated (3)
- uri (1)
- usage (3)
-
use
_ ui (1) -
user
_ cache _ file (1) - validate (1)
- verbose (1)
- verbose= (1)
-
verify
_ chain (1) -
verify
_ chain= (1) -
verify
_ data (1) -
verify
_ data= (1) -
verify
_ gem (2) -
verify
_ gem _ file (1) -
verify
_ root (1) -
verify
_ root= (1) -
verify
_ signer (1) -
verify
_ signer= (1) - version (4)
- version= (2)
-
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements (1) -
version
_ requirements= (1) -
warn
_ legacy (1) -
when
_ invoked (1) -
which
_ to _ update (1) -
windows
_ stub _ script (1) - write (3)
-
write
_ cache (1) -
write
_ require _ paths _ file _ if _ needed (1) -
write
_ spec (1) - written (1)
- yaml? (1)
-
yaml
_ initialize (1) -
zipped
_ stream (1)
検索結果
先頭5件
-
Gem
:: VersionOption # add _ version _ option(task = command , *wrap) (63622.0) -
option parser に対して --version オプションを追加します。
option parser に対して --version オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Kernel
# gem(gem _ name , *version _ requirements) -> bool (55498.0) -
$LOAD_PATH に Ruby Gem を追加します。
$LOAD_PATH に Ruby Gem を追加します。
指定された Gem をロードする前にその Gem が必要とする Gem をロードします。
バージョン情報を省略した場合は、最も高いバージョンの Gem をロードします。
指定された Gem やその Gem が必要とする Gem が見つからなかった場合は
Gem::LoadError が発生します。
バージョンの指定方法に関しては Gem::Version を参照してください。
rubygems ライブラリがライブラリバージョンの衝突を検出しない限り、
gem メソッドは全ての require メソッドよりも前に実行されます。
... -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (55003.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: Installer # generate _ bin _ symlink(filename , bindir) (54988.0) -
Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。
Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。
現在インストールされている Gem よりも新しい Gem をインストールするときは、
シンボリックリンクを更新します。
@param filename ファイル名を指定します。
@param bindir 実行ファイルを配置するディレクトリを指定します。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (54724.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: Uninstaller # uninstall _ gem(spec , specs) (54709.0) -
与えられた spec に対応する Gem をアンインストールします。
与えられた spec に対応する Gem をアンインストールします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param specs アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。 -
Gem
:: DependencyInstaller # installed _ gems -> Array (54700.0) -
Gem::DependencyInstaller#install でインストールされた Gem のリストを返します。
Gem::DependencyInstaller#install でインストールされた Gem のリストを返します。 -
Gem
:: DependencyInstaller # gems _ to _ install -> Array (54652.0) -
依存関係によりインストールされる予定の Gem のリストを返します。
依存関係によりインストールされる予定の Gem のリストを返します。 -
Gem
:: Indexer # install _ indices (54604.0) -
作成済みのインデックスを所定のディレクトリに保存します。
作成済みのインデックスを所定のディレクトリに保存します。 -
Gem
:: SourceIndex # load _ gems _ in(*spec _ dirs) -> self (54604.0) -
引数で与えられたディレクトリに含まれる gemspec から自身を再構築して返します。
引数で与えられたディレクトリに含まれる gemspec から自身を再構築して返します。
@param spec_dirs gemspec の含まれているディレクトリを複数指定します。 -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (54604.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。 -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (46255.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Validator # verify _ gem(gem _ data) -> () (46048.0) -
与えられた Gem ファイルの内容の MD5 チェックサムを検証します。
与えられた Gem ファイルの内容の MD5 チェックサムを検証します。
@param gem_data Gem ファイルの内容を文字列で指定します。
@raise Gem::VerificationError 空の Gem ファイルを指定した場合に発生します。
@raise Gem::VerificationError MD5 チェックサムが不正である場合に発生します。 -
Gem
:: Validator # verify _ gem _ file(gem _ path) -> () (46030.0) -
与えられた Gem ファイルのパスを使用して MD5 チェックサムを検証します。
与えられた Gem ファイルのパスを使用して MD5 チェックサムを検証します。
@param gem_path Gem ファイルのパスを指定します。
@raise Gem::VerificationError Gem ファイルが見つからなかった場合に発生します。 -
Gem
:: Commands :: DependencyCommand # find _ gems(name , source _ index) -> Hash (46006.0) -
与えられた Gem の名前をインデックスから検索します。
与えられた Gem の名前をインデックスから検索します。
@param name Gem の名前を指定します。
@param source_index Gem::SourceIndex のインスタンスを指定します。
@see Gem::SourceIndex#search -
Gem
:: Specification # rubygems _ version=(version) (46000.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: SourceIndex # gem _ signature(gem _ full _ name) -> String (45994.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (45988.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: SpecFetcher # find _ matching(dependency , all = false , matching _ platform = true) -> Array (45922.0) -
依存関係を満たす gemspec の名前の配列を返します。
依存関係を満たす gemspec の名前の配列を返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォームの情報を返します。
@see Gem::Dependency -
Gem
:: Indexer # gem _ file _ list -> Array (45655.0) -
インデックスを作成するために使用する Gem ファイルのリストを返します。
インデックスを作成するために使用する Gem ファイルのリストを返します。 -
Rake
:: GemPackageTask # gem _ file -> String (45655.0) -
Gem パッケージの名前を返します。
Gem パッケージの名前を返します。 -
Gem
:: Specification # rubygems _ version -> String (45652.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array (45625.0) -
与えられたデータを与えられた署名と証明書チェーンで検証します。
与えられたデータを与えられた署名と証明書チェーンで検証します。
@param signature 署名を指定します。
@param data 検証するデータを指定します。
@param chain 検証で使用する証明書チェーンを指定します。
@param time この時刻に有効であることを検証する。
@raise Gem::Security::Exception 検証に失敗した場合に発生します。 -
Gem
:: QuickLoader # calculate _ integers _ for _ gem _ version (45607.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ gem _ version _ on _ load _ path (45607.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (45604.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (45322.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (37315.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (37225.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (37060.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (36958.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
Gem
:: SourceInfoCacheEntry # source _ index -> Gem :: SourceIndex (36907.0) -
このキャッシュエントリに対するソースインデックスです。
このキャッシュエントリに対するソースインデックスです。 -
Gem
:: Installer # install -> Gem :: Specification (36853.0) -
Gem をインストールします。
Gem をインストールします。
以下のディレクトリ構造で Gem をインストールします。
@gem_home/
cache/<gem-version>.gem #=> インストールした Gem のコピー
gems/<gem-version>/... #=> インストール時に展開したファイル
specifications/<gem-version>.gemspec #=> gemspec ファイル
@return ロードされた Gem::Specification のインスタンスを返します。
@r... -
Gem
:: DependencyInstaller # install(dep _ or _ name , version = Gem :: Requirement . default) -> Array (36757.0) -
指定された Gem とその依存する Gem を全てインストールします。
指定された Gem とその依存する Gem を全てインストールします。
@param dep_or_name Gem の名前か Gem::Dependency のインスタンスを指定します。
@param version バージョンに関する条件を指定します。
@return このメソッドでインストールした Gem のリストを返します。 -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (36655.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Array#find -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (36655.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Array#find_all -
Gem
:: Installer # gem _ home -> String (36655.0) -
Gem のインストール先を返します。
Gem のインストール先を返します。 -
Gem
:: Specification # full _ gem _ path -> String (36655.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Uninstaller # gem _ home -> String (36655.0) -
Gem がインストールされているディレクトリを返します。
Gem がインストールされているディレクトリを返します。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (36652.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Gem
:: Installer # generate _ bin _ script(filename , bindir) (36652.0) -
Gem に入っているアプリケーションを実行するためのスクリプトを作成します。
Gem に入っているアプリケーションを実行するためのスクリプトを作成します。
@param filename ファイル名を指定します。
@param bindir 実行ファイルを配置するディレクトリを指定します。 -
Gem
:: Uninstaller # bin _ dir -> String (36652.0) -
Gem でインストールされたコマンドのあるディレクトリを返します。
Gem でインストールされたコマンドのあるディレクトリを返します。 -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (36622.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: StreamUI # terminate _ interaction(status = 0) -> () (36622.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param status 終了ステータスを指定します。デフォルトは 0 (成功) です。
@raise Gem::SystemExitException このメソッドを呼び出すと必ず発生する例外です。 -
Gem
:: Commands :: BuildCommand # load _ gemspecs(filename) -> Array (36604.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename ファイル名を指定します。 -
Gem
:: Installer # bin _ dir -> String (36604.0) -
実行ファイルをインストールするディレクトリを返します。
実行ファイルをインストールするディレクトリを返します。 -
Gem
:: Installer # generate _ windows _ script(filename , bindir) (36604.0) -
コマンドの実行を容易にするために Windows 向けのバッチファイルを作成します。
コマンドの実行を容易にするために Windows 向けのバッチファイルを作成します。
@param bindir 実行ファイルを配置するディレクトリを指定します。
@param filename ファイル名を指定します。 -
Gem
:: Installer # windows _ stub _ script -> String (36604.0) -
コマンドを起動するために使用する Windows 用のバッチファイルの内容を 文字列として返します。
コマンドを起動するために使用する Windows 用のバッチファイルの内容を
文字列として返します。 -
Gem
:: Package :: FSyncDir # fsync _ dir(dirname) -> () (36604.0) -
ディスクの同期をします。
ディスクの同期をします。 -
Gem
:: SourceIndex # index _ signature -> String (36604.0) -
ソースインデックスの SHA256 ダイジェストを返します。
ソースインデックスの SHA256 ダイジェストを返します。
この値はインデックスが変更されると変化します。 -
Gem
:: Specification # dependent _ gems -> Array (36454.0) -
この Gem に依存している全ての Gem の情報のリストを返します。
この Gem に依存している全ての Gem の情報のリストを返します。
それぞれのエントリは配列になっており、各要素は以下のようになっています。
(0) Gem::Specification
(1) Gem::Dependency
(2) Gem::Specification の配列 -
Gem
:: Commands :: WhichCommand # gem _ paths(spec) -> Array (36421.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Installer # generate _ bin (36370.0) -
Gem でインストールされる実行ファイルを作成します。
Gem でインストールされる実行ファイルを作成します。
@raise Gem::FilePermissionError インストール先に書込み出来ない場合に発生します。 -
Gem
:: Specification # specification _ version=(version) (36370.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY -
Gem
:: Builder # build -> String (36352.0) -
スペックから Gem を作成する。
スペックから Gem を作成する。
@return 作成したファイル名を返します。 -
Gem
:: Specification # specification _ version -> Integer (36352.0) -
この Gem パッケージに用いられている gemspec のバージョンを返します。
この Gem パッケージに用いられている gemspec のバージョンを返します。 -
Gem
:: Uninstaller # uninstall (36352.0) -
Gem をアンインストールします。
Gem をアンインストールします。
スペックファイルやキャッシュも削除します。 -
Gem
:: Package :: TarWriter :: BoundedStream # write(data) -> Integer (36340.0) -
与えられたデータを自身に関連付けられた IO に書き込みます。
与えられたデータを自身に関連付けられた IO に書き込みます。
@param data 書き込むデータを指定します。
@return 書き込んだデータのサイズを返します。
@raise Gem::Package::TarWriter::FileOverflow Gem::Package::TarWriter::BoundedStream#limit を越えて
書き込もうとした場合に発生します。 -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (36322.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: Indexer # sanitize _ string(string) -> String (36322.0) -
与えられた文字列をサニタイズします。
与えられた文字列をサニタイズします。
@param string サニタイズ対象の文字列を指定します。
@see Gem::Indexer#sanitize -
Gem
:: Installer # installation _ satisfies _ dependency?(dependency) -> bool (36322.0) -
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。
登録されているソースインデックスが与えられた依存関係を
満たすことができる場合は、真を返します。そうでない場合は偽を返します。
@param dependency Gem::Dependency のインスタンスを指定します。 -
Gem
:: ConfigFile # config _ file _ name -> String (36304.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
Gem
:: DigestAdapter # digest(string) -> String (36304.0) -
@todo
@todo
与えられた文字列のダイジェストを返します。
@param string ダイジェストを取得したい文字列を指定します。 -
Gem
:: DigestAdapter # hexdigest(string) -> String (36304.0) -
@todo
@todo
与えられた文字列のヘックスダイジェストを返します。
@param string ダイジェストを取得したい文字列を指定します。 -
Gem
:: GemPathSearcher # lib _ dirs _ for(spec) -> String (36304.0) -
ライブラリの格納されているディレクトリを glob に使える形式で返します。
ライブラリの格納されているディレクトリを glob に使える形式で返します。
例:
'/usr/local/lib/ruby/gems/1.8/gems/foobar-1.0/{lib,ext}' -
Gem
:: Indexer # build _ indices (36304.0) -
インデックスを構築します。
インデックスを構築します。 -
Gem
:: Indexer # generate _ index (36304.0) -
インデックスを構築して保存します。
インデックスを構築して保存します。 -
Gem
:: InstallUpdateOptions # add _ install _ update _ options (36304.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (36304.0) -
オプション --bulk-threshold を追加します。
オプション --bulk-threshold を追加します。 -
Gem
:: LocalRemoteOptions # add _ local _ remote _ options (36304.0) -
オプション --local, --remote, --both を追加します。
オプション --local, --remote, --both を追加します。 -
Gem
:: LocalRemoteOptions # add _ proxy _ option (36304.0) -
オプション --http-proxy を追加します。
オプション --http-proxy を追加します。 -
Gem
:: LocalRemoteOptions # add _ source _ option (36304.0) -
オプション --source を追加します。
オプション --source を追加します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (36304.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: Package :: TarWriter :: BoundedStream # limit -> Integer (36304.0) -
書き込み可能な最大のサイズを返します。
書き込み可能な最大のサイズを返します。 -
Gem
:: Package :: TarWriter :: BoundedStream # written -> Integer (36304.0) -
既に書き込んだデータのサイズを返します。
既に書き込んだデータのサイズを返します。 -
Gem
:: Package :: TarWriter :: RestrictedStream # write(data) -> Integer (36304.0) -
与えられたデータを自身に関連付けられた IO に書き込みます。
与えられたデータを自身に関連付けられた IO に書き込みます。
@param data 書き込むデータを指定します。
@return 書き込んだデータのサイズを返します。 -
Gem
:: UserInteraction # alert _ warning(*args) -> () (36304.0) -
WARNING レベルのアラートを出力します。
WARNING レベルのアラートを出力します。
@param args 委譲先のメソッドに与える引数です。 -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (28102.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
:: Command # show _ lookup _ failure(gem _ name , version , errors = nil) -> () (28027.0) -
Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。
Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。
@param gem_name Gem の名前を指定します。
@param version Gem のバージョンを指定します。
@param errors Gem が見つからなかった理由を表すオブジェクトを格納した配列を指定します。 -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (27973.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (27955.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (27955.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # version -> Gem :: Version (27955.0) -
この Gem パッケージのバージョンを返します。
この Gem パッケージのバージョンを返します。 -
Gem
:: DefaultUserInteraction # ui -> Gem :: ConsoleUI (27925.0) -
デフォルトの UI を返します。
デフォルトの UI を返します。
@see Gem::DefaultUserInteraction.ui -
Rake
:: GemPackageTask # gem _ spec -> Gem :: Specification (27910.0) -
package ターゲットで使用する gemspec を返します。
package ターゲットで使用する gemspec を返します。
gemspec にはパッケージ名、バージョン、パッケージに含まれるファイルなどが定義
されているので、それらを明示的に指定する必要はありません。 -
Gem
:: Validator # alien -> [Gem :: Validator . ErrorData] (27709.0) -
Gem ディレクトリ内に存在するかもしれない以下のような問題を検証します。
Gem ディレクトリ内に存在するかもしれない以下のような問題を検証します。
* Gem パッケージのチェックサムが正しいこと
* それぞれの Gem に含まれるそれぞれのファイルがインストールされたバージョンであることの一貫性
* Gem ディレクトリに関係の無いファイルが存在しないこと
* キャッシュ、スペック、ディレクトリがそれぞれ一つずつ存在すること
このメソッドは検証に失敗しても例外を発生させません。 -
Gem
:: LoadError # version _ requirement=(version _ requirement) (27706.0) -
ロードに失敗した Gem の必要条件をセットします。
ロードに失敗した Gem の必要条件をセットします。
@param version_requirement Gem::Requirement のインスタンスをセットします。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Command # get _ one _ gem _ name -> String (27691.0) -
コマンドラインで与えられた Gem の名前を一つ取得して返します。
コマンドラインで与えられた Gem の名前を一つ取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を一つだけ取得できない場合に発生します。 -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (27691.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: Package :: TarOutput # add _ gem _ contents {|data _ tar _ writer| . . . } -> self (27691.0) -
gem-format な tar ファイル内の data.tar.gz にファイルを追加するためのメ ソッドです。
gem-format な tar ファイル内の data.tar.gz にファイルを追加するためのメ
ソッドです。
ブロックには data.tar.gz に紐付いた Gem::Package::TarWriter のイ
ンスタンスが渡されます。このブロックパラメータには
Gem::Specification を追加するための metadata, metadata= という特
異メソッドが追加されています。 -
Gem
:: Validator # unit _ test(gem _ spec) (27691.0) -
与えられた Gem スペックにしたがってユニットテストを実行します。
与えられた Gem スペックにしたがってユニットテストを実行します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Package :: TarReader # rewind -> Integer (27688.0) -
自身に関連付けられた IO のファイルポインタを先頭に移動します。または、 Gem::Package::TarReader.new したときの IO#pos にファイルポ インタを先頭に移動します。
自身に関連付けられた IO のファイルポインタを先頭に移動します。または、
Gem::Package::TarReader.new したときの IO#pos にファイルポ
インタを先頭に移動します。
Gem::Package::TarReader#each の実行中に呼ばないようにしてください。
@return 戻った位置を返します。
@raise Gem::Package::NonSeekableIO 自身に関連付けられた IO がシーク可能
でない場合に発生します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (27688.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Indexer # abbreviate(spec) -> Gem :: Specification (27673.0) -
ダウンロードを速くするために与えられた Gem::Specification の持つデータを 小さくします。
ダウンロードを速くするために与えられた Gem::Specification の持つデータを
小さくします。
@param spec Gem::Specification を指定します。 -
Gem
:: Specification # files=(files) (27670.0) -
この Gem パッケージに含まれるファイル名の配列をセットします。
この Gem パッケージに含まれるファイル名の配列をセットします。
@param files この Gem パッケージに含まれるファイル名の配列を指定します。 -
Gem
:: Specification # version=(version) (27670.0) -
この Gem パッケージのバージョンをセットします。
この Gem パッケージのバージョンをセットします。
@param version バージョンを文字列か Gem::Version のインスタンスで指定します。 -
Gem
:: Format # gem _ path -> String (27655.0) -
Gem のパスを返します。
Gem のパスを返します。 -
Gem
:: OldFormat # gem _ path -> String (27655.0) -
Gem のパスを返します。
Gem のパスを返します。 -
Gem
:: Format # file _ entries=(file _ entries) (27652.0) -
Gem パッケージに含まれるファイルの配列をセットします。
Gem パッケージに含まれるファイルの配列をセットします。
@param file_entries -
Gem
:: OldFormat # file _ entries=(file _ entries) (27652.0) -
Gem パッケージに含まれるファイルの配列をセットします。
Gem パッケージに含まれるファイルの配列をセットします。
@param file_entries