{"id":24698574,"url":"https://github.com/faradayio/matryoshka_view","last_synced_at":"2026-04-29T14:06:57.693Z","repository":{"id":19852286,"uuid":"23114541","full_name":"faradayio/matryoshka_view","owner":"faradayio","description":"Maintains a list of inner (subset/nested) views and their boundaries for a particular table. Helps you spawn new inner views and find the right one.","archived":false,"fork":false,"pushed_at":"2015-06-08T17:25:10.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-28T20:38:29.017Z","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/faradayio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-19T15:05:39.000Z","updated_at":"2020-09-10T18:53:02.000Z","dependencies_parsed_at":"2022-08-21T00:20:18.993Z","dependency_job_id":null,"html_url":"https://github.com/faradayio/matryoshka_view","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fmatryoshka_view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fmatryoshka_view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fmatryoshka_view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fmatryoshka_view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faradayio","download_url":"https://codeload.github.com/faradayio/matryoshka_view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902936,"owners_count":20529114,"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":"2025-01-27T04:29:21.141Z","updated_at":"2026-04-29T14:06:52.674Z","avatar_url":"https://github.com/faradayio.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatryoshkaView\n\nMaintains a list of inner (subset/nested) views and their geometic boundaries for a particular table. Helps you spawn new inner views and lookup the right one.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'matryoshka_view'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install matryoshka_view\n\n## Usage\n\n1. create a MatryoshkaView object with the base table name (`MatryoshkaView.new(base: Place)`)\n2. maybe try to lookup a view that satisfies a boundary (`MatryoshkaView.new(base: Place).lookup(the_geom_geojson_of_massachusetts)`)\n3. maybe create a new view within a boundary (`MatryoshkaView.new(base: Place).spawn(the_geom_geojson_of_boston)`)\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/matryoshka_view/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Fmatryoshka_view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaradayio%2Fmatryoshka_view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Fmatryoshka_view/lists"}