pivotal_to_pdf 0.1.1 → 0.5

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/6728599.pdf ADDED
Binary file
data/CHANGELOG CHANGED
@@ -1,2 +1,3 @@
1
+ v0.5 be able to print out an iteration into one single PDF file
1
2
  v0.1.1 added a homepage
2
3
  v0.1 initial setup
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source 'http://rubygems.org'
2
+ gem 'rainbow'
3
+ gem 'activeresource'
4
+ gem 'prawn'
5
+ gem 'thor'
6
+ group :test do
7
+ gem 'rspec'
8
+ end
9
+
10
+ group :test, :development do
11
+ gem 'echoe'
12
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,49 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.3)
5
+ activesupport (= 3.0.3)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.4)
8
+ activeresource (3.0.3)
9
+ activemodel (= 3.0.3)
10
+ activesupport (= 3.0.3)
11
+ activesupport (3.0.3)
12
+ builder (2.1.2)
13
+ diff-lcs (1.1.2)
14
+ echoe (4.3.1)
15
+ gemcutter
16
+ rubyforge
17
+ gemcutter (0.6.1)
18
+ i18n (0.5.0)
19
+ json_pure (1.4.6)
20
+ prawn (0.8.4)
21
+ prawn-core (>= 0.8.4, < 0.9)
22
+ prawn-layout (>= 0.8.4, < 0.9)
23
+ prawn-security (>= 0.8.4, < 0.9)
24
+ prawn-core (0.8.4)
25
+ prawn-layout (0.8.4)
26
+ prawn-security (0.8.4)
27
+ rainbow (1.1)
28
+ rspec (2.2.0)
29
+ rspec-core (~> 2.2)
30
+ rspec-expectations (~> 2.2)
31
+ rspec-mocks (~> 2.2)
32
+ rspec-core (2.2.1)
33
+ rspec-expectations (2.2.0)
34
+ diff-lcs (~> 1.1.2)
35
+ rspec-mocks (2.2.0)
36
+ rubyforge (2.0.4)
37
+ json_pure (>= 1.1.7)
38
+ thor (0.14.6)
39
+
40
+ PLATFORMS
41
+ ruby
42
+
43
+ DEPENDENCIES
44
+ activeresource
45
+ echoe
46
+ prawn
47
+ rainbow
48
+ rspec
49
+ thor
data/Manifest CHANGED
@@ -1,9 +1,17 @@
1
+ 6728599.pdf
1
2
  CHANGELOG
3
+ Gemfile
4
+ Gemfile.lock
2
5
  Manifest
3
- README
6
+ README.md
4
7
  Rakefile
5
- bin/pivol_to_pdf
8
+ bin/pivotal_to_pdf
6
9
  lib/pivotal_to_pdf.rb
10
+ lib/pivotal_to_pdf/iteration.rb
7
11
  lib/pivotal_to_pdf/pdf_writer.rb
12
+ lib/pivotal_to_pdf/pivotal.rb
8
13
  lib/pivotal_to_pdf/story.rb
9
14
  pivotal_to_pdf.gemspec
15
+ spec/pivotal_to_pdf_bin_spec.rb
16
+ spec/spec_helper.rb
17
+ tasks/spec.rb
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ pivotal_to_pdf -- print the stories from pivotal tracker to a PDF file
2
+ ====================================
3
+
4
+ ## DESCRIPTION
5
+ This is a gem that can read a story from pivotal tracker and print into a 4x6 card so that you can print the card and stick to your physical story board.
6
+
7
+ I steal the part of code from http://ephemera.karmi.cz/post/622136360/create-printable-pdf-cards-for-your-pivotal-tracker-stor The difference is the code there print to a A4 paper with 4 stories on it. This gem prints one card at a time and the gem doesn't require an exported csv file.
8
+
9
+ ## INSTALL
10
+ $ [sudo] gem install pivotal_to_pdf
11
+
12
+ ## USAGE
13
+ First you need to create a .pivotal.yml under your home directory. No idea how you do this under Windows so no support to Windows yet
14
+
15
+ a sample .pivotal.yml:
16
+
17
+ token: your-api-token-of-pivotal-tracker
18
+ project_id: your-ptroject-id
19
+
20
+ After install the gem, you can do:
21
+
22
+ * pivotal_to_pdf iteration # print stories for the current iteration into a PDF file
23
+ * pivotal_to_pdf story STORY_ID # print a single story specifed by ID into a PDF file
24
+
25
+
26
+ The gem will then read the story/stories and print it into a PDF file
27
+
28
+ The gem assumes that you have https access to the pivotal tracker
data/Rakefile CHANGED
@@ -1,10 +1,11 @@
1
1
  require 'echoe'
