pdf-inspector 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +7 -0
  2. data/lib/pdf/inspector/extgstate.rb +2 -1
  3. metadata +57 -44
data/README CHANGED
@@ -13,6 +13,12 @@ The recommended installation method is via Rubygems.
13
13
 
14
14
  gem install pdf-inspector
15
15
 
16
+ Or put this in your Gemfile, if you use Bundler[2]:
17
+
18
+ group :test do
19
+ gem 'pdf-inspector', :require => "pdf/inspector"
20
+ end
21
+
16
22
  = Licensing
17
23
 
18
24
  Matz’s terms for Ruby, GPLv2, or GPLv3. See LICENSE for details.
@@ -42,3 +48,4 @@ to pdf-inspector at:
42
48
 
43
49
  [0] http://github.com/yob/pdf-reader
44
50
  [1] http://github.com/sandal/prawn
51
+ [2] http://gembundler.com/
@@ -10,7 +10,8 @@ module PDF
10
10
  def resource_extgstate(*params)
11
11
  @extgstates << {
12
12
  :opacity => params[1][:ca],
13
- :stroke_opacity => params[1][:CA]
13
+ :stroke_opacity => params[1][:CA],
14
+ :soft_mask => params[1][:SMask]
14
15
  }
15
16
  end
16
17
  end
metadata CHANGED
@@ -1,10 +1,15 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pdf-inspector
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 2
10
+ version: 1.0.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Gregory Brown
9
14
  - Brad Ediger
10
15
  - Daniel Nelson
@@ -13,55 +18,55 @@ authors:
13
18
  autorequire:
14
19
  bindir: bin
15
20
  cert_chain: []
16
- date: 2011-10-11 00:00:00.000000000 -05:00
17
- default_executable:
18
- dependencies:
19
- - !ruby/object:Gem::Dependency
21
+
22
+ date: 2012-10-27 00:00:00 Z
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
20
25
  name: pdf-reader
21
- requirement: &22899140 !ruby/object:Gem::Requirement
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
22
28
  none: false
23
- requirements:
24
- - - ! '>='
25
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ hash: 59
33
+ segments:
34
+ - 0
35
+ - 9
36
+ - 0
26
37
  version: 0.9.0
27
38
  type: :runtime
28
- prerelease: false
29
- version_requirements: *22899140
30
- description: ! 'This library provides a number of PDF::Reader[0] based tools for use
31
- in testing
32
-
39
+ version_requirements: *id001
40
+ description: |
41
+ This library provides a number of PDF::Reader[0] based tools for use in testing
33
42
  PDF output. Presently, the primary purpose of this tool is to support the
34
-
35
43
  tests found in Prawn[1], a pure Ruby PDF generation library.
36
-
37
-
44
+
38
45
  However, it may be useful to others, so we have made it available as a gem in
39
-
40
46
  its own right.
41
-
42
-
47
+
43
48
  [0] https://github.com/yob/pdf-reader
44
-
45
49
  [1] https://github.com/sandal/prawn
46
50
 
47
- '
48
- email:
51
+ email:
49
52
  - gregory.t.brown@gmail.com
50
53
  - brad@bradediger.com
51
54
  - dnelson77@gmail.com
52
55
  - greenberg@entryway.net
53
56
  - jimmy@deefa.com
54
57
  executables: []
58
+
55
59
  extensions: []
56
- extra_rdoc_files:
60
+
61
+ extra_rdoc_files:
57
62
  - CHANGELOG
58
63
  - README
59
- files:
64
+ files:
60
65
  - lib/pdf/inspector.rb
61
- - lib/pdf/inspector/graphics.rb
62
- - lib/pdf/inspector/extgstate.rb
63
66
  - lib/pdf/inspector/page.rb
64
67
  - lib/pdf/inspector/text.rb
68
+ - lib/pdf/inspector/graphics.rb
69
+ - lib/pdf/inspector/extgstate.rb
65
70
  - lib/pdf/inspector/xobject.rb
66
71
  - CHANGELOG
67
72
  - README
@@ -69,34 +74,42 @@ files:
69
74
  - LICENSE
70
75
  - GPLv2
71
76
  - GPLv3
72
- has_rdoc: true
73
77
  homepage: https://github.com/sandal/pdf-inspector
74
78
  licenses: []
79
+
75
80
  post_install_message:
76
- rdoc_options:
81
+ rdoc_options:
77
82
  - --title
78
83
  - PDF::Inspector
79
84
  - --main
80
85
  - README
81
86
  - -q
82
- require_paths:
87
+ require_paths:
83
88
  - lib
84
- required_ruby_version: !ruby/object:Gem::Requirement
89
+ required_ruby_version: !ruby/object:Gem::Requirement
85
90
  none: false
86
- requirements:
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
97
+ version: "0"
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
99
  none: false
92
- requirements:
93
- - - ! '>='
94
- - !ruby/object:Gem::Version
95
- version: '0'
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 0
106
+ version: "0"
96
107
  requirements: []
108
+
97
109
  rubyforge_project:
98
- rubygems_version: 1.6.2
110
+ rubygems_version: 1.8.24
99
111
  signing_key:
100
112
  specification_version: 3
101
113
  summary: A tool for analyzing PDF output
102
114
  test_files: []
115
+