You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#{caller[0]} is calling SQLite3::Database#execute with nil or multiple bind params
193
-
without using an array. Please switch to passing bind parameters as an array.
194
-
Support for bind parameters as *args will be removed in 2.0.0.
190
+
#{caller[0]} is calling `SQLite3::Database#execute` with nil or multiple bind params without using an array. Please switch to passing bind parameters as an array. Support for bind parameters as *args will be removed in 2.0.0.
#{caller[0]} is calling SQLite3::Database#execute_batch with bind parameters
252
-
that are not a list of a hash. Please switch to passing bind parameters as an
253
-
array or hash. Support for this behavior will be removed in version 2.0.0.
247
+
#{caller[0]} is calling `SQLite3::Database#execute_batch` with bind parameters that are not a list of a hash. Please switch to passing bind parameters as an array or hash. Support for this behavior will be removed in version 2.0.0.
#{caller[0]} is calling SQLite3::Database#execute_batch with nil or multiple bind params
267
-
without using an array. Please switch to passing bind parameters as an array.
268
-
Support for this behavior will be removed in version 2.0.0.
260
+
#{caller[0]} is calling `SQLite3::Database#execute_batch` with nil or multiple bind params without using an array. Please switch to passing bind parameters as an array. Support for this behavior will be removed in version 2.0.0.
#{caller[0]} is calling SQLite3::Database#query with nil or multiple bind params
336
-
without using an array. Please switch to passing bind parameters as an array.
337
-
Support for this will be removed in version 2.0.0.
327
+
#{caller[0]} is calling `SQLite3::Database#query` with nil or multiple bind params without using an array. Please switch to passing bind parameters as an array. Support for this will be removed in version 2.0.0.
Copy file name to clipboardExpand all lines: lib/sqlite3/resultset.rb
+4-12
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,14 @@ class ArrayWithTypesAndFields < Array # :nodoc:
20
20
21
21
deftypes
22
22
warn(<<-eowarn)if $VERBOSE
23
-
#{caller[0]} is calling #{self.class}#types. This method will be removed in
24
-
sqlite3 version 2.0.0, please call the `types` method on the SQLite3::ResultSet
25
-
object that created this object
23
+
#{caller[0]} is calling `#{self.class}#types` which is deprecated and will be removed in sqlite3 version 2.0.0. Please call the `types` method on the SQLite3::ResultSet object that created this object.
26
24
eowarn
27
25
@types
28
26
end
29
27
30
28
deffields
31
29
warn(<<-eowarn)if $VERBOSE
32
-
#{caller[0]} is calling #{self.class}#fields. This method will be removed in
33
-
sqlite3 version 2.0.0, please call the `columns` method on the SQLite3::ResultSet
34
-
object that created this object
30
+
#{caller[0]} is calling `#{self.class}#fields` which is deprecated and will be removed in sqlite3 version 2.0.0. Please call the `columns` method on the SQLite3::ResultSet object that created this object.
35
31
eowarn
36
32
@fields
37
33
end
@@ -45,18 +41,14 @@ class HashWithTypesAndFields < Hash # :nodoc:
45
41
46
42
deftypes
47
43
warn(<<-eowarn)if $VERBOSE
48
-
#{caller[0]} is calling #{self.class}#types. This method will be removed in
49
-
sqlite3 version 2.0.0, please call the `types` method on the SQLite3::ResultSet
50
-
object that created this object
44
+
#{caller[0]} is calling `#{self.class}#types` which is deprecated and will be removed in sqlite3 version 2.0.0. Please call the `types` method on the SQLite3::ResultSet object that created this object.
51
45
eowarn
52
46
@types
53
47
end
54
48
55
49
deffields
56
50
warn(<<-eowarn)if $VERBOSE
57
-
#{caller[0]} is calling #{self.class}#fields. This method will be removed in
58
-
sqlite3 version 2.0.0, please call the `columns` method on the SQLite3::ResultSet
59
-
object that created this object
51
+
#{caller[0]} is calling `#{self.class}#fields` which is deprecated and will be removed in sqlite3 version 2.0.0. Please call the `columns` method on the SQLite3::ResultSet object that created this object.
s.summary="This module allows Ruby programs to interface with the SQLite3 database engine (http://www.sqlite.org)"
14
-
s.description="This module allows Ruby programs to interface with the SQLite3\ndatabase engine (http://www.sqlite.org). You must have the\nSQLite engine installed in order to build this module.\n\nNote that this module is only compatible with SQLite 3.6.16 or newer."
13
+
s.summary="Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org)."
14
+
s.description=<<~TEXT
15
+
Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org). Precompiled
16
+
binaries are available for common platforms for recent versions of Ruby.
0 commit comments