dm-metamapper 0.2.3 → 0.2.4

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.
@@ -48,7 +48,7 @@ module DataMapper
48
48
  def inherited(klass)
49
49
  @subclasses ||= []
50
50
  @subclasses << klass
51
- klass.instance_variable_set(:@generator_name, klass.name.split("::").last.snake_case.to_sym)
51
+ klass.instance_variable_set(:@generator_name, snake_case(klass.name.split("::").last).to_sym)
52
52
  klass.instance_variable_set(:@setup_model_blk, Proc.new{})
53
53
  klass.instance_variable_set(:@config, Config.new)
54
54
  klass.instance_variable_set(:@generated_files, TemplateCollection.new)
@@ -1,6 +1,6 @@
1
1
  module DataMapper
2
2
  module MetaMapper
3
- VERSION = "0.2.3" unless defined?(::DataMapper::MetaMapper::VERSION)
3
+ VERSION = "0.2.4" unless defined?(::DataMapper::MetaMapper::VERSION)
4
4
  end
5
5
 
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-metamapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonah Honeyman