ctpl 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Thorfile +0 -1
  3. data/VERSION +1 -1
  4. data/bin/ctpl +1 -7
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 310e68e2ad2eb3420fad89c919676ce09eee04fc
4
- data.tar.gz: a2be68184e06bbf74349603bff7b9709a20419c8
3
+ metadata.gz: 5f68e6b0c0d7a16c44f87d33e892fd34ffb67aa1
4
+ data.tar.gz: a07318c799fb3ff08c334a9d388a84b1bd437949
5
5
  SHA512:
6
- metadata.gz: 2526b626c99d35562843692367ee53875443eff0bcd0a67cdb0c1005924222260be1fab9a260ff6a5cb01a0e87b8125b0381fbe50452d7f12249f097f220d711
7
- data.tar.gz: f14a4259fbf045c369582e62cbf1b92fb9e30046ab880fd412e0bc0ec489cc026baa5f8dc62267e0b65b6da4964172cc9aa671a1342a8d655b99dd05196ec016
6
+ metadata.gz: a0ea901e049be4ee4656f785b6bd487ee20e4bf7d1fd6758c5f1b262bae0a399fd84978f99ba58e6491c9ffbe83669438ce9b88c55073e5754235de9da9b66d5
7
+ data.tar.gz: 2765a3d1c7f903f1df2c77752d27876f1587823a1b459f6a51b619c20a184ab85324e82e084141fb2103a6923259487ffe6b0745ae389b40c0a8dc0ec8b53d57
data/Thorfile CHANGED
@@ -4,7 +4,6 @@ lib = File.expand_path('./lib', main)
4
4
  thor = File.expand_path('./thor', main)
5
5
 
6
6
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
- $dwm_root = File.expand_path('./', __dir__)
8
7
 
9
8
 
10
9
  require 'ctpl/parser/pipeline'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
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.6
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: 2018-12-26 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor