第10章 RubyGems のコアセットでの変更
Red Hat CloudForms では、Ruby でカスタムの自動化メソッドを作成することで製品を拡張することができます。Red Hat CloudForms には、CloudForms Management Engine (CFME) Rails アプリケーションで使用する RubyGems のコアセットが同梱されています。CloudForms Management Engine アプライアンスに含まれていない自動化を使用して Gem を呼び出す場合は、gem install コマンドを使用して Gem をインストールすることができます。
Gem は require を使用して自動化メソッドにインポートできますが、自動化メソッドの作成の際には、コアセットまたはカスタムセットのいずれかに Gem の用途を明確に文書化することを推奨します。自動化メソッドで参照した Gem のライフサイクルに関する責任には、カスタムの自動化メソッドを作成した本人が負うものとします。
アプライアンスに含まれている Gem の全一覧は /var/www/miq/vmdb/log/gem_list.txt から入手できます。
各種 CloudForms Management Engine リリースの全 Gem の一覧を取得するには、以下のリソースを参照してください。
10.1. CloudForms Management Engine 5.5 で削除された RubyGems
CloudForms Management Engine 5.5 では、当アプライアンスに含まれていた RubyGems のコアセットから以下の Gem が削除されています。
| 削除された Ruby Gem | CFME 5.5 のバージョン |
|---|---|
|
actionwebservice |
3.1.0 |
|
activeresource |
3.2.17 |
|
angularjs-rails |
1.2.4 |
|
bcrypt-ruby |
3.0.1 |
|
commonjs |
0.2.7 |
|
facade |
1.0.7 |
|
haml |
4.0.7 |
|
haml-rails |
0.4 |
|
hike |
1.2.3 |
|
io-extra |
1.2.8 |
|
journey |
1.0.4 |
|
less |
2.6.0 |
|
less-rails |
2.6.0 |
|
momentjs-rails |
2.10.3 |
|
Platform |
0.4.0 |
|
polyglot |
0.3.5 |
|
qpid_messaging |
0.20.2 |
|
rack-cache |
1.2 |
|
rack-ssl |
1.3.4 |
|
ref |
2.0.0 |
|
soap4r |
1.6.0 |
|
sprockets-less |
0.6.1 |
|
sprockets-sass |
1.2.0 |
|
therubyracer |
0.11.0 |
|
treetop |
1.4.15 |
10.2. CloudForms Management Engine 5.5 で新規追加された RubyGems
CloudForms Management Engine 5.5 では、当アプライアンスに含まれる RubyGems のコアセットに以下の Gem が新たに追加されています。
| 新しい Ruby Gem | CFME 5.5 のバージョン |
|---|---|
|
actionview |
4.2.4 |
|
activejob |
4.2.4 |
|
activerecord-deprecated_finders |
1.0.4 |
|
angular-ui-bootstrap-rails |
0.13.4 |
|
autoprefixer-rails |
6.0.3 |
|
azure-armrest |
0.0.2 |
|
bcrypt |
3.1.10 |
|
bootstrap-sass |
3.3.5.1 |
|
cache |
0.4.1 |
|
cache_method |
0.2.7 |
|
climate_control |
0.0.3 |
|
cocaine |
0.5.7 |
|
codemirror-rails |
4.2 |
|
domain_name |
0.5.24 |
|
escape_utils |
1.1.0 |
|
fog-dynect |
0.0.2 |
|
fog-google |
0.0.9 |
|
fog-xenserver |
0.2.2 |
|
font-awesome-sass |
4.3.2.1 |
|
globalid |
0.3.6 |
|
hamlit |
1.7.2 |
|
hamlit-rails |
0.1.0 |
|
http-cookie |
1.0.2 |
|
jquery-hotkeys-rails |
0.7.9.1 |
|
linux_block_device |
0.1.0 |
|
lodash-rails |
3.10.1 |
|
loofah |
2.0.3 |
|
manageiq_foreman |
0.0.2 |
|
memory_buffer |
0.1.0 |
|
mimemagic |
0.3.0 |
|
mini_portile |
0.6.2 |
|
net_app_manageability |
0.1.0 |
|
openscap |
0.4.3 |
|
openshift_client |
0.1.0 |
|
paperclip |
4.3.1 |
|
patternfly-sass |
2.2.0 |
|
puma |
2.13.4 |
|
rails-assets-angular |
1.4.6 |
|
rails-assets-angular-mocks |
1.4.6 |
|
rails-assets-bootstrap |
3.3.5 |
|
rails-assets-bootstrap-datepicker |
1.4.1 |
|
rails-assets-bootstrap-hover-dropdown |
2.0.11 |
|
rails-assets-bootstrap-select |
1.7.3 |
|
rails-assets-c3 |
0.4.10 |
|
rails-assets-d3 |
3.5.0 |
|
rails-assets-jquery |
2.1.4 |
|
rails-assets-kubernetes-topology-graph |
0.0.17 |
|
rails-assets-markusslima—bootstrap-filestyle |
1.2.1 |
|
rails-assets-moment |
2.10.6 |
|
rails-assets-moment-strftime |
0.1.5 |
|
rails-assets-moment-timezone |
0.4.0 |
|
rails-assets-numeral |
1.5.3 |
|
rails-assets-sprintf |
1.0.3 |
|
rails-deprecated_sanitizer |
1.0.3 |
|
rails-dom-testing |
1.0.7 |
|
rails-html-sanitizer |
1.0.2 |
|
redhat_access_cfme |
0.0.1 |
|
responders |
2.1.0 |
|
ruby_parser |
3.7.1 |
|
sass-rails |
5.0.4 |
|
sexp_processor |
4.6.0 |
|
sprockets-rails |
2.3.3 |
|
sys-uname |
1.0.2 |
|
temple |
0.7.6 |
|
thread_safe |
0.3.5 |
|
unf |
0.1.4 |
|
unf_ext |
0.0.7.1 |
10.3. CloudForms Management Engine 5.5 で更新された RubyGems
CloudForms Management Engine 5.4.3 に含まれていた以下の RubyGems が CloudForms Management Engine 5.5 で更新されました。
| 更新された Ruby Gem | CFME 5.5 のバージョン |
|---|---|
|
actionmailer |
4.2.4 |
|
actionpack |
4.2.4 |
|
activemodel |
4.2.4 |
|
activerecord |
4.2.4 |
|
activesupport |
4.2.4 |
|
ancestry |
2.1.0 |
|
arel |
6.0.3 |
|
builder |
3.2.2 |
|
dalli |
2.7.4 |
|
default_value_for |
3.0.1 |
|
fog |
2.0.0.pre.0 |
|
jbuilder |
2.3.1 |
|
jquery-rails |
4.0.5 |
|
kubeclient |
0.5.1 |
|
linux_admin |
0.11.0 |
|
|
2.6.3 |
|
mime-types |
2.6.2 |
|
minitest |
5.8.1 |
|
net-sftp |
2.1.2 |
|
nokogiri |
1.6.6.2 |
|
ovirt |
0.6.0 |
|
ovirt_metrics |
1.1.0 |
|
pg |
0.18.2 |
|
rack |
1.6.4 |
|
rails |
4.2.4 |
|
rails-i18n |
4.0.5 |
|
railties |
4.2.4 |
|
rdoc |
4.2.0 |
|
rest-client |
2.0.0.rc1 |
|
ruby-progressbar |
1.7.5 |
|
rufus-scheduler |
3.1.5 |
|
sass |
3.4.18 |
|
secure_headers |
2.2.4 |
|
snmp |
1.2.0 |
|
sprockets |
3.3.5 |
|
thin |
1.6.3 |
|
tilt |
2.0.1 |
|
tzinfo |
1.2.2 |
|
uglifier |
2.7.2 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.