Sha256: 1c2ee83f8bdc5bce6c0e16c8bf1d67e58b87d383643365653161e6427f4c5421

Contents?: true

Size: 859 Bytes

Versions: 1

Compression:

Stored size: 859 Bytes

Contents

# -*- encoding: utf-8 -*-

require File.dirname(__FILE__) + "/lib/code/version"

Gem::Specification.new do |gem|
  gem.name          = "code"
  gem.version       = Code::VERSION
  gem.summary       = "Displays a method's code."
  gem.description   = "Displays a method's code (from source or docs)."
  gem.authors       = ["Jan Lelis"]
  gem.email         = "mail@janlelis.de"
  gem.homepage      = "https://github.com/janlelis/code"
  gem.license       = "MIT"

  gem.files         = Dir['{**/}{.*,*}'].select{ |path| File.file?(path) && path !~ /^pkg/ }
  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']

  gem.required_ruby_version = "~> 2.0"
  gem.add_dependency "method_source", "~> 0.9"
  gem.add_dependency "coderay", "~> 1.1"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code-0.9.2 code.gemspec