{"id":13879558,"url":"https://github.com/crashtech/torque-postgresql","last_synced_at":"2025-05-15T10:05:30.408Z","repository":{"id":14087050,"uuid":"75759626","full_name":"crashtech/torque-postgresql","owner":"crashtech","description":"Add support to advanced resources of PostgreSQL, like data types, array associations, and auxiliary statements (CTE)","archived":false,"fork":false,"pushed_at":"2024-10-14T15:56:33.000Z","size":675,"stargazers_count":186,"open_issues_count":15,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-12T19:46:32.178Z","etag":null,"topics":["activerecord","postgres","postgresql","rails","ruby"],"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/crashtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"MIT-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},"funding":{"github":["crashtech"]}},"created_at":"2016-12-06T18:31:37.000Z","updated_at":"2025-04-15T20:13:03.000Z","dependencies_parsed_at":"2024-06-21T19:07:30.310Z","dependency_job_id":"51ae2648-f069-4786-93a4-a9eefd6ebadb","html_url":"https://github.com/crashtech/torque-postgresql","commit_stats":{"total_commits":290,"total_committers":11,"mean_commits":"26.363636363636363","dds":0.08275862068965523,"last_synced_commit":"a5ad91d8aa807576ce1e986a05bb15ce1fc1a019"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashtech%2Ftorque-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashtech%2Ftorque-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashtech%2Ftorque-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashtech%2Ftorque-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crashtech","download_url":"https://codeload.github.com/crashtech/torque-postgresql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319718,"owners_count":22051072,"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":["activerecord","postgres","postgresql","rails","ruby"],"created_at":"2024-08-06T08:02:25.180Z","updated_at":"2025-05-15T10:05:25.368Z","avatar_url":"https://github.com/crashtech.png","language":"Ruby","readme":"\u003ca href=\"https://github.com/crashtech/torque-postgresql\"\u003e\n  \u003cimg src=\"./docs/assets/images/github.png\" alt=\"Torque PostgreSQL - Advanced PG features in a seamlessly RoR interface\" /\u003e\n\u003c/a\u003e\n\n[![CircleCI](https://circleci.com/gh/crashtech/torque-postgresql/tree/master_v2.svg?style=svg)](https://circleci.com/gh/crashtech/torque-postgresql/tree/master_v2)\n[![Code Climate](https://codeclimate.com/github/crashtech/torque-postgresql/badges/gpa.svg)](https://codeclimate.com/github/crashtech/torque-postgresql)\n[![Gem Version](https://badge.fury.io/rb/torque-postgresql.svg)](https://badge.fury.io/rb/torque-postgresql)\n\u003c!--([![Test Coverage](https://codeclimate.com/github/crashtech/torque-postgresql/badges/coverage.svg)](https://codeclimate.com/github/crashtech/torque-postgresql/coverage))--\u003e\n\u003c!--([![Dependency Status](https://gemnasium.com/badges/github.com/crashtech/torque-postgresql.svg)](https://gemnasium.com/github.com/crashtech/torque-postgresql))--\u003e\n\n* [Wiki](https://github.com/crashtech/torque-postgresql/wiki)\n* [Bugs](https://github.com/crashtech/torque-postgresql/issues)\n* [TODO](https://github.com/crashtech/torque-postgresql/wiki/TODO)\n\n# Description\n`torque-postgresql` is a plugin that enhances Ruby on Rails enabling easy access to existing PostgreSQL advanced resources, such as data types and query statements. Its features are designed to be similar to Rails architecture and work as smoothly as possible.\n\nFully compatible with `schema.rb` and 100% plug-and-play, with optional configurations, so that it can be adapted to your project's design pattern.\n\n# Installation\n\nTo install torque-postgresql you need to add the following to your Gemfile:\n```ruby\ngem 'torque-postgresql', '~\u003e 2.0'   # For Rails \u003e= 6.0 \u003c 6.1\ngem 'torque-postgresql', '~\u003e 2.0.4' # For Rails \u003e= 6.1\ngem 'torque-postgresql', '~\u003e 3.0'   # For Rails \u003e= 7.0 \u003c 7.1\ngem 'torque-postgresql', '~\u003e 3.3'   # For Rails \u003e= 7.1 \u003c 7.2\ngem 'torque-postgresql', '~\u003e 3.4'   # For Rails \u003e= 7.2\n```\n\nAlso, run:\n\n```\n$ bundle\n```\n\nOr, for non-Gemfile related usage, simply:\n\n```\ngem install torque-postgresql\n```\n\n# Usage\nThese are the currently available features:\n\n* [Configuring](https://github.com/crashtech/torque-postgresql/wiki/Configuring)\n\n## Data types\n\n* [Box](https://github.com/crashtech/torque-postgresql/wiki/Box)\n* [Circle](https://github.com/crashtech/torque-postgresql/wiki/Circle)\n* [Date/Time Range](https://github.com/crashtech/torque-postgresql/wiki/Date-Time-Range)\n* [Enum](https://github.com/crashtech/torque-postgresql/wiki/Enum)\n* [EnumSet](https://github.com/crashtech/torque-postgresql/wiki/Enum-Set)\n* [Interval](https://github.com/crashtech/torque-postgresql/wiki/Interval)\n* [Line](https://github.com/crashtech/torque-postgresql/wiki/Line)\n* [Segment](https://github.com/crashtech/torque-postgresql/wiki/Segment)\n\n## Querying\n\n* [Arel](https://github.com/crashtech/torque-postgresql/wiki/Arel)\n* [Auxiliary Statements](https://github.com/crashtech/torque-postgresql/wiki/Auxiliary-Statements)\n* [Belongs to Many](https://github.com/crashtech/torque-postgresql/wiki/Belongs-to-Many)\n* [Distinct On](https://github.com/crashtech/torque-postgresql/wiki/Distinct-On)\n* [Dynamic Attributes](https://github.com/crashtech/torque-postgresql/wiki/Dynamic-Attributes)\n* [Has Many](https://github.com/crashtech/torque-postgresql/wiki/Has-Many)\n* [Inherited Tables](https://github.com/crashtech/torque-postgresql/wiki/Inherited-Tables)\n* [Insert All](https://github.com/crashtech/torque-postgresql/wiki/Insert-All)\n* [Multiple Schemas](https://github.com/crashtech/torque-postgresql/wiki/Multiple-Schemas)\n\n# How to Contribute\n\nTo start, simply fork the project, create a `.env` file following this example:\n\n```\nDATABASE_URL=\"postgres://USER:PASSWORD@localhost/DATABASE\"\n```\n\nRun local tests using:\n```\n$ bundle install\n$ bundle exec rake spec\n```\nFinally, fix and send a pull request.\n\n## License\n\nCopyright © 2017- Carlos Silva. See [The MIT License](MIT-LICENSE) for further details.\n","funding_links":["https://github.com/sponsors/crashtech"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashtech%2Ftorque-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrashtech%2Ftorque-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashtech%2Ftorque-postgresql/lists"}