{"id":13879935,"url":"https://github.com/davydovanton/data_matrix","last_synced_at":"2025-03-15T06:47:14.277Z","repository":{"id":148172830,"uuid":"66026353","full_name":"davydovanton/data_matrix","owner":"davydovanton","description":"simple way for creating grids for any data objects and for any frameworks","archived":false,"fork":false,"pushed_at":"2016-09-10T16:01:33.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T22:08:56.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/davydovanton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-18T19:53:56.000Z","updated_at":"2016-08-28T23:07:22.000Z","dependencies_parsed_at":"2023-05-19T08:45:39.597Z","dependency_job_id":null,"html_url":"https://github.com/davydovanton/data_matrix","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/davydovanton%2Fdata_matrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydovanton%2Fdata_matrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydovanton%2Fdata_matrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydovanton%2Fdata_matrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davydovanton","download_url":"https://codeload.github.com/davydovanton/data_matrix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695539,"owners_count":20332626,"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-08-06T08:02:39.733Z","updated_at":"2025-03-15T06:47:14.251Z","avatar_url":"https://github.com/davydovanton.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# DataMatrix\n**[this is not implemented gem]**\nSimple way for creating grids for any data objects and for any frameworks.\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'data_matrix'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install data_matrix\n\n## Usage\nCreate a Matrix class. Also you can use `:title` option for setting special title:\n``` ruby\nclass UserMatrix \u003c DataMatrix::Base\n  column :name, title: 'First name'\n  column :email\n  column 'address'\nend\n```\n\nCreate matrix object in your controller. Your matrix object takes any data object like virtus, AR, hanami-model, siquel-model or dry-types.\n```ruby\n# in controller\n\n@user_matrix = UserMatrix.new(@user)\n@user_matrix.compile\n```\n\nCall your matrix object in view or terminal.\n```ruby\n@user_matrix.to_html\n@user_matrix.to_xml\n@user_matrix.to_csv\n@user_matrix.to_ascii\n```\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/davydovanton/data_matrix. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavydovanton%2Fdata_matrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavydovanton%2Fdata_matrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavydovanton%2Fdata_matrix/lists"}