# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'mongoid/path_extension/version' Gem::Specification.new do |spec| spec.name = 'mongoid-path_extension' spec.version = Mongoid::PathExtension::VERSION spec.authors = ['Tomas Celizna'] spec.email = ['tomas.celizna@gmail.com'] spec.summary = 'Mongoid field extension simplifying path parsing.' spec.homepage = 'https://github.com/tomasc/mongoid-path_extension' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_dependency 'mongoid' spec.add_development_dependency 'appraisal' spec.add_development_dependency 'bundler' spec.add_development_dependency 'guard' spec.add_development_dependency 'guard-minitest' spec.add_development_dependency 'minitest' spec.add_development_dependency 'rake' end