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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a38b18845629f2e00ec5b3b15b242b6bbd0d07c9b0964d2425c4db3ccdd469f
4
- data.tar.gz: 370e621aacff0df487e3f80aa4cb2984514741d548445e8a264ad84095871905
3
+ metadata.gz: 5db1ee3e3e398451bbcc53704196984abc8b211f8a0f4e076fbeab2651d86e5b
4
+ data.tar.gz: fbab219675f045907b08abadd33fa5ace04d79d29c7360d144da53172040e4cc
5
5
  SHA512:
6
- metadata.gz: b3b5f6aafe3ac5dbd81e3402344266348946c3e4785040841ee15768f260f18ff518b8e9b275b87906433b93536b9b5997640b98a515321dfddf1e0328881158
7
- data.tar.gz: 559e81a40f4ed5a1c1ac71a11a1a126ca2dc9a09bd8a5f11f40c9d663c77e7837317ec1b3d9cc9de7309fd38632afbe640eb8887fe671ccdcacf44d08933d504
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
@@ -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 primary_resource_id
5730
- get_integer_value(attribute_values['primary_resource_id'])
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
- 'primary_resource_id' => :integer,
7747
+ 'primary_resource_unique_id' => :integer,
7756
7748
  'priority' => :priority,
7757
7749
  'project' => :string,
7758
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.12.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.12.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-04-09 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