capistrano-mongo-sync 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/capistrano-mongo-sync.gemspec +1 -1
- data/lib/capistrano/mongo_sync/mongo_sync.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b3c068472c7e63e1d229ce7a234336453a121319831452ac7dec06525002f93
|
4
|
+
data.tar.gz: 66b5197790296d8ee9eac7dd590ba34d8b15d860c78453e926271129003dda0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7e371e4f2597c6317be76ae105939ed9cf13a662b1970bdfda32f857262241461228d055f0c0ea267dd276be527f688395ddee8207b931417092b140c1e3b4
|
7
|
+
data.tar.gz: 87c16d048764ebff0abea14e8b9422ae59787c804b919ac21864eaafbcf1b1fc1393a081ea4826a3c1fedc2a412de405caf4c7d3fb8810ced488ceaf39abac25
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'capistrano-mongo-sync'
|
3
|
-
gem.version = '0.1.
|
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 )
|