aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-21 16:20:26 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-21 22:01:52 +0100
commitdd3736da2c72911ed8e7c3db6b45ae504d234af4 (patch)
tree1825fd067ea968cfb360c4ecb266c4f01de93789 /ruby
parent4a4ec386e6bb65a92cf11394aa2022fd06ac871f (diff)
downloadpaludis-dd3736da2c72911ed8e7c3db6b45ae504d234af4.tar.gz
paludis-dd3736da2c72911ed8e7c3db6b45ae504d234af4.tar.xz
There's no point in sync_interface
Diffstat (limited to 'ruby')
-rw-r--r--ruby/repository.cc2
-rw-r--r--ruby/repository_TEST.rb4
2 files changed, 2 insertions, 4 deletions
diff --git a/ruby/repository.cc b/ruby/repository.cc
index f6433eab5..05a886e8c 100644
--- a/ruby/repository.cc
+++ b/ruby/repository.cc
@@ -827,8 +827,6 @@ namespace
rb_define_method(c_repository, "package_names", RUBY_FUNC_CAST(&repository_package_names), 1);
rb_define_method(c_repository, "package_ids", RUBY_FUNC_CAST(&repository_package_ids), 1);
- rb_define_method(c_repository, "syncable_interface", RUBY_FUNC_CAST((&Interface<
- n::syncable_interface, RepositorySyncableInterface, &Repository::syncable_interface>::fetch)), 0);
rb_define_method(c_repository, "mirrors_interface", RUBY_FUNC_CAST((&Interface<
n::mirrors_interface, RepositoryMirrorsInterface, &Repository::mirrors_interface>::fetch)), 0);
rb_define_method(c_repository, "environment_variable_interface", RUBY_FUNC_CAST((&Interface<
diff --git a/ruby/repository_TEST.rb b/ruby/repository_TEST.rb
index 066057f00..e3826994f 100644
--- a/ruby/repository_TEST.rb
+++ b/ruby/repository_TEST.rb
@@ -165,7 +165,7 @@ module Paludis
def test_responds
repo = no_config_testrepo.main_repository
- [:syncable_interface,
+ [
:mirrors_interface, :environment_variable_interface,
:provides_interface, :virtuals_interface, :e_interface].each do |sym|
assert_respond_to repo, sym
@@ -174,7 +174,7 @@ module Paludis
def test_interfaces
assert_equal installed_repo.name, installed_repo.provides_interface.name
- assert_nil installed_repo.syncable_interface
+ assert_nil installed_repo.e_interface
end
def text_repository_environment_interface