Sha256: 0234c0162500a35cf37717f585bfb6d82826cf3e6ce95f9a517bb55d3e86f6e6

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 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.8", ">= 0.8.2"
  gem.add_dependency "coderay", "~> 1.1"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code-0.9.1 code.gemspec
code-0.9.0 code.gemspec