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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9fa2e884364dd9373278dfd58a44b3741b59155fea25a8238c76a93b5a0ef44
4
- data.tar.gz: 8c7eb497b41ed8a56be6c61a0d62f5694488355b354a32dfc3e2cf8dccc254d4
3
+ metadata.gz: '08816071c7fdf13b9fa30368166faed5b81068e40a4d3ab61b1dc6415b792abd'
4
+ data.tar.gz: 2d80a0d01150117f75b1d4fdddb33c0e9cb2f1883f4e9e515040f64b5ea6ecba
5
5
  SHA512:
6
- metadata.gz: 2e65aba7624e0c8b3bacb576afe6a37faa14ead20828f2848bc5f23bde204f465e09ccd91b6e4c122b49296d635babe073537c979357cc616d197fa695e0a5a4
7
- data.tar.gz: 2fac1377c7f7640588c61338ff49e2bf1456eb749a118e620bc92ea640aaa3371965e1283fd98958076548b36f228b512f8e1ffffdd1d97ce28ecdd0dfc6a019
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 ? 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.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.0
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-25 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