twenty-cli 0.5.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twenty/cli/command/connect.rb +1 -1
- data/lib/twenty/cli/command/disconnect.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: 55e0c27d4ec4e32738e794d6cd61a7c79f0e26b39792adc16f38c341e8094be6
|
4
|
+
data.tar.gz: eb7577a4aa235ec089fcabc38c61b705579ecf64a85ce6134c3f79f3e23615fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2ccc70e801478bc6e0bda852ee0f983e3f2206ef46350a2503901d579b40258ef641d8644b5e73330146ddd03b8a60318d6abbbcc2afea00571df38d73e552
|
7
|
+
data.tar.gz: 5d2396f29cbe709b994991bb5217e88b788530cc22d9fea9a1560b771d6536dfff35d02d486815c1f1cfca262df38cdd8f3bb03e46c8ed3f10886fd26b922587
|
@@ -17,7 +17,7 @@ class Twenty::Command::Connect < Twenty::Command
|
|
17
17
|
private
|
18
18
|
|
19
19
|
def run_command(options)
|
20
|
-
path = options.path ?
|
20
|
+
path = File.realpath(options.path ? options.path : Dir.getwd)
|
21
21
|
if File.exist?(path)
|
22
22
|
project = Twenty::Project.create(
|
23
23
|
name: File.basename(path),
|
@@ -16,7 +16,7 @@ class Twenty::Command::Disconnect < Twenty::Command
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def run_command(options)
|
19
|
-
path = options.path ?
|
19
|
+
path = File.realpath(options.path ? options.path : Dir.getwd)
|
20
20
|
Twenty::Project
|
21
21
|
.where(path:)
|
22
22
|
.first!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twenty-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- '0x1eef'
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cmd.rb
|