prune 0.0.4

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 (78) hide show
  1. data/CHANGELOG.ja.txt +16 -0
  2. data/CHANGELOG.txt +16 -0
  3. data/MIT-LICENSE.ja.txt +24 -0
  4. data/MIT-LICENSE.txt +20 -0
  5. data/Manifest.txt +77 -0
  6. data/PostInstall.txt +4 -0
  7. data/README.ja.rdoc +39 -0
  8. data/README.rdoc +39 -0
  9. data/Rakefile +28 -0
  10. data/demo/english_fonts.rb +66 -0
  11. data/demo/japanese_encodings_euc_jp.rb +27 -0
  12. data/demo/japanese_encodings_shift_jis.rb +27 -0
  13. data/demo/japanese_fonts.rb +54 -0
  14. data/demo/tables.rb +52 -0
  15. data/demo/text_decoration.rb +55 -0
  16. data/lib/prune.rb +90 -0
  17. data/lib/prune/constants.rb +39 -0
  18. data/lib/prune/document.rb +101 -0
  19. data/lib/prune/elements/base.rb +55 -0
  20. data/lib/prune/elements/catalog.rb +51 -0
  21. data/lib/prune/elements/font.rb +38 -0
  22. data/lib/prune/elements/font_descriptor.rb +38 -0
  23. data/lib/prune/elements/info.rb +44 -0
  24. data/lib/prune/elements/outlines.rb +19 -0
  25. data/lib/prune/elements/page.rb +115 -0
  26. data/lib/prune/elements/pages.rb +29 -0
  27. data/lib/prune/elements/procedure_sets.rb +22 -0
  28. data/lib/prune/elements/stream.rb +34 -0
  29. data/lib/prune/errors.rb +73 -0
  30. data/lib/prune/fonts/base.rb +92 -0
  31. data/lib/prune/fonts/base_en.rb +38 -0
  32. data/lib/prune/fonts/base_ja.rb +129 -0
  33. data/lib/prune/fonts/en/courier.rb +37 -0
  34. data/lib/prune/fonts/en/helvetica.rb +168 -0
  35. data/lib/prune/fonts/en/symbol.rb +60 -0
  36. data/lib/prune/fonts/en/times_roman.rb +168 -0
  37. data/lib/prune/fonts/en/zapf_dingbats.rb +60 -0
  38. data/lib/prune/fonts/ja/ms_gothic.rb +55 -0
  39. data/lib/prune/fonts/ja/ms_mincho.rb +55 -0
  40. data/lib/prune/fonts/ja/ms_p_gothic.rb +55 -0
  41. data/lib/prune/fonts/ja/ms_p_mincho.rb +55 -0
  42. data/lib/prune/fonts/ja/ms_pr_gothic.rb +55 -0
  43. data/lib/prune/fonts/ja/ms_ui_gothic.rb +55 -0
  44. data/lib/prune/functions.rb +18 -0
  45. data/lib/prune/p_objects/aliases.rb +37 -0
  46. data/lib/prune/p_objects/base.rb +45 -0
  47. data/lib/prune/p_objects/p_array.rb +62 -0
  48. data/lib/prune/p_objects/p_dictionary.rb +83 -0
  49. data/lib/prune/p_objects/p_hexadecimal_string.rb +27 -0
  50. data/lib/prune/p_objects/p_literal_string.rb +25 -0
  51. data/lib/prune/p_objects/p_name.rb +45 -0
  52. data/lib/prune/p_objects/p_stream.rb +29 -0
  53. data/lib/prune/parsers/base.rb +13 -0
  54. data/lib/prune/parsers/document/page/table/tr_parser.rb +77 -0
  55. data/lib/prune/parsers/document/page/table_parser.rb +32 -0
  56. data/lib/prune/parsers/document/page_parser.rb +91 -0
  57. data/lib/prune/parsers/document/property_parser.rb +45 -0
  58. data/lib/prune/parsers/document_parser.rb +26 -0
  59. data/lib/prune/shapes/base.rb +52 -0
  60. data/lib/prune/shapes/line.rb +55 -0
  61. data/lib/prune/shapes/rectangle.rb +64 -0
  62. data/lib/prune/shapes/text_box.rb +223 -0
  63. data/prune.gemspec +37 -0
  64. data/script/console +10 -0
  65. data/script/console.cmd +1 -0
  66. data/script/destroy +14 -0
  67. data/script/destroy.cmd +1 -0
  68. data/script/generate +14 -0
  69. data/script/generate.cmd +1 -0
  70. data/spec/prune/p_objects/p_array_spec.rb +46 -0
  71. data/spec/prune/p_objects/p_dictionary_spec.rb +61 -0
  72. data/spec/prune/p_objects/p_stream_spec.rb +29 -0
  73. data/spec/prune_spec.rb +38 -0
  74. data/spec/spec.opts +1 -0
  75. data/spec/spec_helper.rb +11 -0
  76. data/tasks/prune.rake +38 -0
  77. data/tasks/rspec.rake +21 -0
  78. metadata +181 -0
