aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-11 22:35:14 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-11 22:35:32 +0100
commitc8c5434b8587ac54c1da2d3510962fe5005db845 (patch)
tree29b174adbebc95a9b527d2aebf2cba963a5acc7f /ruby
parente27dabb7c338116b1f496d09d51c6869e298e043 (diff)
downloadpaludis-c8c5434b8587ac54c1da2d3510962fe5005db845.tar.gz
paludis-c8c5434b8587ac54c1da2d3510962fe5005db845.tar.xz
Remove VirtualsInterface
Diffstat (limited to 'ruby')
-rw-r--r--ruby/repository.cc2
-rw-r--r--ruby/repository_TEST.rb4
2 files changed, 1 insertions, 5 deletions
diff --git a/ruby/repository.cc b/ruby/repository.cc
index 537e51c81..78a10442c 100644
--- a/ruby/repository.cc
+++ b/ruby/repository.cc
@@ -632,8 +632,6 @@ namespace
rb_define_method(c_repository, "environment_variable_interface", RUBY_FUNC_CAST((&Interface<
n::environment_variable_interface, RepositoryEnvironmentVariableInterface, &Repository::environment_variable_interface>::fetch)), 0);
- rb_define_method(c_repository, "virtuals_interface", RUBY_FUNC_CAST((&Interface<
- n::virtuals_interface, RepositoryVirtualsInterface, &Repository::virtuals_interface>::fetch)), 0);
rb_define_method(c_repository, "some_ids_might_support_action", RUBY_FUNC_CAST(&repository_some_ids_might_support_action), 1);
rb_define_method(c_repository, "[]", RUBY_FUNC_CAST(&repository_subscript), 1);
diff --git a/ruby/repository_TEST.rb b/ruby/repository_TEST.rb
index 8ca995709..dfb2a3b7c 100644
--- a/ruby/repository_TEST.rb
+++ b/ruby/repository_TEST.rb
@@ -167,15 +167,13 @@ module Paludis
def test_responds
repo = no_config_testrepo.main_repository
- [
- :environment_variable_interface, :virtuals_interface].each do |sym|
+ [ :environment_variable_interface ].each do |sym|
assert_respond_to repo, sym
end
end
def test_interfaces
assert_equal installed_repo.name, installed_repo.environment_variable_interface.name
- assert_nil installed_repo.virtuals_interface
end
def text_repository_environment_interface