mpxj 13.5.0 → 13.6.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/relation.rb +16 -1
- data/lib/mpxj/task_methods.rb +8 -0
- data/lib/mpxj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c8cf902945b120caf9accd4d09eafef0737fb10216de71f84bf7b2ac4b5d651
|
4
|
+
data.tar.gz: 1926ce5fd7253cc93fd4f820bf49811e09a849d1013eda357013543117b73e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3519d8d8aa1a7bd331ebe71d88a32b38aac3009637dc1c9a2b8b8b6d446496f4f922c3d6d9c4abbb0277afb16f80dd3ab577957500f2bc8dec612315e3c742f9
|
7
|
+
data.tar.gz: db0ccdf21f2e074fb91a8da72ce9da4b9cc1043fc83a90f7d4e68484e9360a8f56f72e360aeb86b68f1a7dac973d48a725f26c6a2b59f04edbdc5eee9a06cd1d
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
data/lib/mpxj/relation.rb
CHANGED
@@ -2,12 +2,27 @@ module MPXJ
|
|
2
2
|
# Represents a relationship between two tasks in a project plan
|
3
3
|
class Relation < Container
|
4
4
|
# Retrieve the Task Unique ID value
|
5
|
-
#
|
5
|
+
# <b>DEPRECATED:</b> Please use <tt>predecessor_task_unique_id</tt> or <tt>successor_task_unique_id</tt>instead.
|
6
|
+
#
|
6
7
|
# @return Task Unique ID value
|
7
8
|
def task_unique_id
|
8
9
|
get_integer_value(attribute_values['task_unique_id'])
|
9
10
|
end
|
10
11
|
|
12
|
+
# Retrieve the Predecessor Task Unique ID value
|
13
|
+
#
|
14
|
+
# @return Predecessor Task Unique ID value
|
15
|
+
def predecessor_task_unique_id
|
16
|
+
get_integer_value(attribute_values['predecessor_task_unique_id'])
|
17
|
+
end
|
18
|
+
|
19
|
+
# Retrieve the Successor Task Unique ID value
|
20
|
+
#
|
21
|
+
# @return Successor Task Unique ID value
|
22
|
+
def successor_task_unique_id
|
23
|
+
get_integer_value(attribute_values['successor_task_unique_id'])
|
24
|
+
end
|
25
|
+
|
11
26
|
# Retrieve the Lag value
|
12
27
|
#
|
13
28
|
# @return Lag value
|
data/lib/mpxj/task_methods.rb
CHANGED
@@ -25,6 +25,13 @@ module MPXJ
|
|
25
25
|
attribute_values['activity_id']
|
26
26
|
end
|
27
27
|
|
28
|
+
# Retrieve the Activity Percent Complete value
|
29
|
+
#
|
30
|
+
# @return Activity Percent Complete value
|
31
|
+
def activity_percent_complete
|
32
|
+
get_float_value(attribute_values['activity_percent_complete'])
|
33
|
+
end
|
34
|
+
|
28
35
|
# Retrieve the Activity Status value
|
29
36
|
#
|
30
37
|
# @return Activity Status value
|
@@ -6903,6 +6910,7 @@ module MPXJ
|
|
6903
6910
|
'active' => :boolean,
|
6904
6911
|
'activity_codes' => :activity_code_list,
|
6905
6912
|
'activity_id' => :string,
|
6913
|
+
'activity_percent_complete' => :percentage,
|
6906
6914
|
'activity_status' => :activity_status,
|
6907
6915
|
'activity_type' => :activity_type,
|
6908
6916
|
'actual_cost' => :currency,
|
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: 13.
|
4
|
+
version: 13.6.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: 2024-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|