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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66e598ae7b0fe9b6c113a6eddb9b537a932546eb
4
- data.tar.gz: 651558ef45223a9f6882e4c3090813b6819b25ca
3
+ metadata.gz: 64c41b9f098d2e1c425a0f70ccf24bddb403c2aa
4
+ data.tar.gz: 9e2dcb690ebec07ae7e37a6ab410ad621fdfece2
5
5
  SHA512:
6
- metadata.gz: a1901b6334397f8796f6bdbb2d7bcb1fbb3ae5c75eb7d119f3fc8c1e1445c93f80348bc6abb7f18e371870969ac818569501dbe96f11a0840c94ec971d831cbc
7
- data.tar.gz: 2fc2609f51c372a1e9a68b7ab75f6b3be15a87aaded85f609fe376e42e3800afdfee735c61b83489ccf06da5e94fe9e01ef3f53f872e80d0adcea7f55e4348a2
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
- "'#{Mysql2::Client.escape(string.to_s)}'"
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
@@ -1,5 +1,5 @@
1
1
  module Atech
2
2
  module ObjectStore
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
5
5
  end
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.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-01 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2