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 +4 -4
- data/lib/config/git_config.rb +8 -0
- data/lib/version.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: 21823d54ba6bdc91c53704bf6361b4f07fd996169fcd5b7ae1a89c9c04781858
|
4
|
+
data.tar.gz: d3ca7edc2bf754d6493e074c7ff52b53980248357528dfdf9bb2f7577620baa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa051e339275cc4dd607b3d1eaa16e45e502133c23e22dd8a881aedfd00e8c33d6e006b3784cf4cba9e2d8ea574a25b34313fe2a6476891f0b8858c5b5d4dd0d
|
7
|
+
data.tar.gz: 97eebdb9f5708aea8bbb24c505fab72b8a5318f527c5177a25a450775131bb1481208862d73087b070ee227c078efb97a2d52ccb64b9787b2cf232f40034cd77
|
data/lib/config/git_config.rb
CHANGED
@@ -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
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.
|
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-
|
11
|
+
date: 2023-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|