Sha256: 21f256fce75bfd562e23c14dbdd4a985b9ce196e348b09b32c7a5c049fd86e2d
Contents?: true
Size: 776 Bytes
Versions: 5
Compression:
Stored size: 776 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) languages = function_wrapper(client, 'languages', repo) decode_sawyer_resource(languages) 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_private(client, repo[:full_name]) } repo_list.flatten end end end
Version data entries
5 entries across 5 versions & 1 rubygems