chupa-text 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +12 -0
- data/lib/chupa-text/command/chupa-text.rb +7 -1
- data/lib/chupa-text/decomposer.rb +8 -0
- data/lib/chupa-text/decomposers/office-open-xml-document.rb +51 -0
- data/lib/chupa-text/decomposers/office-open-xml-presentation.rb +67 -0
- data/lib/chupa-text/decomposers/office-open-xml-workbook.rb +114 -0
- data/lib/chupa-text/decomposers/office-open-xml.rb +196 -0
- data/lib/chupa-text/decomposers/opendocument-presentation.rb +105 -0
- data/lib/chupa-text/decomposers/opendocument-spreadsheet.rb +134 -0
- data/lib/chupa-text/decomposers/opendocument-text.rb +89 -0
- data/lib/chupa-text/decomposers/opendocument.rb +139 -0
- data/lib/chupa-text/extractor.rb +8 -2
- data/lib/chupa-text/formatters/mime.rb +3 -2
- data/lib/chupa-text/version.rb +1 -1
- data/test/decomposers/test-office-open-xml-document.rb +144 -0
- data/test/decomposers/test-office-open-xml-presentation.rb +133 -0
- data/test/decomposers/test-office-open-xml-workbook.rb +138 -0
- data/test/decomposers/test-open-document-presentation.rb +136 -0
- data/test/decomposers/test-open-document-spreadsheet.rb +152 -0
- data/test/decomposers/test-open-document-text.rb +144 -0
- data/test/fixture/docx/attributes.docx +0 -0
- data/test/fixture/docx/multi-pages.docx +0 -0
- data/test/fixture/docx/one-page.docx +0 -0
- data/test/fixture/docx/special-characters.docx +0 -0
- data/test/fixture/odp/attributes.odp +0 -0
- data/test/fixture/odp/multi-slides.odp +0 -0
- data/test/fixture/odp/one-slide.odp +0 -0
- data/test/fixture/ods/attributes.ods +0 -0
- data/test/fixture/ods/multi-sheets.ods +0 -0
- data/test/fixture/ods/one-sheet.ods +0 -0
- data/test/fixture/odt/attributes.odt +0 -0
- data/test/fixture/odt/multi-pages.odt +0 -0
- data/test/fixture/odt/one-page.odt +0 -0
- data/test/fixture/odt/special-characters.odt +0 -0
- data/test/fixture/pptx/attributes.pptx +0 -0
- data/test/fixture/pptx/multi-slides.pptx +0 -0
- data/test/fixture/pptx/one-slide.pptx +0 -0
- data/test/fixture/xlsx/attributes.xlsx +0 -0
- data/test/fixture/xlsx/multi-sheets.xlsx +0 -0
- data/test/fixture/xlsx/one-sheet.xlsx +0 -0
- metadata +36 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chupa-text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: archive-zip
|
@@ -130,6 +130,14 @@ files:
|
|
130
130
|
- lib/chupa-text/decomposers.rb
|
131
131
|
- lib/chupa-text/decomposers/csv.rb
|
132
132
|
- lib/chupa-text/decomposers/gzip.rb
|
133
|
+
- lib/chupa-text/decomposers/office-open-xml-document.rb
|
134
|
+
- lib/chupa-text/decomposers/office-open-xml-presentation.rb
|
135
|
+
- lib/chupa-text/decomposers/office-open-xml-workbook.rb
|
136
|
+
- lib/chupa-text/decomposers/office-open-xml.rb
|
137
|
+
- lib/chupa-text/decomposers/opendocument-presentation.rb
|
138
|
+
- lib/chupa-text/decomposers/opendocument-spreadsheet.rb
|
139
|
+
- lib/chupa-text/decomposers/opendocument-text.rb
|
140
|
+
- lib/chupa-text/decomposers/opendocument.rb
|
133
141
|
- lib/chupa-text/decomposers/tar.rb
|
134
142
|
- lib/chupa-text/decomposers/xml.rb
|
135
143
|
- lib/chupa-text/decomposers/zip.rb
|
@@ -157,6 +165,12 @@ files:
|
|
157
165
|
- test/command/test-chupa-text.rb
|
158
166
|
- test/decomposers/test-csv.rb
|
159
167
|
- test/decomposers/test-gzip.rb
|
168
|
+
- test/decomposers/test-office-open-xml-document.rb
|
169
|
+
- test/decomposers/test-office-open-xml-presentation.rb
|
170
|
+
- test/decomposers/test-office-open-xml-workbook.rb
|
171
|
+
- test/decomposers/test-open-document-presentation.rb
|
172
|
+
- test/decomposers/test-open-document-spreadsheet.rb
|
173
|
+
- test/decomposers/test-open-document-text.rb
|
160
174
|
- test/decomposers/test-tar.rb
|
161
175
|
- test/decomposers/test-xml.rb
|
162
176
|
- test/decomposers/test-zip.rb
|
@@ -164,12 +178,32 @@ files:
|
|
164
178
|
- test/fixture/command/chupa-text/hello.txt.gz
|
165
179
|
- test/fixture/command/chupa-text/no-decomposer.conf
|
166
180
|
- test/fixture/command/chupa-text/numbers.csv
|
181
|
+
- test/fixture/docx/attributes.docx
|
182
|
+
- test/fixture/docx/multi-pages.docx
|
183
|
+
- test/fixture/docx/one-page.docx
|
184
|
+
- test/fixture/docx/special-characters.docx
|
167
185
|
- test/fixture/extractor/hello.txt
|
168
186
|
- test/fixture/gzip/hello.tar.gz
|
169
187
|
- test/fixture/gzip/hello.tgz
|
170
188
|
- test/fixture/gzip/hello.txt.gz
|
189
|
+
- test/fixture/odp/attributes.odp
|
190
|
+
- test/fixture/odp/multi-slides.odp
|
191
|
+
- test/fixture/odp/one-slide.odp
|
192
|
+
- test/fixture/ods/attributes.ods
|
193
|
+
- test/fixture/ods/multi-sheets.ods
|
194
|
+
- test/fixture/ods/one-sheet.ods
|
195
|
+
- test/fixture/odt/attributes.odt
|
196
|
+
- test/fixture/odt/multi-pages.odt
|
197
|
+
- test/fixture/odt/one-page.odt
|
198
|
+
- test/fixture/odt/special-characters.odt
|
199
|
+
- test/fixture/pptx/attributes.pptx
|
200
|
+
- test/fixture/pptx/multi-slides.pptx
|
201
|
+
- test/fixture/pptx/one-slide.pptx
|
171
202
|
- test/fixture/tar/directory.tar
|
172
203
|
- test/fixture/tar/top-level.tar
|
204
|
+
- test/fixture/xlsx/attributes.xlsx
|
205
|
+
- test/fixture/xlsx/multi-sheets.xlsx
|
206
|
+
- test/fixture/xlsx/one-sheet.xlsx
|
173
207
|
- test/fixture/zip/hello.zip
|
174
208
|
- test/fixture/zip/password.zip
|
175
209
|
- test/formatters/test-mime.rb
|