niky81-s3rbackup 0.3.2 → 0.3.3

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.
Files changed (2) hide show
  1. data/lib/s3dbsync.rb +2 -1
  2. metadata +1 -1
data/lib/s3dbsync.rb CHANGED
@@ -156,6 +156,8 @@ class S3SyncDb
156
156
  words_search << word
157
157
  when /.*union.*/
158
158
  words_search << "] #{word} ["
159
+ when /.*INTERSECTION.*/
160
+ words_search << "] #{word} ["
159
161
  else
160
162
  if word == "datetime"
161
163
  date = 2
@@ -182,7 +184,6 @@ class S3SyncDb
182
184
  else
183
185
  search = "[#{words_search.join(" ")}]"
184
186
  end
185
- p search
186
187
  results = []
187
188
  @sdb.query(cmd_opt[:inside] ? @config['files_db'] : @domain_db, search) do |result|
188
189
  result[:items].each do |item|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niky81-s3rbackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicola Sacchi