trollolo 0.0.12 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +7 -8
- data/CHANGELOG.md +9 -0
- data/Gemfile +2 -1
- data/README.md +3 -2
- data/lib/burndown_chart.rb +7 -1
- data/lib/cli.rb +1 -0
- data/lib/scrum/backlog_mover.rb +3 -8
- data/lib/scrum/sprint_cleaner.rb +14 -0
- data/lib/scrum_board.rb +4 -0
- data/lib/version.rb +1 -1
- data/man/trollolo.1.md +129 -0
- data/spec/data/vcr/sprint_cleanup.yml +512 -2983
- data/spec/unit/scrum/backlog_mover_spec.rb +0 -6
- data/spec/unit/scrum/sprint_cleaner_spec.rb +15 -3
- metadata +5 -3
@@ -7,12 +7,6 @@ describe Scrum::BacklogMover do
|
|
7
7
|
expect(subject).to be
|
8
8
|
end
|
9
9
|
|
10
|
-
it "fails without moving if backlog list is missing waterline or seabed", vcr: "move_backlog_missing_waterbed", vcr_record: false do
|
11
|
-
expect {
|
12
|
-
subject.move("neUHHzDo", "NzGCbEeN")
|
13
|
-
}.to raise_error("backlog list on planning board is missing waterline or seabed card")
|
14
|
-
end
|
15
|
-
|
16
10
|
it "fails without moving if sprint backlog is missing from sprint board", vcr: "move_backlog_missing_backlog", vcr_record: false do
|
17
11
|
expect {
|
18
12
|
subject.move("neUHHzDo", "NzGCbEeN")
|
@@ -8,8 +8,20 @@ describe Scrum::SprintCleaner do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
it "moves remaining cards to target board", vcr: "sprint_cleanup", vcr_record: false do
|
11
|
-
expect(STDOUT).to receive(:puts).exactly(
|
12
|
-
expect(subject.cleanup("
|
11
|
+
expect(STDOUT).to receive(:puts).exactly(13).times
|
12
|
+
expect(subject.cleanup("7Zar7bNm", "72tOJsGS")).to be
|
13
|
+
end
|
14
|
+
|
15
|
+
context "given correct burndown-data-xx.yaml" do
|
16
|
+
before do
|
17
|
+
allow_any_instance_of(BurndownChart).to receive(:update)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "generates new burndown data", vcr: "sprint_cleanup", vcr_record: false do
|
21
|
+
expect {
|
22
|
+
subject.cleanup("7Zar7bNm", "72tOJsGS")
|
23
|
+
}.to output(/^(New burndown data was generated automatically)/).to_stdout
|
24
|
+
end
|
13
25
|
end
|
14
26
|
|
15
27
|
context "with non-existing target list on target board" do
|
@@ -19,7 +31,7 @@ describe Scrum::SprintCleaner do
|
|
19
31
|
|
20
32
|
it "throws error", vcr: "sprint_cleanup", vcr_record: false do
|
21
33
|
expect {
|
22
|
-
subject.cleanup("
|
34
|
+
subject.cleanup("7Zar7bNm", "72tOJsGS")
|
23
35
|
}.to raise_error /'Nonexisting List' not found/
|
24
36
|
end
|
25
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trollolo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cornelius Schumacher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -86,6 +86,8 @@ files:
|
|
86
86
|
- lib/trollolo.rb
|
87
87
|
- lib/version.rb
|
88
88
|
- man/.gitignore
|
89
|
+
- man/trollolo.1
|
90
|
+
- man/trollolo.1.html
|
89
91
|
- man/trollolo.1.md
|
90
92
|
- scripts/.gitignore
|
91
93
|
- scripts/burndowndata.py
|
@@ -187,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
189
|
version: 1.3.6
|
188
190
|
requirements: []
|
189
191
|
rubyforge_project: trollolo
|
190
|
-
rubygems_version: 2.6.
|
192
|
+
rubygems_version: 2.6.13
|
191
193
|
signing_key:
|
192
194
|
specification_version: 4
|
193
195
|
summary: Trello command line client
|