mpxj 8.3.1 → 8.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of mpxj might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +125 -125
- data/docs/AssignmentAttributes.md +162 -162
- data/docs/ResourceAttributes.md +201 -201
- data/docs/TaskAttributes.md +318 -318
- data/legal/licence.jsoup.txt +21 -0
- data/lib/mpxj/jsoup-1.13.1.jar +0 -0
- data/lib/mpxj/junit-4.13.1.jar +0 -0
- data/lib/mpxj/mpxj.jar +0 -0
- data/lib/mpxj/reader.rb +7 -7
- data/lib/mpxj/version.rb +1 -1
- metadata +14 -12
- data/lib/mpxj/junit-4.11.jar +0 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2009-2020 Jonathan Hedley <https://jsoup.org/>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
Binary file
|
Binary file
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
data/lib/mpxj/reader.rb
CHANGED
@@ -5,7 +5,7 @@ module MPXJ
|
|
5
5
|
# Used to read a project plan from a file
|
6
6
|
class Reader
|
7
7
|
@@max_memory_size = nil
|
8
|
-
|
8
|
+
|
9
9
|
# Reads a project plan from a file, and returns a Project instance
|
10
10
|
# which provides access to the structure and attributes of the project data.
|
11
11
|
# Note that an optional timezone can be supplied to ensue that all date-time
|
@@ -38,7 +38,7 @@ module MPXJ
|
|
38
38
|
# default maximum memory size is used. The value is either a plain integer number of bytes,
|
39
39
|
# or an integer followed by K, M, or G, e.g. `MPXJ::Reader.max_memory_size="500M"`
|
40
40
|
#
|
41
|
-
# @param value new maximum memory size
|
41
|
+
# @param value new maximum memory size
|
42
42
|
def self.max_memory_size=(value)
|
43
43
|
@@max_memory_size = value
|
44
44
|
end
|
@@ -46,11 +46,11 @@ module MPXJ
|
|
46
46
|
# @private
|
47
47
|
def self.jvm_args
|
48
48
|
args = []
|
49
|
-
args << "-Xmx#{@@max_memory_size}" if @@max_memory_size.present?
|
49
|
+
args << "-Xmx#{@@max_memory_size}" if @@max_memory_size.present?
|
50
50
|
args.join(' ')
|
51
51
|
end
|
52
|
-
|
53
|
-
# @private
|
52
|
+
|
53
|
+
# @private
|
54
54
|
def self.path_separator
|
55
55
|
if windows?
|
56
56
|
";"
|
@@ -63,7 +63,7 @@ module MPXJ
|
|
63
63
|
def self.windows?
|
64
64
|
(/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
|
65
65
|
end
|
66
|
-
|
66
|
+
|
67
67
|
# @private
|
68
68
|
def self.report_error(java_output)
|
69
69
|
if java_output.include?('Conversion Error: ')
|
@@ -75,7 +75,7 @@ module MPXJ
|
|
75
75
|
else
|
76
76
|
raise MPXJ::RuntimeError, message
|
77
77
|
end
|
78
|
-
else
|
78
|
+
else
|
79
79
|
raise MPXJ::UnknownError, "Failed to read file: #{java_output}"
|
80
80
|
end
|
81
81
|
end
|
data/lib/mpxj/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mpxj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.4.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: 2020-
|
11
|
+
date: 2020-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,6 +113,7 @@ files:
|
|
113
113
|
- legal/licence.ikvm.txt
|
114
114
|
- legal/licence.jgoodies.binding.txt
|
115
115
|
- legal/licence.jgoodies.common.txt
|
116
|
+
- legal/licence.jsoup.txt
|
116
117
|
- legal/licence.poi.txt
|
117
118
|
- legal/licence.rtfparserkit.txt
|
118
119
|
- legal/licence.sqlite-jdbc.txt
|
@@ -133,7 +134,8 @@ files:
|
|
133
134
|
- lib/mpxj/jaxb-runtime-2.3.2.jar
|
134
135
|
- lib/mpxj/jgoodies-binding-2.13.0.jar
|
135
136
|
- lib/mpxj/jgoodies-common-1.8.1.jar
|
136
|
-
- lib/mpxj/
|
137
|
+
- lib/mpxj/jsoup-1.13.1.jar
|
138
|
+
- lib/mpxj/junit-4.13.1.jar
|
137
139
|
- lib/mpxj/mpxj.jar
|
138
140
|
- lib/mpxj/password_protected.rb
|
139
141
|
- lib/mpxj/poi-4.1.2.jar
|
@@ -152,7 +154,7 @@ files:
|
|
152
154
|
- lib/mpxj/version.rb
|
153
155
|
homepage: http://mpxj.sf.net
|
154
156
|
licenses:
|
155
|
-
- LGPL
|
157
|
+
- LGPL-2.1-or-later
|
156
158
|
metadata: {}
|
157
159
|
post_install_message:
|
158
160
|
rdoc_options: []
|
data/lib/mpxj/junit-4.11.jar
DELETED
Binary file
|