lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'wisper/mongoid/version' Gem::Specification.new do |spec| spec.name = 'fhwang-wisper-mongoid' spec.version = Wisper::Mongoid::VERSION spec.authors = ['Francis Hwang', 'Adrian Perez'] spec.email = ['sera@fhwang.net'] spec.summary = 'Subscribe to changes on Mongoid models' spec.description = 'Subscribe to changes on Mongoid models' spec.homepage = 'https://github.com/fhwang/wisper-mongoid' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.add_dependency 'activesupport' spec.add_dependency 'mongoid', '>= 6', '< 7' spec.add_dependency 'wisper' spec.add_development_dependency "rspec" spec.add_development_dependency "rspec_junit_formatter" end