# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"

inherit ruby-fakegem

DESCRIPTION="A Struct that can read/write itself from/to IO-like objects"
HOMEPAGE="https://github.com/zed-0xff/iostruct"
SRC_URI="https://github.com/zed-0xff/iostruct/archive/v0.0.4.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

ruby_add_bdepend "dev-ruby/bundler"
