Sha256: 54f1d5c077fbf844807db6ab58f3e50d5c03bf438c257f1edf55cdcd32df4784

Contents?: true

Size: 1.75 KB

Versions: 13

Compression:

Stored size: 1.75 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "zenlish/version"

# Implementation module
module PkgExtending
  def self.pkg_files(aPackage)
    file_list = Dir[
      '.rubocop.yml',
      '.rspec',
      '.travis.yml',
      '.yardopts',
      'appveyor.yml',
      'Gemfile',
      'Rakefile',
      'CHANGELOG.md',
      'CODE_OF_CONDUCT.md',      
      'LICENSE.txt',
      'README.md',
      'zenlish.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          = 'zenlish'
  spec.version       = Zenlish::VERSION
  spec.authors       = ['Dimitri Geshef']
  spec.email         = ['famished.tiger@yahoo.com']

  spec.summary       = %q{A toolkit for the Zenlish language (a simplified English language).}
  spec.description   = %q{A toolkit for the Zenlish language (a simplified English language).}
  spec.homepage      = "https://github.com/famished-tiger/zenlish"
  spec.license       = 'MIT'

  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)
  
  # Runtime dependencies
  spec.add_dependency 'rley', '~> 0.7.06'  

  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

13 entries across 13 versions & 1 rubygems

Version Path
zenlish-0.2.05 zenlish.gemspec
zenlish-0.2.04 zenlish.gemspec
zenlish-0.2.03 zenlish.gemspec
zenlish-0.2.02 zenlish.gemspec
zenlish-0.2.01 zenlish.gemspec
zenlish-0.2.00 zenlish.gemspec
zenlish-0.1.25 zenlish.gemspec
zenlish-0.1.24 zenlish.gemspec
zenlish-0.1.23 zenlish.gemspec
zenlish-0.1.22 zenlish.gemspec
zenlish-0.1.21 zenlish.gemspec
zenlish-0.1.20 zenlish.gemspec
zenlish-0.1.19 zenlish.gemspec