{"id":19939157,"url":"https://github.com/zapnap/isbn_validation","last_synced_at":"2025-05-03T14:32:43.854Z","repository":{"id":448294,"uuid":"71170","full_name":"zapnap/isbn_validation","owner":"zapnap","description":"ISBN Validation for ActiveRecord Models","archived":false,"fork":false,"pushed_at":"2023-01-19T02:49:56.000Z","size":38,"stargazers_count":31,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T12:22:09.778Z","etag":null,"topics":[],"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/zapnap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-11-03T19:06:19.000Z","updated_at":"2024-09-09T05:16:13.000Z","dependencies_parsed_at":"2023-02-10T20:00:43.325Z","dependency_job_id":null,"html_url":"https://github.com/zapnap/isbn_validation","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fisbn_validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fisbn_validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fisbn_validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fisbn_validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapnap","download_url":"https://codeload.github.com/zapnap/isbn_validation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203430,"owners_count":21710962,"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-11-12T23:45:08.958Z","updated_at":"2025-05-03T14:32:43.587Z","avatar_url":"https://github.com/zapnap.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IsbnValidation\n\nCustom ActiveRecord Validation for International Standard Book Number (ISBN)\nfields. Supports both ISBN-10 and ISBN-13. Will guarantee that validated fields\ncontain valid ISBNs.\n\nDefault behaviour is to allow either ISBN-10 or ISBN-13, but this can be\naltered by specifying the :with option as shown in the example below.\n\nFor more information on ISBN, see http://en.wikipedia.org/wiki/Isbn\n\n## Installation\n\nTo use it, add it to your Gemfile:\n\n    gem 'isbn_validation'\n\nThe current version of isbn_validation only supports Rails 3+. For Rails 2.x\nsupport, please use v0.1.2.\n\n## Example\n\n    class Book \u003c ActiveRecord::Base\n      validates :isbn,   :isbn_format =\u003e true\n      validates :isbn10, :isbn_format =\u003e { :with =\u003e :isbn10 }\n      validates :isbn13, :isbn_format =\u003e { :with =\u003e :isbn13 }\n    end\n\nCopyright \u0026copy; 2015 Nick Plante, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fisbn_validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapnap%2Fisbn_validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fisbn_validation/lists"}