Sha256: 98180b3794738be277cc7fa95ff5105430b43aafe9d7490f17add694189f4f85

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

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

# Yes, inception: we're using this ourselves
require 'ruby_dep/travis'

Gem::Specification.new do |spec|
  spec.name          = 'ruby_dep'
  spec.version       = RubyDep::VERSION
  spec.authors       = ['Cezary Baginski']
  spec.email         = ['cezary@chronomantic.net']

  spec.summary       = 'Extracts supported Ruby versions from Travis file'
  spec.description   = 'Creates a version constraint of supported Rubies,' \
    'suitable for a gemspec file'
  spec.homepage      = 'https://github.com/e2/ruby_dep'
  spec.license       = 'MIT'

  spec.required_ruby_version = RubyDep::Travis.new.version_constraint

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end

  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '~> 1.11'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_dep-1.1.0 ruby_dep.gemspec