Class: TagsFinder

Inherits:
GitRefsFinder show all
Defined in:
app/finders/tags_finder.rb

Instance Method Summary collapse

Constructor Details

#initialize(repository, params) ⇒ TagsFinder

Returns a new instance of TagsFinder.


4
5
6
# File 'app/finders/tags_finder.rb', line 4

def initialize(repository, params)
  super(repository, params)
end

Instance Method Details

#executeObject


8
9
10
11
12
# File 'app/finders/tags_finder.rb', line 8

def execute
  tags = repository.tags_sorted_by(sort)
  tags = by_search(tags)
  tags
end