File: backports.gemspec

package info (click to toggle)
ruby-backports 3.25.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,912 kB
  • sloc: ruby: 11,759; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 1,275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'backports/version'

Gem::Specification.new do |gem|
  gem.name          = "backports"
  gem.version       = Backports::VERSION
  gem.authors       = ["Marc-André Lafortune"]
  gem.email         = ["github@marc-andre.ca"]
  gem.description   = %q{Essential backports that enable many of the nice features of Ruby for earlier versions.}
  gem.summary       = %q{Backports of Ruby features for older Ruby.}
  gem.homepage      = "http://github.com/marcandre/backports"
  gem.license       = "MIT"

  gem.files         = Dir[*%w[
                        lib/**/*
                        *.{md,txt,gemspec}
                        Gemfile
                      ]]
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]

  if gem.respond_to?(:metadata)
    gem.metadata['changelog_uri'] = 'https://github.com/marcandre/backports/blob/master/CHANGELOG.md'
    gem.metadata['source_code_uri'] = 'https://github.com/marcandre/backports'
    gem.metadata['bug_tracker_uri'] = 'https://github.com/marcandre/backports/issues'
  end
end