osmosis 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cffa68a75573cf0f38437ec745876d6825a6e7004f5c76c3b2d29f186fda378e
4
- data.tar.gz: e109c7e4cb9e993a8923f2e5f3065b00613848aeab47907fe3e6fcaa13122bc4
3
+ metadata.gz: 71ac09cfd040c7360d2933ad76965fe5aa13fdeac749109975b8dbad0d8b313d
4
+ data.tar.gz: 0b957d2a60d2598bd3ebf2905f1b083031acea53c3c2db8fb95c5686f65d9d84
5
5
  SHA512:
6
- metadata.gz: cb4a72f4f62a9b86642ee82821731ed231b9ca53622da2f3519c1dc7124a7e34096b2a02ecba15603e94071a2b8b83baceaab060b92275dfa601e14f624a362b
7
- data.tar.gz: 68fede9c8e52f831302750d5652637efe8a68f3a0f761577e7d539d78c384a07c1407702459bc6c804265db27a5b2fe0e6bcc60e03bab10d2ca7ef75d13fc943
6
+ metadata.gz: 2bcc855f967c3f7e355bdcc44e7422066014a5d4e2572000d64663a6a04a75e9241a97579af9be78617cd38593f1d45544c2c834b8fc32406e516bd11e2d4370
7
+ data.tar.gz: a49afe1e290c5b8c9499ba2d0fa33d0f8c9c0933e7a5bea9dcb90484c4be4d3faf6f6a82beccfbe5b2f423a11aa987694f3dd17e6e2b415e294d8aeaaabbf0b4
@@ -26,7 +26,7 @@ module Osmosis
26
26
  ]
27
27
  end
28
28
 
29
- def self.export(argv)
29
+ def self.export()
30
30
  print "Filename: (db.dump): "
31
31
  filename = gets.chomp
32
32
  if filename == ""
@@ -43,7 +43,7 @@ module Osmosis
43
43
  ]
44
44
  end
45
45
 
46
- def self.connect(argv)
46
+ def self.connect()
47
47
  cmd = "PGPASSWORD=#{password} psql -U #{username} -h #{host} -d #{database}"
48
48
  return [
49
49
  OpenStruct.new(type: :pty, command: cmd)
@@ -1,6 +1,6 @@
1
1
  namespace :db do
2
2
  desc "Exports a database to a backup"
3
- task import: :environment do
3
+ task export: :environment do
4
4
  commands = Osmosis::Command.export()
5
5
  Osmosis::Command.run(commands)
6
6
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osmosis
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osmosis
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
  - Lukas_Skywalker