dumpable 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
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.0
1
+ 0.2.1
data/dumpable.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dumpable"
8
- s.version = "0.2.0"
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 = ["Andrew Hunter"]
@@ -11,7 +11,7 @@ module Dumpable
11
11
  class_eval do
12
12
  cattr_accessor :dumpable_options
13
13
  end
14
- self.dumpable_options = Dumpable.config.merge(options)
14
+ self.dumpable_options = options
15
15
  end
16
16
 
17
17
  def dump(options={})
@@ -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.0
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: -158942502906389966
148
+ hash: 3952123303802621730
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements: