別のキーワード
ライブラリ
-
rake
/ gempackagetask (1) - rubygems (10)
-
rubygems
/ command (11) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency (2) -
rubygems
/ dependency _ installer (4) -
rubygems
/ dependency _ list (3) -
rubygems
/ exceptions (14) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (2) -
rubygems
/ gem _ path _ searcher (3) -
rubygems
/ indexer (4) -
rubygems
/ installer (6) -
rubygems
/ old _ format (2) -
rubygems
/ package (5) -
rubygems
/ package / tar _ header (2) -
rubygems
/ package / tar _ input (6) -
rubygems
/ package / tar _ output (3) -
rubygems
/ package / tar _ reader (3) -
rubygems
/ package / tar _ writer (14) -
rubygems
/ platform (2) -
rubygems
/ remote _ fetcher (4) -
rubygems
/ requirement (4) -
rubygems
/ security (7) -
rubygems
/ server (1) -
rubygems
/ source _ index (7) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (121) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (26) -
rubygems
/ version (14) -
rubygems
/ version _ option (3)
クラス
-
Gem
:: Command (11) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Dependency (2) -
Gem
:: DependencyInstaller (4) -
Gem
:: DependencyList (3) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: FileOperations (1) -
Gem
:: Format (2) -
Gem
:: GemPathSearcher (3) -
Gem
:: Indexer (4) -
Gem
:: Installer (5) -
Gem
:: LoadError (2) -
Gem
:: OldFormat (2) -
Gem
:: Package :: TarHeader (2) -
Gem
:: Package :: TarInput (6) -
Gem
:: Package :: TarOutput (3) -
Gem
:: Package :: TarReader (2) -
Gem
:: Package :: TarWriter (8) -
Gem
:: Package :: TarWriter :: BoundedStream (2) -
Gem
:: Package :: TarWriter :: RestrictedStream (2) -
Gem
:: Platform (2) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (3) -
Gem
:: Security :: Policy (2) -
Gem
:: Server (1) -
Gem
:: SourceIndex (7) -
Gem
:: SourceInfoCache (2) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (120) -
Gem
:: StreamUI (10) -
Gem
:: Uninstaller (2) -
Gem
:: Version (13) -
Rake
:: GemPackageTask (1)
モジュール
- Gem (3)
-
Gem
:: DefaultUserInteraction (6) -
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (9) -
Gem
:: Package (1) -
Gem
:: QuickLoader (4) -
Gem
:: Security (4) -
Gem
:: UserInteraction (8) -
Gem
:: VersionOption (2) - Kernel (1)
キーワード
- <=> (1)
- === (1)
- =~ (1)
- BoundedStream (1)
-
CURRENT
_ SPECIFICATION _ VERSION (1) - ClosedIO (1)
-
DEFAULT
_ OPTIONS (1) - DefaultUserInteraction (1)
- DependencyRemovalException (1)
- EndOfYAMLException (1)
- Exception (2)
- ExtensionBuildError (1)
- FetchError (1)
- FileOperations (1)
- FilePermissionError (1)
- FormatException (1)
- GemNotFoundException (1)
- GemNotInHomeException (1)
- GemVersions (1)
- InstallUpdateOptions (1)
- InvalidSpecificationException (1)
- LocalRemoteOptions (1)
-
MARSHAL
_ FIELDS (1) -
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 3 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) -
NEWS for Ruby 2
. 7 . 0 (1) -
NEWS for Ruby 3
. 0 . 0 (1) -
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - NonSeekableIO (1)
- OperationNotSupportedError (1)
- ReFe (1)
- RemoteInstallationCancelled (1)
- RemoteInstallationSkipped (1)
- RemoteSourceException (1)
- Requirement (2)
- RestrictedStream (1)
- RubyGemsPackageVersion (1)
- RubyGemsVersion (1)
-
SPECIFICATION
_ VERSION _ HISTORY (1) - Specification (1)
- SpecificationCommand (1)
- SystemExitException (1)
- TODAY (1)
- UnexpectedEOF (1)
- UserInteraction (1)
- VerificationError (1)
- Version (1)
- VersionOption (1)
-
_ dump (1) -
_ load (1) - abbreviate (1)
-
accept
_ uri _ http (1) -
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ common _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ option (1) -
add
_ platform _ option (1) -
add
_ proxy _ option (1) -
add
_ runtime _ dependency (1) -
add
_ source _ option (1) -
add
_ spec (1) -
add
_ trusted _ cert (1) -
add
_ update _ sources _ option (1) -
add
_ version _ option (1) - alert (2)
-
alert
_ error (2) -
alert
_ warning (2) -
array
_ attribute (1) -
array
_ attributes (1) - ask (2)
-
ask
_ yes _ no (2) -
assign
_ defaults (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
- autorequire (1)
- autorequire= (1)
- bindir (1)
- bindir= (1)
- both? (1)
- build (3)
-
build
_ cert (1) -
build
_ extensions (1) -
build
_ self _ signed _ cert (1) - bump (1)
-
calculate
_ integers _ for _ gem _ version (1) -
cert
_ chain (1) -
cert
_ chain= (1) -
check
_ closed (1) -
choose
_ from _ list (2) - close (2)
- compress (1)
-
connection
_ for (1) - correct? (1)
- create (1)
- date (1)
- date= (1)
-
default
_ executable (1) -
default
_ executable= (1) -
default
_ value (1) - dependencies (1)
-
dependency
_ order (1) -
dependent
_ gems (1) - description (2)
- description= (1)
-
development
_ dependencies (1) -
do
_ rubygems _ update (1) - email (1)
- email= (1)
- eql? (1)
- errs (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
- extensions (1)
- extensions= (1)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
file
_ name (1) - files (1)
- files= (1)
- find (1)
-
find
_ all (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) - flush (1)
- from (1)
-
from
_ io (2) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
gem
_ spec (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage (1)
- homepage= (1)
-
init
_ gemspecs (1) - ins (1)
- install (2)
-
install
_ update _ defaults _ str (1) -
installation
_ path (1) -
installation
_ satisfies _ dependency? (1) -
lib
_ files (1) - list (1)
- load (1)
-
load
_ gemspec (1) -
load
_ specification (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - local? (1)
-
mark
_ version (1) -
marshal
_ dump (1) -
marshal
_ load (1) -
marshal
_ version (1) - mkdir (1)
- name (1)
- name= (1)
- new (13)
- normalize (1)
-
normalize
_ yaml _ input (1) - open (3)
-
open
_ uri _ or _ path (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - outs (1)
-
overwrite
_ accessor (1) - paranoid (1)
- platform (1)
- platform= (1)
- prerelease? (1)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) -
read
_ only (1) - release (1)
- remote? (1)
-
remove
_ by _ name (1) -
remove
_ option (1) -
remove
_ spec (1) -
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ attributes (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
- reset (1)
- rewind (1)
-
rubygems
/ commands / specification _ command (1) -
rubygems
/ exceptions (1) -
rubygems
/ specification (1) -
rubygems
/ user _ interaction (1) -
rubygems
/ version (1) -
rubygems
/ version _ option (1) -
rubygems
_ version (1) -
rubygems
_ version= (1) - run (1)
-
runtime
_ dependencies (1) - sanitize (1)
-
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (1)
- search (3)
-
show
_ lookup _ failure (1) -
sign
_ cert (1) -
signing
_ key (1) -
signing
_ key= (1) - spec (4)
- specification (1)
-
specification
_ version (1) -
specification
_ version= (1) - summary (1)
- summary= (2)
-
terminate
_ interaction (2) -
test
/ unit (1) -
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 (1) -
trusted
_ cert _ path (1) - ui (2)
- ui= (2)
-
use
_ ui (2) - validate (1)
- version (4)
- version= (2)
-
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements (1) -
version
_ requirements= (1) -
warn
_ legacy (1) - write (2)
-
yaml
_ initialize (1) -
zipped
_ stream (1)
検索結果
先頭5件
-
Gem
:: VersionOption # add _ version _ option(task = command , *wrap) (63619.0) -
option parser に対して --version オプションを追加します。
option parser に対して --version オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Gem
:: RubyGemsPackageVersion -> String (63601.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: RubyGemsVersion -> String (63601.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Kernel
# gem(gem _ name , *version _ requirements) -> bool (55459.0) -
$LOAD_PATH に Ruby Gem を追加します。
$LOAD_PATH に Ruby Gem を追加します。
指定された Gem をロードする前にその Gem が必要とする Gem をロードします。
バージョン情報を省略した場合は、最も高いバージョンの Gem をロードします。
指定された Gem やその Gem が必要とする Gem が見つからなかった場合は
Gem::LoadError が発生します。
バージョンの指定方法に関しては Gem::Version を参照してください。
rubygems ライブラリがライブラリバージョンの衝突を検出しない限り、
gem メソッドは全ての require メソッドよりも前に実行されます。
... -
Gem
:: Specification # rubygems _ version=(version) (54997.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: Specification # specification _ version=(version) (54967.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (54952.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (54685.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # rubygems _ version -> String (54649.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification # specification _ version -> Integer (54649.0) -
この Gem パッケージに用いられている gemspec のバージョンを返します。
この Gem パッケージに用いられている gemspec のバージョンを返します。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (54601.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
Gem
:: Specification :: NONEXISTENT _ SPECIFICATION _ VERSION -> -1 (54601.0) -
明確に指定されていない時の gemspec のバージョンを表します。
明確に指定されていない時の gemspec のバージョンを表します。 -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (54601.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
gemspec ファイルのバージョンの歴史を表す定数です。 -
rubygems
/ version _ option (54049.0) -
Gem::Command の --version, --platform オプションのためのモジュールを 定義したライブラリです。
Gem::Command の --version, --platform オプションのためのモジュールを
定義したライブラリです。 -
Gem
:: QuickLoader # calculate _ integers _ for _ gem _ version (45604.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ gem _ version _ on _ load _ path (45604.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (45601.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader :: GemVersions -> Hash (45601.0) -
prelude.c で定義されている内部用の定数です。
prelude.c で定義されている内部用の定数です。 -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (45319.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Gem
. # marshal _ version -> String (45301.0) -
Marshal のバージョンを表す文字列を返します。
Marshal のバージョンを表す文字列を返します。 -
Gem
:: GemNotFoundException (45049.0) -
Gem が見つからなかった場合の例外です。
Gem が見つからなかった場合の例外です。 -
Gem
:: GemNotInHomeException (45049.0) -
Gem が適切なディレクトリにインストールされていない場合に使用する例外です。
Gem が適切なディレクトリにインストールされていない場合に使用する例外です。 -
Gem
:: VersionOption (45049.0) -
Gem::Command の --version, --platform オプションのためのモジュールです。
Gem::Command の --version, --platform オプションのためのモジュールです。 -
Gem
:: InvalidSpecificationException (45001.0) -
不正な gemspec に関する例外です。
不正な gemspec に関する例外です。 -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (37000.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: Specification # version -> Gem :: Version (36952.0) -
この Gem パッケージのバージョンを返します。
この Gem パッケージのバージョンを返します。 -
Gem
:: Specification # version=(version) (36667.0) -
この Gem パッケージのバージョンをセットします。
この Gem パッケージのバージョンをセットします。
@param version バージョンを文字列か Gem::Version のインスタンスで指定します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (36652.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # rdoc _ options=(options) (36601.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションをセットします。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションをセットします。
@param options API ドキュメントを生成するときに rdoc コマンドに与えるオプションを指定します。 -
Gem
:: Specification # dependent _ gems -> Array (36451.0) -
この Gem に依存している全ての Gem の情報のリストを返します。
この Gem に依存している全ての Gem の情報のリストを返します。
それぞれのエントリは配列になっており、各要素は以下のようになっています。
(0) Gem::Specification
(1) Gem::Dependency
(2) Gem::Specification の配列 -
Gem
:: Specification # required _ ruby _ version=(requirement) (36385.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # full _ gem _ path -> String (36352.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # description -> String (36349.0) -
Gem パッケージの説明を返します。
Gem パッケージの説明を返します。 -
Gem
:: Specification # description=(desc) (36349.0) -
Gem パッケージの説明をセットします。
Gem パッケージの説明をセットします。
@param desc パッケージの詳細を説明する文章を指定します。 -
Gem
:: Specification # installation _ path -> String (36349.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
Gem
:: InstallUpdateOptions # add _ install _ update _ options (36301.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (36301.0) -
オプション --bulk-threshold を追加します。
オプション --bulk-threshold を追加します。 -
Gem
:: LocalRemoteOptions # add _ local _ remote _ options (36301.0) -
オプション --local, --remote, --both を追加します。
オプション --local, --remote, --both を追加します。 -
Gem
:: LocalRemoteOptions # add _ proxy _ option (36301.0) -
オプション --http-proxy を追加します。
オプション --http-proxy を追加します。 -
Gem
:: LocalRemoteOptions # add _ source _ option (36301.0) -
オプション --source を追加します。
オプション --source を追加します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (36301.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: Specification # extensions -> [String] (36301.0) -
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを返します。
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを返します。 -
Gem
:: Specification # extensions=(paths) (36301.0) -
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストをセットします。
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストをセットします。
@param paths 拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを指定します。 -
Gem
:: Specification # mark _ version -> String (36301.0) -
RubyGems のバージョンを内部にセットします。
RubyGems のバージョンを内部にセットします。 -
Gem
:: Specification # rdoc _ options -> [String] (36301.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。 -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (36301.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。 -
rubygems
/ commands / specification _ command (36175.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all ... -
rubygems
/ specification (36085.0) -
Gem パッケージのメタデータを扱うためのライブラリです。
Gem パッケージのメタデータを扱うためのライブラリです。
通常 gemspec ファイルや Rakefile でメタデータを定義します。
例:
spec = Gem::Specification.new do |s|
s.name = 'rfoo'
s.version = '1.0'
s.summary = 'Example gem specification'
...
end -
rubygems
/ install _ update _ options (36049.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールを定義したライブラリです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールを定義したライブラリです。 -
rubygems
/ local _ remote _ options (36049.0) -
Gem::Command で使用する --local, --remote オプションのためのモジュールを 定義したライブラリです。
Gem::Command で使用する --local, --remote オプションのためのモジュールを
定義したライブラリです。 -
rubygems
/ version (36049.0) -
Gem パッケージのバージョンを扱うためのライブラリです。
Gem パッケージのバージョンを扱うためのライブラリです。 -
rubygems
/ exceptions (36001.0) -
RubyGems で使用する例外クラスを定義したライブラリです。
RubyGems で使用する例外クラスを定義したライブラリです。 -
rubygems
/ user _ interaction (36001.0) -
ユーザとのやりとりを行うライブラリです。
ユーザとのやりとりを行うライブラリです。 -
Gem
:: OldFormat . from _ io(io , gem _ path = & # 39;(io)& # 39;) -> Gem :: OldFormat (28702.0) -
Gem ファイルからデータを読み込んだ IO を受け取り、自身を初期化して返します。
Gem ファイルからデータを読み込んだ IO を受け取り、自身を初期化して返します。
@param io Gem パッケージの内容を読み込んだ IO オブジェクトを指定します。
@param gem_path Gem ファイルのパスを指定します。 -
Gem
:: Format . from _ io(io , gem _ path = & # 39;(io)& # 39; , security _ policy = nil) -> Gem :: Format (28642.0) -
@todo security_policy
@todo security_policy
Gem ファイルからデータを読み込んだ IO を受け取り、自身を初期化して返します。
@param io Gem パッケージの内容を読み込んだ IO オブジェクトを指定します。
@param gem_path Gem ファイルのパスを指定します。
@param security_policy ??? -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (28357.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (28309.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (27970.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (27952.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Rake
:: GemPackageTask # gem _ spec -> Gem :: Specification (27907.0) -
package ターゲットで使用する gemspec を返します。
package ターゲットで使用する gemspec を返します。
gemspec にはパッケージ名、バージョン、パッケージに含まれるファイルなどが定義
されているので、それらを明示的に指定する必要はありません。 -
Gem
:: LoadError # version _ requirement=(version _ requirement) (27703.0) -
ロードに失敗した Gem の必要条件をセットします。
ロードに失敗した Gem の必要条件をセットします。
@param version_requirement Gem::Requirement のインスタンスをセットします。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Dependency # version _ requirements=(version _ requirements) (27619.0) -
依存しているバージョンを設定します。
依存しているバージョンを設定します。
@param version_requirements Gem::Requirement のインスタンスを指定します。 -
Gem
:: Dependency # version _ requirements -> Gem :: Requirement (27604.0) -
依存しているバージョンを返します。
依存しているバージョンを返します。 -
Gem
:: Command # add _ option(*opts) {|value , options| . . . } (27601.0) -
コマンドに対するコマンドラインオプションとハンドラを追加します。
コマンドに対するコマンドラインオプションとハンドラを追加します。
ブロックには、コマンドライン引数の値とそのオプションが渡されます。
オプションはハッシュになっています。
@param opts オプションを指定します。
@see OptionParser#make_switch -
Gem
:: Command # merge _ options(new _ options) -> Hash (27601.0) -
与えられたオプションとデフォルトのオプションをマージします。 しかし、新しいオプションに同一のキーがあってもデフォルトのオプションは変更されません。
与えられたオプションとデフォルトのオプションをマージします。
しかし、新しいオプションに同一のキーがあってもデフォルトのオプションは変更されません。
@param new_options 新しいコマンドオプションをハッシュで指定します。 -
Gem
:: Command . add _ common _ option(*args) {|value , options| . . . } (27601.0) -
全てのコマンドに共通するオプションを登録するためのメソッドです。
全てのコマンドに共通するオプションを登録するためのメソッドです。
@param args 追加するオプションの情報を指定します。 -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (27601.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
Gem
:: Platform # version=(version) (27601.0) -
プラットフォームのバージョンをセットします。
プラットフォームのバージョンをセットします。
@param version プラットフォームのバージョンを指定します。 -
Gem
:: LoadError # version _ requirement -> Get :: Requirement (27385.0) -
ロードに失敗した Gem の必要条件を返します。
ロードに失敗した Gem の必要条件を返します。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Installer # installation _ satisfies _ dependency?(dependency) -> bool (27319.0) -
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。
登録されているソースインデックスが与えられた依存関係を
満たすことができる場合は、真を返します。そうでない場合は偽を返します。
@param dependency Gem::Dependency のインスタンスを指定します。 -
Gem
:: StreamUI # terminate _ interaction(status = 0) -> () (27319.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param status 終了ステータスを指定します。デフォルトは 0 (成功) です。
@raise Gem::SystemExitException このメソッドを呼び出すと必ず発生する例外です。 -
Gem
:: Version # version -> String (27319.0) -
バージョン情報を文字列として返します。
バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//} -
Gem
:: Command # description -> String (27301.0) -
このメソッドはサブクラスで再定義されます。 コマンドが実行することを説明する文字列を返します。
このメソッドはサブクラスで再定義されます。
コマンドが実行することを説明する文字列を返します。 -
Gem
:: Command # get _ one _ optional _ argument -> String (27301.0) -
コマンドラインからオプショナルな引数を取得して返します。
コマンドラインからオプショナルな引数を取得して返します。
@return 一つ以上、指定した場合は最初の値を返します。一つも指定していない場合は nil を返します。 -
Gem
:: Command # handle _ options(args) (27301.0) -
与えられた引数のリストをパースして結果を記録します。
与えられた引数のリストをパースして結果を記録します。
@param args 引数のリストを指定します。 -
Gem
:: Command # options -> Hash (27301.0) -
コマンドで使用するオプションを返します。
コマンドで使用するオプションを返します。 -
Gem
:: Command # remove _ option(name) (27301.0) -
与えられた名前に一致するコマンドラインオプションを削除します。
与えられた名前に一致するコマンドラインオプションを削除します。
@param name 削除したいコマンドラインオプションの名前を指定します。 -
Gem
:: Command . common _ options -> Array (27301.0) -
共通の引数を返します。
共通の引数を返します。 -
Gem
:: DependencyInstaller :: DEFAULT _ OPTIONS -> Hash (27301.0) -
自身を初期化する際に使用するデフォルトのオプションです。
自身を初期化する際に使用するデフォルトのオプションです。
:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al... -
Gem
:: Installer # build _ extensions (27301.0) -
拡張ライブラリをビルドします。
拡張ライブラリをビルドします。
拡張ライブラリをビルドするためのファイルタイプとして有効であるのは、
extconf.rb, configure script, Rakefile, mkmf_files です。 -
Gem
:: Package :: TarHeader # version -> Integer (27301.0) -
tar のヘッダに含まれる version を返します。
tar のヘッダに含まれる version を返します。 -
Gem
:: Platform # version -> String (27301.0) -
プラットフォームのバージョンを返します。
プラットフォームのバージョンを返します。 -
Gem
:: RemoteFetcher # connection _ for(uri) -> Net :: HTTP (27301.0) -
HTTP コネクションを生成して返します。
HTTP コネクションを生成して返します。
既に接続している URI であれば、生成済みのコネクションを返します。
また、必要があればプロキシを使用します。
@param uri 接続先の URI を指定します。 -
Gem
:: Version (27109.0) -
文字列で表現されたバージョンを比較可能 (Comparable) にするためのクラスです。
文字列で表現されたバージョンを比較可能 (Comparable) にするためのクラスです。
バージョンを文字列で表したとき、単純に String#<=> で比較すると、
"1.9" のほうが "1.10" よりも大きい(バージョンが高い)ことになってしまい、
正しく判定できません。
Gem::Version はこの問題を解決します。
//emlist[文字列での比較と Gem::Version での比較][ruby]{
p "1.9" < "1.10" # => false
p Gem::Version.new("1.9") < Gem::Version.new("1.10") # => ... -
Gem
:: Commands :: SpecificationCommand (27049.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのクラスです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのクラスです。 -
Gem
:: DefaultUserInteraction (27049.0) -
このモジュールはデフォルトの Gem::UserInteraction を定義しています。
このモジュールはデフォルトの Gem::UserInteraction を定義しています。 -
Gem
:: DependencyRemovalException (27049.0) -
Gem を削除出来なかった場合に使用する例外です。
Gem を削除出来なかった場合に使用する例外です。 -
Gem
:: InstallUpdateOptions (27049.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールです。 -
Gem
:: LocalRemoteOptions (27049.0) -
Gem::Command で使用する --local, --remote オプションのためのモジュールです。
Gem::Command で使用する --local, --remote オプションのためのモジュールです。 -
Gem
:: Package :: ClosedIO (27049.0) -
既に閉じている IO を操作した場合に発生する例外です。
既に閉じている IO を操作した場合に発生する例外です。 -
Gem
:: Package :: NonSeekableIO (27049.0) -
シークできない IO に対してシーク使用とした場合に発生する例外です。
シークできない IO に対してシーク使用とした場合に発生する例外です。 -
Gem
:: Specification (27049.0) -
Gem パッケージのメタデータを扱うためのクラスです。
Gem パッケージのメタデータを扱うためのクラスです。 -
Gem
:: VerificationError (27049.0) -
Gem の検証でエラーになった場合に使用する例外です。
Gem の検証でエラーになった場合に使用する例外です。 -
Gem
:: EndOfYAMLException (27001.0) -
YAML データが不正である場合に使用する例外です。
YAML データが不正である場合に使用する例外です。 -
Gem
:: Exception (27001.0) -
RubyGems で扱う全ての例外のスーパークラスです。
RubyGems で扱う全ての例外のスーパークラスです。 -
Gem
:: FileOperations (27001.0) -
このクラスは FileUtils のラッパーです。
このクラスは FileUtils のラッパーです。
ロギングの機能を追加しています。 -
Gem
:: FilePermissionError (27001.0) -
ファイルの権限に関する例外です。
ファイルの権限に関する例外です。 -
Gem
:: FormatException (27001.0) -
フォーマットに関する例外です。
フォーマットに関する例外です。 -
Gem
:: Installer :: ExtensionBuildError (27001.0) -
拡張ライブラリをビルド中にエラーが発生した場合に発生します。
拡張ライブラリをビルド中にエラーが発生した場合に発生します。 -
Gem
:: OperationNotSupportedError (27001.0) -
サポートされていない操作を行った場合に使用する例外です。
サポートされていない操作を行った場合に使用する例外です。