{"id":20023391,"url":"https://github.com/niku/skippa","last_synced_at":"2026-03-04T09:31:43.184Z","repository":{"id":66601537,"uuid":"139666432","full_name":"niku/skippa","owner":"niku","description":"A schema.rb parser with using ripper","archived":false,"fork":false,"pushed_at":"2019-03-24T15:28:39.000Z","size":13,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-19T00:23:34.951Z","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/niku.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,"publiccode":null,"codemeta":null}},"created_at":"2018-07-04T04:01:28.000Z","updated_at":"2019-03-25T02:42:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2262fc6-be67-427b-82c8-122b35422711","html_url":"https://github.com/niku/skippa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niku/skippa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fskippa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fskippa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fskippa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fskippa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niku","download_url":"https://codeload.github.com/niku/skippa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fskippa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30077073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-13T08:46:17.334Z","updated_at":"2026-03-04T09:31:43.157Z","avatar_url":"https://github.com/niku.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Skippa\n\nA `schema.rb` parser with using ripper.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'skippa'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install skippa\n\n## Usage\n\n```ruby\n~/src/skippa $ bin/console\nirb(main):001:0\u003e require \"pp\"\n=\u003e true\nirb(main):002:0\u003e doc = \u003c\u003c__EOD__\nirb(main):003:0\" ActiveRecord::Schema.define(version: 20180522032741) do\nirb(main):004:0\"   enable_extension \"plpgsql\"\nirb(main):005:0\"   enable_extension \"hstore\"\nirb(main):006:0\"\nirb(main):007:0\"   create_table \"access_log\", id: false, force: :cascade do |t|\nirb(main):008:0\"     t.integer \"user_id\"\nirb(main):009:0\"     t.datetime \"timestamp\", limit: 8\nirb(main):010:0\"   end\nirb(main):011:0\"\nirb(main):012:0\"   create_table \"users\", force: :cascade do |t|\nirb(main):013:0\"     t.string \"email\", limit: 255, default: \"\", null: false\nirb(main):014:0\"     t.string \"password\", limit: 255, default: \"\", null: false\nirb(main):015:0\"   end\nirb(main):016:0\"\nirb(main):017:0\"   add_index \"users\", [\"email\"], name: \"index_users_on_email\", unique: true, using: :btree\nirb(main):018:0\" end\nirb(main):019:0\" __EOD__\n=\u003e \"ActiveRecord::Schema.define(version: 20180522032741) do\\n  enable_extension \\\"plpgsql\\\"\\n  enable_extension \\\"hstore\\\"\\n\\n  create_table \\\"access_log\\\", id: false, force: :cascade do |t|\\n    t.integer \\\"user_id\\\"\\n    t.datetime \\\"timestamp\\\", limit: 8\\n  end\\n\\n  create_table \\\"users\\\", force: :cascade do |t|\\n    t.string \\\"email\\\", limit: 255, default: \\\"\\\", null: false\\n    t.string \\\"password\\\", limit: 255, default: \\\"\\\", null: false\\n  end\\n\\n  add_index \\\"users\\\", [\\\"email\\\"], name: \\\"index_users_on_email\\\", unique: true, using: :btree\\nend\\n\"\nirb(main):020:0\u003e result = Skippa.parse(doc)\n=\u003e #\u003cSkippa::Schema:70233331633100 info={\"version\"=\u003e\"20180522032741\"}, extentions=[#\u003cSkippa::Extention:70233331632540 name=\"plpgsql\"\u003e, #\u003cSkippa::Extention:70233331632520 name=\"hstore\"\u003e], tables=[#\u003cSkippa::Table:70233331631760 name=\"access_log\", comment=nil, options={\"id\"=\u003e\"false\", \"force\"=\u003e\"cascade\"}, columns=[#\u003cSkippa::Column:70233331631200 name=\"user_id\", type=\"integer\", options={}\u003e, #\u003cSkippa::Column:70233331631180 name=\"timestamp\", type=\"datetime\", options={\"limit\"=\u003e\"8\"}\u003e]\u003e, #\u003cSkippa::Table:70233331631740 name=\"users\", comment=nil, options={\"force\"=\u003e\"cascade\"}, columns=[#\u003cSkippa::Column:70233331629380 name=\"email\", type=\"string\", options={\"limit\"=\u003e\"255\", \"default\"=\u003e\"\", \"null\"=\u003e\"false\"}\u003e, #\u003cSkippa::Column:70233331629360 name=\"password\", type=\"string\", options={\"limit\"=\u003e\"255\", \"default\"=\u003e\"\", \"null\"=\u003e\"false\"}\u003e]\u003e], indexes=[#\u003cSkippa::Index:70233331627760 table_name=\"users\", column_names=[\"email\"], options={\"name\"=\u003e\"index_users_on_email\", \"unique\"=\u003e\"true\", \"using\"=\u003e\"btree\"}\u003e]\u003e\nirb(main):021:0\u003e result.info\n=\u003e {\"version\"=\u003e\"20180522032741\"}\nirb(main):022:0\u003e result.extentions\n=\u003e [#\u003cSkippa::Extention:70233331540100 name=\"plpgsql\"\u003e, #\u003cSkippa::Extention:70233331540080 name=\"hstore\"\u003e]\nirb(main):023:0\u003e pp result\n#\u003cSkippa::Schema:70233331633100\n  info={\"version\"=\u003e\"20180522032741\"},\n  extentions=[\n    #\u003cSkippa::Extention:70233331564400 name=\"plpgsql\"\u003e,\n    #\u003cSkippa::Extention:70233331564380 name=\"hstore\"\u003e,\n  ],\n  tables=[\n    #\u003cSkippa::Table:70233331562600\n      name=\"access_log\",\n      comment=nil,\n      options={\"id\"=\u003e\"false\", \"force\"=\u003e\"cascade\"},\n      columns=[\n        #\u003cSkippa::Column:70233331539720\n          name=\"user_id\",\n          type=\"integer\",\n          options={},\n        \u003e,\n        #\u003cSkippa::Column:70233331539680\n          name=\"timestamp\",\n          type=\"datetime\",\n          options={\"limit\"=\u003e\"8\"},\n        \u003e,\n      ],\n    \u003e,\n    #\u003cSkippa::Table:70233331562580\n      name=\"users\",\n      comment=nil,\n      options={\"force\"=\u003e\"cascade\"},\n      columns=[\n        #\u003cSkippa::Column:70233331531820\n          name=\"email\",\n          type=\"string\",\n          options={\"limit\"=\u003e\"255\", \"default\"=\u003e\"\", \"null\"=\u003e\"false\"},\n        \u003e,\n        #\u003cSkippa::Column:70233331531800\n          name=\"password\",\n          type=\"string\",\n          options={\"limit\"=\u003e\"255\", \"default\"=\u003e\"\", \"null\"=\u003e\"false\"},\n        \u003e,\n      ],\n    \u003e,\n  ],\n  indexes=[\n    #\u003cSkippa::Index:70233331487680\n      table_name=\"users\",\n      column_names=[\"email\"],\n      options={\"name\"=\u003e\"index_users_on_email\",\n       \"unique\"=\u003e\"true\",\n       \"using\"=\u003e\"btree\"},\n    \u003e,\n  ],\n\u003e\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/niku/skippa. 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\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Skippa project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/niku/skippa/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fskippa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniku%2Fskippa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fskippa/lists"}