{"id":23359839,"url":"https://github.com/firehed/arc-rails","last_synced_at":"2025-04-07T20:47:07.865Z","repository":{"id":32011200,"uuid":"35582272","full_name":"Firehed/arc-rails","owner":"Firehed","description":"Tooling to use Arcanist with a Rails-based project","archived":false,"fork":false,"pushed_at":"2015-05-14T00:55:44.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T22:27:05.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/Firehed.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}},"created_at":"2015-05-14T00:53:11.000Z","updated_at":"2020-07-28T00:13:04.000Z","dependencies_parsed_at":"2022-08-25T23:22:36.560Z","dependency_job_id":null,"html_url":"https://github.com/Firehed/arc-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Farc-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Farc-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Farc-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Farc-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Firehed","download_url":"https://codeload.github.com/Firehed/arc-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247729479,"owners_count":20986392,"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":[],"created_at":"2024-12-21T11:12:06.534Z","updated_at":"2025-04-07T20:47:07.519Z","avatar_url":"https://github.com/Firehed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arc-rails\n\nA bit of tooling to make `arc unit` work in a Rails project.\n\n## Installation\n\nCurrently, `git clone` the repo into your Rails project, and include the\nfollowing in your `.arcconfig`:\n\n```\n\"load\": [\"path/to/this/directory\"],\n\"unit.engine\": \"RSpecTestEngine\"\n```\n\nCurrently, this cannot be installed as a gem. This is due to a limitation in\nArcanist, where load paths will not expand environment variables. If that is\nfixed, then this can be converted to a gem.\n\n## Configuration\n\nAt this time, no configuration is suported. The library follows Rails\nconventions as closely as possible, so code written The Rails Way(TM) should\nwork out of the box.\n\n## Requirements\nThis library makes assumptions about naming conventions that are in line with\nRails naming conventions (as of ~4.2):\n\n* The code to test should be under `ROOT/app` or `ROOT/lib`\n* Tests should be in `ROOT/spec`\n* Tests files should end in `_spec.rb`\n* There should be a 1:1 mapping between names and directories. For example,\n  source code located at `ROOT/app/models/user.rb` should have its\n  corresponding test at `ROOT/spec/models/user_spec.rb`\n\nEach test file is run in an isolated process per Aranist conventions, so if\nthere are dependencies between test files, you will likely encounter problems.\n\n## Usage\n`arc unit` should work as expected. The `--everything` flag is supported.\n\nCode coverage reporting is not supported at this time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirehed%2Farc-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirehed%2Farc-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirehed%2Farc-rails/lists"}