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.
Files changed (5) hide show
  1. data/Changelog.md +5 -1
  2. data/README.md +1 -0
  3. data/lib/pt.rb +1 -1
  4. data/lib/pt/ui.rb +1 -0
  5. metadata +1 -1
@@ -1,8 +1,12 @@
1
1
  # pt changelog
2
2
 
3
+ ## v0.3.9
4
+
5
+ Attachments displayed in 'show' task, thanks Anthony Crumley!
6
+
3
7
  ## v0.3.8
4
8
 
5
- Fix converting encodings
9
+ Fix converting encodings, thanks Johan Andersson!
6
10
 
7
11
  ## v0.3.7
8
12
  Fix and story's id in "show" command
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
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  module PT
4
4
  class InputError < StandardError; end
5
- VERSION = '0.3.8'
5
+ VERSION = '0.3.9'
6
6
  end
7
7
 
8
8
  require 'pt/client'
@@ -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
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pt
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.8
5
+ version: 0.3.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Raul Murciano