mpxj 5.10.0 → 5.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mpxj/mpxj.jar +0 -0
- data/lib/mpxj/password_protected.rb +5 -0
- data/lib/mpxj/reader.rb +2 -0
- data/lib/mpxj/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 177f68c1cead6da0eeea84cbfdd622d4581d79ac
|
4
|
+
data.tar.gz: 9f7e65ee1918512476d438d162c873626f5eafbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff5fe875ce0cfbb70d0054917b8b94f40e7ec8b9cb4852cad8526bc25f4a80559584d45f865ee6a44b5ea3a59ca50c34f9f8269ee1f9d45ba53314cfa60b7ffb
|
7
|
+
data.tar.gz: 32ce3e88929181f8b9637ff223792e697f31cf238ec419989071d4b29143e7761a0db32de63367c9fe983ddbff0b1bad9032eeb011fac7bfe0e24e642b99e10e
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
data/lib/mpxj/reader.rb
CHANGED
@@ -70,6 +70,8 @@ module MPXJ
|
|
70
70
|
message = java_output.split('Conversion Error: ')[1]
|
71
71
|
if message.include?('Unsupported file type')
|
72
72
|
raise MPXJ::ArgumentError, message
|
73
|
+
elsif message.include?('password protected')
|
74
|
+
raise MPXJ::PasswordProtected, message
|
73
75
|
else
|
74
76
|
raise MPXJ::RuntimeError, message
|
75
77
|
end
|
data/lib/mpxj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mpxj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Iles
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- lib/mpxj/commons-collections4-4.1.jar
|
122
122
|
- lib/mpxj/container.rb
|
123
123
|
- lib/mpxj/mpxj.jar
|
124
|
+
- lib/mpxj/password_protected.rb
|
124
125
|
- lib/mpxj/poi-3.16.jar
|
125
126
|
- lib/mpxj/project.rb
|
126
127
|
- lib/mpxj/properties.rb
|