alephant-lookup 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/lookup.rb +1 -1
- data/lib/alephant/lookup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f5fb427c6675099976cce2c6e8ddb9e378c943c
|
4
|
+
data.tar.gz: 711d50dc672670a5104f3d95923f2416c54c5f85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd854746696793dc8deabc0fe68892faf41d243d37f182b981fedd00259858a652115d18875834337286546e43a881951a79aa42b1a215753706f796a9ffa3e4
|
7
|
+
data.tar.gz: 37640da8a784fcb46a5bef9428355bafbfe95c1a1d00fba31a40ef736f17fa880d660efec78506528ccd18ba3ef3fb9a025a11362469fecaa1a0a045079d314e
|
data/lib/alephant/lookup.rb
CHANGED
@@ -6,7 +6,7 @@ module Alephant
|
|
6
6
|
module Lookup
|
7
7
|
@@lookup_tables = {}
|
8
8
|
|
9
|
-
def self.create(table_name, component_id)
|
9
|
+
def self.create(table_name, component_id = nil)
|
10
10
|
@@lookup_tables[table_name] ||= LookupTable.new(table_name)
|
11
11
|
LookupHelper.new(@@lookup_tables[table_name], component_id)
|
12
12
|
end
|