Skip to content

Commit 13cb94f

Browse files
committed
Merge branch 'master' into object-rec-and-embedded
# Conflicts: # project.clj
2 parents 6b6b61b + d38bcb4 commit 13cb94f

File tree

4 files changed

+38
-22
lines changed

4 files changed

+38
-22
lines changed

ChangeLog.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## Changes between Pantomime 2.11.0 and 2.12.0 (unreleased)
2+
3+
No changes yet.
4+
5+
6+
## Changes between Pantomime 2.10.0 and 2.11.0 (March 6th, 2019)
7+
8+
### Apache Tika 1.19.1
9+
10+
Apache Tika dependency has been upgraded to [1.19.1](https://tika.apache.org/1.19.1/index.html).
11+
12+
GitHub issue: [#29](https://github.com/michaelklishin/pantomime/issues/29)
13+
14+
### Clojure 1.10
15+
16+
The library now depends on Clojure 1.10.
17+
118
## Changes between Pantomime 2.9.0 and 2.10.0 (Jan 19th, 2018)
219

320
### Apache Tika 1.17
@@ -21,12 +38,10 @@ Several functions now accept `TikaConfig` instances.
2138

2239
Contributed by ejshoen.
2340

24-
25-
## Clojure 1.8
41+
### Clojure 1.8
2642

2743
The library now depends on Clojure 1.8.
2844

29-
3045
### Namespaced Keys
3146

3247
Extraction functions now return namespaced keywords.

README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,23 @@ using Maven, add the following repository definition to your
2626
With Leiningen:
2727

2828
```clojure
29-
[com.novemberain/pantomime "2.9.0"]
29+
[com.novemberain/pantomime "2.11.0"]
3030
```
3131

3232
With Maven:
3333

34-
<dependency>
35-
<groupId>com.novemberain</groupId>
36-
<artifactId>pantomime</artifactId>
37-
<version>2.9.0</version>
38-
</dependency>
34+
``` xml
35+
<dependency>
36+
<groupId>com.novemberain</groupId>
37+
<artifactId>pantomime</artifactId>
38+
<version>2.11.0</version>
39+
</dependency>
40+
```
3941

4042

4143
## Supported Clojure versions
4244

43-
Pantomime requires Clojure 1.6+. The most recent stable
45+
Pantomime requires Clojure 1.8+. The most recent stable
4446
release is highly recommended.
4547

4648

@@ -266,6 +268,6 @@ tests pass, submit a pull request on Github.
266268

267269
## License
268270

269-
Copyright (C) 2011-2016 Michael S. Klishin, and the ClojureWerkz team.
271+
Copyright (C) 2011-2019 Michael S. Klishin, and the ClojureWerkz team.
270272

271273
Distributed under the Eclipse Public License, the same as Clojure.

project.clj

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
(defproject com.novemberain/pantomime "2.10.1"
1+
(defproject com.novemberain/pantomime "2.12.0-SNAPSHOT"
22
:min-lein-version "2.5.1"
33
:description "A minimalistic Clojure interface to Apache Tika"
44
:url "http://github.com/michaelklishin/pantomime"
55
:license { :name "Eclipse Public License" }
66
:source-paths ["src/clojure"]
7-
:dependencies [[org.clojure/clojure "1.9.0"]
8-
[org.apache.tika/tika-parsers "1.17"]
9-
[org.apache.tika/tika-dl "1.17"]
10-
[org.apache.commons/commons-compress "1.15"]]
7+
:dependencies [[org.clojure/clojure "1.10.0"]
8+
[org.apache.tika/tika-parsers "1.19.1"]
9+
[org.apache.tika/tika-dl "1.19.1"]
10+
[org.apache.commons/commons-compress "1.18"]]
1111
:profiles {:dev {:resource-paths ["test/resources"]
12-
:dependencies [[clj-http "3.7.0"]]}
13-
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
14-
:master {:dependencies [[org.clojure/clojure "1.10.0-master-SNAPSHOT"]]}
12+
:dependencies [[clj-http "3.9.1"]]}
13+
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
14+
:master {:dependencies [[org.clojure/clojure "1.11.0-master-SNAPSHOT"]]}
1515
}
16-
:repositories {"sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
16+
:repositories {"sonatype" {:url "https://oss.sonatype.org/content/repositories/releases"
1717
:snapshots false
1818
:releases {:checksum :fail :update :always}}
19-
"sonatype-snapshots" {:url "http://oss.sonatype.org/content/repositories/snapshots"
19+
"sonatype-snapshots" {:url "https://oss.sonatype.org/content/repositories/snapshots"
2020
:snapshots true
2121
:releases {:checksum :fail :update :always}}}
2222
:aliases {"all" ["with-profile" "+dev:+1.8:+master"]}

src/clojure/pantomime/extract.clj

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[clojure.string :as string]
44
[clojure.java.io :refer [input-stream copy]])
55
(:import [java.io File InputStream ByteArrayInputStream]
6-
[org.apache.tika Tika]
76
[java.net URL]
87
[org.apache.tika.metadata Metadata]
98
[org.apache.tika.sax BodyContentHandler]

0 commit comments

Comments
 (0)