taco_it 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/taco +2 -6
- data/lib/taco.rb +2 -6
- metadata +2 -2
data/bin/taco
CHANGED
@@ -592,13 +592,11 @@ class TacoCLI
|
|
592
592
|
#
|
593
593
|
Kind = Defect, Feature Request
|
594
594
|
Status = Open, Closed
|
595
|
-
Priority = 1, 2, 3, 4, 5
|
596
595
|
|
597
596
|
# Default values for Issue fields
|
598
597
|
#
|
599
598
|
DefaultKind = Defect
|
600
599
|
DefaultStatus = Open
|
601
|
-
DefaultPriority = 3
|
602
600
|
EOT
|
603
601
|
RETRY_NAME = '.taco_retry.txt'
|
604
602
|
|
@@ -622,9 +620,7 @@ EOT
|
|
622
620
|
end
|
623
621
|
|
624
622
|
def list(args)
|
625
|
-
the_list = @taco.list(:short_ids => true, :filters => args).map
|
626
|
-
"#{short_id} : #{issue.priority} : #{issue.summary}"
|
627
|
-
end
|
623
|
+
the_list = @taco.list(:short_ids => true, :filters => args).map { |issue, short_id| "#{short_id} : #{issue.summary}" }
|
628
624
|
return "Found no issues." unless the_list.size > 0
|
629
625
|
the_list.join("\n")
|
630
626
|
end
|
@@ -737,7 +733,7 @@ end
|
|
737
733
|
require 'commander/import'
|
738
734
|
|
739
735
|
program :name, 'taco'
|
740
|
-
program :version, '1.
|
736
|
+
program :version, '1.2.0'
|
741
737
|
program :description, 'simple command line issue tracking'
|
742
738
|
|
743
739
|
command :init do |c|
|
data/lib/taco.rb
CHANGED
@@ -592,13 +592,11 @@ class TacoCLI
|
|
592
592
|
#
|
593
593
|
Kind = Defect, Feature Request
|
594
594
|
Status = Open, Closed
|
595
|
-
Priority = 1, 2, 3, 4, 5
|
596
595
|
|
597
596
|
# Default values for Issue fields
|
598
597
|
#
|
599
598
|
DefaultKind = Defect
|
600
599
|
DefaultStatus = Open
|
601
|
-
DefaultPriority = 3
|
602
600
|
EOT
|
603
601
|
RETRY_NAME = '.taco_retry.txt'
|
604
602
|
|
@@ -622,9 +620,7 @@ EOT
|
|
622
620
|
end
|
623
621
|
|
624
622
|
def list(args)
|
625
|
-
the_list = @taco.list(:short_ids => true, :filters => args).map
|
626
|
-
"#{short_id} : #{issue.priority} : #{issue.summary}"
|
627
|
-
end
|
623
|
+
the_list = @taco.list(:short_ids => true, :filters => args).map { |issue, short_id| "#{short_id} : #{issue.summary}" }
|
628
624
|
return "Found no issues." unless the_list.size > 0
|
629
625
|
the_list.join("\n")
|
630
626
|
end
|
@@ -737,7 +733,7 @@ end
|
|
737
733
|
require 'commander/import'
|
738
734
|
|
739
735
|
program :name, 'taco'
|
740
|
-
program :version, '1.
|
736
|
+
program :version, '1.2.0'
|
741
737
|
program :description, 'simple command line issue tracking'
|
742
738
|
|
743
739
|
command :init do |c|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taco_it
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: commander
|