mpxj 13.0.2 → 13.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -18
- data/lib/mpxj/SparseBitSet-1.3.jar +0 -0
- data/lib/mpxj/assignment_methods.rb +8 -0
- data/lib/mpxj/commons-codec-1.17.0.jar +0 -0
- data/lib/mpxj/commons-io-2.16.1.jar +0 -0
- data/lib/mpxj/log4j-api-2.23.1.jar +0 -0
- data/lib/mpxj/mpxj.jar +0 -0
- data/lib/mpxj/{poi-5.2.2.jar → poi-5.3.0.jar} +0 -0
- data/lib/mpxj/property_methods.rb +16 -0
- data/lib/mpxj/version.rb +1 -1
- metadata +9 -9
- data/lib/mpxj/SparseBitSet-1.2.jar +0 -0
- data/lib/mpxj/commons-codec-1.15.jar +0 -0
- data/lib/mpxj/commons-io-2.11.0.jar +0 -0
- data/lib/mpxj/log4j-api-2.17.2.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dfbe1d18f7b2643e7819bf69ed329cd7277c12da2468499ec6f5d2e0eb70a3b
|
4
|
+
data.tar.gz: 5de29f30dcf1b690c44e319f30a302c3d9ca592aabe3d6b41e31aba0bc1a82b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc41908914688f9119755b1788266ddc5268554976f45ef320bd9fdd3c448e1606cd6dece3ac93ec8255441a1157695a16452a80c29ec5352dca4e2800b069d
|
7
|
+
data.tar.gz: 3db22f92a6f48af525318b599f8450deadc7c6781ff5dfb31e62a7f0548665958544deae3a18c64264056e05f51795d4732426d5c675e7f0219e9a3dee9075dc
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
This gem allows a Ruby developer to work with a read-only view of project plans
|
4
4
|
saved by a number of popular project planning applications. The work required to
|
5
5
|
read data from these files is actually carried out by a
|
6
|
-
[Java library](
|
6
|
+
[Java library](https://mpxj.org), hence you will need Java installed and
|
7
7
|
available on your path in order to work with this gem. Once the project data has
|
8
8
|
been read from a file, a set of Ruby objects provides access to the structure of
|
9
9
|
the project plan and its attributes.
|
@@ -32,18 +32,7 @@ You'll find details of what has changed in this version
|
|
32
32
|
|
33
33
|
## Supported File Types
|
34
34
|
|
35
|
-
|
36
|
-
is reading. The list below shows the supported file extensions:
|
37
|
-
|
38
|
-
* **MPP** - Microsoft Project MPP file
|
39
|
-
* **MPT** - Microsoft Project template file
|
40
|
-
* **MPX** - Microsoft Project MPX file
|
41
|
-
* **XML** - Microsoft Project MSPDI (XML) file
|
42
|
-
* **MPD** - Microsoft Project database (only when the gem is used on Microsoft Windows)
|
43
|
-
* **PLANNER** - Gnome Planner
|
44
|
-
* **XER** - Primavera XER file
|
45
|
-
* **PMXML** - Primavera PMXML file
|
46
|
-
* **PP** - Asta Powerproject file
|
35
|
+
Full details of the supported file formats can be found [here](https://www.mpxj.org/supported-formats/).
|
47
36
|
|
48
37
|
## Example Code
|
49
38
|
|
@@ -80,8 +69,4 @@ A **Project** contains **Resource**s and **Task**s. Each **Resource** can be
|
|
80
69
|
them which are represented as **Relation**s.
|
81
70
|
|
82
71
|
## Acknowledgements
|
83
|
-
|
84
|
-
[http://poi.apache.org](http://poi.apache.org/)
|
85
|
-
|
86
|
-
This gem includes functionality provided by RTF Parser Kit
|
87
|
-
[https://github.com/joniles/rtfparserkit](https://github.com/joniles/rtfparserkit/)
|
72
|
+
Acknowledgements for this library can be found [here](https://www.mpxj.org/#acknowledgements).
|
Binary file
|
@@ -2818,6 +2818,13 @@ module MPXJ
|
|
2818
2818
|
get_duration_value(attribute_values['regular_work'])
|
2819
2819
|
end
|
2820
2820
|
|
2821
|
+
# Retrieve the Remaining Assignment Units value
|
2822
|
+
#
|
2823
|
+
# @return Remaining Assignment Units value
|
2824
|
+
def remaining_assignment_units
|
2825
|
+
get_float_value(attribute_values['remaining_assignment_units'])
|
2826
|
+
end
|
2827
|
+
|
2821
2828
|
# Retrieve the Remaining Cost value
|
2822
2829
|
#
|
2823
2830
|
# @return Remaining Cost value
|
@@ -3928,6 +3935,7 @@ module MPXJ
|
|
3928
3935
|
'rate_index' => :integer,
|
3929
3936
|
'rate_source' => :rate_source,
|
3930
3937
|
'regular_work' => :work,
|
3938
|
+
'remaining_assignment_units' => :units,
|
3931
3939
|
'remaining_cost' => :currency,
|
3932
3940
|
'remaining_early_finish' => :date,
|
3933
3941
|
'remaining_early_start' => :date,
|
Binary file
|
Binary file
|
Binary file
|
data/lib/mpxj/mpxj.jar
CHANGED
Binary file
|
Binary file
|
@@ -935,6 +935,13 @@ module MPXJ
|
|
935
935
|
get_boolean_value(attribute_values['new_task_start_is_project_start'])
|
936
936
|
end
|
937
937
|
|
938
|
+
# Retrieve the Notes value
|
939
|
+
#
|
940
|
+
# @return Notes value
|
941
|
+
def notes
|
942
|
+
attribute_values['notes']
|
943
|
+
end
|
944
|
+
|
938
945
|
# Retrieve the Percentage Complete value
|
939
946
|
#
|
940
947
|
# @return Percentage Complete value
|
@@ -1012,6 +1019,13 @@ module MPXJ
|
|
1012
1019
|
attribute_values['project_title']
|
1013
1020
|
end
|
1014
1021
|
|
1022
|
+
# Retrieve the Project Website URL value
|
1023
|
+
#
|
1024
|
+
# @return Project Website URL value
|
1025
|
+
def project_website_url
|
1026
|
+
attribute_values['project_website_url']
|
1027
|
+
end
|
1028
|
+
|
1015
1029
|
# Retrieve the Relationship Lag Calendar value
|
1016
1030
|
#
|
1017
1031
|
# @return Relationship Lag Calendar value
|
@@ -1342,6 +1356,7 @@ module MPXJ
|
|
1342
1356
|
'new_tasks_effort_driven' => :boolean,
|
1343
1357
|
'new_tasks_estimated' => :boolean,
|
1344
1358
|
'new_task_start_is_project_start' => :boolean,
|
1359
|
+
'notes' => :notes,
|
1345
1360
|
'percentage_complete' => :percentage,
|
1346
1361
|
'planned_start' => :date,
|
1347
1362
|
'pm_text' => :string,
|
@@ -1353,6 +1368,7 @@ module MPXJ
|
|
1353
1368
|
'project_id' => :string,
|
1354
1369
|
'project_is_baseline' => :boolean,
|
1355
1370
|
'project_title' => :string,
|
1371
|
+
'project_website_url' => :string,
|
1356
1372
|
'relationship_lag_calendar' => :relationship_lag_calendar,
|
1357
1373
|
'remove_file_properties' => :boolean,
|
1358
1374
|
'resource_pool_file' => :string,
|
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.0
|
4
|
+
version: 13.1.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-07-
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
version: '0'
|
97
97
|
description:
|
98
98
|
email:
|
99
|
-
- jon
|
99
|
+
- jon@timephased.com
|
100
100
|
executables: []
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
@@ -114,13 +114,13 @@ files:
|
|
114
114
|
- legal/licence.sqlite-jdbc.txt
|
115
115
|
- legal/licence.txt
|
116
116
|
- lib/mpxj.rb
|
117
|
-
- lib/mpxj/SparseBitSet-1.
|
117
|
+
- lib/mpxj/SparseBitSet-1.3.jar
|
118
118
|
- lib/mpxj/argument_error.rb
|
119
119
|
- lib/mpxj/assignment.rb
|
120
120
|
- lib/mpxj/assignment_methods.rb
|
121
|
-
- lib/mpxj/commons-codec-1.
|
121
|
+
- lib/mpxj/commons-codec-1.17.0.jar
|
122
122
|
- lib/mpxj/commons-collections4-4.4.jar
|
123
|
-
- lib/mpxj/commons-io-2.
|
123
|
+
- lib/mpxj/commons-io-2.16.1.jar
|
124
124
|
- lib/mpxj/commons-lang3-3.10.jar
|
125
125
|
- lib/mpxj/commons-logging-1.2.jar
|
126
126
|
- lib/mpxj/commons-math3-3.6.1.jar
|
@@ -136,10 +136,10 @@ files:
|
|
136
136
|
- lib/mpxj/jgoodies-common-1.8.1.jar
|
137
137
|
- lib/mpxj/jsoup-1.15.3.jar
|
138
138
|
- lib/mpxj/junit-4.13.1.jar
|
139
|
-
- lib/mpxj/log4j-api-2.
|
139
|
+
- lib/mpxj/log4j-api-2.23.1.jar
|
140
140
|
- lib/mpxj/mpxj.jar
|
141
141
|
- lib/mpxj/password_protected.rb
|
142
|
-
- lib/mpxj/poi-5.
|
142
|
+
- lib/mpxj/poi-5.3.0.jar
|
143
143
|
- lib/mpxj/project.rb
|
144
144
|
- lib/mpxj/properties.rb
|
145
145
|
- lib/mpxj/property_methods.rb
|
@@ -155,7 +155,7 @@ files:
|
|
155
155
|
- lib/mpxj/txw2-3.0.2.jar
|
156
156
|
- lib/mpxj/unknown_error.rb
|
157
157
|
- lib/mpxj/version.rb
|
158
|
-
homepage:
|
158
|
+
homepage: https://mpxj.org
|
159
159
|
licenses:
|
160
160
|
- LGPL-2.1-or-later
|
161
161
|
metadata: {}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|