mpxj 8.3.4 → 9.0.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/mpxj.jar +0 -0
- data/lib/mpxj/reader.rb +7 -7
- data/lib/mpxj/{rtfparserkit-1.15.0.jar → rtfparserkit-1.16.0.jar} +0 -0
- data/lib/mpxj/version.rb +1 -1
- metadata +6 -4
@@ -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
|
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
|
Binary file
|
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:
|
4
|
+
version: 9.0.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:
|
11
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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,6 +134,7 @@ 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
|
137
|
+
- lib/mpxj/jsoup-1.13.1.jar
|
136
138
|
- lib/mpxj/junit-4.13.1.jar
|
137
139
|
- lib/mpxj/mpxj.jar
|
138
140
|
- lib/mpxj/password_protected.rb
|
@@ -142,7 +144,7 @@ files:
|
|
142
144
|
- lib/mpxj/reader.rb
|
143
145
|
- lib/mpxj/relation.rb
|
144
146
|
- lib/mpxj/resource.rb
|
145
|
-
- lib/mpxj/rtfparserkit-1.
|
147
|
+
- lib/mpxj/rtfparserkit-1.16.0.jar
|
146
148
|
- lib/mpxj/runtime_error.rb
|
147
149
|
- lib/mpxj/sqlite-jdbc-3.30.1.jar
|
148
150
|
- lib/mpxj/stax-ex-1.8.1.jar
|
@@ -169,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
171
|
- !ruby/object:Gem::Version
|
170
172
|
version: '0'
|
171
173
|
requirements: []
|
172
|
-
rubygems_version: 3.
|
174
|
+
rubygems_version: 3.0.6
|
173
175
|
signing_key:
|
174
176
|
specification_version: 4
|
175
177
|
summary: The MPXJ gem allows Ruby applications to work with schedule data from project
|