ライブラリ
- ビルトイン (4)
-
rake
/ gempackagetask (3) - rubygems (1)
-
rubygems
/ builder (2) -
rubygems
/ commands / dependency _ command (2) -
rubygems
/ commands / which _ command (1) -
rubygems
/ dependency (1) -
rubygems
/ dependency _ installer (2) -
rubygems
/ dependency _ list (3) -
rubygems
/ doc _ manager (3) -
rubygems
/ format (2) -
rubygems
/ gem _ path _ searcher (5) -
rubygems
/ indexer (4) -
rubygems
/ installer (3) -
rubygems
/ old _ format (2) -
rubygems
/ package / tar _ input (2) -
rubygems
/ package / tar _ output (1) -
rubygems
/ platform (1) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (4) -
rubygems
/ specification (96) -
rubygems
/ uninstaller (7) -
rubygems
/ validator (1)
クラス
- Array (2)
-
Gem
:: Builder (1) -
Gem
:: Commands :: DependencyCommand (2) -
Gem
:: Commands :: WhichCommand (1) -
Gem
:: Dependency (1) -
Gem
:: DependencyInstaller (2) -
Gem
:: DependencyList (3) -
Gem
:: DocManager (3) -
Gem
:: Format (2) -
Gem
:: GemPathSearcher (5) -
Gem
:: Indexer (4) -
Gem
:: Installer (3) -
Gem
:: OldFormat (2) -
Gem
:: Package :: TarInput (2) -
Gem
:: Package :: TarOutput (1) -
Gem
:: Platform (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (10) -
Gem
:: SourceInfoCache (4) -
Gem
:: Specification (96) -
Gem
:: Uninstaller (7) -
Gem
:: Validator (1) -
Rake
:: GemPackageTask (3) - String (1)
キーワード
- Builder (1)
-
CURRENT
_ SPECIFICATION _ VERSION (1) -
MARSHAL
_ FIELDS (1) -
NEWS for Ruby 2
. 0 . 0 (1) -
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - RUBY (1)
-
SPECIFICATION
_ VERSION _ HISTORY (1) - SourceIndex (1)
- TYPES (1)
-
_ dump (1) -
_ load (1) - abbreviate (1)
-
add
_ bindir (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ gem _ contents (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) -
add
_ specs (1) -
array
_ attribute (1) -
array
_ attributes (1) -
ask
_ if _ ok (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
- autorequire (1)
- autorequire= (1)
- bindir (1)
- bindir= (1)
-
cert
_ chain (1) -
cert
_ chain= (1) -
clock
_ gettime (1) -
collect
_ specs (1) -
compact
_ specs (1) -
default
_ executable (1) - dependencies (1)
-
dependencies
_ ok? (1) -
dependency
_ order (1) -
dependent
_ gems (1) - description (1)
- description= (1)
-
development
_ dependencies (1) - download (1)
- email (1)
-
ensure
_ dependency (1) - executable (1)
- executables (1)
- extensions (1)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
file
_ name (1) - files (1)
- find (1)
-
find
_ all (1) -
find
_ gems _ with _ sources (1) -
find
_ name (1) -
find
_ reverse _ dependencies (1) -
find
_ spec _ by _ name _ and _ version (1) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
gem
_ paths (1) -
gem
_ spec (1) -
gem
_ spec= (1) -
generate
_ rdoc (1) -
generate
_ ri (1) -
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) - homepage (1)
- homepage= (1)
-
init
_ gemspecs (1) - install (1)
-
installation
_ path (1) -
latest
_ specs (1) -
lib
_ files (1) - list (1)
-
load
_ gemspec (1) -
load
_ specification (1) -
loaded
_ from (1) -
loaded
_ from= (1) -
mark
_ version (1) -
matching
_ file? (1) -
matching
_ files (1) - name (1)
- new (4)
- normalize (1)
-
normalize
_ yaml _ input (1) -
ok
_ to _ remove? (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - outdated (1)
-
overwrite
_ accessor (1) - pack (2)
- pack テンプレート文字列 (1)
-
path
_ ok? (1) - platform (1)
- platform= (1)
-
print
_ dependencies (1) -
rake
/ gempackagetask (1) -
read
_ only (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
_ 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)
- rss (1)
- rubygems (1)
-
rubygems
/ builder (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ specification (1) -
rubygems
_ version (1) -
rubygems
_ version= (1) -
runtime
_ dependencies (1) - sanitize (1)
-
satisfies
_ requirement? (1) - search (3)
-
search
_ with _ source (2) -
signing
_ key (1) -
source
_ index (1) - spec (4)
- spec= (2)
-
specification
_ version (1) -
specification
_ version= (1) - summary (1)
- summary= (1)
-
test
_ file (1) -
test
_ files (1) -
test
_ suite _ file (1) -
to
_ ruby (1) -
uninstall
_ gem (1) -
unit
_ test (1) - unpack (1)
- version (1)
- version= (1)
- yaml (1)
検索結果
先頭5件
-
rubygems
/ commands / specification _ command (96055.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 (96037.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 (78127.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
===[a:gem_command] gem コマンドの使い方
$ gem help
RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポインタを含んでいる基本的なヘルプメッセージです。
使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
例:
... -
rubygems
/ builder (78049.0) -
Gem::Specification のインスタンスから Gem パッケージを作成するためのライブラリです。
Gem::Specification のインスタンスから Gem パッケージを作成するためのライブラリです。 -
rake
/ gempackagetask (78019.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem パッケージだけでなく zip, tgz, tar.gz, tar.bz2 の各ファイルを作成する事もできます。
以下のタスクを定義します。
: PACKAGE_DIR/NAME-VERSION.gem
Gem パッケージを作成します。
例:
require 'rubygems'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summa... -
rss (78019.0)
-
RSS を扱うためのライブラリです。
RSS を扱うためのライブラリです。
=== 参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, Atom 1.0 をサポートしていますが,RSS 0.90
はサポートしてませ... -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (63655.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (46201.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (46201.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (46201.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (46201.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # specification _ version=(version) (45940.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (45667.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Gem
:: Specification # require _ path -> String (45667.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ path=(path) (45667.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: SourceInfoCache . search _ with _ source(*args) -> Array (45649.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param args 検索条件を指定します。Gem::SourceInfoCache#search_with_source と引数を合わせてください。
@see Gem::SourceInfoCache#search_with_source -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (45619.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification # specification _ version -> Integer (45604.0) -
この Gem パッケージに用いられている gemspec のバージョンを返します。
この Gem パッケージに用いられている gemspec のバージョンを返します。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (45604.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
Gem
:: Specification :: NONEXISTENT _ SPECIFICATION _ VERSION -> -1 (45604.0) -
明確に指定されていない時の gemspec のバージョンを表します。
明確に指定されていない時の gemspec のバージョンを表します。 -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (45604.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
gemspec ファイルのバージョンの歴史を表す定数です。 -
Gem
:: Specification # autorequire -> String (45601.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (45601.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # require _ paths -> [String] (45601.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # require _ paths=(paths) (45601.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Gem
:: Specification # requirements -> Array (45601.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # requirements=(informations) (45601.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (45601.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification . required _ attribute?(name) -> bool (45601.0) -
必須属性であれば真を返します。
必須属性であれば真を返します。
@param name 属性名を指定します。 -
Gem
:: Specification . required _ attributes -> Array (45601.0) -
必須属性のリストを返します。
必須属性のリストを返します。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (27655.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (27652.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search -
Gem
:: SourceInfoCache . search(*args) -> [Gem :: Specification] (27652.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param args 検索条件を指定します。Gem::SourceInfoCache#search と引数を合わせてください。
@see Gem::SourceInfoCache#search -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (27622.0) -
YAML ファイルから gemspec をロードします。
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification # original _ name -> String (27619.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (27604.0) -
引数で指定された条件を満たす Gem のリストを返します。
引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。 -
Gem
:: Specification # description -> String (27601.0) -
Gem パッケージの説明を返します。
Gem パッケージの説明を返します。 -
Gem
:: Specification # original _ platform -> String (27601.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。 -
Gem
:: Specification # platform=(platform) (27601.0) -
この Gem パッケージを使用できるプラットフォームをセットします。
この Gem パッケージを使用できるプラットフォームをセットします。
@param platform この Gem パッケージを使用できるプラットフォームを指定します。
デフォルトは Gem::Platform::RUBY です。
@see Gem::Platform::RUBY -
Gem
:: Specification # summary=(summary) (27601.0) -
この Gem パッケージの短い説明をセットします。
この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。 -
Gem
:: Specification # version -> Gem :: Version (27601.0) -
この Gem パッケージのバージョンを返します。
この Gem パッケージのバージョンを返します。 -
Gem
:: Specification # version=(version) (27601.0) -
この Gem パッケージのバージョンをセットします。
この Gem パッケージのバージョンをセットします。
@param version バージョンを文字列か Gem::Version のインスタンスで指定します。 -
Gem
:: Specification . array _ attributes -> Array (27601.0) -
@@array_attributes の複製を返します。
@@array_attributes の複製を返します。
@see Object#dup -
Gem
:: Specification . array _ attribute(name) -> () (27367.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification # has _ rdoc? -> bool (27319.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
@see Gem::Specification#has_rdoc -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (27301.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # author -> String (27301.0) -
作成者の名前を返します。
作成者の名前を返します。 -
Gem
:: Specification # author=(name) (27301.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
Gem
:: Specification # authors -> Array (27301.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # authors=(names) (27301.0) -
作成者の名前の配列をセットします。
作成者の名前の配列をセットします。 -
Gem
:: Specification # bindir -> String (27301.0) -
実行ファイルを格納するディレクトリを返します。
実行ファイルを格納するディレクトリを返します。 -
Gem
:: Specification # bindir=(dir) (27301.0) -
実行ファイルを格納するディレクトリをセットします。
実行ファイルを格納するディレクトリをセットします。
@param dir 実行ファイルを格納するディレクトリを指定します。デフォルトは "bin" です。 -
Gem
:: Specification # cert _ chain -> Array (27301.0) -
@todo
@todo -
Gem
:: Specification # cert _ chain=(arr) (27301.0) -
@todo
@todo
@param arr デフォルトは空の配列です。 -
Gem
:: Specification # description=(desc) (27301.0) -
Gem パッケージの説明をセットします。
Gem パッケージの説明をセットします。
@param desc パッケージの詳細を説明する文章を指定します。 -
Gem
:: Specification # extra _ rdoc _ files -> [String] (27301.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。 -
Gem
:: Specification # extra _ rdoc _ files=(paths) (27301.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストをセットします。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストをセットします。
@param paths RDoc でドキュメントを作成する際に使用する特別なファイルのリストを指定します。 -
Gem
:: Specification # has _ rdoc -> bool (27301.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。 -
Gem
:: Specification # has _ rdoc=(flag) (27301.0) -
RDoc を生成するかどうかをセットします。デフォルトは偽です。
RDoc を生成するかどうかをセットします。デフォルトは偽です。 -
Gem
:: Specification # loaded _ from -> String (27301.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # loaded _ from=(path) (27301.0) -
この Gem パッケージの gemspec がある場所をセットします。
この Gem パッケージの gemspec がある場所をセットします。
@param path この Gem パッケージの gemspec がある場所を指定します。 -
Gem
:: Specification # mark _ version -> String (27301.0) -
RubyGems のバージョンを内部にセットします。
RubyGems のバージョンを内部にセットします。 -
Gem
:: Specification # normalize -> [String] (27301.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # original _ platform=(platform) (27301.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
@param platform プラットフォームを指定します。 -
Gem
:: Specification # platform -> String (27301.0) -
この Gem パッケージを使用できるプラットフォームを返します。
この Gem パッケージを使用できるプラットフォームを返します。 -
Gem
:: Specification # rdoc _ options -> [String] (27301.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。 -
Gem
:: Specification # rdoc _ options=(options) (27301.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションをセットします。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションをセットします。
@param options API ドキュメントを生成するときに rdoc コマンドに与えるオプションを指定します。 -
Gem
:: Specification # rubygems _ version -> String (27301.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification # rubygems _ version=(version) (27301.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: Specification # runtime _ dependencies -> Array (27301.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # summary -> String (27301.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # to _ ruby -> String (27301.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Gem
:: Specification . attribute(name) -> () (27301.0) -
デフォルト値を指定したアクセサを定義するために使用します。
デフォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読み取りメソッドのように振る舞うメソッドを定義します。 -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (27301.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
既に存在する複数形の属性の単数形バージョンを定義します。
これは単に一つの引数を受け取りそれを配列に追加するようなヘルパーメソッドを定義するということです。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param plural 属性名の複数形を... -
Gem
:: Specification . attribute _ defaults -> Array (27301.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Specification . attribute _ names -> Array (27301.0) -
属性名の配列を返します。
属性名の配列を返します。 -
Gem
:: Specification . attributes(*args) -> () (27301.0) -
複数の属性を一度に作成するために使用します。
複数の属性を一度に作成するために使用します。
各属性のデフォルト値は nil になります。
@param args 属性名を一つ以上指定します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (27301.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification . overwrite _ accessor(name) { . . . } -> () (27301.0) -
呼び出し時に特別な動作をする必要のある属性があります。 このメソッドはそういうことを可能にします。
呼び出し時に特別な動作をする必要のある属性があります。
このメソッドはそういうことを可能にします。
ブロックパラメータは任意のものを使用することができます。
@param name 属性名を指定します。 -
Gem
:: Specification . read _ only(*names) -> () (27301.0) -
与えられた属性名を読み取り専用にします。
与えられた属性名を読み取り専用にします。
@param names 属性名を一つ以上指定します。 -
Gem
:: Specification :: MARSHAL _ FIELDS -> Hash (27301.0) -
@todo
@todo -
Gem
. # source _ index -> Gem :: SourceIndex (18715.0) -
Gem.#path にある Gem::Specification のキャッシュを返します。 インストールされている Gem::Specification のインデックスを返します
Gem.#path にある Gem::Specification のキャッシュを返します。
インストールされている Gem::Specification のインデックスを返します
@see Gem::SourceIndex, Gem::Specification -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (18670.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Gem
:: Indexer # abbreviate(spec) -> Gem :: Specification (18670.0) -
ダウンロードを速くするために与えられた Gem::Specification の持つデータを 小さくします。
ダウンロードを速くするために与えられた Gem::Specification の持つデータを
小さくします。
@param spec Gem::Specification を指定します。 -
Gem
:: DependencyList # dependency _ order -> [Gem :: Specification] (18652.0) -
依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。
依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。
このことは、インストール済みの Gem を削除するときに便利です。
このメソッドで返された順にインストール済みの Gem 削除すると、
依存関係による多くの問題を回避することができます。
If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are le... -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (18649.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Commands :: DependencyCommand # print _ dependencies(spec , level = 0) -> String (18619.0) -
依存関係を表す文字列を返します。
依存関係を表す文字列を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param level 依存関係の深さを指定します。 -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (18604.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
Gem
:: DependencyList # ok _ to _ remove?(full _ name) -> bool (18385.0) -
与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。 そうでない場合は、偽を返します。
与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。
そうでない場合は、偽を返します。
与えられた名前を持つ Gem::Specification を自身から削除すると、
依存関係を壊してしまう場合が、それを削除してはいけない場合です。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: Uninstaller # remove _ executables(gemspec) (18367.0) -
与えられた Gem::Specification に対応する実行ファイルを削除します。
与えられた Gem::Specification に対応する実行ファイルを削除します。
@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (18349.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: DocManager # generate _ rdoc (18349.0) -
自身にセットされている Gem::Specification の情報をもとに RDoc のドキュメントを生成します。
自身にセットされている Gem::Specification の情報をもとに RDoc のドキュメントを生成します。 -
Gem
:: DocManager # generate _ ri (18349.0) -
自身にセットされている Gem::Specification の情報をもとに RI 用のデータを生成します。
自身にセットされている Gem::Specification の情報をもとに RI 用のデータを生成します。 -
Gem
:: Platform :: RUBY -> String (18349.0) -
Pure Ruby の Gem はバイナリファイルをビルドするために Gem::Specification#extensions を使用する可能性があります。
Pure Ruby の Gem はバイナリファイルをビルドするために Gem::Specification#extensions
を使用する可能性があります。 -
Gem
:: Commands :: DependencyCommand # find _ reverse _ dependencies(spec) -> Array (18319.0) -
与えられた Gem スペックに依存する Gem のリストを返します。
与えられた Gem スペックに依存する Gem のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Installer # ensure _ dependency(spec , dependency) -> true (18319.0) -
インストールしようとしている Gem が依存関係を満たしている事を確認します。
インストールしようとしている Gem が依存関係を満たしている事を確認します。
依存関係を満たしていない場合は、例外 Gem::InstallError が発生します。
@param spec Gem::Specification のインスタンスを指定します。
@param dependency Gem::Dependency のインスタンスを指定します。
@raise Gem::InstallError 依存関係を満たしていない場合に発生します。 -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (18319.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(spec , list) (18319.0) -
指定された Gem を削除します。
指定された Gem を削除します。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param list アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。
@raise Gem::DependencyRemovalException アンインストール指定された Gem を削除すると
依存関係が壊れる場合に発生します。
@raise Gem::GemNotInHome... -
Gem
:: Builder (18049.0) -
Gem::Specification のインスタンスから Gem パッケージを作成するためのクラスです。
Gem::Specification のインスタンスから Gem パッケージを作成するためのクラスです。 -
Gem
:: SourceIndex (18019.0) -
個々のソースから取得した全ての有効な Gem パッケージをインデックス化するためのクラスです。
個々のソースから取得した全ての有効な Gem パッケージをインデックス化するためのクラスです。
Gem パッケージのフルネームと それぞれの Gem::Specification オブジェクトを対応付けます。