lib/test_ids/allocator.rb in test_ids-0.3.0 vs lib/test_ids/allocator.rb in test_ids-0.3.1
- old
+ new
@@ -101,19 +101,9 @@
config.id
end
private
- def publish?
- git? && config.on_completion == :publish
- end
-
- def git?
- if config.repo
- !!(config.repo =~ /\.git$/)
- end
- end
-
# Returns the next available bin in the pool, if they have all been given out
# the one that hasn't been used for the longest time will be given out
def allocate_bin
return nil if config.bins.empty?
if store['pointers']['bin'] == 'done'