jungle_path 0.0.23 → 0.0.24

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9186d7418c8ea76653180e71c313bff8092ae0f8
4
- data.tar.gz: f1949b564cba4bc014d8161a339baa3a0bd0191b
3
+ metadata.gz: 9081f327d18ab46ec74fc318ea2df73950649b9b
4
+ data.tar.gz: 50e662a722312d876d55ea2de8c4d19b69618687
5
5
  SHA512:
6
- metadata.gz: 1c001919c09892f8c7c45de403f78a59412923776ac83e5a1b896df7ee4bec3dfeb86ad427610711721d46e5e189b778a225d85a015648304a266056f4fec09b
7
- data.tar.gz: 23d3d82d669e64a7961e0115d9c8df8f4418a8625886f20410c6a4d48638adb38ae15abc509a8b8276f7153038a90a8c5663d9b21a0f0e4884e803408af0430c
6
+ metadata.gz: c53cc70a52f86416a167b19e849abc4d312130f5f53558f23ce54d7da555cd21b3dbebceada9c793617334344d36449c645643d3d4cf1193af9c5bd92033fdd0
7
+ data.tar.gz: 4a0f0d3e9939cd27d759b4cc17866aba088c5010f7b4bad56293875caf642d1882096cb680521a8a367ff7bc0091c2cdcc6058780729779c1847e1f26e2b5aad
@@ -5,19 +5,19 @@ module JunglePath
5
5
  module DBAccess
6
6
  module Meta
7
7
  module Table
8
- def drop? db, table_name
8
+ def self.drop? db, table_name
9
9
  db.base.drop_table?(table_name.to_sym)
10
10
  end
11
11
 
12
- def exists? db, table_name
12
+ def self.exists? db, table_name
13
13
  db.base.table_exists?(table_name.to_sym)
14
14
  end
15
15
 
16
- def create_like(db, from_table, to_table)
16
+ def self.create_like(db, from_table, to_table)
17
17
  db.base.run("create table #{to_table} (like #{from_table} including indexes)")
18
18
  end
19
19
 
20
- def copy_data(db, from_table, to_table)
20
+ def self.copy_data(db, from_table, to_table)
21
21
  db.base.run("insert into #{to_table} select * from #{from_table}")
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module JunglePath
2
- VERSION = '0.0.23'
2
+ VERSION = '0.0.24'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jungle_path
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael VanZant