brreg_grunndata 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: c9b7d18d5fde8d480b2cd1186a2ccd2bfd1babc3
4
- data.tar.gz: dc4d5fd7c7f983a637192d5b558d75465a17060c
3
+ metadata.gz: 671c0f2d6c14318997f3fb6657c6d630a78b3c01
4
+ data.tar.gz: 64c4f541b3e68a94f482ee41cd272e786a37b189
5
5
  SHA512:
6
- metadata.gz: fc98ed2fa00f9665fe38d787633b4b1fdd13534549a014e174f5033c830410d43ff51f382e00637884b1b21ac10e463164a3209f785678ba99e3f65f37ee5343
7
- data.tar.gz: 94ca7f4727350e74c880b577bba0bc140182ed99ce57cc5c4c83918adaa10445c36b4e7ad61923e57fd2db71f4d8a232910b6a8dc361792eac0cc3c5bb494741
6
+ metadata.gz: cd32ea2e29d31e52fcb8d9ac98251c4a19496e5dc7cc45d1c7f9fce5442416ecec7455f831bb2c6fe849fff15a88b85258fef077272d43ccebd12ca612358bcc
7
+ data.tar.gz: 56d260c79fd2e85a152f093c648dd5f52c51c135324d2b268eb1cf52c8c04b8b4b82fae2cda7f4d00986d3c6cccb3d6ec9b18821a3294b32fafe18254eebcc71
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
- ## v.0.1.5 (to be released)
1
+ ## v.0.1.6 (to be released)
2
+
3
+ ## v.0.1.5
4
+ * FIXED: Issue with service and hent_saerlige_opplysninger when client returned one line.
2
5
 
3
6
  ## v.0.1.4
4
7
 
@@ -65,7 +65,9 @@ module BrregGrunndata
65
65
  end
66
66
 
67
67
  def additional_information(lines)
68
- Array(lines).map do |line|
68
+ lines = [lines].compact.flatten
69
+
70
+ lines.map do |line|
69
71
  AdditionalInformation.new(
70
72
  status_code: line[:@statuskode],
71
73
  description: line[:tekst_linje],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrregGrunndata
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brreg_grunndata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thorbjørn Hermansen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-09 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon