ctpl 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Thorfile +0 -1
- data/VERSION +1 -1
- data/bin/ctpl +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f68e6b0c0d7a16c44f87d33e892fd34ffb67aa1
|
|
4
|
+
data.tar.gz: a07318c799fb3ff08c334a9d388a84b1bd437949
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0ea901e049be4ee4656f785b6bd487ee20e4bf7d1fd6758c5f1b262bae0a399fd84978f99ba58e6491c9ffbe83669438ce9b88c55073e5754235de9da9b66d5
|
|
7
|
+
data.tar.gz: 2765a3d1c7f903f1df2c77752d27876f1587823a1b459f6a51b619c20a184ab85324e82e084141fb2103a6923259487ffe6b0745ae389b40c0a8dc0ec8b53d57
|
data/Thorfile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.7
|
data/bin/ctpl
CHANGED
|
@@ -4,7 +4,6 @@ main = File.dirname(main)
|
|
|
4
4
|
lib = File.expand_path('../lib', main)
|
|
5
5
|
thor = File.expand_path('../thor', main)
|
|
6
6
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
7
|
-
$dwm_root = Gem::Specification.find_by_name('dwm').gem_dir
|
|
8
7
|
|
|
9
8
|
require 'thor'
|
|
10
9
|
|
|
@@ -12,11 +11,6 @@ Dir.glob(File.join(thor, '/**/*.thor')).each { |taskfile|
|
|
|
12
11
|
load taskfile
|
|
13
12
|
}
|
|
14
13
|
|
|
15
|
-
if Process.uid == 0
|
|
16
|
-
puts 'Error: Do not run dwm as root'
|
|
17
|
-
exit 1
|
|
18
|
-
end
|
|
19
|
-
|
|
20
14
|
begin
|
|
21
15
|
# show the generate help by default
|
|
22
16
|
if ARGV[0] == "help" || ARGV[0] == "--help" || ARGV[0] == "-?"
|
|
@@ -34,4 +28,4 @@ rescue Exception => e
|
|
|
34
28
|
end
|
|
35
29
|
|
|
36
30
|
exit 1
|
|
37
|
-
end
|
|
31
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ctpl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eugen Mayer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|