dumpable 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +0 -1
- data/VERSION +1 -1
- data/dumpable.gemspec +1 -1
- data/lib/dumpable/active_record_extensions.rb +1 -1
- data/lib/dumpable/dumper.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -46,7 +46,6 @@ At the moment, Dumpable will not work on any complex relationships. This include
|
|
46
46
|
It also will not work on models that have a different primary key than id or on models with complex keys.
|
47
47
|
|
48
48
|
It is also only setup to work with MySQL databases and is untested with any other databases.
|
49
|
-
>>>>>>> Regenerate gemspec for version 0.2.0
|
50
49
|
|
51
50
|
== Copyright
|
52
51
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/dumpable.gemspec
CHANGED
data/lib/dumpable/dumper.rb
CHANGED
@@ -4,7 +4,7 @@ module Dumpable
|
|
4
4
|
|
5
5
|
def initialize(dumpee, options)
|
6
6
|
@dumpee = dumpee
|
7
|
-
@options = options
|
7
|
+
@options = Dumpable.config.merge(options)
|
8
8
|
@id_padding = @options[:id_padding] || (@dumpee.class.respond_to?(:dumpable_options) && @dumpee.class.dumpable_options[:id_padding]) || Dumpable.config.id_padding
|
9
9
|
@dumps = @options[:dumps] || (@dumpee.class.respond_to?(:dumpable_options) && @dumpee.class.dumpable_options[:dumps])
|
10
10
|
@lines = []
|
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.1
|
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: 3952123303802621730
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|