rabidprawns 0.0.2 → 1.0.0

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.
@@ -1,6 +1,6 @@
1
1
  require 'prawn'
2
2
 
3
- class RabidPrawns
3
+ module RabidPrawns
4
4
  class << self
5
5
  # Returns array of available rabids for loading
6
6
  def available_rabids
@@ -26,8 +26,13 @@ class RabidPrawns
26
26
  end
27
27
  end
28
28
 
29
+ module RabidPrawns
30
+ class Document < Prawn::Document
31
+ end
32
+ end
33
+
29
34
  if(Prawn::VERSION > '0.6')
30
- module Prawn
35
+ module RabidPrawns
31
36
  class Document
32
37
  def height_of(text, args)
33
38
  unless(args.is_a?(Hash))
@@ -1,4 +1,4 @@
1
- module Prawn
1
+ module RabidPrawns
2
2
  class Document
3
3
  # text:: Text to print
4
4
  # title:: Title of page
@@ -71,4 +71,4 @@ class Document
71
71
  columned_page(text, title, options) unless text.empty?
72
72
  end
73
73
  end
74
- end
74
+ end
@@ -6,7 +6,7 @@ unless([].respond_to?(:sum))
6
6
  end
7
7
  end
8
8
 
9
- module Prawn
9
+ module RabidPrawns
10
10
  class Document
11
11
  # tables:: Array of tables
12
12
  # options:: Table options
@@ -473,4 +473,4 @@ class Document
473
473
  h + (opts[:padding] * 2) + 2 # bit of safety to keep from busting the cell
474
474
  end
475
475
  end
476
- end
476
+ end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rabidprawns'
3
- s.version = '0.0.2'
3
+ s.version = '1.0.0'
4
4
  s.summary = 'Rabid Prawns'
5
5
  s.author = 'Chris Roberts'
6
6
  s.email = 'chrisroberts.code@gmail.com'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabidprawns
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
+ - 1
7
8
  - 0
8
9
  - 0
9
- - 2
10
- version: 0.0.2
10
+ version: 1.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Roberts
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 -08:00
18
+ date: 2011-05-18 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements: []
64
64
 
65
65
  rubyforge_project:
66
- rubygems_version: 1.3.7
66
+ rubygems_version: 1.6.2
67
67
  signing_key:
68
68
  specification_version: 3
69
69
  summary: Rabid Prawns