osmosis 0.1.4 → 0.1.5

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: '033500944d7bcb9c17fb602c3381e842b060f17233096a6286884cc2bdb72c54'
4
- data.tar.gz: f05ea8a885a2560d4ec01fec4d21082fc29f665d714b30cfeeab9c7b634b299f
3
+ metadata.gz: 1c32c42fe854c9f29544cb890cc72db30bfb01d705fcd81bf0be4ce011b20881
4
+ data.tar.gz: 2f4a60dd5df8ebad2577f8a04f44532a6b9c67f80ba425915d0c9062b9ae0329
5
5
  SHA512:
6
- metadata.gz: 271e0df3804c9cc4ec4d66cd77c32f4538c09da2e9e9390bae58422715eb9c61b5ad201e51f148ddf4586fca8403a3e429a264aac6c980c0c3cb95e41bdf65cd
7
- data.tar.gz: f47ce3ddd08b8a025bf7da08267edb6e2a23edfe7ec37cd392feb3908a2fdf22e9e771d86cbc62ab2209fe2c591bd8fddeefccbbdbdf38321571f56d78099758
6
+ metadata.gz: 3a6e583c73707be4c9ce5f2524515fdf2bbc02173862a8f28c2ef538a5bdd7451ab6210907587f433f754948db3ff284183b17e55d2b6a3366d84f5d22e56085
7
+ data.tar.gz: 4f1e5458d0e5079ffa823f8b8bba4363033f788a646750245342561b157b294db412d9bf4a571b2721c29956ad29752ebf9666a1f4c3d92cad0ae25d311267d7
@@ -2,6 +2,7 @@ namespace :db do
2
2
  desc "Connects to the application database"
3
3
  task connect: :environment do
4
4
  commands = Osmosis::Command.connect(ARGV)
5
+ ARGV.clear
5
6
  Osmosis::Command.run(commands)
6
7
  end
7
8
  end
@@ -0,0 +1,8 @@
1
+ namespace :db do
2
+ desc "Exports a database to a backup"
3
+ task import: :environment do
4
+ commands = Osmosis::Command.export(ARGV)
5
+ ARGV.clear
6
+ Osmosis::Command.run(commands)
7
+ end
8
+ end
@@ -2,12 +2,7 @@ namespace :db do
2
2
  desc "Imports a database from a backup"
3
3
  task import: :environment do
4
4
  commands = Osmosis::Command.import(ARGV)
5
- Osmosis::Command.run(commands)
6
- end
7
-
8
- desc "Exports a database to a backup"
9
- task import: :environment do
10
- commands = Osmosis::Command.export(ARGV)
5
+ ARGV.clear
11
6
  Osmosis::Command.run(commands)
12
7
  end
13
8
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osmosis
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas_Skywalker
@@ -29,6 +29,7 @@ files:
29
29
  - lib/osmosis/command.rb
30
30
  - lib/osmosis/railtie.rb
31
31
  - lib/osmosis/tasks/db/connect.rake
32
+ - lib/osmosis/tasks/db/export.rake
32
33
  - lib/osmosis/tasks/db/import.rake
33
34
  - lib/osmosis/version.rb
34
35
  - sig/osmosis.rbs