paperclip-document 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/lib/paperclip/document/processors/sketcher.rb +1 -1
- data/lib/paperclip/document/version.rb +1 -1
- metadata +52 -40
- checksums.yaml +0 -7
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Paperclip::Document
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/paperclip-document.png)](http://badge.fury.io/rb/paperclip-document)
|
4
|
-
[![Dependency Status](https://gemnasium.com/
|
5
|
-
[![Quality metrics](https://codeclimate.com/github/
|
6
|
-
[![Continuous Integration](https://api.travis-ci.org/
|
7
|
-
[![Code coverage](https://coveralls.io/repos/
|
4
|
+
[![Dependency Status](https://gemnasium.com/ekylibre/paperclip-document.png)](https://gemnasium.com/ekylibre/paperclip-document)
|
5
|
+
[![Quality metrics](https://codeclimate.com/github/ekylibre/paperclip-document.png)](https://codeclimate.com/github/ekylibre/paperclip-document)
|
6
|
+
[![Continuous Integration](https://api.travis-ci.org/ekylibre/paperclip-document.png?branch=master)](https://travis-ci.org/ekylibre/paperclip-document)
|
7
|
+
[![Code coverage](https://coveralls.io/repos/ekylibre/paperclip-document/badge.png?branch=master)](https://coveralls.io/r/ekylibre/paperclip-document)
|
8
8
|
|
9
9
|
Document processors for paperclip.
|
10
10
|
|
@@ -27,8 +27,8 @@ module Paperclip
|
|
27
27
|
elsif @density
|
28
28
|
options[:density] = @density
|
29
29
|
end
|
30
|
-
Docsplit.extract_images(file_path.to_s, options)
|
31
30
|
begin
|
31
|
+
Docsplit.extract_images(file_path.to_s, options)
|
32
32
|
rescue
|
33
33
|
raise Paperclip::Error, "There was an error extracting the first thumbnail from #{basename}"
|
34
34
|
end
|
metadata
CHANGED
@@ -1,20 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-document
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Brice Texier
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-03
|
12
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: paperclip
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '3.1'
|
20
22
|
- - <
|
@@ -23,30 +25,34 @@ dependencies:
|
|
23
25
|
type: :runtime
|
24
26
|
prerelease: false
|
25
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
26
29
|
requirements:
|
27
|
-
- - '>='
|
30
|
+
- - ! '>='
|
28
31
|
- !ruby/object:Gem::Version
|
29
32
|
version: '3.1'
|
30
33
|
- - <
|
31
34
|
- !ruby/object:Gem::Version
|
32
35
|
version: '5'
|
33
36
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
37
|
+
name: docsplit
|
35
38
|
requirement: !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
36
40
|
requirements:
|
37
|
-
- - '>='
|
41
|
+
- - ! '>='
|
38
42
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.7.
|
43
|
+
version: 0.7.5
|
40
44
|
type: :runtime
|
41
45
|
prerelease: false
|
42
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
43
48
|
requirements:
|
44
|
-
- - '>='
|
49
|
+
- - ! '>='
|
45
50
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.7.
|
51
|
+
version: 0.7.5
|
47
52
|
- !ruby/object:Gem::Dependency
|
48
53
|
name: bundler
|
49
54
|
requirement: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
50
56
|
requirements:
|
51
57
|
- - ~>
|
52
58
|
- !ruby/object:Gem::Version
|
@@ -54,6 +60,7 @@ dependencies:
|
|
54
60
|
type: :development
|
55
61
|
prerelease: false
|
56
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
57
64
|
requirements:
|
58
65
|
- - ~>
|
59
66
|
- !ruby/object:Gem::Version
|
@@ -61,77 +68,81 @@ dependencies:
|
|
61
68
|
- !ruby/object:Gem::Dependency
|
62
69
|
name: rake
|
63
70
|
requirement: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
64
72
|
requirements:
|
65
|
-
- - '>='
|
73
|
+
- - ! '>='
|
66
74
|
- !ruby/object:Gem::Version
|
67
75
|
version: '0'
|
68
76
|
type: :development
|
69
77
|
prerelease: false
|
70
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
71
80
|
requirements:
|
72
|
-
- - '>='
|
81
|
+
- - ! '>='
|
73
82
|
- !ruby/object:Gem::Version
|
74
83
|
version: '0'
|
75
84
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
85
|
+
name: coveralls
|
77
86
|
requirement: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
78
88
|
requirements:
|
79
|
-
- - '>='
|
89
|
+
- - ! '>='
|
80
90
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
82
|
-
- - <
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '5'
|
91
|
+
version: '0'
|
85
92
|
type: :development
|
86
93
|
prerelease: false
|
87
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
88
96
|
requirements:
|
89
|
-
- - '>='
|
97
|
+
- - ! '>='
|
90
98
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
92
|
-
- - <
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '5'
|
99
|
+
version: '0'
|
95
100
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
101
|
+
name: rails
|
97
102
|
requirement: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
98
104
|
requirements:
|
99
|
-
- - '>='
|
105
|
+
- - ! '>='
|
100
106
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
107
|
+
version: '3.2'
|
102
108
|
type: :development
|
103
109
|
prerelease: false
|
104
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
105
112
|
requirements:
|
106
|
-
- - '>='
|
113
|
+
- - ! '>='
|
107
114
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
115
|
+
version: '3.2'
|
109
116
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
117
|
+
name: sqlite3
|
111
118
|
requirement: !ruby/object:Gem::Requirement
|
119
|
+
none: false
|
112
120
|
requirements:
|
113
|
-
- - '>='
|
121
|
+
- - ! '>='
|
114
122
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
123
|
+
version: '0'
|
116
124
|
type: :development
|
117
125
|
prerelease: false
|
118
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
119
128
|
requirements:
|
120
|
-
- - '>='
|
129
|
+
- - ! '>='
|
121
130
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
131
|
+
version: '0'
|
123
132
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
133
|
+
name: minitest
|
125
134
|
requirement: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
126
136
|
requirements:
|
127
|
-
- - '>='
|
137
|
+
- - ! '>='
|
128
138
|
- !ruby/object:Gem::Version
|
129
139
|
version: '0'
|
130
140
|
type: :development
|
131
141
|
prerelease: false
|
132
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
none: false
|
133
144
|
requirements:
|
134
|
-
- - '>='
|
145
|
+
- - ! '>='
|
135
146
|
- !ruby/object:Gem::Version
|
136
147
|
version: '0'
|
137
148
|
description:
|
@@ -155,25 +166,26 @@ files:
|
|
155
166
|
homepage: http://github.com/burisu/paperclip-document
|
156
167
|
licenses:
|
157
168
|
- MIT
|
158
|
-
metadata: {}
|
159
169
|
post_install_message:
|
160
170
|
rdoc_options: []
|
161
171
|
require_paths:
|
162
172
|
- lib
|
163
173
|
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
164
175
|
requirements:
|
165
|
-
- - '>='
|
176
|
+
- - ! '>='
|
166
177
|
- !ruby/object:Gem::Version
|
167
178
|
version: '0'
|
168
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
169
181
|
requirements:
|
170
|
-
- - '>='
|
182
|
+
- - ! '>='
|
171
183
|
- !ruby/object:Gem::Version
|
172
184
|
version: '0'
|
173
185
|
requirements: []
|
174
186
|
rubyforge_project:
|
175
|
-
rubygems_version:
|
187
|
+
rubygems_version: 1.8.23
|
176
188
|
signing_key:
|
177
|
-
specification_version:
|
189
|
+
specification_version: 3
|
178
190
|
summary: Processors for paperclip
|
179
191
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: f98f16e85f58bf6366fe5aedd7bd23ae5c8969bf
|
4
|
-
data.tar.gz: 0104272d6fdc424223ac9f63b5e82efdc17d19cc
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 65912c37b4d27517d84038418bc4e06007f12381e5e75dc59d706705f10c053390ac864ddcee83664964ee8b01c98e020b59a034acc8678e18cf5ef418fedcdb
|
7
|
-
data.tar.gz: f8e5fa9377f772aaa789bac68965adb80b516dfda00822309b2de0be7bac2b7616e53c934f21e3fa4f4563aea72d06f8ee2e5a171dede9d1caf8473978521063
|