pgai 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pgai/cli/main.rb +7 -0
- data/lib/pgai/clone_manager.rb +7 -0
- data/lib/pgai/dblab.rb +4 -0
- data/lib/pgai/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c07781fdcd787b0aaba1d7fe23afcb6e63ee1b5da7900ac454bd9d2e95dde4f
|
4
|
+
data.tar.gz: 3ff5e06bc552e96b04359bca358f83563f11d76eed0cd205d4d8210ab9f86604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82dc1b7d5aea1922e36753731125e85239c1a4d03e7bcaeb172e37c4db959fdbee24aa55ecaaf82eeb6312ade4b15efcbf827687acf0012eb135487b6b918bd3
|
7
|
+
data.tar.gz: 3308fcc8359891f10b550e20f448ca0e0e32e1ee00753aedbfcf08bd90efe18de7a932fd3de3dd43c841468a45280b663a664d854eb823a98de516a2bb6d7a9d
|
data/lib/pgai/cli/main.rb
CHANGED
@@ -25,6 +25,13 @@ module Pgai::Cli
|
|
25
25
|
Pgai::CloneManager.new(env, config: configuration).cleanup
|
26
26
|
end
|
27
27
|
|
28
|
+
desc "reset database-name", "Reset clone's state"
|
29
|
+
def reset(name)
|
30
|
+
env = configuration.enviroments.fetch(name)
|
31
|
+
|
32
|
+
Pgai::CloneManager.new(env, config: configuration).reset
|
33
|
+
end
|
34
|
+
|
28
35
|
desc "info database-name", "Show clone details"
|
29
36
|
def info(name)
|
30
37
|
env = configuration.enviroments.fetch(name)
|
data/lib/pgai/clone_manager.rb
CHANGED
data/lib/pgai/dblab.rb
CHANGED
data/lib/pgai/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marius Bobin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|