forked from mongoid/mongoid-history
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mongoid-history.gemspec
33 lines (28 loc) · 1.96 KB
/
mongoid-history.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'mongoid/history/version'
Gem::Specification.new do |s|
s.name = 'mongoid-history'
s.version = Mongoid::History::VERSION
s.authors = ['Aaron Qian', 'Justin Grimes', 'Daniel Doubrovkine']
s.summary = 'Track and audit, undo and redo changes on Mongoid documents.'
s.description = 'This library tracks historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. Embedded documents are referenced by storing an association path, which is an array of document_name and document_id fields starting from the top most parent document and down to the embedded document that should track history. Mongoid-history implements multi-user undo, which allows users to undo any history change in any order. Undoing a document also creates a new history track. This is great for auditing and preventing vandalism, but it is probably not suitable for use cases such as a wiki.'
s.homepage = 'http://github.com/aq1018/mongoid-history'
s.license = 'MIT'
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']
s.post_install_message = File.read('UPGRADING') if File.exist?('UPGRADING')
s.add_runtime_dependency 'easy_diff'
s.add_runtime_dependency 'mongoid', '>= 3.0'
s.add_runtime_dependency 'mongoid-compatibility'
s.add_runtime_dependency 'activesupport'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', '~> 3.1'
s.add_development_dependency 'bundler'
s.add_development_dependency 'rubocop', '0.34.1'
s.add_development_dependency 'yard'
s.add_development_dependency 'gem-release'
s.add_development_dependency 'coveralls'
end