dumpable 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/dumpable.gemspec +1 -1
- data/lib/dumpable.rb +5 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/dumpable.gemspec
CHANGED
data/lib/dumpable.rb
CHANGED
@@ -14,6 +14,11 @@ module Dumpable
|
|
14
14
|
def self.dump(*records_and_collections)
|
15
15
|
Dumpable::Dumper.dump(*records_and_collections)
|
16
16
|
end
|
17
|
+
|
18
|
+
# Default way to setup Dumpable
|
19
|
+
def self.setup
|
20
|
+
yield config
|
21
|
+
end
|
17
22
|
end
|
18
23
|
|
19
24
|
ActiveRecord::Base.send :include, Dumpable::ActiveRecordExtensions
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dumpable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
segments:
|
147
147
|
- 0
|
148
|
-
hash:
|
148
|
+
hash: -4541641190493035016
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|