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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1380e3c739f1a0bcc6c283d2c322c03c0db423f72db9ebbc8c6953bfb53d703
4
- data.tar.gz: edff147dee77f5402313fa24d24408019615ddf7d761de0a2020ad85d1d977c3
3
+ metadata.gz: 55e0c27d4ec4e32738e794d6cd61a7c79f0e26b39792adc16f38c341e8094be6
4
+ data.tar.gz: eb7577a4aa235ec089fcabc38c61b705579ecf64a85ce6134c3f79f3e23615fd
5
5
  SHA512:
6
- metadata.gz: bcd4ef4cacfd3f3b159e88609fb69f569722130354eaf4fa0acaec4a8db116a63db9fc5808b155c60278ec5e6c370833d79bdcfdcfc5033f20961e08218fdaab
7
- data.tar.gz: fc367f2389e2931337d9b9f9c31de3ff39d9335c9a05ab6fe08bd1f82160c24cb27938c8bdc2f7daab2614fa1babe6c8caf7bc7ffd64c5589e5ad9113481a53b
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 ? File.expand_path(options.path) : Dir.getwd
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 ? File.expand_path(options.path) : Dir.getwd
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.1
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-26 00:00:00.000000000 Z
11
+ date: 2024-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cmd.rb