cmt 0.0.2 → 0.0.4
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/pkg/pkg_config.rb +1 -1
- 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: 1229896c4197b67c41c64fe2c898e620adfe16c3b7f1ce73c49895ad4932df2c
|
4
|
+
data.tar.gz: 1ed6a854c9fc5327e3886dd0146aaa25d3865e8ce340532a9fd499faa6a74fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59e660257922f1249819a2ba04c67ca0c59d4333170745437cdd404e83ee088f75823dbc0422d2b901a085fc23a3d007c3a2bc57cacde642c30f3ed8cbe7fc1
|
7
|
+
data.tar.gz: d8c503eb326f7c57c302fca0565b78fe0e46203b4a295fe31a6cd2bfd770ac7534a8d0f26c47f6a4ea7f9f34f7521bf9df6593872d5e9fe7e525ff6609abcef9
|
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/pkg/pkg_config.rb
CHANGED
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.4
|
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
|