mpxj 13.12.0 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mpxj/commons-codec-1.18.0.jar +0 -0
- data/lib/mpxj/jackson-core-2.18.3.jar +0 -0
- data/lib/mpxj/mpxj.jar +0 -0
- data/lib/mpxj/{poi-5.4.0.jar → poi-5.4.1.jar} +0 -0
- data/lib/mpxj/property_methods.rb +16 -0
- data/lib/mpxj/reader.rb +1 -1
- data/lib/mpxj/relation.rb +7 -8
- data/lib/mpxj/task_methods.rb +3 -11
- data/lib/mpxj/version.rb +1 -1
- metadata +5 -6
- data/legal/licence.ikvm.thirdparty.txt +0 -3385
- data/legal/licence.ikvm.txt +0 -425
- data/lib/mpxj/commons-codec-1.17.1.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24cd58fbeea49798544982a868e62452f076e7762589020c8263ed1031bbe2e3
|
4
|
+
data.tar.gz: d36d3df19945ea907973572c66a036806aca1a05ba6f446edc5eb203cc378250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8da71a7cb3c679e1ca75ed2b161c26e50ac2482a8e9108fef8e306d82af45b755f01665b3d923af3b6ad0d53d8441843f096d68bbc0de95652ada448dadf3d
|
7
|
+
data.tar.gz: 62291b8babd7291444698114328ab50c27d15611c5d0475e52d2cd69266d4bd2ebd95a7ab8bd5abaa5d3e9855383017a6808665a344a415ad241b004f893840c
|
Binary file
|
Binary file
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
Binary file
|
@@ -585,6 +585,20 @@ module MPXJ
|
|
585
585
|
get_integer_value(attribute_values['editing_time'])
|
586
586
|
end
|
587
587
|
|
588
|
+
# Retrieve the Enable Publication value
|
589
|
+
#
|
590
|
+
# @return Enable Publication value
|
591
|
+
def enable_publication
|
592
|
+
get_boolean_value(attribute_values['enable_publication'])
|
593
|
+
end
|
594
|
+
|
595
|
+
# Retrieve the Enable Summarization value
|
596
|
+
#
|
597
|
+
# @return Enable Summarization value
|
598
|
+
def enable_summarization
|
599
|
+
get_boolean_value(attribute_values['enable_summarization'])
|
600
|
+
end
|
601
|
+
|
588
602
|
# Retrieve the Export Flag value
|
589
603
|
#
|
590
604
|
# @return Export Flag value
|
@@ -1313,6 +1327,8 @@ module MPXJ
|
|
1313
1327
|
'earned_value_method' => :earned_value_method,
|
1314
1328
|
'editable_actual_costs' => :boolean,
|
1315
1329
|
'editing_time' => :integer,
|
1330
|
+
'enable_publication' => :boolean,
|
1331
|
+
'enable_summarization' => :boolean,
|
1316
1332
|
'export_flag' => :boolean,
|
1317
1333
|
'extended_creation_date' => :date,
|
1318
1334
|
'file_application' => :string,
|
data/lib/mpxj/reader.rb
CHANGED
@@ -24,7 +24,7 @@ module MPXJ
|
|
24
24
|
|
25
25
|
begin
|
26
26
|
classpath = "#{File.dirname(__FILE__)}/*"
|
27
|
-
java_output = `java -cp \"#{classpath}\" #{jvm_args}
|
27
|
+
java_output = `java -cp \"#{classpath}\" #{jvm_args} org.mpxj.ruby.GenerateJson \"#{file_name}\" \"#{json_file.path}\" \"#{time_units}\"`
|
28
28
|
if $?.exitstatus != 0
|
29
29
|
report_error(java_output)
|
30
30
|
end
|
data/lib/mpxj/relation.rb
CHANGED
@@ -1,14 +1,6 @@
|
|
1
1
|
module MPXJ
|
2
2
|
# Represents a relationship between two tasks in a project plan
|
3
3
|
class Relation < Container
|
4
|
-
# Retrieve the Task Unique ID value
|
5
|
-
# <b>DEPRECATED:</b> Please use <tt>predecessor_task_unique_id</tt> or <tt>successor_task_unique_id</tt>instead.
|
6
|
-
#
|
7
|
-
# @return Task Unique ID value
|
8
|
-
def task_unique_id
|
9
|
-
get_integer_value(attribute_values['task_unique_id'])
|
10
|
-
end
|
11
|
-
|
12
4
|
# Retrieve the Predecessor Task Unique ID value
|
13
5
|
#
|
14
6
|
# @return Predecessor Task Unique ID value
|
@@ -30,6 +22,13 @@ module MPXJ
|
|
30
22
|
get_duration_value(attribute_values['lag'])
|
31
23
|
end
|
32
24
|
|
25
|
+
# Retrieve the Lag Units value
|
26
|
+
#
|
27
|
+
# @return Lag Units value
|
28
|
+
def lag_units
|
29
|
+
attribute_values['lag_units']
|
30
|
+
end
|
31
|
+
|
33
32
|
# Retrieve the Type value
|
34
33
|
#
|
35
34
|
# @return Type value
|
data/lib/mpxj/task_methods.rb
CHANGED
@@ -11,13 +11,6 @@ module MPXJ
|
|
11
11
|
get_boolean_value(attribute_values['active'])
|
12
12
|
end
|
13
13
|
|
14
|
-
# Retrieve the Activity Codes value
|
15
|
-
#
|
16
|
-
# @return Activity Codes value
|
17
|
-
def activity_codes
|
18
|
-
attribute_values['activity_codes']
|
19
|
-
end
|
20
|
-
|
21
14
|
# Retrieve the Activity Code Values value
|
22
15
|
#
|
23
16
|
# @return Activity Code Values value
|
@@ -5726,8 +5719,8 @@ module MPXJ
|
|
5726
5719
|
# Retrieve the Primary Resource Unique ID value
|
5727
5720
|
#
|
5728
5721
|
# @return Primary Resource Unique ID value
|
5729
|
-
def
|
5730
|
-
get_integer_value(attribute_values['
|
5722
|
+
def primary_resource_unique_id
|
5723
|
+
get_integer_value(attribute_values['primary_resource_unique_id'])
|
5731
5724
|
end
|
5732
5725
|
|
5733
5726
|
# Retrieve the Priority value
|
@@ -6936,7 +6929,6 @@ module MPXJ
|
|
6936
6929
|
|
6937
6930
|
ATTRIBUTE_TYPES = {
|
6938
6931
|
'active' => :boolean,
|
6939
|
-
'activity_codes' => :activity_code_list,
|
6940
6932
|
'activity_code_values' => :activity_code_values,
|
6941
6933
|
'activity_id' => :string,
|
6942
6934
|
'activity_percent_complete' => :percentage,
|
@@ -7752,7 +7744,7 @@ module MPXJ
|
|
7752
7744
|
'predecessors' => :relation_list,
|
7753
7745
|
'preleveled_finish' => :date,
|
7754
7746
|
'preleveled_start' => :date,
|
7755
|
-
'
|
7747
|
+
'primary_resource_unique_id' => :integer,
|
7756
7748
|
'priority' => :priority,
|
7757
7749
|
'project' => :string,
|
7758
7750
|
'publish' => :boolean,
|
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: 14.1.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: 2025-
|
11
|
+
date: 2025-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -104,8 +104,6 @@ files:
|
|
104
104
|
- README.md
|
105
105
|
- bin/console
|
106
106
|
- bin/setup
|
107
|
-
- legal/licence.ikvm.thirdparty.txt
|
108
|
-
- legal/licence.ikvm.txt
|
109
107
|
- legal/licence.jgoodies.binding.txt
|
110
108
|
- legal/licence.jgoodies.common.txt
|
111
109
|
- legal/licence.jsoup.txt
|
@@ -123,7 +121,7 @@ files:
|
|
123
121
|
- lib/mpxj/calendar_exception.rb
|
124
122
|
- lib/mpxj/calendar_hours.rb
|
125
123
|
- lib/mpxj/calendar_week.rb
|
126
|
-
- lib/mpxj/commons-codec-1.
|
124
|
+
- lib/mpxj/commons-codec-1.18.0.jar
|
127
125
|
- lib/mpxj/commons-collections4-4.4.jar
|
128
126
|
- lib/mpxj/commons-io-2.18.0.jar
|
129
127
|
- lib/mpxj/commons-lang3-3.10.jar
|
@@ -133,6 +131,7 @@ files:
|
|
133
131
|
- lib/mpxj/hamcrest-core-1.3.jar
|
134
132
|
- lib/mpxj/istack-commons-runtime-4.0.1.jar
|
135
133
|
- lib/mpxj/jackcess-4.0.1.jar
|
134
|
+
- lib/mpxj/jackson-core-2.18.3.jar
|
136
135
|
- lib/mpxj/jakarta.activation-2.0.1.jar
|
137
136
|
- lib/mpxj/jakarta.xml.bind-api-3.0.1.jar
|
138
137
|
- lib/mpxj/jaxb-core-3.0.2.jar
|
@@ -144,7 +143,7 @@ files:
|
|
144
143
|
- lib/mpxj/log4j-api-2.24.3.jar
|
145
144
|
- lib/mpxj/mpxj.jar
|
146
145
|
- lib/mpxj/password_protected.rb
|
147
|
-
- lib/mpxj/poi-5.4.
|
146
|
+
- lib/mpxj/poi-5.4.1.jar
|
148
147
|
- lib/mpxj/project.rb
|
149
148
|
- lib/mpxj/properties.rb
|
150
149
|
- lib/mpxj/property_methods.rb
|