From 04522ef84d2b19631bb5a672413cb11e6c24bc6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 5 May 2011 16:48:15 +0200 Subject: global minor maintenance --- .gitignore | 1 + lib/efl/edje.rb | 1 + tasks/gem.rake | 1 - tasks/helpers.rb | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f785382..f4c6b75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ tools/api* tools/*diff git* +check* diff --git a/lib/efl/edje.rb b/lib/efl/edje.rb index 6808fbc..e5a1033 100644 --- a/lib/efl/edje.rb +++ b/lib/efl/edje.rb @@ -11,6 +11,7 @@ module Efl class REdje < Efl::Evas::REvasObject # search_prefixes 'edje_object_' + # def part_object_get part # EAPI const Evas_Object *edje_object_part_object_get (const Evas_Object *obj, const char *part); Evas::RevasObject.new Native.edje_object_part_object_get @ptr, part diff --git a/tasks/gem.rake b/tasks/gem.rake index ea70d0d..a3e76f3 100644 --- a/tasks/gem.rake +++ b/tasks/gem.rake @@ -128,7 +128,6 @@ namespace :gem do end s.rdoc_options = PROJ.rdoc.opts + ['--main', PROJ.rdoc.main] s.extra_rdoc_files = rdoc_files - s.has_rdoc = true if test ?f, PROJ.test.file s.test_file = PROJ.test.file diff --git a/tasks/helpers.rb b/tasks/helpers.rb index 96b3cc4..b43117a 100644 --- a/tasks/helpers.rb +++ b/tasks/helpers.rb @@ -39,7 +39,7 @@ end # will be used. # def depend_on( name, version = nil ) - spec = Gem.source_index.find_name(name).last + spec = Gem::Specification.find_by_name(name) version = spec.version.to_s if version.nil? and !spec.nil? PROJ.gem.dependencies << case version -- cgit v1.1-2-g2b99