cmt 0.0.2 → 0.0.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: d8a9562284819480fc462bedeca790f97c9583f8a100560b4cfcb64cfb5f7fbf
4
- data.tar.gz: fca40eb657310a8f824da003cb2126ee9798fbaf628d8fe11d2f28adc8b59043
3
+ metadata.gz: 21823d54ba6bdc91c53704bf6361b4f07fd996169fcd5b7ae1a89c9c04781858
4
+ data.tar.gz: d3ca7edc2bf754d6493e074c7ff52b53980248357528dfdf9bb2f7577620baa7
5
5
  SHA512:
6
- metadata.gz: 5f8329b3f7b97400c08fc4f18effba5d7caa9ae5f38492b731712c2d8a9564bca66a6e6773e6d8827e1c2caa0a9b01992b712b660d221af0df1a6c59c3b9d5f2
7
- data.tar.gz: 6bd12d08de30bf9f0577bbef609627068a92350969a456ad56923436c7bcc29cf15831699a63805af70fcbeee80a7325af8a2de3b80108668e870ecefa499ed6
6
+ metadata.gz: aa051e339275cc4dd607b3d1eaa16e45e502133c23e22dd8a881aedfd00e8c33d6e006b3784cf4cba9e2d8ea574a25b34313fe2a6476891f0b8858c5b5d4dd0d
7
+ data.tar.gz: 97eebdb9f5708aea8bbb24c505fab72b8a5318f527c5177a25a450775131bb1481208862d73087b070ee227c078efb97a2d52ccb64b9787b2cf232f40034cd77
@@ -60,4 +60,12 @@ class GitConfig < Thor
60
60
  system 'git', *args
61
61
  end
62
62
  end
63
+
64
+ desc "code", "Open '#{$CONFIG_DIR}' in code"
65
+ def code(*args)
66
+ $logger.info("Open '#{$CONFIG_DIR}' in code")
67
+ Dir.chdir($CONFIG_DIR) do
68
+ system 'code', '.', *args
69
+ end
70
+ end
63
71
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  # module Cmt
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.0.3".freeze
3
3
  # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - simon.schuster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-07 00:00:00.000000000 Z
11
+ date: 2023-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor