greyscale_record 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c082eda61fc731d7e3ec455b1eddd568c43534e
|
4
|
+
data.tar.gz: 0bb00e33e5b929bcf451bc557a588ac7e6c43d6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a558498a933c3f0427ad738498632c2e7e0904826856919202986a6219703880c2d93c6bdcf6418f3bcc1ad4a379d4222592aa315a659244267d9916b70a588
|
7
|
+
data.tar.gz: f151694f0c5c1d85fe1c3f07964c427bed3ef953e9a64fd7b17b37512bd8e8e95d01b526a84c1c75166e76de6af4c61360bda5648d11ec2134f7f530fd3d1600
|
@@ -13,14 +13,14 @@ module GreyscaleRecord
|
|
13
13
|
class << self
|
14
14
|
|
15
15
|
def load!
|
16
|
-
data_store.add_table
|
16
|
+
data_store.add_table table_name
|
17
17
|
end
|
18
18
|
|
19
19
|
def inherited(subclass)
|
20
20
|
subclass.load!
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
23
|
+
def table_name
|
24
24
|
self.to_s.pluralize.downcase
|
25
25
|
end
|
26
26
|
end
|