mpxj 13.11.0 → 14.0.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/mpxj.jar +0 -0
- data/lib/mpxj/reader.rb +1 -1
- data/lib/mpxj/relation.rb +7 -8
- data/lib/mpxj/task_methods.rb +19 -11
- data/lib/mpxj/version.rb +1 -1
- metadata +2 -4
- data/legal/licence.ikvm.thirdparty.txt +0 -3385
- data/legal/licence.ikvm.txt +0 -425
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db1ee3e3e398451bbcc53704196984abc8b211f8a0f4e076fbeab2651d86e5b
|
4
|
+
data.tar.gz: fbab219675f045907b08abadd33fa5ace04d79d29c7360d144da53172040e4cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee12a621bb5c253d81696bd0e22e4dfb5c3115fd65d8f0b8743931c6b3bb0074168825e416543749b7affa8bd90d9dd50dfdd45a25dd4480b13af234ff94d88c
|
7
|
+
data.tar.gz: 4ee5650f5a99bc7c50692b35b077404d8fe701ebdc6739429f5026f37e54c57d484bcd814b221fc9b1e2a230314f9f5308c365c5c8feb446c5c6b7936f39233a
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
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
|
@@ -4953,6 +4946,20 @@ module MPXJ
|
|
4953
4946
|
get_boolean_value(attribute_values['flag9'])
|
4954
4947
|
end
|
4955
4948
|
|
4949
|
+
# Retrieve the Float Path value
|
4950
|
+
#
|
4951
|
+
# @return Float Path value
|
4952
|
+
def float_path
|
4953
|
+
get_integer_value(attribute_values['float_path'])
|
4954
|
+
end
|
4955
|
+
|
4956
|
+
# Retrieve the Float Path Order value
|
4957
|
+
#
|
4958
|
+
# @return Float Path Order value
|
4959
|
+
def float_path_order
|
4960
|
+
get_integer_value(attribute_values['float_path_order'])
|
4961
|
+
end
|
4962
|
+
|
4956
4963
|
# Retrieve the Free Slack value
|
4957
4964
|
#
|
4958
4965
|
# @return Free Slack value
|
@@ -5712,8 +5719,8 @@ module MPXJ
|
|
5712
5719
|
# Retrieve the Primary Resource Unique ID value
|
5713
5720
|
#
|
5714
5721
|
# @return Primary Resource Unique ID value
|
5715
|
-
def
|
5716
|
-
get_integer_value(attribute_values['
|
5722
|
+
def primary_resource_unique_id
|
5723
|
+
get_integer_value(attribute_values['primary_resource_unique_id'])
|
5717
5724
|
end
|
5718
5725
|
|
5719
5726
|
# Retrieve the Priority value
|
@@ -6922,7 +6929,6 @@ module MPXJ
|
|
6922
6929
|
|
6923
6930
|
ATTRIBUTE_TYPES = {
|
6924
6931
|
'active' => :boolean,
|
6925
|
-
'activity_codes' => :activity_code_list,
|
6926
6932
|
'activity_code_values' => :activity_code_values,
|
6927
6933
|
'activity_id' => :string,
|
6928
6934
|
'activity_percent_complete' => :percentage,
|
@@ -7628,6 +7634,8 @@ module MPXJ
|
|
7628
7634
|
'flag7' => :boolean,
|
7629
7635
|
'flag8' => :boolean,
|
7630
7636
|
'flag9' => :boolean,
|
7637
|
+
'float_path' => :integer,
|
7638
|
+
'float_path_order' => :integer,
|
7631
7639
|
'free_slack' => :duration,
|
7632
7640
|
'group_by_summary' => :string,
|
7633
7641
|
'guid' => :guid,
|
@@ -7736,7 +7744,7 @@ module MPXJ
|
|
7736
7744
|
'predecessors' => :relation_list,
|
7737
7745
|
'preleveled_finish' => :date,
|
7738
7746
|
'preleveled_start' => :date,
|
7739
|
-
'
|
7747
|
+
'primary_resource_unique_id' => :integer,
|
7740
7748
|
'priority' => :priority,
|
7741
7749
|
'project' => :string,
|
7742
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.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: 2025-
|
11
|
+
date: 2025-05-07 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
|