dohmysql 0.2.26 → 0.2.27
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 +4 -4
- data/lib/dohmysql/handle.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8289e5a9001626ed370eb6da51d23b85843d1e30
|
|
4
|
+
data.tar.gz: 294c899c07d3234ca64c54d5039dc3e6ce8d824d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef11f9605034998c279e6f60fc919c42df5b6e910fc071ce730009a60eeeadb3d90db20576a0fac34aef8d75a5d805aed748446a13899f6c9c54b2c063c0bab4
|
|
7
|
+
data.tar.gz: d3fa0d418396d70ebd4d4b1964b1cd2ec9418708f593c028325fe2da2e52b1ca9a6c8899e04cec795f088fa22c6b994913c79c9cc9459f0140855c1ce59d3672
|
data/lib/dohmysql/handle.rb
CHANGED
|
@@ -94,6 +94,10 @@ class Handle
|
|
|
94
94
|
insert_hash_helper(hash, table, 'REPLACE', quote_strings)
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
def replace_hashes(hash, table, quote_strings = true)
|
|
98
|
+
insert_hashes_helper(hash, table, 'REPLACE', quote_strings)
|
|
99
|
+
end
|
|
100
|
+
|
|
97
101
|
# The most generic form of select.
|
|
98
102
|
# It calls to_s on the statement object to facilitate the use of sql builder objects.
|
|
99
103
|
def select(statement, row_builder = nil)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dohmysql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Makani Mason
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-06-
|
|
12
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: dohroot
|