mongoid-history 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,68 +1,80 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "mongoid-history"
8
- s.version = "0.4.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Aaron Qian", "Justin Grimes"]
12
- s.date = "2013-07-12"
13
- s.description = "In frustration of Mongoid::Versioning, I created this plugin for tracking historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. (See Usage for more details) 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.\n\n This plugin 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."
14
- s.email = ["aq1018@gmail.com", "justin.mgrimes@gmail.com"]
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".rspec",
22
- ".travis.yml",
23
- "CHANGELOG.md",
24
- "Gemfile",
25
- "LICENSE.txt",
26
- "README.md",
27
- "Rakefile",
28
- "VERSION",
29
- "lib/mongoid-history.rb",
30
- "lib/mongoid/history.rb",
31
- "lib/mongoid/history/sweeper.rb",
32
- "lib/mongoid/history/trackable.rb",
33
- "lib/mongoid/history/tracker.rb",
34
- "mongoid-history.gemspec",
35
- "spec/integration/integration_spec.rb",
36
- "spec/integration/multi_relation_spec.rb",
37
- "spec/integration/nested_embedded_documents_spec.rb",
38
- "spec/spec_helper.rb",
39
- "spec/support/mongoid.rb",
40
- "spec/support/mongoid_history.rb",
41
- "spec/trackable_spec.rb",
42
- "spec/tracker_spec.rb"
43
- ]
44
- s.homepage = "http://github.com/aq1018/mongoid-history"
45
- s.licenses = ["MIT"]
46
- s.require_paths = ["lib"]
47
- s.rubygems_version = "1.8.25"
48
- s.summary = "history tracking, auditing, undo, redo for mongoid"
49
-
50
- if s.respond_to? :specification_version then
51
- s.specification_version = 3
52
-
53
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
- s.add_runtime_dependency(%q<easy_diff>, [">= 0"])
55
- s.add_runtime_dependency(%q<mongoid>, ["~> 3.0"])
56
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
57
- else
58
- s.add_dependency(%q<easy_diff>, [">= 0"])
59
- s.add_dependency(%q<mongoid>, ["~> 3.0"])
60
- s.add_dependency(%q<activesupport>, [">= 0"])
61
- end
62
- else
63
- s.add_dependency(%q<easy_diff>, [">= 0"])
64
- s.add_dependency(%q<mongoid>, ["~> 3.0"])
65
- s.add_dependency(%q<activesupport>, [">= 0"])
66
- end
67
- end
68
-
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: mongoid-history 0.4.1 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "mongoid-history"
9
+ s.version = "0.4.1"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.authors = ["Aaron Qian", "Justin Grimes", "Daniel Doubrovkine"]
13
+ s.date = "2014-01-11"
14
+ 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."
15
+ s.email = ["aq1018@gmail.com", "justin.mgrimes@gmail.com", "dblock@dblock.org"]
16
+ s.extra_rdoc_files = [
17
+ "CHANGELOG.md",
18
+ "LICENSE.txt",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ ".rubocop.yml",
25
+ ".travis.yml",
26
+ "CHANGELOG.md",
27
+ "Gemfile",
28
+ "LICENSE.txt",
29
+ "README.md",
30
+ "Rakefile",
31
+ "VERSION",
32
+ "lib/mongoid-history.rb",
33
+ "lib/mongoid/history.rb",
34
+ "lib/mongoid/history/trackable.rb",
35
+ "lib/mongoid/history/tracker.rb",
36
+ "mongoid-history.gemspec",
37
+ "spec/integration/integration_spec.rb",
38
+ "spec/integration/multi_relation_spec.rb",
39
+ "spec/integration/nested_embedded_documents_spec.rb",
40
+ "spec/integration/subclasses_spec.rb",
41
+ "spec/spec_helper.rb",
42
+ "spec/support/mongoid.rb",
43
+ "spec/support/mongoid_history.rb",
44
+ "spec/trackable_spec.rb",
45
+ "spec/tracker_spec.rb"
46
+ ]
47
+ s.homepage = "http://github.com/aq1018/mongoid-history"
48
+ s.licenses = ["MIT"]
49
+ s.require_paths = ["lib"]
50
+ s.rubygems_version = "2.1.8"
51
+ s.summary = "Track and audit, undo and redo changes on Mongoid documents."
52
+
53
+ if s.respond_to? :specification_version then
54
+ s.specification_version = 4
55
+
56
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
+ s.add_runtime_dependency(%q<easy_diff>, [">= 0"])
58
+ s.add_runtime_dependency(%q<mongoid>, [">= 3.0"])
59
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
60
+ s.add_development_dependency(%q<rubocop>, ["~> 0.15.0"])
61
+ s.add_development_dependency(%q<yard>, [">= 0"])
62
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
63
+ else
64
+ s.add_dependency(%q<easy_diff>, [">= 0"])
65
+ s.add_dependency(%q<mongoid>, [">= 3.0"])
66
+ s.add_dependency(%q<activesupport>, [">= 0"])
67
+ s.add_dependency(%q<rubocop>, ["~> 0.15.0"])
68
+ s.add_dependency(%q<yard>, [">= 0"])
69
+ s.add_dependency(%q<jeweler>, [">= 0"])
70
+ end
71
+ else
72
+ s.add_dependency(%q<easy_diff>, [">= 0"])
73
+ s.add_dependency(%q<mongoid>, [">= 3.0"])
74
+ s.add_dependency(%q<activesupport>, [">= 0"])
75
+ s.add_dependency(%q<rubocop>, ["~> 0.15.0"])
76
+ s.add_dependency(%q<yard>, [">= 0"])
77
+ s.add_dependency(%q<jeweler>, [">= 0"])
78
+ end
79
+ end
80
+