dynameek 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -141,7 +141,7 @@ module Dynameek
141
141
  end
142
142
 
143
143
  def table_name
144
- self.to_s
144
+ self.to_s.gsub(/.*?([A-Za-z][A-Za-z0-9]*)$/, '\1')
145
145
  end
146
146
 
147
147
  def index_table_name
@@ -1,3 +1,3 @@
1
1
  module Dynameek
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynameek
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.4
5
+ version: 0.3.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Max Dupenois
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-04-15 00:00:00 Z
13
+ date: 2013-04-17 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws-sdk