mpxj 13.12.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 +3 -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
|
@@ -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.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
|