grim 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/grim.rb CHANGED
@@ -6,10 +6,10 @@ module Grim
6
6
  WIDTH = 1024
7
7
 
8
8
  # Default image quality, 1 to 100
9
- QUALITY = 75
9
+ QUALITY = 90
10
10
 
11
11
  # Default density, any positive integer
12
- DENSITY = 150
12
+ DENSITY = 300
13
13
 
14
14
  # Default exception class for Grim.
15
15
  class Exception < ::StandardError
data/lib/grim/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Grim
3
- VERSION = "0.2.2" unless defined?(::Grim::VERSION)
3
+ VERSION = "0.2.3" unless defined?(::Grim::VERSION)
4
4
  end
@@ -11,11 +11,11 @@ describe Grim do
11
11
  end
12
12
 
13
13
  it "should have QUALITY constant set to 90" do
14
- Grim::QUALITY.should == 75
14
+ Grim::QUALITY.should == 90
15
15
  end
16
16
 
17
17
  it "should have DENSITY constant set to 300" do
18
- Grim::DENSITY.should == 150
18
+ Grim::DENSITY.should == 300
19
19
  end
20
20
 
21
21
  describe "#new" do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grim
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Hoyt
@@ -15,13 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-08 00:00:00 -04:00
19
- default_executable:
18
+ date: 2011-09-12 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- name: safe_shell
23
- type: :runtime
24
- prerelease: false
25
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
22
  none: false
27
23
  requirements:
@@ -33,7 +29,10 @@ dependencies:
33
29
  - 0
34
30
  - 0
35
31
  version: 1.0.0
32
+ prerelease: false
33
+ type: :runtime
36
34
  requirement: *id001
35
+ name: safe_shell
37
36
  description: Grim is a simple gem for extracting a page from a pdf and converting it to an image as well as extract the text from the page as a string. It basically gives you an easy to use api to ghostscript, imagemagick, and pdftotext specific to this use case.
38
37
  email:
39
38
  - jonmagic@gmail.com
@@ -60,7 +59,6 @@ files:
60
59
  - spec/lib/grim/pdf_spec.rb
61
60
  - spec/lib/grim_spec.rb
62
61
  - spec/spec_helper.rb
63
- has_rdoc: true
64
62
  homepage: http://github.com/jonmagic/grim
65
63
  licenses: []
66
64
 
@@ -90,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
88
  requirements: []
91
89
 
92
90
  rubyforge_project: grim
93
- rubygems_version: 1.6.2
91
+ rubygems_version: 1.8.6
94
92
  signing_key:
95
93
  specification_version: 3
96
94
  summary: Extract slides and text from a PDF.