Sha256: 55d63c360e4193cc43f8e0669063d2cf2e15e017d8af4d02e07e8d0cc1c94508

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gtin/version'

Gem::Specification.new do |spec|
  spec.name          = 'salsify-gtin'
  spec.version       = GTIN::VERSION
  spec.authors       = ['Salsify, Inc']
  spec.email         = ['engineering@salsify.com']

  spec.summary       = 'Validates and converts GTIN variants to standardized GTIN-14 representation'
  spec.description   = spec.summary
  spec.homepage      = 'https://github.com/salsify/gtin'

  spec.license       = 'MIT'


  # Set 'allowed_push_post' to control where this gem can be published.
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = 'https://rubygems.org'

  else
    raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
  end

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

  spec.add_development_dependency 'bundler', '~> 1.12'
  spec.add_development_dependency 'overcommit'
  spec.add_development_dependency 'pry-byebug'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.4'

  spec.add_development_dependency 'salsify_rubocop', '~> 0.52.1'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
salsify-gtin-0.2.0 gtin.gemspec
salsify-gtin-0.1.0 gtin.gemspec