[SCM] ci-tooling packaging branch, master, updated. 9280fa5b1b77bdfb6890d8a950f2f7d82bc35972

Harald Sitter apachelogger-guest at moszumanska.debian.org
Wed Apr 29 11:40:33 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=81ac37b

The following commit has been merged in the master branch:
commit 81ac37baaf95679c3dc07fb85f34978b5adda3f3
Author: Harald Sitter <sitter at kde.org>
Date:   Wed Apr 29 13:35:56 2015 +0200

    fix documentation in ignorerule a bit
---
 lib/qml_ignore_rule.rb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/qml_ignore_rule.rb b/lib/qml_ignore_rule.rb
index 1d5d43d..cef2414 100644
--- a/lib/qml_ignore_rule.rb
+++ b/lib/qml_ignore_rule.rb
@@ -3,14 +3,20 @@ require_relative 'qml'
 module QML
   # Sepcifies an ignore rule for a qml module.
   class IgnoreRule
+    # Identifier of the rule. This is a {File#fnmatch} pattern.
     attr_reader :identifier
     attr_reader :version
 
+    # Checks whether this ignore rule matches an input {Module}.
+    # An ignore rule matches if:
+    # - {IgnoreRule#identifier} matches {Module#identifier}
+    # - {IgnoreRule#version} is nil OR matches {Module#version}
+    # @param qml_module [QML::Module] module to check for ignore match
     def ignore?(qml_module)
       match_version?(qml_module) && match_identifier?(qml_module)
     end
 
-    # @return [Array<IgnoreRule>] array of ignore rules read from path
+    # @return [Array<QML::IgnoreRule>] array of ignore rules read from path
     def self.read(path)
       rules = File.read(path).split($/)
       rules.collect! do |line|

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list