{"id":19680811,"url":"https://github.com/codewars/sql_spec_helper","last_synced_at":"2025-11-22T03:03:52.094Z","repository":{"id":73890476,"uuid":"399336391","full_name":"codewars/sql_spec_helper","owner":"codewars","description":"Spec helper for SQL challenges","archived":false,"fork":false,"pushed_at":"2021-08-24T06:21:23.000Z","size":12,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-10T05:35:55.360Z","etag":null,"topics":["code-runner","sql"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-24T04:40:59.000Z","updated_at":"2024-03-28T11:49:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b7697e5-30aa-485a-b287-361fd9b026f6","html_url":"https://github.com/codewars/sql_spec_helper","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fsql_spec_helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fsql_spec_helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fsql_spec_helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fsql_spec_helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewars","download_url":"https://codeload.github.com/codewars/sql_spec_helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240989465,"owners_count":19889695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-runner","sql"],"created_at":"2024-11-11T18:06:10.755Z","updated_at":"2025-11-22T03:03:52.046Z","avatar_url":"https://github.com/codewars.png","language":"Ruby","readme":"# SqlSpecHelper\n\n`spec/spec_helper.rb`\n\n```ruby\nrequire 'sql_spec_helper'\n\n# Add `$sql`, `DB`, `run_sql`, `compare_with`, and `Display` to main for backwards compatibility.\n$sql_spec_helper = SqlSpecHelper.new('/workspace/solution.txt')\n$sql = $sql_spec_helper.sql\nDB = $sql_spec_helper.db\ndef run_sql(...)\n  $sql_spec_helper.run_sql(...)\nend\ndef compare_with(...)\n  $sql_spec_helper.compare_with(...)\nend\nDisplay = SqlSpecHelper::Display\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Fsql_spec_helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewars%2Fsql_spec_helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Fsql_spec_helper/lists"}