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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '099b97d3801fe776ec127c99c06c52e42a4bc5d213c5a090c8b531a4c5a66d75'
4
- data.tar.gz: ff2017126459f7a4a5fd8729ab77d6ccbe34d5bd58a9ada75d2bfd3d2f8845ac
3
+ metadata.gz: 5db1ee3e3e398451bbcc53704196984abc8b211f8a0f4e076fbeab2651d86e5b
4
+ data.tar.gz: fbab219675f045907b08abadd33fa5ace04d79d29c7360d144da53172040e4cc
5
5
  SHA512:
6
- metadata.gz: 9f217c1aca8cd0090ca9516783725694b75cd65804d41724001d5f7c4125b6a744c8c52b9647c12b637ed250662f0038538567956b550771b53b0ae7f8e0db2a
7
- data.tar.gz: cbb7f85e77e1bb42ae4572ff74beff3b24799a326339d00db8d4ac0be38bf05d4981a85b75488bb7b0467514641b1b84d4db61fc4ace0a6993ab4075d2b307ef
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} net.sf.mpxj.ruby.GenerateJson \"#{file_name}\" \"#{json_file.path}\" \"#{time_units}\"`
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
@@ -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 primary_resource_id
5716
- get_integer_value(attribute_values['primary_resource_id'])
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
- 'primary_resource_id' => :integer,
7747
+ 'primary_resource_unique_id' => :integer,
7740
7748
  'priority' => :priority,
7741
7749
  'project' => :string,
7742
7750
  'publish' => :boolean,
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.11.0"
4
+ VERSION = "14.0.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.11.0
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-03-10 00:00:00.000000000 Z
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