mpxj 12.4.0 → 12.5.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.
Potentially problematic release.
This version of mpxj might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/mpxj/assignment_methods.rb +32 -0
- data/lib/mpxj/mpxj.jar +0 -0
- data/lib/mpxj/property_methods.rb +216 -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: 5366ab3a45ffe3074c47c317825be7c3d979a8511474c8f4b0e9ddc4ec38dbc1
|
4
|
+
data.tar.gz: 4cd841db59416e15d5aecf23f116c901b3571864254b9ef996f1eec1c88d7050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 283c3cff6ca1a6c306b79cd59c98115d9f4d8647e39d90f21082a321583b375c88df693a57312fa077e1fe87892f34ca02ded81dc5210b3faabb0ab585ca8400
|
7
|
+
data.tar.gz: d8315ba02128f3125d5834deea15802dd4376a72251cc88eca0282b49913ef8fabf2702446164168ef99a0b60f026f174e59846b078cbff9a5888ff5a18319a2
|
@@ -2825,6 +2825,34 @@ module MPXJ
|
|
2825
2825
|
get_float_value(attribute_values['remaining_cost'])
|
2826
2826
|
end
|
2827
2827
|
|
2828
|
+
# Retrieve the Remaining Early Finish value
|
2829
|
+
#
|
2830
|
+
# @return Remaining Early Finish value
|
2831
|
+
def remaining_early_finish
|
2832
|
+
get_date_value(attribute_values['remaining_early_finish'])
|
2833
|
+
end
|
2834
|
+
|
2835
|
+
# Retrieve the Remaining Early Start value
|
2836
|
+
#
|
2837
|
+
# @return Remaining Early Start value
|
2838
|
+
def remaining_early_start
|
2839
|
+
get_date_value(attribute_values['remaining_early_start'])
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
# Retrieve the Remaining Late Finish value
|
2843
|
+
#
|
2844
|
+
# @return Remaining Late Finish value
|
2845
|
+
def remaining_late_finish
|
2846
|
+
get_date_value(attribute_values['remaining_late_finish'])
|
2847
|
+
end
|
2848
|
+
|
2849
|
+
# Retrieve the Remaining Late Start value
|
2850
|
+
#
|
2851
|
+
# @return Remaining Late Start value
|
2852
|
+
def remaining_late_start
|
2853
|
+
get_date_value(attribute_values['remaining_late_start'])
|
2854
|
+
end
|
2855
|
+
|
2828
2856
|
# Retrieve the Remaining Overtime Cost value
|
2829
2857
|
#
|
2830
2858
|
# @return Remaining Overtime Cost value
|
@@ -3901,6 +3929,10 @@ module MPXJ
|
|
3901
3929
|
'rate_source' => :rate_source,
|
3902
3930
|
'regular_work' => :work,
|
3903
3931
|
'remaining_cost' => :currency,
|
3932
|
+
'remaining_early_finish' => :date,
|
3933
|
+
'remaining_early_start' => :date,
|
3934
|
+
'remaining_late_finish' => :date,
|
3935
|
+
'remaining_late_start' => :date,
|
3904
3936
|
'remaining_overtime_cost' => :currency,
|
3905
3937
|
'remaining_overtime_work' => :work,
|
3906
3938
|
'remaining_work' => :work,
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
@@ -4,6 +4,34 @@ module MPXJ
|
|
4
4
|
base.extend(PropertyClassMethods)
|
5
5
|
end
|
6
6
|
|
7
|
+
# Retrieve the Activity ID Increment value
|
8
|
+
#
|
9
|
+
# @return Activity ID Increment value
|
10
|
+
def activity_id_increment
|
11
|
+
get_integer_value(attribute_values['activity_id_increment'])
|
12
|
+
end
|
13
|
+
|
14
|
+
# Retrieve the Activity ID Increment Based On Selected Activity value
|
15
|
+
#
|
16
|
+
# @return Activity ID Increment Based On Selected Activity value
|
17
|
+
def activity_id_increment_based_on_selected_activity
|
18
|
+
get_boolean_value(attribute_values['activity_id_increment_based_on_selected_activity'])
|
19
|
+
end
|
20
|
+
|
21
|
+
# Retrieve the Activity ID Prefix value
|
22
|
+
#
|
23
|
+
# @return Activity ID Prefix value
|
24
|
+
def activity_id_prefix
|
25
|
+
attribute_values['activity_id_prefix']
|
26
|
+
end
|
27
|
+
|
28
|
+
# Retrieve the Activity ID Suffix value
|
29
|
+
#
|
30
|
+
# @return Activity ID Suffix value
|
31
|
+
def activity_id_suffix
|
32
|
+
get_integer_value(attribute_values['activity_id_suffix'])
|
33
|
+
end
|
34
|
+
|
7
35
|
# Retrieve the Actuals In Sync value
|
8
36
|
#
|
9
37
|
# @return Actuals In Sync value
|
@@ -221,6 +249,20 @@ module MPXJ
|
|
221
249
|
get_date_value(attribute_values['baseline_start'])
|
222
250
|
end
|
223
251
|
|
252
|
+
# Retrieve the Baseline Type Name value
|
253
|
+
#
|
254
|
+
# @return Baseline Type Name value
|
255
|
+
def baseline_type_name
|
256
|
+
attribute_values['baseline_type_name']
|
257
|
+
end
|
258
|
+
|
259
|
+
# Retrieve the Baseline Type Name value
|
260
|
+
#
|
261
|
+
# @return Baseline Type Name value
|
262
|
+
def baseline_type_unique_id
|
263
|
+
get_integer_value(attribute_values['baseline_type_unique_id'])
|
264
|
+
end
|
265
|
+
|
224
266
|
# Retrieve the Baseline Work value
|
225
267
|
#
|
226
268
|
# @return Baseline Work value
|
@@ -228,6 +270,27 @@ module MPXJ
|
|
228
270
|
get_duration_value(attribute_values['baseline_work'])
|
229
271
|
end
|
230
272
|
|
273
|
+
# Retrieve the Calculate Float on Finish Date of Each Project value
|
274
|
+
#
|
275
|
+
# @return Calculate Float on Finish Date of Each Project value
|
276
|
+
def calculate_float_based_on_finish_date_of_each_project
|
277
|
+
get_boolean_value(attribute_values['calculate_float_based_on_finish_date_of_each_project'])
|
278
|
+
end
|
279
|
+
|
280
|
+
# Retrieve the Calculate Multiple Float Paths value
|
281
|
+
#
|
282
|
+
# @return Calculate Multiple Float Paths value
|
283
|
+
def calculate_multiple_float_paths
|
284
|
+
get_boolean_value(attribute_values['calculate_multiple_float_paths'])
|
285
|
+
end
|
286
|
+
|
287
|
+
# Retrieve the Calculate Multiple Paths Using Total Float value
|
288
|
+
#
|
289
|
+
# @return Calculate Multiple Paths Using Total Float value
|
290
|
+
def calculate_multiple_float_paths_using_total_float
|
291
|
+
get_boolean_value(attribute_values['calculate_multiple_float_paths_using_total_float'])
|
292
|
+
end
|
293
|
+
|
231
294
|
# Retrieve the Category value
|
232
295
|
#
|
233
296
|
# @return Category value
|
@@ -249,6 +312,27 @@ module MPXJ
|
|
249
312
|
attribute_values['company']
|
250
313
|
end
|
251
314
|
|
315
|
+
# Retrieve the Compute Start to Start Lag From Early Start value
|
316
|
+
#
|
317
|
+
# @return Compute Start to Start Lag From Early Start value
|
318
|
+
def compute_start_to_start_lag_from_early_start
|
319
|
+
get_boolean_value(attribute_values['compute_start_to_start_lag_from_early_start'])
|
320
|
+
end
|
321
|
+
|
322
|
+
# Retrieve the Consider Assignments In Other Projects value
|
323
|
+
#
|
324
|
+
# @return Consider Assignments In Other Projects value
|
325
|
+
def consider_assignments_in_other_projects
|
326
|
+
get_boolean_value(attribute_values['consider_assignments_in_other_projects'])
|
327
|
+
end
|
328
|
+
|
329
|
+
# Retrieve the Consider Assignments In Other Project With Priority Equal or Higher Than value
|
330
|
+
#
|
331
|
+
# @return Consider Assignments In Other Project With Priority Equal or Higher Than value
|
332
|
+
def consider_assignments_in_other_projects_with_priority_equal_higher_than
|
333
|
+
get_integer_value(attribute_values['consider_assignments_in_other_projects_with_priority_equal_higher_than'])
|
334
|
+
end
|
335
|
+
|
252
336
|
# Retrieve the Content Status value
|
253
337
|
#
|
254
338
|
# @return Content Status value
|
@@ -333,6 +417,13 @@ module MPXJ
|
|
333
417
|
attribute_values['custom_properties']
|
334
418
|
end
|
335
419
|
|
420
|
+
# Retrieve the Date Date and Planned Start Set To Project Forecast Start value
|
421
|
+
#
|
422
|
+
# @return Date Date and Planned Start Set To Project Forecast Start value
|
423
|
+
def data_date_and_planned_start_set_to_project_forecast_start
|
424
|
+
get_boolean_value(attribute_values['data_date_and_planned_start_set_to_project_forecast_start'])
|
425
|
+
end
|
426
|
+
|
336
427
|
# Retrieve the Date Format value
|
337
428
|
#
|
338
429
|
# @return Date Format value
|
@@ -445,6 +536,13 @@ module MPXJ
|
|
445
536
|
attribute_values['default_work_units']
|
446
537
|
end
|
447
538
|
|
539
|
+
# Retrieve the Calculate Multiple Float Paths Ending With Activity Unique ID value
|
540
|
+
#
|
541
|
+
# @return Calculate Multiple Float Paths Ending With Activity Unique ID value
|
542
|
+
def display_multiple_float_paths_ending_with_activity_unique_id
|
543
|
+
get_integer_value(attribute_values['display_multiple_float_paths_ending_with_activity_unique_id'])
|
544
|
+
end
|
545
|
+
|
448
546
|
# Retrieve the Document Version value
|
449
547
|
#
|
450
548
|
# @return Document Version value
|
@@ -564,6 +662,13 @@ module MPXJ
|
|
564
662
|
attribute_values['hyperlink_base']
|
565
663
|
end
|
566
664
|
|
665
|
+
# Retrieve the Ignore Relationships To And From Other Projects value
|
666
|
+
#
|
667
|
+
# @return Ignore Relationships To And From Other Projects value
|
668
|
+
def ignore_relationships_to_and_from_other_projects
|
669
|
+
get_boolean_value(attribute_values['ignore_relationships_to_and_from_other_projects'])
|
670
|
+
end
|
671
|
+
|
567
672
|
# Retrieve the Inserted Projects Like Summary value
|
568
673
|
#
|
569
674
|
# @return Inserted Projects Like Summary value
|
@@ -599,6 +704,13 @@ module MPXJ
|
|
599
704
|
attribute_values['last_author']
|
600
705
|
end
|
601
706
|
|
707
|
+
# Retrieve the Last Baseline Update Date value
|
708
|
+
#
|
709
|
+
# @return Last Baseline Update Date value
|
710
|
+
def last_baseline_update_date
|
711
|
+
get_date_value(attribute_values['last_baseline_update_date'])
|
712
|
+
end
|
713
|
+
|
602
714
|
# Retrieve the Last Saved value
|
603
715
|
#
|
604
716
|
# @return Last Saved value
|
@@ -606,6 +718,34 @@ module MPXJ
|
|
606
718
|
get_date_value(attribute_values['last_saved'])
|
607
719
|
end
|
608
720
|
|
721
|
+
# Retrieve the Leveling Priorities value
|
722
|
+
#
|
723
|
+
# @return Leveling Priorities value
|
724
|
+
def leveling_priorities
|
725
|
+
attribute_values['leveling_priorities']
|
726
|
+
end
|
727
|
+
|
728
|
+
# Retrieve the Level All Resources value
|
729
|
+
#
|
730
|
+
# @return Level All Resources value
|
731
|
+
def level_all_resources
|
732
|
+
get_boolean_value(attribute_values['level_all_resources'])
|
733
|
+
end
|
734
|
+
|
735
|
+
# Retrieve the Level Resources Only Within Activity Total Float value
|
736
|
+
#
|
737
|
+
# @return Level Resources Only Within Activity Total Float value
|
738
|
+
def level_resources_only_within_activity_total_float
|
739
|
+
get_boolean_value(attribute_values['level_resources_only_within_activity_total_float'])
|
740
|
+
end
|
741
|
+
|
742
|
+
# Retrieve the Limit Number of Float Paths to Calculate value
|
743
|
+
#
|
744
|
+
# @return Limit Number of Float Paths to Calculate value
|
745
|
+
def limit_number_of_float_paths_to_calculate
|
746
|
+
get_boolean_value(attribute_values['limit_number_of_float_paths_to_calculate'])
|
747
|
+
end
|
748
|
+
|
609
749
|
# Retrieve the Location Unique ID value
|
610
750
|
#
|
611
751
|
# @return Location Unique ID value
|
@@ -613,6 +753,13 @@ module MPXJ
|
|
613
753
|
get_integer_value(attribute_values['location_unique_id'])
|
614
754
|
end
|
615
755
|
|
756
|
+
# Retrieve the Make Open Ended Activities Critical value
|
757
|
+
#
|
758
|
+
# @return Make Open Ended Activities Critical value
|
759
|
+
def make_open_ended_activities_critical
|
760
|
+
get_boolean_value(attribute_values['make_open_ended_activities_critical'])
|
761
|
+
end
|
762
|
+
|
616
763
|
# Retrieve the Manager value
|
617
764
|
#
|
618
765
|
# @return Manager value
|
@@ -620,6 +767,20 @@ module MPXJ
|
|
620
767
|
attribute_values['manager']
|
621
768
|
end
|
622
769
|
|
770
|
+
# Retrieve the Number of Float Paths to Calculate value
|
771
|
+
#
|
772
|
+
# @return Number of Float Paths to Calculate value
|
773
|
+
def maximum_number_of_float_paths_to_calculate
|
774
|
+
get_integer_value(attribute_values['maximum_number_of_float_paths_to_calculate'])
|
775
|
+
end
|
776
|
+
|
777
|
+
# Retrieve the Maximum Percentage to Overallocate Resources value
|
778
|
+
#
|
779
|
+
# @return Maximum Percentage to Overallocate Resources value
|
780
|
+
def max_percent_to_overallocate_resources
|
781
|
+
get_float_value(attribute_values['max_percent_to_overallocate_resources'])
|
782
|
+
end
|
783
|
+
|
623
784
|
# Retrieve the Microsoft Project Server URL value
|
624
785
|
#
|
625
786
|
# @return Microsoft Project Server URL value
|
@@ -795,6 +956,20 @@ module MPXJ
|
|
795
956
|
attribute_values['presentation_format']
|
796
957
|
end
|
797
958
|
|
959
|
+
# Retrieve the Preserve Minimum Float When Leveling value
|
960
|
+
#
|
961
|
+
# @return Preserve Minimum Float When Leveling value
|
962
|
+
def preserve_minimum_float_when_leveling
|
963
|
+
get_duration_value(attribute_values['preserve_minimum_float_when_leveling'])
|
964
|
+
end
|
965
|
+
|
966
|
+
# Retrieve the Preserve Scheduled Early and Late Dates value
|
967
|
+
#
|
968
|
+
# @return Preserve Scheduled Early and Late Dates value
|
969
|
+
def preserve_scheduled_early_and_late_dates
|
970
|
+
get_boolean_value(attribute_values['preserve_scheduled_early_and_late_dates'])
|
971
|
+
end
|
972
|
+
|
798
973
|
# Retrieve the Project Externally Edited value
|
799
974
|
#
|
800
975
|
# @return Project Externally Edited value
|
@@ -865,6 +1040,13 @@ module MPXJ
|
|
865
1040
|
attribute_values['schedule_from']
|
866
1041
|
end
|
867
1042
|
|
1043
|
+
# Retrieve the When Scheduling Progressed Activities Use value
|
1044
|
+
#
|
1045
|
+
# @return When Scheduling Progressed Activities Use value
|
1046
|
+
def scheduling_progressed_activities
|
1047
|
+
attribute_values['scheduling_progressed_activities']
|
1048
|
+
end
|
1049
|
+
|
868
1050
|
# Retrieve the Short Application Name value
|
869
1051
|
#
|
870
1052
|
# @return Short Application Name value
|
@@ -977,6 +1159,13 @@ module MPXJ
|
|
977
1159
|
get_boolean_value(attribute_values['updating_task_status_updates_resource_status'])
|
978
1160
|
end
|
979
1161
|
|
1162
|
+
# Retrieve the Use Expected Finish Dates value
|
1163
|
+
#
|
1164
|
+
# @return Use Expected Finish Dates value
|
1165
|
+
def use_expected_finish_dates
|
1166
|
+
get_boolean_value(attribute_values['use_expected_finish_dates'])
|
1167
|
+
end
|
1168
|
+
|
980
1169
|
# Retrieve the WBS Code Separator value
|
981
1170
|
#
|
982
1171
|
# @return WBS Code Separator value
|
@@ -1006,6 +1195,10 @@ module MPXJ
|
|
1006
1195
|
end
|
1007
1196
|
|
1008
1197
|
ATTRIBUTE_TYPES = {
|
1198
|
+
'activity_id_increment' => :integer,
|
1199
|
+
'activity_id_increment_based_on_selected_activity' => :boolean,
|
1200
|
+
'activity_id_prefix' => :string,
|
1201
|
+
'activity_id_suffix' => :integer,
|
1009
1202
|
'actuals_in_sync' => :boolean,
|
1010
1203
|
'actual_cost' => :currency,
|
1011
1204
|
'actual_duration' => :duration,
|
@@ -1037,10 +1230,18 @@ module MPXJ
|
|
1037
1230
|
'baseline_for_earned_value' => :integer,
|
1038
1231
|
'baseline_project_unique_id' => :integer,
|
1039
1232
|
'baseline_start' => :date,
|
1233
|
+
'baseline_type_name' => :string,
|
1234
|
+
'baseline_type_unique_id' => :integer,
|
1040
1235
|
'baseline_work' => :work,
|
1236
|
+
'calculate_float_based_on_finish_date_of_each_project' => :boolean,
|
1237
|
+
'calculate_multiple_float_paths' => :boolean,
|
1238
|
+
'calculate_multiple_float_paths_using_total_float' => :boolean,
|
1041
1239
|
'category' => :string,
|
1042
1240
|
'comments' => :string,
|
1043
1241
|
'company' => :string,
|
1242
|
+
'compute_start_to_start_lag_from_early_start' => :boolean,
|
1243
|
+
'consider_assignments_in_other_projects' => :boolean,
|
1244
|
+
'consider_assignments_in_other_projects_with_priority_equal_higher_than' => :integer,
|
1044
1245
|
'content_status' => :string,
|
1045
1246
|
'content_type' => :string,
|
1046
1247
|
'cost' => :currency,
|
@@ -1053,6 +1254,7 @@ module MPXJ
|
|
1053
1254
|
'currency_symbol_position' => :currency_symbol_position,
|
1054
1255
|
'current_date' => :date,
|
1055
1256
|
'custom_properties' => :map,
|
1257
|
+
'data_date_and_planned_start_set_to_project_forecast_start' => :boolean,
|
1056
1258
|
'date_format' => :project_date_format,
|
1057
1259
|
'date_order' => :date_order,
|
1058
1260
|
'date_separator' => :char,
|
@@ -1069,6 +1271,7 @@ module MPXJ
|
|
1069
1271
|
'default_task_earned_value_method' => :earned_value_method,
|
1070
1272
|
'default_task_type' => :task_type,
|
1071
1273
|
'default_work_units' => :time_units,
|
1274
|
+
'display_multiple_float_paths_ending_with_activity_unique_id' => :integer,
|
1072
1275
|
'document_version' => :string,
|
1073
1276
|
'duration' => :duration,
|
1074
1277
|
'earned_value_method' => :earned_value_method,
|
@@ -1086,14 +1289,23 @@ module MPXJ
|
|
1086
1289
|
'guid' => :guid,
|
1087
1290
|
'honor_constraints' => :boolean,
|
1088
1291
|
'hyperlink_base' => :string,
|
1292
|
+
'ignore_relationships_to_and_from_other_projects' => :boolean,
|
1089
1293
|
'inserted_projects_like_summary' => :boolean,
|
1090
1294
|
'keywords' => :string,
|
1091
1295
|
'language' => :string,
|
1092
1296
|
'lastprinted' => :date,
|
1093
1297
|
'last_author' => :string,
|
1298
|
+
'last_baseline_update_date' => :date,
|
1094
1299
|
'last_saved' => :date,
|
1300
|
+
'leveling_priorities' => :string,
|
1301
|
+
'level_all_resources' => :boolean,
|
1302
|
+
'level_resources_only_within_activity_total_float' => :boolean,
|
1303
|
+
'limit_number_of_float_paths_to_calculate' => :boolean,
|
1095
1304
|
'location_unique_id' => :integer,
|
1305
|
+
'make_open_ended_activities_critical' => :boolean,
|
1096
1306
|
'manager' => :string,
|
1307
|
+
'maximum_number_of_float_paths_to_calculate' => :integer,
|
1308
|
+
'max_percent_to_overallocate_resources' => :numeric,
|
1097
1309
|
'microsoft_project_server_url' => :boolean,
|
1098
1310
|
'minutes_per_day' => :integer,
|
1099
1311
|
'minutes_per_month' => :integer,
|
@@ -1119,6 +1331,8 @@ module MPXJ
|
|
1119
1331
|
'planned_start' => :date,
|
1120
1332
|
'pm_text' => :string,
|
1121
1333
|
'presentation_format' => :string,
|
1334
|
+
'preserve_minimum_float_when_leveling' => :duration,
|
1335
|
+
'preserve_scheduled_early_and_late_dates' => :boolean,
|
1122
1336
|
'project_externally_edited' => :boolean,
|
1123
1337
|
'project_file_path' => :string,
|
1124
1338
|
'project_id' => :string,
|
@@ -1129,6 +1343,7 @@ module MPXJ
|
|
1129
1343
|
'revision' => :integer,
|
1130
1344
|
'scheduled_finish' => :date,
|
1131
1345
|
'schedule_from' => :schedule_from,
|
1346
|
+
'scheduling_progressed_activities' => :scheduling_progressed_activities,
|
1132
1347
|
'short_application_name' => :string,
|
1133
1348
|
'show_project_summary_task' => :boolean,
|
1134
1349
|
'split_in_progress_tasks' => :boolean,
|
@@ -1145,6 +1360,7 @@ module MPXJ
|
|
1145
1360
|
'total_slack_calculation_type' => :total_slack_type,
|
1146
1361
|
'unique_id' => :integer,
|
1147
1362
|
'updating_task_status_updates_resource_status' => :boolean,
|
1363
|
+
'use_expected_finish_dates' => :boolean,
|
1148
1364
|
'wbs_code_separator' => :string,
|
1149
1365
|
'week_start_day' => :day,
|
1150
1366
|
'work' => :work,
|
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: 12.
|
4
|
+
version: 12.5.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: 2023-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|