pt 0.3.8 → 0.3.9
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.
- data/Changelog.md +5 -1
- data/README.md +1 -0
- data/lib/pt.rb +1 -1
- data/lib/pt/ui.rb +1 -0
- metadata +1 -1
data/Changelog.md
CHANGED
data/README.md
CHANGED
|
@@ -45,6 +45,7 @@ You can [open a new issue](https://github.com/raul/pt/issues/new). It can be hel
|
|
|
45
45
|
# Contributors
|
|
46
46
|
|
|
47
47
|
[Anthony Crumley](https://github.com/craftycode)
|
|
48
|
+
[Johan Andersson](http://johan.andersson.net)
|
|
48
49
|
|
|
49
50
|
## Thanks to...
|
|
50
51
|
- the contributors mentioned above and all the issue reporters
|
data/lib/pt.rb
CHANGED
data/lib/pt/ui.rb
CHANGED
|
@@ -314,6 +314,7 @@ class PT::UI
|
|
|
314
314
|
message task.description unless task.description.empty?
|
|
315
315
|
task.tasks.all.each{ |t| message "- #{t.complete ? "(done) " : "(pend)"} #{t.description}" }
|
|
316
316
|
task.notes.all.each{ |n| message "#{n.author}: \"#{n.text}\"" }
|
|
317
|
+
task.attachments.each{ |a| message "#{a.uploaded_by} uploaded: \"#{a.description.empty? ? "#{a.filename}" : "#{a.description} (#{a.filename})" }\" #{a.url}" }
|
|
317
318
|
end
|
|
318
319
|
|
|
319
320
|
end
|