mysql_framework 1.1.1 → 1.1.2

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
  SHA256:
3
- metadata.gz: 2e883779b80815c73bad5a4d6ca0fabe04821e47ac42244e2ec4de8f503079e5
4
- data.tar.gz: 563e8190f534c2c0f86f58785a32bfd102d80067c50fff5e3841e20ed7f36fcc
3
+ metadata.gz: 3dea6c1520ad570dfaf0070efd3df024dbd8d8ba9bc745970ebc59a82ad38418
4
+ data.tar.gz: 7f2e6a694727e104584c5304673841cf06231b3efc538fb1a0bce23f69772293
5
5
  SHA512:
6
- metadata.gz: '097525d900a4c0122c705c40ce36d59d647e67f43944b98ed1c327f984a5d151f90cefd7d74af11641113f5797d3c1f3c252d614f3888c8df65fb8d65676db68'
7
- data.tar.gz: 344b2bacb1f09c0789ed23d2dcf7ed0e61e389d485159bb17150055282a96fcb30cfa77d77a4c5dc286727a1834295480a2761d607a59b302a123ee8e233c7e3
6
+ metadata.gz: 6adf70afb9966e920ef972c187679847ea08d1638b3be8b5473bb031d5be41bc607a9143d313aafd106ff748f295b7679437f597f28a88b4e68afa6e1bcb9068
7
+ data.tar.gz: '0057569f653959047e9c12feac892e9e0fc51f3fa99085bcd153f26374b4057e7dbdf45f6515d5254798064992065056e7d981369c7700986073390fc88a94e3'
@@ -36,7 +36,7 @@ module MysqlFramework
36
36
 
37
37
  def column_exists?(client, table_name, column_name)
38
38
  result = client.query(<<~SQL)
39
- SHOW COLUMNS FROM "#{table_name}" WHERE Field="#{column_name}";
39
+ SHOW COLUMNS FROM #{table_name} WHERE Field="#{column_name}";
40
40
  SQL
41
41
 
42
42
  result.count == 1
@@ -44,7 +44,7 @@ module MysqlFramework
44
44
 
45
45
  def index_exists?(client, table_name, index_name)
46
46
  result = client.query(<<~SQL)
47
- SHOW INDEX FROM "#{table_name}" WHERE Key_name="#{index_name}" LIMIT 1;
47
+ SHOW INDEX FROM #{table_name} WHERE Key_name="#{index_name}" LIMIT 1;
48
48
  SQL
49
49
 
50
50
  result.count == 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MysqlFramework
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sage