module

Helpers

Constants

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

Instance methods

create_relationships(master_repository : Repository, spec_dependencies : Array(ShardsSpec::Dependency), development : Bool)
Source
day_of_war
Source
pluralize(count : Int32 | Int64, singular : String, plural : String)
Source
real_ip(request : HTTP::Request) : String
Source
remove_outdated_relationships(repository : Repository, spec_dependencies : Array(ShardsSpec::Dependency), development : Bool)
Source
repositories_sort_expression_direction(sort : String)

Returns: {expression:, direction:, nulls}

Source
spec_from_yaml(s)
Source
sync_repository_by_url(url : String) : Repository | Nil
Source
to_markdown(repository : Repository, readme_content : String) : String
Source
update_dependecies(repository : Repository)
Source
update_languages_color
Source