relaton-3gpp 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_3gpp/parser.rb +19 -14
- data/lib/relaton_3gpp/release.rb +1 -1
- data/lib/relaton_3gpp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af19a7b45a0d67db44cc1678a818f841c547f5ef600572b60c687880c1fc5e4c
|
4
|
+
data.tar.gz: 201c0eecf2e2b95617b6e0cc52125e64a1b2e985a70a24694fed488c20dde864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f45499052e82453314a19cfc903b88929af2ce0c64afa4101f67b892f4170903902b681ca912025cc6fda2306f03a694fcbfaf034667e93ce26180296ca02a
|
7
|
+
data.tar.gz: 22e846ea7686f0d5e91d79096501b7546830298f5c8611667b1e65bea43efc78b8594c1da8999ca9a92f5661da85c83eae810389bebf30a8155638be54b90c2d
|
data/lib/relaton_3gpp/parser.rb
CHANGED
@@ -207,25 +207,30 @@ module Relaton3gpp
|
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
210
|
+
#
|
211
|
+
# Parse release
|
212
|
+
#
|
213
|
+
# @return [Relaton3gpp::Release, nil] release
|
214
|
+
#
|
210
215
|
def parse_release # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
211
216
|
if @rel
|
212
217
|
project_start = Date.parse(@rel[:"rel-proj-start"]).to_s if @rel[:"rel-proj-start"]
|
213
218
|
project_end = Date.parse(@rel[:"rel-proj-end"]).to_s if @rel[:"rel-proj-end"]
|
219
|
+
Release.new(
|
220
|
+
version2g: @rel[:version_2g],
|
221
|
+
version3g: @rel[:version_3g],
|
222
|
+
defunct: @rel[:defunct] == "1",
|
223
|
+
wpm_code_2g: @rel[:wpm_code_2g],
|
224
|
+
wpm_code_3g: @rel[:wpm_code_3g],
|
225
|
+
freeze_meeting: @rel[:"freeze meeting"],
|
226
|
+
freeze_stage1_meeting: @rel[:Stage1_freeze],
|
227
|
+
freeze_stage2_meeting: @rel[:Stage2_freeze],
|
228
|
+
freeze_stage3_meeting: @rel[:Stage3_freeze],
|
229
|
+
close_meeting: @rel[:Closed],
|
230
|
+
project_start: project_start,
|
231
|
+
project_end: project_end,
|
232
|
+
)
|
214
233
|
end
|
215
|
-
Release.new(
|
216
|
-
version2g: @rel[:version_2g],
|
217
|
-
version3g: @rel[:version_3g],
|
218
|
-
defunct: @rel[:defunct] == "1",
|
219
|
-
wpm_code_2g: @rel[:wpm_code_2g],
|
220
|
-
wpm_code_3g: @rel[:wpm_code_3g],
|
221
|
-
freeze_meeting: @rel[:"freeze meeting"],
|
222
|
-
freeze_stage1_meeting: @rel[:Stage1_freeze],
|
223
|
-
freeze_stage2_meeting: @rel[:Stage2_freeze],
|
224
|
-
freeze_stage3_meeting: @rel[:Stage3_freeze],
|
225
|
-
close_meeting: @rel[:Closed],
|
226
|
-
project_start: project_start,
|
227
|
-
project_end: project_end,
|
228
|
-
)
|
229
234
|
end
|
230
235
|
|
231
236
|
#
|
data/lib/relaton_3gpp/release.rb
CHANGED
@@ -39,7 +39,7 @@ module Relaton3gpp
|
|
39
39
|
builder.release do
|
40
40
|
builder.version2G @version2g if @version2g
|
41
41
|
builder.version3G @version3g if @version3g
|
42
|
-
builder.defunct @defunct
|
42
|
+
builder.defunct @defunct unless @defunct.nil?
|
43
43
|
builder.send "wpm-code-2G", @wpm_code_2g if @wpm_code_2g
|
44
44
|
builder.send "wpm-code-3G", @wpm_code_3g if @wpm_code_3g
|
45
45
|
builder.send "freeze-meeting", @freeze_meeting if @freeze_meeting
|
data/lib/relaton_3gpp/version.rb
CHANGED