capistrano-mongo-sync 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f8dd6e66c59528341b95db1601e6d5ed1e9003628ab675d0ed8a19f39b00b20
4
- data.tar.gz: bced25f1f251ab2aa23897cc0cb1571e61b1897f105e67565bbdd95b68ca1304
3
+ metadata.gz: 3b3c068472c7e63e1d229ce7a234336453a121319831452ac7dec06525002f93
4
+ data.tar.gz: 66b5197790296d8ee9eac7dd590ba34d8b15d860c78453e926271129003dda0c
5
5
  SHA512:
6
- metadata.gz: d6d7c9bca76a43f706947f585d407210080f68dff2d4c3dc7122832b7bd51c382cd6cda73768f97f3d2cca30b8481dbc3301805a7eedc3968428bbc23f7970a2
7
- data.tar.gz: a45416c9fd270069861d19c339b0ec5cd8815d0822da5aca48a32d60e8c114f3ff1925a95e1b83c37cdf5126d5cda4b4dc359110f66f64bb5256cce32a0e2264
6
+ metadata.gz: 1e7e371e4f2597c6317be76ae105939ed9cf13a662b1970bdfda32f857262241461228d055f0c0ea267dd276be527f688395ddee8207b931417092b140c1e3b4
7
+ data.tar.gz: 87c16d048764ebff0abea14e8b9422ae59787c804b919ac21864eaafbcf1b1fc1393a081ea4826a3c1fedc2a412de405caf4c7d3fb8810ced488ceaf39abac25
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- # 0.1.6
1
+ # 0.1.7
2
2
 
3
3
  Add IDS feature used in conjunction with COLLECTION feature
4
4
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'capistrano-mongo-sync'
3
- gem.version = '0.1.6'
3
+ gem.version = '0.1.7'
4
4
  gem.date = '2018-01-18'
5
5
  gem.summary = "A tool for keeping local mongo in sync with remote"
6
6
  gem.description = "A tool for keeping local mongo in sync with remote"
@@ -58,7 +58,7 @@ class MongoSync
58
58
  end
59
59
 
60
60
  def collection_ids_arg
61
- '{_id: {$in: [%s]}}' % @collection_ids.split(',').map{|id| 'ObjectId("%s")' % id}.join(',')
61
+ '\'{_id: {$in: [%s]}}\'' % @collection_ids.split(',').map{|id| 'ObjectId("%s")' % id}.join(',')
62
62
  end
63
63
 
64
64
  def staging_mongorestore!( remote_dump_dir )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-mongo-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Open Listings Engineering