{"id":18920055,"url":"https://github.com/gongo/gnawrnip","last_synced_at":"2025-04-15T10:34:02.221Z","repository":{"id":666072,"uuid":"9793082","full_name":"gongo/gnawrnip","owner":"gongo","description":"Gnawrnip is a TurnipFormatter Add-on that provides put a screen shot to report use Capybara","archived":false,"fork":false,"pushed_at":"2024-02-23T03:26:21.000Z","size":101,"stargazers_count":13,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-02T02:51:39.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://gongo.hatenablog.com/entry/2013/05/02/002220","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/gongo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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":"2013-05-01T14:39:23.000Z","updated_at":"2024-02-23T03:21:35.000Z","dependencies_parsed_at":"2024-06-21T14:16:41.983Z","dependency_job_id":"fd9a02c6-01cf-4b8e-a7f7-6437cf009a25","html_url":"https://github.com/gongo/gnawrnip","commit_stats":{"total_commits":85,"total_committers":2,"mean_commits":42.5,"dds":0.0117647058823529,"last_synced_commit":"47745e91f350da43fe0e2a26ff688c8c7179eafb"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fgnawrnip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fgnawrnip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fgnawrnip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fgnawrnip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gongo","download_url":"https://codeload.github.com/gongo/gnawrnip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223400060,"owners_count":17139312,"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-08T10:42:18.095Z","updated_at":"2024-11-08T10:42:18.821Z","avatar_url":"https://github.com/gongo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gnawrnip\n\nGnawrnip is a [TurnipFormatter](https://github.com/gongo/turnip_formatter) Add-on that provides put a screenshot (like animation gif) to report use [Capybara](https://github.com/jnicklas/capybara)\n\n[![Build Status](https://travis-ci.org/gongo/gnawrnip.png?branch=master)](https://travis-ci.org/gongo/gnawrnip)\n[![Coverage Status](https://coveralls.io/repos/gongo/gnawrnip/badge.png?branch=master)](https://coveralls.io/r/gongo/gnawrnip)\n[![Code Climate](https://codeclimate.com/github/gongo/gnawrnip.png)](https://codeclimate.com/github/gongo/gnawrnip)\n[![Dependency Status](https://gemnasium.com/gongo/gnawrnip.png)](https://gemnasium.com/gongo/gnawrnip)\n\n## IMPORTANT!\n\nThis project is currently in development (frequent releases).\nSo it have potential for massive refactorings (that could be API breaking).\n\n\n## Requirements\n\n* Ruby\n    * `2.2.0` or higher\n* RubyGems\n    * capybara `~\u003e 2.1.0`\n    * turnip_formatter\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'gnawrnip'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install gnawrnip\n\n## Setup\n\nIn your test setup file add:\n\n    require 'gnawrnip'\n    Gnawrnip.ready!\n\n## Customization\n\nYou can do to customize a screenshot.\n\n```ruby\nGnawrnip.configure do |c|\n  c.make_animation = true\n  c.max_frame_size = 1024 # pixel\nend\n```\n\n* `make_animation` (Boolean) Whether to make animation GIF. (Default: true)\n* `max_frame_size` (Integer) Maximum size that use to resize of image.\n    * If given, it resize the image to fit to this value.\n    * Ignored if this value is greater than original width and height.\n    * Example:\n\n      ```\n         original: 640x480\n       this value: 300\n          result : 300x225\n\n         original: 480x640\n       this value: 400\n          result : 300x400\n      ```\n\nAs example, see [example/spec/spec_helper.rb](https://github.com/gongo/gnawrnip/tree/master/example/spec/spec_helper.rb) .\n\n## Example\n\nsee https://github.com/gongo/gnawrnip/tree/master/example\n\n## License\n\nMIT License. see LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Fgnawrnip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgongo%2Fgnawrnip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Fgnawrnip/lists"}