depend_lister 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 748b8e0c6661dba50f1ff1dca1302bc40f4cde0ff0169b16f0f9f349a30a1743
4
- data.tar.gz: bd424a38f6cce4d542795b048604152a9ae12ca00026dfab0d43aad8247b6419
3
+ metadata.gz: 820e19383a7cb36d4091bf4855e28b174ce5ec6816e71d10288efc61210c172d
4
+ data.tar.gz: b660f88b187688b9636efa909f7a4fe488689813593af0fe3bf282384f42a122
5
5
  SHA512:
6
- metadata.gz: 68e795e7ba69f213e980e8b5ca9a0de7a223584612cd972187897d4cfdad0b4787b18c135c55c5c99fdd5a2872d7b7522168dbbfed12a369ed010d066c7ba450
7
- data.tar.gz: 8375045722cb62eb85a0f805b5449c63e53d2892f647ca0519ed5ca67c0070a78f003dbb9885114bb69e230f9d50307dc47667e6a5e1fbe7ef7f3b222f9584a6
6
+ metadata.gz: 3318d943f2e8f6eec67c0dc71b405f8081d27968b7cb46a63c58a9ff9285dc5b44ace034aa377b084c71e7e61a37c9e8859fb3e4cb2ce97e0f0a667d65a10a30
7
+ data.tar.gz: 79d7afeb2555cc9c0fd3bf91309b790772e38760884ae254d8590da327ffc0195302bb11d6a3b7e8615952cbf0725d669b047820c7825fe2f420d52996dd6345
@@ -1,6 +1,6 @@
1
1
  class Belong
2
2
  # Generates the hash(key: table name, value: belongs_to point table name).
3
- def to_table_belongs_hash
3
+ def make_table_belongs_hash
4
4
  # Generates the hash(key: table name, value: model).
5
5
  table_model_hash = to_table_model_hash
6
6
 
@@ -19,7 +19,7 @@ class Belong
19
19
  private
20
20
 
21
21
  # Generates the hash(key: table name, value: model name).
22
- def make_table_model_hash
22
+ def to_table_model_hash
23
23
  tables = gain_tables
24
24
  models = to_models(tables)
25
25
  Hash[*tables.zip(models).flatten]
@@ -1,3 +1,3 @@
1
1
  module DependLister
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: depend_lister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keiichi Kayama