twdeps 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +3 -0
- data/Gemfile.lock +16 -16
- data/bin/twdeps +3 -3
- data/lib/twdeps/graph.rb +2 -2
- data/lib/twdeps/null_presenter.rb +3 -3
- data/lib/twdeps/presenter.rb +4 -4
- data/lib/twdeps/version.rb +1 -1
- data/twdeps.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ba155ab3b383b038d5e2c4df847450dd105467d32a6d85210c077a1d9e409b
|
4
|
+
data.tar.gz: 03360def6b47864ac9f31983597d35de084ae11be770a227a49261a2ce57703e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bede1f117238591b1c9f54935cbd8cbecddc250f731533635e074b21d479ec967cfdcdc4dbc752e7edb1d31426fe68040a14d1dd7e240fabda300933a54eec6f
|
7
|
+
data.tar.gz: 833e77bc779e3fb92440691c7c8d513660b24948e2d5077d15f2f931ce8eee65406ac04a05455562e5e31a59ed91b33a0aeb9ff96a7a5d58d1f04bceb29e8bfb
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.3
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
twdeps (1.0.
|
4
|
+
twdeps (1.0.2)
|
5
|
+
optimist
|
5
6
|
ruby-graphviz
|
6
7
|
taskwarrior (~> 1.0.0)
|
7
|
-
trollop
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activemodel (5.1
|
13
|
-
activesupport (= 5.1
|
14
|
-
activesupport (5.1
|
12
|
+
activemodel (5.2.1)
|
13
|
+
activesupport (= 5.2.1)
|
14
|
+
activesupport (5.2.1)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
16
|
i18n (>= 0.7, < 2)
|
17
17
|
minitest (~> 5.1)
|
18
18
|
tzinfo (~> 1.1)
|
19
19
|
coderay (1.1.2)
|
20
|
-
concurrent-ruby (1.
|
21
|
-
ffi (1.9.
|
20
|
+
concurrent-ruby (1.1.3)
|
21
|
+
ffi (1.9.25)
|
22
22
|
formatador (0.2.5)
|
23
|
-
guard (2.
|
23
|
+
guard (2.15.0)
|
24
24
|
formatador (>= 0.2.4)
|
25
25
|
listen (>= 2.7, < 4.0)
|
26
26
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -37,34 +37,34 @@ GEM
|
|
37
37
|
guard-minitest (2.4.6)
|
38
38
|
guard-compat (~> 1.2)
|
39
39
|
minitest (>= 3.0)
|
40
|
-
i18n (1.
|
40
|
+
i18n (1.1.1)
|
41
41
|
concurrent-ruby (~> 1.0)
|
42
42
|
listen (3.1.5)
|
43
43
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
44
44
|
rb-inotify (~> 0.9, >= 0.9.7)
|
45
45
|
ruby_dep (~> 1.2)
|
46
46
|
lumberjack (1.0.13)
|
47
|
-
method_source (0.9.
|
47
|
+
method_source (0.9.2)
|
48
48
|
minitest (5.11.3)
|
49
49
|
nenv (0.3.0)
|
50
50
|
notiffany (0.1.1)
|
51
51
|
nenv (~> 0.1)
|
52
52
|
shellany (~> 0.0)
|
53
|
-
|
53
|
+
optimist (3.0.0)
|
54
|
+
pry (0.12.2)
|
54
55
|
coderay (~> 1.1.0)
|
55
56
|
method_source (~> 0.9.0)
|
56
57
|
rake (12.3.1)
|
57
58
|
rb-fsevent (0.10.3)
|
58
59
|
rb-inotify (0.9.10)
|
59
60
|
ffi (>= 0.5.0, < 2)
|
60
|
-
ruby-graphviz (1.2.
|
61
|
+
ruby-graphviz (1.2.4)
|
61
62
|
ruby_dep (1.5.0)
|
62
63
|
shellany (0.0.1)
|
63
|
-
taskwarrior (1.0.
|
64
|
+
taskwarrior (1.0.2)
|
64
65
|
activemodel
|
65
|
-
thor (0.20.
|
66
|
+
thor (0.20.3)
|
66
67
|
thread_safe (0.3.6)
|
67
|
-
trollop (2.1.2)
|
68
68
|
twtest (1.0.1)
|
69
69
|
minitest
|
70
70
|
tzinfo (1.2.5)
|
@@ -82,4 +82,4 @@ DEPENDENCIES
|
|
82
82
|
twtest
|
83
83
|
|
84
84
|
BUNDLED WITH
|
85
|
-
1.
|
85
|
+
1.17.1
|
data/bin/twdeps
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'bundler/setup'
|
5
5
|
require 'twdeps'
|
6
|
-
require '
|
6
|
+
require 'optimist'
|
7
7
|
|
8
8
|
def log(msg)
|
9
9
|
STDERR.puts "#{File.basename($0)}: #{msg}"
|
@@ -17,7 +17,7 @@ end
|
|
17
17
|
include TaskWarrior
|
18
18
|
include TaskWarrior::Dependencies
|
19
19
|
|
20
|
-
opts =
|
20
|
+
opts = Optimist::options do
|
21
21
|
version "#{File.basename($0)} v#{VERSION} (c) 2012-#{Time.now.year} Nicolas E. Rabenau"
|
22
22
|
banner <<-EOS
|
23
23
|
Visualizes dependencies between TaskWarrior tasks.
|
@@ -33,7 +33,7 @@ EOS
|
|
33
33
|
opt :trace, "Enable trace output", :default => false
|
34
34
|
end
|
35
35
|
|
36
|
-
|
36
|
+
Optimist::die :format, "must be one of #{Graph.formats.join(', ')}" unless Graph.formats.include?(opts[:format])
|
37
37
|
|
38
38
|
begin
|
39
39
|
repo = Repository.new(ARGF.read)
|
data/lib/twdeps/graph.rb
CHANGED
@@ -49,8 +49,8 @@ module TaskWarrior
|
|
49
49
|
project = task_or_project
|
50
50
|
cluster = Graph.new(presenter(project))
|
51
51
|
|
52
|
-
project.tasks.each do |
|
53
|
-
cluster <<
|
52
|
+
project.tasks.each do |t|
|
53
|
+
cluster << t
|
54
54
|
end
|
55
55
|
|
56
56
|
# add all nodes and edges from cluster as a subgraph to @graph
|
data/lib/twdeps/presenter.rb
CHANGED
data/lib/twdeps/version.rb
CHANGED
data/twdeps.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.version = TaskWarrior::Dependencies::VERSION
|
16
16
|
|
17
17
|
gem.add_dependency 'ruby-graphviz'
|
18
|
-
gem.add_dependency '
|
18
|
+
gem.add_dependency 'optimist'
|
19
19
|
gem.add_dependency 'taskwarrior', '~> 1.0.0'
|
20
20
|
gem.add_development_dependency 'minitest'
|
21
21
|
gem.add_development_dependency 'twtest'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twdeps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas E. Rabenau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-graphviz
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: optimist
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|