scalingo_databases_rake_tasks 0.1.6.1 → 0.1.6.2

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
  SHA1:
3
- metadata.gz: 16a34fedbd75b4447c12d88503b90de4ba517797
4
- data.tar.gz: bc23741160e69b48868ebfb5d6029bb0289eaa69
3
+ metadata.gz: d1417849f21a97569abd76133591c596393162e4
4
+ data.tar.gz: 32e82544d1a135d89b5a5092d0716e9020b6ff6f
5
5
  SHA512:
6
- metadata.gz: 6b4ca4062cc43fa9ace5cdeaa3d973dab6d09e41048bd65599c1d49a3fce9fbab4a544bb7ecb960ec5b6fc94e9f9735b1fb21a740ce4a07ef570845753414b44
7
- data.tar.gz: 9704a16fdb3e64a5c13c95bd12863dbf33a842981deccdaca5376cbfdbc1dba466b38fbb1eaad6c78de5f934f3fb6d1e84650055938f8a32ca0958b60ca89f14
6
+ metadata.gz: 60301b2f2be6d943c547a36a5ffb4b0f1555db76eec2349042ff1f48e0010905b66d765ae06f087e14012856608b893d55e89bb4269ad1965da50faabcc68d38
7
+ data.tar.gz: 9a3f6e358ee1d289cd7fd8ffa0f4fcfc719d133a7828540ee61f78797535a763d9557e46c117357b51293efa467e7b93b470669216048cb1efa0342bbb2011bd
@@ -61,7 +61,7 @@ namespace :scalingo do
61
61
 
62
62
  def self.backup database, user, password, host
63
63
  if ENV["EXCLUDE_COLLECTIONS"]
64
- extra_args = ENV["EXCLUDE_COLLECTIONS"].split(",").map{|c| "--excludeCollection=\"${c}\""}.join(" ")
64
+ extra_args = ENV["EXCLUDE_COLLECTIONS"].split(",").map{|c| "--excludeCollection=\"#{c}\""}.join(" ")
65
65
  end
66
66
  cmd = "rm -rf #{DUMP_PATH} 2>/dev/null && /usr/bin/env mongodump -h #{host} -d #{database} -o #{DUMP_PATH} #{extra_args}"
67
67
  if user.blank?
@@ -1,3 +1,3 @@
1
1
  module ScalingoDbTasks
2
- VERSION = "0.1.6.1"
2
+ VERSION = "0.1.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scalingo_databases_rake_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6.1
4
+ version: 0.1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scalingo