Sha256: dadf02d14f48ca41375692886b6a143e304ab88c5763c80142e20f7df64dfbff

Contents?: true

Size: 1.67 KB

Versions: 10

Compression:

Stored size: 1.67 KB

Contents

# frozen_string_literal: true

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

# Implementation module
module PkgExtending
  def self.pkg_files(aPackage)
    file_list = Dir[
      '.rspec',
      '.travis.yml',
      'Gemfile',
      'Rakefile',
      'CHANGELOG.md',
      'LICENSE.txt',
      'README.md',
      'mini_kraken.gemspec',
      'bin/*.rb',
      'lib/*.*',
      'lib/**/*.rb',
      'spec/**/*.rb'
    ]
    aPackage.files = file_list
    aPackage.test_files = Dir['spec/**/*_spec.rb']
    aPackage.require_path = 'lib'
  end

  def self.pkg_documentation(aPackage)
    aPackage.rdoc_options << '--charset=UTF-8 --exclude="examples|spec"'
    aPackage.extra_rdoc_files = ['README.md']
  end
end # module

Gem::Specification.new do |spec|
  spec.name          = 'mini_kraken'
  spec.version       = MiniKraken::VERSION
  spec.authors       = ['Dimitri Geshef']
  spec.email         = ['famished.tiger@yahoo.com']

  spec.summary       = %q{Implementation of Minikanren language in Ruby. WIP}
  spec.description   = %q{Implementation of Minikanren language in Ruby. WIP}
  spec.homepage      = 'https://github.com/famished-tiger/mini_kraken'
  spec.license       = 'MIT'

  # Specify which files should be added to the gem when it is released.
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  PkgExtending.pkg_files(spec)
  PkgExtending.pkg_documentation(spec)

  spec.add_development_dependency 'bundler', '~> 2.0'
  spec.add_development_dependency 'rake', '~> 12.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mini_kraken-0.2.00 mini_kraken.gemspec
mini_kraken-0.1.13 mini_kraken.gemspec
mini_kraken-0.1.12 mini_kraken.gemspec
mini_kraken-0.1.11 mini_kraken.gemspec
mini_kraken-0.1.10 mini_kraken.gemspec
mini_kraken-0.1.09 mini_kraken.gemspec
mini_kraken-0.1.08 mini_kraken.gemspec
mini_kraken-0.1.07 mini_kraken.gemspec
mini_kraken-0.1.06 mini_kraken.gemspec
mini_kraken-0.1.05 mini_kraken.gemspec