mongo-import 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,8 +21,8 @@ module MongoImport
21
21
  raise "Could not find #{@opts.exec} in your PATH" unless system("which #{opts.exec} > /dev/null")
22
22
 
23
23
  file = File.join(@path, "#{@name}.json")
24
- cmd = "#{opts.exec} -q --host #{opts.host} --port #{opts.port} --drop --db #{opts.db} --collection #{opts.collection} #{file}"
25
- system cmd
24
+ cmd = "#{opts.exec} --host #{opts.host} --port #{opts.port} --drop --db #{opts.db} --collection #{opts.collection} #{file}"
25
+ `#{cmd}`
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module MongoImport
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo-import
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -223,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
223
  version: '0'
224
224
  segments:
225
225
  - 0
226
- hash: -683661940017277411
226
+ hash: 4372936097145585120
227
227
  required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  none: false
229
229
  requirements:
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  segments:
234
234
  - 0
235
- hash: -683661940017277411
235
+ hash: 4372936097145585120
236
236
  requirements: []
237
237
  rubyforge_project:
238
238
  rubygems_version: 1.8.23