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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3dde90217a532390e200d4fc35039d7bc15b975fe183c2eb830c25025c7fa55
4
- data.tar.gz: 2767355041bb1b5d16c85e084f808e64f5ab4a7696ce11d55e7281706d93ed77
3
+ metadata.gz: af19a7b45a0d67db44cc1678a818f841c547f5ef600572b60c687880c1fc5e4c
4
+ data.tar.gz: 201c0eecf2e2b95617b6e0cc52125e64a1b2e985a70a24694fed488c20dde864
5
5
  SHA512:
6
- metadata.gz: 0e7a4e7bb55d8b520be6a4bcd796e76283dd07e70b99f1e1f2d6c275d19412d14d936cec0297d92cf5b232c342f36dd4f11247142116e4a95a7842dc429ef75d
7
- data.tar.gz: 4d235cffb4d8f772e89f532157e648e1c27e3a4483039f51da88307fb9ec8ad639c4acf7c9facc67acae56712053a8852d04a0d3778f4be659f533a7e71ed4d6
6
+ metadata.gz: 70f45499052e82453314a19cfc903b88929af2ce0c64afa4101f67b892f4170903902b681ca912025cc6fda2306f03a694fcbfaf034667e93ce26180296ca02a
7
+ data.tar.gz: 22e846ea7686f0d5e91d79096501b7546830298f5c8611667b1e65bea43efc78b8594c1da8999ca9a92f5661da85c83eae810389bebf30a8155638be54b90c2d
@@ -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
  #
@@ -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 if @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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Relaton3gpp
4
- VERSION = "1.9.1"
4
+ VERSION = "1.9.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-3gpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.