Sha256: 769e8a16b2d5c0fa5dc184ebe30a0214e921869e5cee45935343dc34b14f8596

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'superstruct/version'

Gem::Specification.new do |spec|
  spec.name          = "superstruct"
  spec.version       = Superstruct::VERSION
  spec.authors       = ["Martin Schmidt"]
  spec.email         = ["martin.schmidt@bk.ru"]

  spec.summary       = "SuperStruct is an enhanced version of the Ruby Standard library {Struct}."
  spec.description   = [
    'Compared with the original version, it provides the following additional features:',
    ' * ability to initialize an instance from Hash',
    ' * ability to pass a block on creation',
    'It\'s taken from Simone Carletti\'s whois: https://github.com/weppos/whois and has been put into this gem.'
  ].join("\n") + "\n"
  spec.homepage      = "https://github.com/martin-schmidt/superstruct"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency 'bundler', '~> 1.10'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec'
  spec.add_development_dependency 'simplecov'
  spec.add_development_dependency 'pry'
  spec.add_development_dependency 'awesome_print'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
superstruct-1.0.0 superstruct.gemspec