pivotal_to_pdf 0.5 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.5.1 minor improvement over printing estimate, owned by
1
2
  v0.5 be able to print out an iteration into one single PDF file
2
3
  v0.1.1 added a homepage
3
4
  v0.1 initial setup
data/Manifest CHANGED
@@ -1,4 +1,3 @@
1
- 6728599.pdf
2
1
  CHANGELOG
3
2
  Gemfile
4
3
  Gemfile.lock
data/README.md CHANGED
@@ -26,3 +26,6 @@ After install the gem, you can do:
26
26
  The gem will then read the story/stories and print it into a PDF file
27
27
 
28
28
  The gem assumes that you have https access to the pivotal tracker
29
+
30
+ ##Contributors
31
+ Yi Wen, Carol Nichols
@@ -35,9 +35,9 @@ class PdfWriter
35
35
  pdf.fill_color "000000"
36
36
  end
37
37
 
38
- pdf.text_box "Points: " + (story.respond_to?(:estimate) ? story.estimate.to_s : "Not yet estimated"),
38
+ pdf.text_box "Points: " + (story.respond_to?(:estimate) && !story.estimate.eql?(-1) ? story.estimate.to_s : "Not yet estimated"),
39
39
  :size => 12, :at => [12, 50], :width => width-18
40
- pdf.text_box "Owner: " + story.owned_by,
40
+ pdf.text_box "Owner: " + (story.respond_to?(:owned_by) ? story.owned_by : "None"),
41
41
  :size => 8, :at => [12, 18], :width => width-18
42
42
 
43
43
  pdf.fill_color "999999"
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{pivotal_to_pdf}
5
- s.version = "0.5"
5
+ s.version = "0.5.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Yi Wen"]
9
- s.date = %q{2010-11-30}
9
+ s.date = %q{2010-12-16}
10
10
  s.default_executable = %q{pivotal_to_pdf}
11
11
  s.description = %q{Convert Pivotal Tracker Stories to 4x6 PDF for printing so that you can stick the card to your story board}
12
12
  s.email = %q{hayafirst@gmail.com}
13
13
  s.executables = ["pivotal_to_pdf"]
14
14
  s.extra_rdoc_files = ["CHANGELOG", "README.md", "bin/pivotal_to_pdf", "lib/pivotal_to_pdf.rb", "lib/pivotal_to_pdf/iteration.rb", "lib/pivotal_to_pdf/pdf_writer.rb", "lib/pivotal_to_pdf/pivotal.rb", "lib/pivotal_to_pdf/story.rb", "tasks/spec.rb"]
15
- s.files = ["6728599.pdf", "CHANGELOG", "Gemfile", "Gemfile.lock", "Manifest", "README.md", "Rakefile", "bin/pivotal_to_pdf", "lib/pivotal_to_pdf.rb", "lib/pivotal_to_pdf/iteration.rb", "lib/pivotal_to_pdf/pdf_writer.rb", "lib/pivotal_to_pdf/pivotal.rb", "lib/pivotal_to_pdf/story.rb", "pivotal_to_pdf.gemspec", "spec/pivotal_to_pdf_bin_spec.rb", "spec/spec_helper.rb", "tasks/spec.rb"]
15
+ s.files = ["CHANGELOG", "Gemfile", "Gemfile.lock", "Manifest", "README.md", "Rakefile", "bin/pivotal_to_pdf", "lib/pivotal_to_pdf.rb", "lib/pivotal_to_pdf/iteration.rb", "lib/pivotal_to_pdf/pdf_writer.rb", "lib/pivotal_to_pdf/pivotal.rb", "lib/pivotal_to_pdf/story.rb", "pivotal_to_pdf.gemspec", "spec/pivotal_to_pdf_bin_spec.rb", "spec/spec_helper.rb", "tasks/spec.rb"]
16
16
  s.homepage = %q{https://github.com/ywen/pivotal_to_pdf}
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Pivotal_to_pdf", "--main", "README.md"]
18
18
  s.require_paths = ["lib"]
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- version: "0.5"
8
+ - 1
9
+ version: 0.5.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Yi Wen
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2010-11-30 00:00:00 -06:00
17
+ date: 2010-12-16 00:00:00 -06:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency
@@ -85,7 +86,6 @@ extra_rdoc_files:
85
86
  - lib/pivotal_to_pdf/story.rb
86
87
  - tasks/spec.rb
87
88
  files:
88
- - 6728599.pdf
89
89
  - CHANGELOG
90
90
  - Gemfile
91
91
  - Gemfile.lock
data/6728599.pdf DELETED
Binary file