Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
practicingruby committed Jul 6, 2014
0 parents commit a44e6c6
Show file tree
Hide file tree
Showing 43 changed files with 6,376 additions and 0 deletions.
2 changes: 2 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Prawn may be used under Matz's original licensing terms for Ruby, or GPLv2 or GPLv3.
See LICENSE for Matz's terms, or GPLv2 and GPLv3 files.
340 changes: 340 additions & 0 deletions GPLv2

Large diffs are not rendered by default.

674 changes: 674 additions & 0 deletions GPLv3

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "prawn", :git => "git@github.com:prawnpdf/prawn.git",
:branch => "extract_tables"
gemspec
70 changes: 70 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
GIT
remote: git@github.com:prawnpdf/prawn.git
revision: ecc6ebc5810c05f06a178c1cd42e81dbd7c2fb63
branch: extract_tables
specs:
prawn (1.2.0)
pdf-core (~> 0.2.5)
ttfunk (~> 1.2.0)

PATH
remote: .
specs:
prawn-table (0.0.1)

GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.0.2)
afm (0.2.1)
coderay (1.0.9)
diff-lcs (1.2.5)
docile (1.1.5)
hashery (2.1.1)
metaclass (0.0.4)
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.10.1)
pdf-core (0.2.5)
pdf-inspector (1.1.0)
pdf-reader (~> 1.0)
pdf-reader (1.3.3)
Ascii85 (~> 1.0.0)
afm (~> 0.2.0)
hashery (~> 2.0)
ruby-rc4
ttfunk
prawn-manual_builder (0.1.2)
coderay (~> 1.0.7)
rake (10.3.2)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.8)
rspec-expectations (2.14.5)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.6)
ruby-rc4 (0.1.5)
simplecov (0.8.2)
docile (~> 1.1.0)
multi_json
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
ttfunk (1.2.0)
yard (0.8.7.4)

PLATFORMS
ruby

DEPENDENCIES
mocha
pdf-inspector (~> 1.1.0)
pdf-reader (~> 1.2)
prawn!
prawn-manual_builder (>= 0.1.2)
prawn-table!
rake
rspec (= 2.14.1)
simplecov
yard
56 changes: 56 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Prawn is copyrighted free software produced by Gregory Brown along with
community contributions. See git log for authorship information.

Licensing terms follow:

You can redistribute Prawn and/or modify it under either the terms of the GPLv2
or GPLv3 (see GPLv2 and GPLv3 files), or the conditions below:

1. You may make and give away verbatim copies of the source form of the
software without restriction, provided that you duplicate all of the
original copyright notices and associated disclaimers.

2. You may modify your copy of the software in any way, provided that
you do at least ONE of the following:

a) place your modifications in the Public Domain or otherwise
make them Freely Available, such as by posting said
modifications to Usenet or an equivalent medium, or by allowing
the author to include your modifications in the software.

b) use the modified software only within your corporation or
organization.

c) rename any non-standard executables so the names do not conflict
with standard executables, which must also be provided.

d) make other distribution arrangements with the author.

3. You may distribute the software in object code or executable
form, provided that you do at least ONE of the following:

a) distribute the executables and library files of the software,
together with instructions (in the manual page or equivalent)
on where to get the original distribution.

b) accompany the distribution with the machine-readable source of
the software.

c) give non-standard executables non-standard names, with
instructions on where to get the original software distribution.

d) make other distribution arrangements with the author.

4. You may modify and include the part of the software into any other
software (possibly commercial).

5. The scripts and library files supplied as input to or produced as
output from the software do not automatically fall under the
copyright of the software, but belong to whomever generated them,
and may be sold commercially, and may be aggregated with this
software.

6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.
48 changes: 48 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
require "bundler"
Bundler.setup

require 'rake'
require 'rspec/core/rake_task'
require 'yard'
require 'rubygems/package_task'

task :default => [:spec]

desc "Run all rspec files"
RSpec::Core::RakeTask.new("spec") do |c|
c.rspec_opts = "-t ~unresolved"
end

desc "Show library's code statistics"
task :stats do
require 'code_statistics'
CodeStatistics::TEST_TYPES << "Specs"
CodeStatistics.new( ["Prawn", "lib"],
["Specs", "spec"] ).to_s
end

YARD::Rake::YardocTask.new do |t|
t.options = ['--output-dir', 'doc/html']
end
task :docs => :yard


desc "Generate the 'Prawn by Example' manual"
task :manual do
puts "Building manual..."
require_relative "manual/contents"
puts "The Prawn::Table manual is available at manual.pdf. Happy Prawning!"
end


desc "Run a console with Prawn loaded"
task :console do
require 'irb'
require 'irb/completion'
require "prawn"
require_relative 'lib/prawn/table'
Prawn.debug = true

ARGV.clear
IRB.start
end
Loading

0 comments on commit a44e6c6

Please sign in to comment.