2
+ require File.expand_path(File.dirname(__FILE__))+'/tasks/spec'
2
3
  Echoe.new('pivotal_to_pdf') do |p|
3
4
  p.description = "Convert Pivotal Tracker Stories to 4x6 PDF for printing so that you can stick the card to your story board"
4
5
  p.summary = "Convert Pivotal Tracker Stories to 4x6 PDF for printing"
5
6
  p.author = "Yi Wen"
6
7
  p.email = "hayafirst@gmail.com"
7
- p.runtime_dependencies = %w(activeresource prawn rainbow)
8
+ p.runtime_dependencies = %w(activeresource prawn rainbow thor)
8
9
  p.bin_files = [ "bin/pivotal_to_pdf" ]
9
10
  p.url = "https://github.com/ywen/pivotal_to_pdf"
10
11
  # p.ignore_pattern = ["bin/*"]
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+ $:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
3
+ require 'pivotal_to_pdf'
4
+ require 'thor'
5
+
6
+ class PivotalToPdfApp < Thor
7
+ desc "story STORY_ID", "print a single story specifed by ID into a PDF file"
8
+ def story(story_id)
9
+ PivotalToPdf.story story_id
10
+ end
11
+
12
+ desc "iteration", "print stories for the current iteration into a PDF file"
13
+ def iteration(iteration_number = "current")
14
+ PivotalToPdf.iteration iteration_number
15
+ end
16
+ end
17
+
18
+ PivotalToPdfApp.start
@@ -0,0 +1,3 @@
1
+ class Iteration < Pivotal
2
+
3
+ end
@@ -1,58 +1,54 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # Script to generate PDF cards suitable for planning poker
4
- # from Pivotal Tracker [http://www.pivotaltracker.com/] CSV export.
5
-
6
- # Inspired by Bryan Helmkamp's http://github.com/brynary/features2cards/
7
-
8
- # Example output: http://img.skitch.com/20100522-d1kkhfu6yub7gpye97ikfuubi2.png
9
-
10
3
  require 'rubygems'
11
4
  require 'prawn'
12
5
  require 'rainbow'
13
6
 
14
7
  class PdfWriter
15
- attr_reader :card
16
- def initialize(card)
17
- @card = card
8
+ attr_reader :story_or_iteration, :stories
9
+ def initialize(story_or_iteration)
10
+ @story_or_iteration = story_or_iteration
11
+ @stories = story_or_iteration.is_a?(Iteration) ? story_or_iteration.stories : [story_or_iteration]
12
+ p stories.size
18
13
  end
19
14
 
20
15
  def write_to
