ezprint 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -7,6 +7,19 @@ dollars. I recommend using the Rack middleware component of PDFKit to
7
7
  print PDFs in rails, but this plugin makes an easy transition from
8
8
  prince->PDFKit for those using princely.
9
9
 
10
+ Installation
11
+ ============
12
+
13
+ Rails 2.x
14
+
15
+ gem install ezprint
16
+ in environment.rb config.gem "ezprint"
17
+
18
+ Rails 3
19
+
20
+ gem 'ezprint', :git => 'git@github.com:jstewart/ezprint.git', :branch => 'rails3', :require => 'ezprint'
21
+ then run "bundle install"
22
+
10
23
  Example
11
24
  =======
12
25
 
data/README.rdoc CHANGED
@@ -6,6 +6,20 @@ dollars. I recommend using the Rack middleware component of PDFKit to
6
6
  print PDFs in rails, but this plugin makes an easy transition from
7
7
  prince->PDFKit for those using princely.
8
8
 
9
+ == Installation
10
+
11
+ == Rails 2.x
12
+
13
+ gem install ezprint
14
+
15
+ in environment.rb config.gem "ezprint"
16
+
17
+ == Rails 3
18
+
19
+ gem 'ezprint', :git => 'git@github.com:jstewart/ezprint.git', :branch => 'rails3', :require => 'ezprint'
20
+
21
+ then run "bundle install"
22
+
9
23
  == Example
10
24
 
11
25
  The examples here are similar to princely, since the
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/ezprint.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ezprint}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jason Stewart"]
12
- s.date = %q{2010-07-23}
12
+ s.date = %q{2010-11-08}
13
13
  s.description = %q{A Rails wrapper for the PDFkit library. Meant to be a drop in replacement for princely.}
14
14
  s.email = %q{jstewart@fusionary.com}
15
15
  s.extra_rdoc_files = [
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
28
28
  "init.rb",
29
29
  "lib/ezprint.rb",
30
30
  "lib/ezprint/pdf_helper.rb",
31
- "lib/ezprint/rails.rb",
32
31
  "rails/init.rb"
33
32
  ]
34
33
  s.homepage = %q{http://github.com/jstewart/ezprint}
data/init.rb CHANGED
@@ -1 +1 @@
1
- require File.dirname(__FILE__) + '/rails/init'
1
+ require File.dirname(__FILE__) + '/rails/init'
data/rails/init.rb CHANGED
@@ -1 +1,4 @@
1
- require File.dirname(__FILE__) + "/../lib/ezprint/rails"
1
+ require 'ezprint/pdf_helper'
2
+
3
+ Mime::Type.register 'application/pdf', :pdf
4
+ ActionController::Base.send(:include, PdfHelper)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezprint
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Stewart
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-23 00:00:00 -04:00
18
+ date: 2010-11-08 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -55,7 +55,6 @@ files:
55
55
  - init.rb
56
56
  - lib/ezprint.rb
57
57
  - lib/ezprint/pdf_helper.rb
58
- - lib/ezprint/rails.rb
59
58
  - rails/init.rb
60
59
  has_rdoc: true
61
60
  homepage: http://github.com/jstewart/ezprint
data/lib/ezprint/rails.rb DELETED
@@ -1,3 +0,0 @@
1
- Mime::Type.register 'application/pdf', :pdf
2
-
3
- ActionController::Base.send(:include, PdfHelper)