historian_ezprint 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09f56c837830438d94df916514de5a1f0dfa244b
4
- data.tar.gz: 4d2a43ae0d4b1bb531489f75b82b4f49407ff262
3
+ metadata.gz: d7aa659a525d28018dcc56d4ddcc64e48459d05c
4
+ data.tar.gz: a57967cc6cfb2ec1967bcaa091b516bdd63d3823
5
5
  SHA512:
6
- metadata.gz: 81972fe09647ebfd9f499cacd030470f4cc0e1ab2c8b978d7d274a7dc0ae18ade7f1b05fbbdc94aebfe7f05230d9778e91777a66fd6523d4ebaf1d569cff6e7d
7
- data.tar.gz: d16c7a57cf77eecc0552a4f020ff302578cdd74defe6b338fdee1e783b9056b895675a7d0c7ae4df254c530bc23487c4ee625fcb45b5c30107e9635bc06ccae6
6
+ metadata.gz: 332bd01122be8c80913befae385bc2d004d0bd94b2b850d56441a14f9994daf5d7771eb48d26f713ac9984f4630fbd6a1a4a1456b08c5135ba672e7baa2981f1
7
+ data.tar.gz: 51008dc1441dda98c1fe3f0984008379607e53c47e90510fedd1a109843c18ddd5251f7949a402ccb8f4e1e62ee8496e2cc474f337bfc2abbcc2ead5f1aa62a3
data/README CHANGED
@@ -10,7 +10,7 @@ prince->PDFKit for those using princely.
10
10
  Historian
11
11
  =======
12
12
 
13
- gem 'historian_ezprint', '~> 1.0', :require => 'delayed_job_data_mapper'
13
+ gem 'historian_ezprint', '~> 1.0', :require => 'ezprint'
14
14
 
15
15
 
16
16
  Installation
data/ezprint.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{historian_ezprint}
3
- s.version = "0.2.1"
3
+ s.version = "0.2.2"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Jason Stewart"]
@@ -5,7 +5,7 @@ require 'ezprint/pdf_helper'
5
5
  class Railtie < Rails::Railtie
6
6
 
7
7
  initializer :init_mime_types do
8
- Mime::Type.register 'application/pdf', :pdf
8
+ Mime::Type.register 'application/pdf', :pdf unless Mime::Type.lookup_by_extension(:pdf)
9
9
  end
10
10
 
11
11
  initializer :insert_into_action_controller do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: historian_ezprint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Stewart