Sha256: c26150866a6ececc4173d06ba12ed867eb447afb43488ff18b83838f88141e13
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
# # Add topics to each repository # class GithubListerCore class << self # # Everything below here is private # private # # Extra the topics slug from the payload and return it # def languages_private(client, repo) function_wrapper(client, 'languages', repo) end # # Add topics to each repo # # This method smells of :reek:FeatureEnvy def add_languages_private(client, repos) (repo_list ||= []) << Parallel.each(repos, :in_threads => repos.count) { |repo| repo[:languages] = languages_internal(client, repo[:full_name]) } repo_list.flatten end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github-lister-core-0.1.1 | lib/github-lister-core/languages.rb |
github-lister-core-0.1.0 | lib/github-lister-core/languages.rb |