21
- Prawn::Document.generate("#{card.id}.pdf",
16
+ Prawn::Document.generate("#{story_or_iteration.id}.pdf",
22
17
  :page_layout => :landscape,
23
18
  :margin => [25, 25, 50, 25],
24
19
  :page_size => [302, 432]) do |pdf|
25
20
 
26
21
  pdf.font "#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf"
27
22
  # pdf.start_new_page
28
- padding = 12
29
- pdf.stroke_color = "666666"
30
- pdf.stroke_bounds
31
- width = 370
32
- # --- Write content
33
- pdf.bounding_box [pdf.bounds.left+padding, pdf.bounds.top-padding], :width => width do
34
- pdf.text card.name, :size => 14
35
- pdf.text "\n", :size => 14
36
- pdf.fill_color "444444"
37
- pdf.text card.description || "", :size => 10
23
+
24
+ stories.each_with_index do |story, index|
25
+ padding = 12
26
+ pdf.stroke_color = "666666"
27
+ pdf.stroke_bounds
28
+ width = 370
29
+ # --- Write content
30
+ pdf.bounding_box [pdf.bounds.left+padding, pdf.bounds.top-padding], :width => width do
31
+ pdf.text "#{story.id} - #{story.name}", :size => 14
32
+ pdf.text "\n", :size => 14
33
+ pdf.fill_color "444444"
34
+ pdf.text story.description || "", :size => 10
35
+ pdf.fill_color "000000"
36
+ end
37
+
38
+ pdf.text_box "Points: " + (story.respond_to?(:estimate) ? story.estimate.to_s : "Not yet estimated"),
39
+ :size => 12, :at => [12, 50], :width => width-18
40
+ pdf.text_box "Owner: " + story.owned_by,
41
+ :size => 8, :at => [12, 18], :width => width-18
42
+
43
+ pdf.fill_color "999999"
44
+ pdf.text_box story.story_type.capitalize, :size => 8, :align => :right, :at => [12, 18], :width => width-18
38
45
  pdf.fill_color "000000"
46
+ pdf.start_new_page unless index == stories.size - 1
39
47
  end
48
+ pdf.number_pages "<page>/<total>", [pdf.bounds.right-16, -28]
40
49
 
41
- pdf.text_box "Points: " + card.estimate.to_s,
42
- :size => 12, :at => [12, 50], :width => width-18
43
- pdf.text_box "Owner: " + card.owned_by,
44
- :size => 8, :at => [12, 18], :width => width-18
45
-
46
- pdf.fill_color "999999"
47
- pdf.text_box card.story_type.capitalize, :size => 8, :align => :right, :at => [12, 18], :width => width-18
48
- pdf.fill_color "000000"
49
-
50
-
51
- # --- Footer
52
- pdf.number_pages "Story ID: #{card.id}", [pdf.bounds.left, -28]
53
-
54
- puts ">>> Generated PDF file in '#{card.id}.pdf'".foreground(:green)
55
- end
50
+ puts ">>> Generated PDF file in '#{story_or_iteration.id}.pdf'".foreground(:green)
51
+ end
56
52
  rescue Exception
57
53
  puts "[!] There was an error while generating the PDF file... What happened was:".foreground(:red)
58
54
  raise
@@ -0,0 +1,8 @@
1
+ class Pivotal < ActiveResource::Base
2
+ def self.inherited(sub)
3
+ info = YAML.load_file File.expand_path("~/.pivotal.yml")
4
+ sub.site = %Q|https://www.pivotaltracker.com/services/v3/projects/#{info['project_id']}|
5
+ sub.headers['X-TrackerToken'] = info["token"]
6
+ end
7
+
8
+ end
@@ -1,5 +1,2 @@
1
- class Story < ActiveResource::Base
2
- info = YAML.load_file File.expand_path("~/.pivotal.yml")
3
- self.site = %Q|https://www.pivotaltracker.com/services/v3/projects/#{info['project_id']}|
4
- headers['X-TrackerToken'] = info["token"]
1
+ class Story < Pivotal
5
2
  end
@@ -1,13 +1,21 @@
1
1
  require 'rubygems'
2
2
  require 'rainbow'
3
+ require 'thor'
3
4
  require 'active_resource'
5
+ require 'pivotal_to_pdf/pivotal'
6
+ require 'pivotal_to_pdf/iteration'
4
7
  require 'pivotal_to_pdf/story'
5
8
  require 'pivotal_to_pdf/pdf_writer'
6
- class PivotalToPdf
9
+ class PivotalToPdf < Thor
7
10
  class << self
8
- def write(story_id)
11
+ def story(story_id)
9
12
  story = Story.find(story_id)
10
13
  PdfWriter.new(story).write_to
11
14
  end
15
+
16
+ def iteration(iteration_token)
17
+ iteration = Iteration.find(:all, :params => {:group => iteration_token}).first
18
+ PdfWriter.new(iteration).write_to
19
+ end
12
20
  end
13
21
  end
@@ -2,19 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{pivotal_to_pdf}
5
- s.version = "0.1.1"
5
+ s.version = "0.5"
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-24}
10
- s.default_executable = %q{pivol_to_pdf}
9
+ s.date = %q{2010-11-30}
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
- s.executables = ["pivol_to_pdf"]
14
- s.extra_rdoc_files = ["CHANGELOG", "README", "bin/pivol_to_pdf", "lib/pivotal_to_pdf.rb", "lib/pivotal_to_pdf/pdf_writer.rb", "lib/pivotal_to_pdf/story.rb"]
15
- s.files = ["CHANGELOG", "Manifest", "README", "Rakefile", "bin/pivol_to_pdf", "lib/pivotal_to_pdf.rb", "lib/pivotal_to_pdf/pdf_writer.rb", "lib/pivotal_to_pdf/story.rb", "pivotal_to_pdf.gemspec"]
13
+ s.executables = ["pivotal_to_pdf"]
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"]
16
16
  s.homepage = %q{https://github.com/ywen/pivotal_to_pdf}
17
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Pivotal_to_pdf", "--main", "README"]
17
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Pivotal_to_pdf", "--main", "README.md"]
18
18
  s.require_paths = ["lib"]
19
19
  s.rubyforge_project = %q{pivotal_to_pdf}
20
20
  s.rubygems_version = %q{1.3.7}
@@ -28,14 +28,17 @@ Gem::Specification.new do |s|
28
28
  s.add_runtime_dependency(%q<activeresource>, [">= 0"])
29
29
  s.add_runtime_dependency(%q<prawn>, [">= 0"])
30
30
  s.add_runtime_dependency(%q<rainbow>, [">= 0"])
31
+ s.add_runtime_dependency(%q<thor>, [">= 0"])
31
32
  else
32
33
  s.add_dependency(%q<activeresource>, [">= 0"])
33
34
  s.add_dependency(%q<prawn>, [">= 0"])
34
35
  s.add_dependency(%q<rainbow>, [">= 0"])
36
+ s.add_dependency(%q<thor>, [">= 0"])
35
37
  end
36
38
  else
37
39
  s.add_dependency(%q<activeresource>, [">= 0"])
38
40
  s.add_dependency(%q<prawn>, [">= 0"])
39
41
  s.add_dependency(%q<rainbow>, [">= 0"])
42
+ s.add_dependency(%q<thor>, [">= 0"])
40
43
  end
41
44
  end
@@ -0,0 +1,22 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
2
+ load File.expand_path(File.join(File.dirname(__FILE__), "..", "bin", "pivotal_to_pdf"))
3
+
4
+ describe 'PivotalToPdf Bin' do
5
+ describe "when pased in story sub command" do
6
+ it "should call story" do
7
+ PivotalToPdf.should_receive(:story).with(123)
8
+ PivotalToPdfApp.start(["story", 123])
9
+ end
10
+ it "should not call story when no story id is given" do
11
+ PivotalToPdf.should_not_receive(:story)
12
+ PivotalToPdfApp.start(["story"])
13
+ end
14
+ end
15
+ describe "when pased in iteration sub command" do
16
+ it "should call iteration" do
17
+ PivotalToPdf.should_receive(:iteration).with(123)
18
+ PivotalToPdfApp.start(["iteration", 123])
19
+ end
20
+ end
21
+ end
22
+
@@ -0,0 +1,23 @@
1
+ # Requires supporting files with custom matchers and macros, etc,
2
+ # in ./support/ and its subdirectories.
3
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
4
+ require "#{File.dirname(__FILE__)}/../lib/pivotal_to_pdf"
5
+ Dir["#{File.dirname(__FILE__)}/../lib/**/*.rb"].each {|f| require f}
6
+
7
+ RSpec.configure do |config|
8
+ # == Mock Framework
9
+ #
10
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
11
+ #
12
+ # config.mock_with :mocha
13
+ # config.mock_with :flexmock
14
+ # config.mock_with :rr
15
+ config.mock_with :rspec
16
+ # out = ENV['CC_BUILD_ARTIFACTS'] || "#{Rails.root}"
17
+ # config.output_stream = File.open("#{out}/UnitTests/index.html", "w") if config.formatter_class.name =~ /HtmlFormatter/
18
+
19
+
20
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
21
+ # examples within a transaction, comment the following line or assign false
22
+ # instead of true.
23
+ end
data/tasks/spec.rb ADDED
@@ -0,0 +1,17 @@
1
+ begin
2
+ require 'rspec/core'
3
+ require 'rspec/core/rake_task'
4
+
5
+ spec_prereq = :noop
6
+ task :noop do
7
+ end
8
+
9
+ desc "Run all specs in spec directory (excluding plugin specs)"
10
+ RSpec::Core::RakeTask.new(:spec => spec_prereq) do |t|
11
+ t.rspec_opts = ["--format", "documentation"]
12
+ t.pattern = "spec/**/*_spec.rb"
13
+ end
14
+
15
+ rescue LoadError => e
16
+ p e
17
+ end
metadata CHANGED
@@ -1,13 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal_to_pdf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
7
+ - 5
8
+ version: "0.5"
11
9
  platform: ruby
12
10
  authors:
13
11
  - Yi Wen
@@ -15,7 +13,7 @@ autorequire:
15
13
  bindir: bin
16
14
  cert_chain: []
17
15
 
18
- date: 2010-11-24 00:00:00 -06:00
16
+ date: 2010-11-30 00:00:00 -06:00
19
17
  default_executable:
20
18
  dependencies:
21
19
  - !ruby/object:Gem::Dependency
@@ -26,7 +24,6 @@ dependencies:
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 3
30
27
  segments:
31
28
  - 0
32
29
  version: "0"
@@ -40,7 +37,6 @@ dependencies:
40
37
  requirements:
41
38
  - - ">="
42
39
  - !ruby/object:Gem::Version
43
- hash: 3
44
40
  segments:
45
41
  - 0
46
42
  version: "0"
@@ -54,35 +50,58 @@ dependencies:
54
50
  requirements:
55
51
  - - ">="
56
52
  - !ruby/object:Gem::Version
57
- hash: 3
58
53
  segments:
59
54
  - 0
60
55
  version: "0"
61
56
  type: :runtime
62
57
  version_requirements: *id003
58
+ - !ruby/object:Gem::Dependency
59
+ name: thor
60
+ prerelease: false
61
+ requirement: &id004 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ segments:
67
+ - 0
68
+ version: "0"
69
+ type: :runtime
70
+ version_requirements: *id004
63
71
  description: Convert Pivotal Tracker Stories to 4x6 PDF for printing so that you can stick the card to your story board
64
72
  email: hayafirst@gmail.com
65
73
  executables:
66
- - pivol_to_pdf
74
+ - pivotal_to_pdf
67
75
  extensions: []
68
76
 
69
77
  extra_rdoc_files:
70
78
  - CHANGELOG
71
- - README
72
- - bin/pivol_to_pdf
79
+ - README.md
80
+ - bin/pivotal_to_pdf
73
81
  - lib/pivotal_to_pdf.rb
82
+ - lib/pivotal_to_pdf/iteration.rb
74
83
  - lib/pivotal_to_pdf/pdf_writer.rb
84
+ - lib/pivotal_to_pdf/pivotal.rb
75
85
  - lib/pivotal_to_pdf/story.rb
86
+ - tasks/spec.rb
76
87
  files:
88
+ - 6728599.pdf
77
89
  - CHANGELOG
90
+ - Gemfile
91
+ - Gemfile.lock
78
92
  - Manifest
79
- - README
93
+ - README.md
80
94
  - Rakefile
81
- - bin/pivol_to_pdf
95
+ - bin/pivotal_to_pdf
82
96
  - lib/pivotal_to_pdf.rb
97
+ - lib/pivotal_to_pdf/iteration.rb
83
98
  - lib/pivotal_to_pdf/pdf_writer.rb
99
+ - lib/pivotal_to_pdf/pivotal.rb
84
100
  - lib/pivotal_to_pdf/story.rb
85
101
  - pivotal_to_pdf.gemspec
102
+ - spec/pivotal_to_pdf_bin_spec.rb
103
+ - spec/spec_helper.rb
104
+ - tasks/spec.rb
86
105
  has_rdoc: true
87
106
  homepage: https://github.com/ywen/pivotal_to_pdf
88
107
  licenses: []
@@ -94,7 +113,7 @@ rdoc_options:
94
113
  - --title
95
114
  - Pivotal_to_pdf
96
115
  - --main
97
- - README
116
+ - README.md
98
117
  require_paths:
99
118
  - lib
100
119
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -102,7 +121,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
121
  requirements:
103
122
  - - ">="
104
123
  - !ruby/object:Gem::Version
105
- hash: 3
106
124
  segments:
107
125
  - 0
108
126
  version: "0"
@@ -111,7 +129,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
129
  requirements:
112
130
  - - ">="
113
131
  - !ruby/object:Gem::Version
114
- hash: 11
115
132
  segments:
116
133
  - 1
117
134
  - 2
data/README DELETED
@@ -1,15 +0,0 @@
1
- This is a gem that can read a story from pivotal tracker and print into a 4x6 card so that you can print the card and stick to your physical story board.
2
-
3
- ==USAGE
4
- First you need to create a .pivotal.yml under your home directory. No idea how you do this under Windows so no support to Windows yet
5
-
6
- a sample .pivotal.yml:
7
-
8
- token: your-api-token-of-pivotal-tracker
9
- project_id: your-ptroject-id
10
-
11
- After install the gem, type pivotal_to_pdf your-story-id
12
-
13
- The gem will then read the story and print it into a PDF
14
-
15
- The gem assumes that you have https access to the pivotal tracker
data/bin/pivol_to_pdf DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- $:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
3
- require 'pivotal_to_pdf'
4
- PivotalToPdf.write ARGV[0]
5
-