evt-message_store-postgres 2.4.0.5 → 2.4.1.0

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
  SHA256:
3
- metadata.gz: 7898e559251e6013c71e09ad745cacecca46680f54f279d06eb7e4801d5f4fdc
4
- data.tar.gz: 251012903cf9814e62eac3db90eee0f9d47467759017d53f81238dac33b0ba32
3
+ metadata.gz: 590a2dfbc57bd13753e594c481b12300c0417dbbbd190aab45a60106dba18eab
4
+ data.tar.gz: 0b1cc5cf3113929859c5ade51cb9a985e1b661e1b9ee4a25c2e525199fe1d03d
5
5
  SHA512:
6
- metadata.gz: abb2182486ece01a11d7b15866275f4f7872419cb7e966cf9b5e850f717286efb10342466d3ce873072f7f622c0017a2a7bcba41d89495562fad336885fb0156
7
- data.tar.gz: 4e7dd8ca3ff0fb4d924bf3fd552f7e00ae14b87d06703ea1a44cdd2f2e98a490d9439f5fa0274cca0a6995e1c79e7be896a57d9c4063b11cffa9b512b2550a46
6
+ metadata.gz: 839d81728b63b4a53cdd4e4c24422380fc6bb0cea709c2d69f223582f5a21bd531d8b92a4b493830b8d63d792085db59022bbcd89547493d645b6dc2fc3dcf67
7
+ data.tar.gz: 321409270965ba450d292b75eed03878c11e68b779bc949766b4d415a0fd65d3bb3d0c34d113576bc05d87bf2748415e3a186b4eb83b9a470765d277bd5396a0
@@ -128,6 +128,14 @@ module MessageStore
128
128
  connection.transaction(&blk)
129
129
  end
130
130
 
131
+ def escape(data)
132
+ connection = connect
133
+
134
+ escaped_data = connection.escape(data)
135
+
136
+ escaped_data
137
+ end
138
+
131
139
  def self.logger
132
140
  @logger ||= Log.get self
133
141
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-message_store-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0.5
4
+ version: 2.4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
- autorequire:
8
+ autorequire:
9
9
  bindir: scripts
10
10
  cert_chain: []
11
- date: 2020-07-21 00:00:00.000000000 Z
11
+ date: 2020-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-message_store
@@ -152,7 +152,7 @@ homepage: https://github.com/eventide-project/message-store-postgres
152
152
  licenses:
153
153
  - MIT
154
154
  metadata: {}
155
- post_install_message:
155
+ post_install_message:
156
156
  rdoc_options: []
157
157
  require_paths:
158
158
  - lib
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubygems_version: 3.1.2
171
- signing_key:
171
+ signing_key:
172
172
  specification_version: 4
173
173
  summary: Message store implementation for PostgreSQL
174
174
  test_files: []