module Helpers

Extended Modules

Defined in:

helpers/helpers.cr

Constant Summary

REPOSITORIES_SORT_OPTIONS = {"stars" => "Stars", "alphabetical" => "Alphabetical", "dependents" => "Dependents", "dependencies" => "Dependencies", "recent-updates" => "Recent Updates", "new" => "Newly Added", "last-synced" => "Last Synced"}

Instance Method Summary

Instance Method Detail

def create_relationships(master_repository : Repository, spec_dependencies : Array(ShardsSpec::Dependency), development : Bool) #

[View source]
def day_of_war : String #

[View source]
def pluralize(count : Int32 | Int64, singular : String, plural : String) #

[View source]
def remove_outdated_relationships(repository : Repository, spec_dependencies : Array(ShardsSpec::Dependency), development : Bool) #

[View source]
def repositories_sort_expression_direction(sort : String) #

[View source]
def spec_from_yaml(s) #

[View source]
def sync_repository_by_url(url : String) : Repository | Nil #

[View source]
def to_markdown(repository : Repository, readme_content : String) : String #

[View source]
def update_dependecies(repository : Repository) #

[View source]
def update_languages_color #

[View source]