twenty-cli 0.5.0 → 0.5.2
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: '08816071c7fdf13b9fa30368166faed5b81068e40a4d3ab61b1dc6415b792abd'
|
4
|
+
data.tar.gz: 2d80a0d01150117f75b1d4fdddb33c0e9cb2f1883f4e9e515040f64b5ea6ecba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ab048a4537e3fae04a81e786d942c7f3aae0a01f6f58a9b11a3bf0d88236815440cce89fbd99a51229d3ca2dac1c876acb01d0a62eb0258d4e06d5d19ea9f9c
|
7
|
+
data.tar.gz: bbdd4d0d283ddb6c76bed8c18dabb12782adb2c84aa96e8129241805f3e458f60d642fa5ac9110208d5523c2d1b9bead7bc70a183dcc087dc17628f8cce122db
|
@@ -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.reapath(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.2
|
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
|