{"id":22808349,"url":"https://github.com/sixarm/sixarm_ruby_blob","last_synced_at":"2025-03-30T21:15:51.365Z","repository":{"id":9820986,"uuid":"11805613","full_name":"SixArm/sixarm_ruby_blob","owner":"SixArm","description":"SixArm » Ruby » Blob gem for simple access to a file, URI, upload, etc.","archived":false,"fork":false,"pushed_at":"2023-09-15T19:27:46.000Z","size":342,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-06T00:26:12.371Z","etag":null,"topics":["binary","blob","gem","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SixArm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-08-01T01:59:41.000Z","updated_at":"2023-05-22T14:10:49.000Z","dependencies_parsed_at":"2025-02-06T00:27:06.713Z","dependency_job_id":null,"html_url":"https://github.com/SixArm/sixarm_ruby_blob","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/SixArm%2Fsixarm_ruby_blob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_blob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_blob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_blob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SixArm","download_url":"https://codeload.github.com/SixArm/sixarm_ruby_blob/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379366,"owners_count":20767696,"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":["binary","blob","gem","ruby"],"created_at":"2024-12-12T11:09:19.194Z","updated_at":"2025-03-30T21:15:51.342Z","avatar_url":"https://github.com/SixArm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SixArm.com → Ruby → \u003cbr\u003e Blob of data abstract base class\n\n\u003c!--header-open--\u003e\n\n[![Gem Version](https://badge.fury.io/rb/sixarm_ruby_blob.svg)](http://badge.fury.io/rb/sixarm_ruby_blob)\n[![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_blob.png)](https://travis-ci.org/SixArm/sixarm_ruby_blob)\n[![Code Climate](https://api.codeclimate.com/v1/badges/26fa11574942bbe370ca/maintainability)](https://codeclimate.com/github/SixArm/sixarm_ruby_blob/maintainability)\n\n* Git: \u003chttps://github.com/SixArm/sixarm_ruby_blob\u003e\n* Doc: \u003chttp://sixarm.com/sixarm_ruby_blob/doc\u003e\n* Gem: \u003chttps://rubygems.org/gems/sixarm_ruby_blob\u003e\n* Contact: Joel Parker Henderson, \u003cjoel@sixarm.com\u003e\n* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).\n\n\u003c!--header-shut--\u003e\n\n## Introduction\n\nThis is an abstract base class to help us model a blob of data.\n\nWe use this class as our parent class for image files, music files, and video files.\n\nA blob provides a few basic capabilities:\n\n  * Access a blob via a file path on the local filesystem.\n  * Access a blob via a URI.\n  * Upload a blob by using a typical web browser form.\n\nFor docs go to \u003chttp://sixarm.com/sixarm_ruby_blob/doc\u003e\n\nWant to help? We're happy to get pull requests.\n\n\n\u003c!--install-open--\u003e\n\n## Install\n\n### Gem\n\nTo install this gem in your shell or terminal:\n\n    gem install sixarm_ruby_blob\n\n### Gemfile\n\nTo add this gem to your Gemfile:\n\n    gem 'sixarm_ruby_blob'\n\n### Require\n\nTo require the gem in your code:\n\n    require 'sixarm_ruby_blob'\n\n\u003c!--install-shut--\u003e\n\n\n## Examples\n\nCreate a blob:\n\n    require \"sixarm_ruby_blob\"\n    blob = Blob.new(dir: \"/my/photos\", name: \"photo.jpb\")\n\nLocate the blob as a file and as a URI:\n\n    blob.file_path #=\u003e \"/my/photos/photo.jpg\"\n    blob.uri_path #=\u003e \"http://example.com/my/photos/photo.jpg\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fsixarm_ruby_blob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsixarm%2Fsixarm_ruby_blob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fsixarm_ruby_blob/lists"}