@@ -0,0 +1,37 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{prune}
5
+ s.version = "0.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["tomojiri"]
9
+ s.date = %q{2010-05-18}
10
+ s.description = %q{Prune is a library to build pdf documents in Ruby.}
11
+ s.email = ["ytsheep0808@gmail.com"]
12
+ s.extra_rdoc_files = ["CHANGELOG.ja.txt", "CHANGELOG.txt", "History.txt", "MIT-LICENSE.ja.txt", "MIT-LICENSE.txt", "Manifest.txt", "PostInstall.txt"]
13
+ s.files = ["CHANGELOG.ja.txt", "CHANGELOG.txt", "History.txt", "MIT-LICENSE.ja.txt", "MIT-LICENSE.txt", "Manifest.txt", "PostInstall.txt", "README.ja.rdoc", "README.rdoc", "Rakefile", "demo/english_fonts.rb", "demo/japanese_encodings_euc_jp.rb", "demo/japanese_encodings_shift_jis.rb", "demo/japanese_fonts.rb", "demo/tables.rb", "demo/text_decoration.rb", "lib/prune.rb", "lib/prune/constants.rb", "lib/prune/document.rb", "lib/prune/elements/base.rb", "lib/prune/elements/catalog.rb", "lib/prune/elements/font.rb", "lib/prune/elements/font_descriptor.rb", "lib/prune/elements/info.rb", "lib/prune/elements/outlines.rb", "lib/prune/elements/page.rb", "lib/prune/elements/pages.rb", "lib/prune/elements/procedure_sets.rb", "lib/prune/elements/stream.rb", "lib/prune/errors.rb", "lib/prune/fonts/base.rb", "lib/prune/fonts/base_en.rb", "lib/prune/fonts/base_ja.rb", "lib/prune/fonts/en/courier.rb", "lib/prune/fonts/en/helvetica.rb", "lib/prune/fonts/en/symbol.rb", "lib/prune/fonts/en/times_roman.rb", "lib/prune/fonts/en/zapf_dingbats.rb", "lib/prune/fonts/ja/ms_gothic.rb", "lib/prune/fonts/ja/ms_mincho.rb", "lib/prune/fonts/ja/ms_p_gothic.rb", "lib/prune/fonts/ja/ms_p_mincho.rb", "lib/prune/fonts/ja/ms_pr_gothic.rb", "lib/prune/fonts/ja/ms_ui_gothic.rb", "lib/prune/functions.rb", "lib/prune/p_objects/aliases.rb", "lib/prune/p_objects/base.rb", "lib/prune/p_objects/p_array.rb", "lib/prune/p_objects/p_dictionary.rb", "lib/prune/p_objects/p_hexadecimal_string.rb", "lib/prune/p_objects/p_literal_string.rb", "lib/prune/p_objects/p_name.rb", "lib/prune/p_objects/p_stream.rb", "lib/prune/parsers/base.rb", "lib/prune/parsers/document/page/table/tr_parser.rb", "lib/prune/parsers/document/page/table_parser.rb", "lib/prune/parsers/document/page_parser.rb", "lib/prune/parsers/document/property_parser.rb", "lib/prune/parsers/document_parser.rb", "lib/prune/shapes/base.rb", "lib/prune/shapes/line.rb", "lib/prune/shapes/rectangle.rb", "lib/prune/shapes/text_box.rb", "script/console", "script/console.cmd", "script/destroy", "script/destroy.cmd", "script/generate", "script/generate.cmd", "spec/prune/p_objects/p_array_spec.rb", "spec/prune/p_objects/p_dictionary_spec.rb", "spec/prune/p_objects/p_stream_spec.rb", "spec/prune_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/prune.rake", "tasks/rspec.rake"]
14
+ s.homepage = %q{http://rubyforge.org/projects/prune/}
15
+ s.post_install_message = %q{PostInstall.txt}
16
+ s.rdoc_options = ["--main", "README.rdoc"]
17
+ s.require_paths = ["lib"]
18
+ s.rubyforge_project = %q{prune}
19
+ s.rubygems_version = %q{1.3.5}
20
+ s.summary = %q{Prune is a library to build pdf documents in Ruby.}
21
+
22
+ if s.respond_to? :specification_version then
23
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
+ s.specification_version = 3
25
+
26
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
+ s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
28
+ s.add_development_dependency(%q<hoe>, [">= 2.6.0"])
29
+ else
30
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
31
+ s.add_dependency(%q<hoe>, [">= 2.6.0"])
32
+ end
33
+ else
34
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
35
+ s.add_dependency(%q<hoe>, [">= 2.6.0"])
36
+ end
37
+ end
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # File: script/console
3
+ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
+
5
+ libs = " -r irb/completion"
6
+ # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
+ # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
+ libs << " -r #{File.dirname(__FILE__) + '/../lib/prune.rb'}"
9
+ puts "Loading prune gem"
10
+ exec "#{irb} #{libs} --simple-prompt"
@@ -0,0 +1 @@
1
+ @ruby script/console %*
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/destroy'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -0,0 +1 @@
1
+ @ruby script/destroy %*
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
@@ -0,0 +1 @@
1
+ @ruby script/generate %*
@@ -0,0 +1,46 @@
1
+ # coding:utf-8
2
+ require File.join(File.dirname(__FILE__), "../../spec_helper.rb")
3
+
4
+ describe Prune::PObjects::PArray do
5
+ include Prune::PObjects
6
+
7
+ it "should be empty when initialized without arguments" do
8
+ array = pa
9
+ array.should be_empty
10
+ end
11
+
12
+ it "should work the same as Array" do
13
+ array = pa(pl("a"), 1, pl("b"), pn(:symbol))
14
+ # Array.[]
15
+ array[0].should == pl("a")
16
+ array[1].should == 1
17
+ array[2].should == pl("b")
18
+ array[3].should == pn(:symbol)
19
+ array[4].should be_nil
20
+ array[5].should be_nil
21
+ # Array.[]=
22
+ array[1] = 11111
23
+ array[2] = pl("ARRAY")
24
+ array[1].should == 11111
25
+ array[2].should == pl("ARRAY")
26
+ array[4] = 10
27
+ array[4].should be_eql(10)
28
+ # Array.<<
29
+ array << pl("ADDED")
30
+ array[5].should == pl("ADDED")
31
+ end
32
+
33
+ it "should return formatted string" do
34
+ number_array = (1..33).to_a
35
+ array = pa(*number_array)
36
+ lines = array.to_s.split(/\n/)
37
+ lines[0].should == "[ 1 2 3 4 5 6 7 8 9 10"
38
+ lines[1].should == " 11 12 13 14 15 16 17 18 19 20"
39
+ lines[2].should == " 21 22 23 24 25 26 27 28 29 30"
40
+ lines[3].should == " 31 32 33 ]"
41
+ array = pa(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
42
+ array.to_s.should == "[ 1 2 3 4 5 6 7 8 9 10 ]"
43
+ array = pa(4, 3, 2, 1)
44
+ array.to_s.should == "[ 4 3 2 1 ]"
45
+ end
46
+ end
@@ -0,0 +1,61 @@
1
+ # coding:utf-8
2
+ require File.join(File.dirname(__FILE__), "../../spec_helper.rb")
3
+
4
+ describe Prune::PObjects::PDictionary do
5
+ include Prune::PObjects
6
+
7
+ before(:each) do
8
+ @dictionary = pd(
9
+ pn(:one) => 1,
10
+ pn(:two) => 2,
11
+ pn(:three) => 3,
12
+ pn(:Type) => pl("Dictionary"))
13
+ end
14
+
15
+ it "should be empty when initialized without arguments" do
16
+ dictionary = pd
17
+ dictionary.should be_empty
18
+ end
19
+
20
+ it "should work the same as Hash" do
21
+ # Hash.[]
22
+ @dictionary[pn(:three)].should == 3
23
+ @dictionary[pn(:two)].should == 2
24
+ @dictionary[pn(:one)].should == 1
25
+ @dictionary[pn(:zero)].should be_nil
26
+ # Hash.[]=
27
+ @dictionary[pn(:one)] = 10
28
+ @dictionary[pn(:two)] = 200
29
+ @dictionary[pn(:three)] = 3000
30
+ @dictionary[pn(:three)].should == 3000
31
+ @dictionary[pn(:two)].should == 200
32
+ @dictionary[pn(:one)].should == 10
33
+ @dictionary[pn(:zero)] = 0
34
+ # Hash.has_key?
35
+ @dictionary.should have_key(pn(:one))
36
+ @dictionary.should have_key(pn(:two))
37
+ @dictionary.should have_key(pn(:three))
38
+ @dictionary.should have_key(pn(:zero))
39
+ @dictionary.should_not have_key(pn(:four))
40
+ # Hash.update
41
+ @dictionary.update(pn(:three) => 333, pn(:four) => 4444)
42
+ @dictionary.should have_key(pn(:four))
43
+ @dictionary[pn(:three)].should == 333
44
+ @dictionary[pn(:four)].should == 4444
45
+ end
46
+
47
+ it "should return sorted keys" do
48
+ @dictionary.keys.should ==
49
+ [pn(:Type), pn(:one), pn(:three), pn(:two)]
50
+ end
51
+
52
+ it "should return formatted string" do
53
+ lines = @dictionary.to_s.split(/\n/)
54
+ lines[0].should == "<<"
55
+ lines[1].should == " /Type (Dictionary)"
56
+ lines[2].should == " /one 1"
57
+ lines[3].should == " /three 3"
58
+ lines[4].should == " /two 2"
59
+ lines[5].should == ">>"
60
+ end
61
+ end
@@ -0,0 +1,29 @@
1
+ # coding:utf-8
2
+ require File.join(File.dirname(__FILE__), "../../spec_helper.rb")
3
+
4
+ describe Prune::PObjects::PStream do
5
+ include Prune::PObjects
6
+
7
+ before(:each) do
8
+ @stream = ps
9
+ end
10
+
11
+ it "should be correct length" do
12
+ begin_size = "stream\n".size
13
+ end_size = "endstream".size
14
+ @stream << "ABC"
15
+ @stream.length.should be_eql(begin_size + end_size + 4)
16
+ @stream << "DEFGH"
17
+ @stream.length.should be_eql(begin_size + end_size + 10)
18
+ end
19
+
20
+ it "should return formatted string" do
21
+ @stream << "ABC"
22
+ @stream << "DEFGH"
23
+ lines = @stream.to_s.split(/\n/)
24
+ lines[0].should be_eql("stream")
25
+ lines[1].should be_eql("ABC")
26
+ lines[2].should be_eql("DEFGH")
27
+ lines[3].should be_eql("endstream")
28
+ end
29
+ end
@@ -0,0 +1,38 @@
1
+ # coding: utf-8
2
+
3
+ require File.dirname(__FILE__) + '/spec_helper.rb'
4
+
5
+ describe Prune do
6
+ it "should have constant VERSION" do
7
+ Prune::VERSION.should be_a(String)
8
+ Prune::VERSION.should match(/\A\d+\.\d+\.\d\z/)
9
+ end
10
+
11
+ it "should have constant APPLICATION" do
12
+ Prune::APPLICATION.should be_a(String)
13
+ Prune::APPLICATION.should eql("Prune")
14
+ end
15
+
16
+ it "should have constant LF" do
17
+ Prune::LF.should be_a(String)
18
+ Prune::LF.should eql("\n")
19
+ end
20
+
21
+ it "should have constant DOCUMENT_SIZE" do
22
+ Prune::DOCUMENT_SIZES.should be_a(Hash)
23
+ size_A = (1..7).collect{|n| ["A#{n}".to_sym, "A#{n}W".to_sym]}.flatten
24
+ Prune::DOCUMENT_SIZES.keys.should include(*size_A)
25
+ size_B = (1..7).collect{|n| ["B#{n}".to_sym, "B#{n}W".to_sym]}.flatten
26
+ Prune::DOCUMENT_SIZES.keys.should include(*size_B)
27
+ end
28
+
29
+ it "should have constant PAGE_LAYOUT" do
30
+ Prune::PAGE_LAYOUT.should be_an(Array)
31
+ layouts = [
32
+ :SinglePage,
33
+ :OneColumn,
34
+ :TwoColumnLeft,
35
+ :TwoColumnRight]
36
+ Prune::PAGE_LAYOUT.should include(*layouts)
37
+ end
38
+ end
@@ -0,0 +1 @@
1
+ --colour
@@ -0,0 +1,11 @@
1
+ # coding:utf-8
2
+ begin
3
+ require "spec"
4
+ rescue LoadError
5
+ require "rubygems" unless ENV["NO_RUBYGEMS"]
6
+ gem "rspec"
7
+ require "spec"
8
+ end
9
+
10
+ $:.unshift(File.dirname(__FILE__) + "/../lib")
11
+ require "prune"
@@ -0,0 +1,38 @@
1
+ # -*- coding:utf-8 -*-
2
+
3
+ base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
+
5
+ namespace :prune do
6
+ desc "PRUNE:Update manifest file for prune"
7
+ task :manifest do
8
+ # get all files under base directory
9
+ Dir.chdir(base_dir)
10
+ paths = Dir.glob("**/*")
11
+ # delete directory path
12
+ paths.delete_if do |path|
13
+ File.directory?(path)
14
+ end
15
+ # delete excluded patterns
16
+ exclude_patterns = [
17
+ /\Apkg/,
18
+ /\Adoc/,
19
+ /\A\.git/,
20
+ /\Anbproject/,
21
+ /\.pdf\z/
22
+ ]
23
+ paths.delete_if do |path|
24
+ exclude_patterns.any? do |pattern|
25
+ pattern === path
26
+ end
27
+ end
28
+ # write to manifest file
29
+ File.open("Manifest.txt", "w") do |file|
30
+ paths.sort.each do |path|
31
+ puts " %s" % path
32
+ file.puts path
33
+ end
34
+ end
35
+ puts "Manifest.txt updated."
36
+ end
37
+ end
38
+
@@ -0,0 +1,21 @@
1
+ begin
2
+ require 'spec'
3
+ rescue LoadError
4
+ require 'rubygems' unless ENV['NO_RUBYGEMS']
5
+ require 'spec'
6
+ end
7
+ begin
8
+ require 'spec/rake/spectask'
9
+ rescue LoadError
10
+ puts <<-EOS
11
+ To use rspec for testing you must install rspec gem:
12
+ gem install rspec
13
+ EOS
14
+ exit(0)
15
+ end
16
+
17
+ desc "Run the specs under spec/models"
18
+ Spec::Rake::SpecTask.new do |t|
19
+ t.spec_opts = ['--options', "spec/spec.opts"]
20
+ t.spec_files = FileList['spec/**/*_spec.rb']
21
+ end
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: prune
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 4
10
+ version: 0.0.4
11
+ platform: ruby
12
+ authors:
13
+ - tomojiri
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-05-21 00:00:00 +09:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rubyforge
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 2
32
+ - 0
33
+ - 4
34
+ version: 2.0.4
35
+ type: :development
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: hoe
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 23
46
+ segments:
47
+ - 2
48
+ - 6
49
+ - 0
50
+ version: 2.6.0
51
+ type: :development
52
+ version_requirements: *id002
53
+ description: Prune is a library to build pdf documents in Ruby.
54
+ email:
55
+ - ytsheep0808@gmail.com
56
+ executables: []
57
+
58
+ extensions: []
59
+
60
+ extra_rdoc_files:
61
+ - CHANGELOG.ja.txt
62
+ - CHANGELOG.txt
63
+ - MIT-LICENSE.ja.txt
64
+ - MIT-LICENSE.txt
65
+ - Manifest.txt
66
+ - PostInstall.txt
67
+ files:
68
+ - CHANGELOG.ja.txt
69
+ - CHANGELOG.txt
70
+ - MIT-LICENSE.ja.txt
71
+ - MIT-LICENSE.txt
72
+ - Manifest.txt
73
+ - PostInstall.txt
74
+ - README.ja.rdoc
75
+ - README.rdoc
76
+ - Rakefile
77
+ - demo/english_fonts.rb
78
+ - demo/japanese_encodings_euc_jp.rb
79
+ - demo/japanese_encodings_shift_jis.rb
80
+ - demo/japanese_fonts.rb
81
+ - demo/tables.rb
82
+ - demo/text_decoration.rb
83
+ - lib/prune.rb
84
+ - lib/prune/constants.rb
85
+ - lib/prune/document.rb
86
+ - lib/prune/elements/base.rb
87
+ - lib/prune/elements/catalog.rb
88
+ - lib/prune/elements/font.rb
89
+ - lib/prune/elements/font_descriptor.rb
90
+ - lib/prune/elements/info.rb
91
+ - lib/prune/elements/outlines.rb
92
+ - lib/prune/elements/page.rb
93
+ - lib/prune/elements/pages.rb
94
+ - lib/prune/elements/procedure_sets.rb
95
+ - lib/prune/elements/stream.rb
96
+ - lib/prune/errors.rb
97
+ - lib/prune/fonts/base.rb
98
+ - lib/prune/fonts/base_en.rb
99
+ - lib/prune/fonts/base_ja.rb
100
+ - lib/prune/fonts/en/courier.rb
101
+ - lib/prune/fonts/en/helvetica.rb
102
+ - lib/prune/fonts/en/symbol.rb
103
+ - lib/prune/fonts/en/times_roman.rb
104
+ - lib/prune/fonts/en/zapf_dingbats.rb
105
+ - lib/prune/fonts/ja/ms_gothic.rb
106
+ - lib/prune/fonts/ja/ms_mincho.rb
107
+ - lib/prune/fonts/ja/ms_p_gothic.rb
108
+ - lib/prune/fonts/ja/ms_p_mincho.rb
109
+ - lib/prune/fonts/ja/ms_pr_gothic.rb
110
+ - lib/prune/fonts/ja/ms_ui_gothic.rb
111
+ - lib/prune/functions.rb
112
+ - lib/prune/p_objects/aliases.rb
113
+ - lib/prune/p_objects/base.rb
114
+ - lib/prune/p_objects/p_array.rb
115
+ - lib/prune/p_objects/p_dictionary.rb
116
+ - lib/prune/p_objects/p_hexadecimal_string.rb
117
+ - lib/prune/p_objects/p_literal_string.rb
118
+ - lib/prune/p_objects/p_name.rb
119
+ - lib/prune/p_objects/p_stream.rb
120
+ - lib/prune/parsers/base.rb
121
+ - lib/prune/parsers/document/page/table/tr_parser.rb
122
+ - lib/prune/parsers/document/page/table_parser.rb
123
+ - lib/prune/parsers/document/page_parser.rb
124
+ - lib/prune/parsers/document/property_parser.rb
125
+ - lib/prune/parsers/document_parser.rb
126
+ - lib/prune/shapes/base.rb
127
+ - lib/prune/shapes/line.rb
128
+ - lib/prune/shapes/rectangle.rb
129
+ - lib/prune/shapes/text_box.rb
130
+ - prune.gemspec
131
+ - script/console
132
+ - script/console.cmd
133
+ - script/destroy
134
+ - script/destroy.cmd
135
+ - script/generate
136
+ - script/generate.cmd
137
+ - spec/prune/p_objects/p_array_spec.rb
138
+ - spec/prune/p_objects/p_dictionary_spec.rb
139
+ - spec/prune/p_objects/p_stream_spec.rb
140
+ - spec/prune_spec.rb
141
+ - spec/spec.opts
142
+ - spec/spec_helper.rb
143
+ - tasks/prune.rake
144
+ - tasks/rspec.rake
145
+ has_rdoc: true
146
+ homepage: http://wiki.github.com/ytsheep0808/prune
147
+ licenses: []
148
+
149
+ post_install_message: PostInstall.txt
150
+ rdoc_options:
151
+ - --main
152
+ - README.rdoc
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ hash: 3
161
+ segments:
162
+ - 0
163
+ version: "0"
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ hash: 3
170
+ segments:
171
+ - 0
172
+ version: "0"
173
+ requirements: []
174
+
175
+ rubyforge_project: prune
176
+ rubygems_version: 1.3.7
177
+ signing_key:
178
+ specification_version: 3
179
+ summary: Prune is a library to build pdf documents in Ruby.
180
+ test_files: []
181
+