historical 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/historical.gemspec +3 -2
- data/lib/historical.rb +3 -1
- data/lib/historical/railtie.rb +10 -0
- metadata +5 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/historical.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{historical}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Marcel Jackwerth"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-26}
|
13
13
|
s.description = %q{Rewrite of the original historical-plugin using MongoDB}
|
14
14
|
s.email = %q{marcel@northdocks.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
"lib/historical/models/model_diff.rb",
|
31
31
|
"lib/historical/models/model_version.rb",
|
32
32
|
"lib/historical/mongo_mapper_enhancements.rb",
|
33
|
+
"lib/historical/railtie.rb",
|
33
34
|
"rails/init.rb",
|
34
35
|
"spec/historical_spec.rb",
|
35
36
|
"spec/spec.opts",
|
data/lib/historical.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'historical/railtie' if defined?(Rails::Railtie)
|
2
|
+
|
1
3
|
module Historical
|
2
4
|
IGNORED_ATTRIBUTES = [:id, :created_at, :updated_at]
|
3
5
|
|
@@ -30,4 +32,4 @@ module Historical
|
|
30
32
|
autoload :ModelDiff, 'historical/models/model_diff'
|
31
33
|
autoload :ModelVersion, 'historical/models/model_version'
|
32
34
|
end
|
33
|
-
end
|
35
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: historical
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marcel Jackwerth
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-26 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- lib/historical/models/model_diff.rb
|
58
58
|
- lib/historical/models/model_version.rb
|
59
59
|
- lib/historical/mongo_mapper_enhancements.rb
|
60
|
+
- lib/historical/railtie.rb
|
60
61
|
- rails/init.rb
|
61
62
|
- spec/historical_spec.rb
|
62
63
|
- spec/spec.opts
|