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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52be2f22da175cc36cefb522c38fe00023e9cb637ad3e28775afea8875187a16
4
- data.tar.gz: d0af94ac73697309eff8f067e3bd52f7d87ad62ce40719bca27b76c1d1855a5a
3
+ metadata.gz: 1c8cf902945b120caf9accd4d09eafef0737fb10216de71f84bf7b2ac4b5d651
4
+ data.tar.gz: 1926ce5fd7253cc93fd4f820bf49811e09a849d1013eda357013543117b73e14
5
5
  SHA512:
6
- metadata.gz: 793a6e86a174dc464235a95f4ff491a4ea442c5a57f61ef098091ec222dad816fbf6686d345bc787efac9d1f8e469dd1c98b66fd436f9c977877d07cfd6bb25f
7
- data.tar.gz: fa1d16785cec544afd53b6a291a0e55d5cbaac7411d654ae36662875d39cd4a558c03849e6e0df3b139e3b8f39a2979c37a688a45b0836691782f2036522d5b0
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
@@ -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
@@ -1,5 +1,5 @@
1
1
  # MPXJ gem module
2
2
  module MPXJ
3
3
  # MPXJ gem version number
4
- VERSION = "13.5.0"
4
+ VERSION = "13.6.0"
5
5
  end
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.5.0
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-10-17 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler