Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias Expr Call NameLoad Str Import alias identifier Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Num Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Dict Str Str Num Str Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Num Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str Str ListLoad Str Str ListLoad Str ListLoad Str Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A __future__ absolute_import salttesting skipIf TestCase salttesting.helpers ensure_in_syspath salttesting.mock NO_MOCK NO_MOCK_REASON MagicMock patch N/A N/A ensure_in_syspath ../../ N/A salt.modules.gem gem N/A N/A gem __salt__ N/A TestGemModule N/A TestCase N/A test_gem N/A N/A self N/A N/A N/A mock N/A MagicMock return_value N/A retcode stdout 0 N/A N/A N/A patch dict N/A gem __salt__ N/A rvm.is_installed rbenv.is_installed cmd.run_all N/A MagicMock return_value False N/A MagicMock return_value False mock N/A N/A N/A N/A gem _gem N/A install rails N/A N/A N/A mock assert_called_once_with N/A gem install rails runas None python_shell False N/A mock N/A MagicMock return_value N/A retcode stdout 0 N/A rvm_mock N/A MagicMock N/A N/A N/A patch dict N/A gem __salt__ N/A rvm.is_installed rbenv.is_installed cmd.run_all rvm_mock rvm_mock mock N/A N/A N/A N/A gem _gem N/A install rails gem_bin /usr/local/bin/gem N/A N/A N/A self assertEqual False N/A rvm_mock called Should never call rvm.is_installed if gem_bin provided N/A N/A N/A mock assert_called_once_with N/A /usr/local/bin/gem install rails runas None python_shell False N/A mock N/A MagicMock return_value None N/A N/A N/A patch dict N/A gem __salt__ N/A rvm.is_installed rbenv.is_installed rvm.do N/A MagicMock return_value True N/A MagicMock return_value False mock N/A N/A N/A N/A gem _gem N/A install rails ruby 1.9.3 N/A N/A N/A mock assert_called_once_with 1.9.3 N/A gem install rails runas None N/A mock N/A MagicMock return_value None N/A N/A N/A patch dict N/A gem __salt__ N/A rvm.is_installed rbenv.is_installed rbenv.do N/A MagicMock return_value False N/A MagicMock return_value True mock N/A N/A N/A N/A gem _gem N/A install rails N/A N/A N/A mock assert_called_once_with N/A gem install rails runas None N/A test_install_pre N/A N/A self N/A N/A N/A mock N/A MagicMock return_value N/A retcode stdout 0 N/A N/A N/A patch dict N/A gem __salt__ N/A rvm.is_installed rbenv.is_installed cmd.run_all N/A MagicMock return_value False N/A MagicMock return_value False mock N/A N/A N/A N/A gem install rails pre_releases True N/A N/A N/A mock assert_called_once_with N/A gem install rails --no-rdoc --no-ri --pre runas None python_shell False N/A test_list N/A N/A self N/A N/A N/A output 
actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (3.0.5, 2.3.14)
rake (0.9.2, 0.8.7)
responds_to_parent (1.0.20091013)
sass (3.1.15, 3.1.7)
 N/A mock N/A MagicMock return_value output N/A N/A N/A patch object gem _gem new mock N/A N/A N/A N/A self assertEqual N/A actionmailer actionpack activerecord activeresource activesupport rake responds_to_parent sass N/A 2.3.14 N/A 2.3.14 N/A 2.3.14 N/A 2.3.14 N/A 3.0.5 2.3.14 N/A 0.9.2 0.8.7 N/A 1.0.20091013 N/A 3.1.15 3.1.7 N/A N/A gem list_ N/A test_list_upgrades N/A N/A self N/A N/A N/A output 
arel (5.0.1.20140414130214 < 6.0.0)
rails (4.1.9 < 4.2.0)
rake (10.3.2 < 10.4.2)
 N/A mock N/A MagicMock return_value output N/A N/A N/A patch object gem _gem new mock N/A N/A N/A N/A self assertEqual N/A arel rails rake 6.0.0 4.2.0 10.4.2 N/A N/A gem list_upgrades N/A test_sources_list N/A N/A self N/A N/A N/A output *** CURRENT SOURCES ***

http://rubygems.org/
 N/A mock N/A MagicMock return_value output N/A N/A N/A patch object gem _gem new mock N/A N/A N/A N/A self assertEqual N/A http://rubygems.org/ N/A N/A gem sources_list N/A N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests TestGemModule needs_daemon False