Sha256: 65cc8c382b38950c91f825a34bd8b35193a0f70f4bb5a10b7481f45055a18c1a

Contents?: true

Size: 1.34 KB

Versions: 4

Compression:

Stored size: 1.34 KB

Contents

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'melisa/version'

Gem::Specification.new do |gem|
  gem.name = "melisa"
  gem.summary = "Melisa is a Rubyesque wrapper for the Marisa Trie C library"
  gem.description = "Melisa installs the marisa-trie C library and makes a ruby class Melisa::Trie that is an easy interface."
  gem.homepage = "http://github.com/wordtreefoundation/melisa"
  gem.authors = ['Duane Johnson']
  gem.email = ['duane.johnson@gmail.com']
  gem.licenses = ["MIT"]

  gem.files = %w[melisa.gemspec README.md]
  gem.files += Dir.glob("lib/**/*.rb")
  gem.files += Dir.glob("spec/**/*")

  # Configure marisa external C library
  gem.files += Dir.glob("ext/*.h")
  gem.files += Dir.glob("ext/*.cxx")
  gem.files += Dir.glob("ext/marisa-*/**/*")
  gem.platform = Gem::Platform::RUBY
  gem.extensions = Dir['ext/**/extconf.rb']

  # Binary files generated by marisa are configured to go to melisa/bin
  gem.bindir = 'bin'
  gem.executables += ['melisa']

  gem.test_files = Dir.glob("spec/**/*")
  gem.require_paths = ["lib", "ext"]
  gem.version = Melisa::VERSION
  gem.required_ruby_version = '>= 1.9.0'

  gem.add_development_dependency "rake", "~> 10.3"
  gem.add_development_dependency "bundler", "~> 1.7"
  gem.add_development_dependency "rspec", "~> 3.1"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
melisa-0.2.5 melisa.gemspec
melisa-0.2.4 melisa.gemspec
melisa-0.2.3 melisa.gemspec
melisa-0.2.2 melisa.gemspec