objectstore 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atech/object_store/file.rb +3 -1
- data/lib/atech/object_store/version.rb +1 -1
- 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: 64c41b9f098d2e1c425a0f70ccf24bddb403c2aa
|
4
|
+
data.tar.gz: 9e2dcb690ebec07ae7e37a6ab410ad621fdfece2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a2f22153fe71f80632853a099609bc49ef1ac34a2e3beb259c09db85866e88f340748eb54d90704debe1125e783888fd2b8e50c40eef3f5130b0cc6e24f6d67
|
7
|
+
data.tar.gz: 75c3ffb8e3659fe5637fdd49539a57ce733f57f57fbcbc47d54a3e99eb4ca88b859aa19033f045234bd5592521ef2693db38965f2042a1479bbd0437b8f6ef1b
|
@@ -184,7 +184,9 @@ module Atech
|
|
184
184
|
|
185
185
|
def self.escape_and_quote(string)
|
186
186
|
string = string.strftime('%Y-%m-%d %H:%M:%S') if string.is_a?(Time)
|
187
|
-
|
187
|
+
ObjectStore::Connection.client do |client|
|
188
|
+
"'#{client.escape(string.to_s)}'"
|
189
|
+
end
|
188
190
|
end
|
189
191
|
|
190
192
|
def self.time_now
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: objectstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Cooke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|