brreg_grunndata 0.1.2 → 0.1.3

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: ba9648fb746b8215e09be64007face17f81a9feb
4
- data.tar.gz: 2c98f2ea4e49b81a1c9c09ee1ae4181dd759b105
3
+ metadata.gz: 134c845f12d79fce52dd3e8c5372f745957a359d
4
+ data.tar.gz: ef835c8394b64c1ef05d29b4041f3ca9ada014f1
5
5
  SHA512:
6
- metadata.gz: d4ba43368f70634eff7e17be7f41ddb36a983322c6f1dd78a2c009328d1927534800f79ce49e2b5953d5e1584a151e34cd4625fbf08be56b4ed6a9a8c30e0212
7
- data.tar.gz: 3c550fdaef0d49f3d034e5f6cf369b362ec03e2e3f5f8ff070f7820ba4d1112b0856c7edeb794a47c7ca12d9ae44d34143a0aeba97f028236b035fb46be5fcf9
6
+ metadata.gz: 1d36a0ed64874ef3cdd70cdcf4df3f96b2d507f81d812de6cd5dc4f1ab5ff82f08ceed0bd5aae510ca90f0017410f2e32250a714bef972f5182e4d66898ad8e4
7
+ data.tar.gz: 3468b68fc7bfccf72e9e1bbf7c710e9b31089b7b7f15be6f86315bc4ced3712fe3294618e12edfbeda080478b2d3e6c08cfbbb5482c9c4d6d042b79f1a4c0115
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
- ## v.0.1.3 (to be released)
1
+ ## v.0.1.4 (to be released)
2
2
 
3
+ ## v.0.1.3
4
+
5
+ * FIXED: Returned address to_hash includes street attribute.
3
6
 
4
7
  ## v.0.1.2
5
8
 
@@ -23,6 +23,12 @@ module BrregGrunndata
23
23
  def street(separator = ', ')
24
24
  street_parts.join separator
25
25
  end
26
+
27
+ def to_hash
28
+ super.tap do |hash|
29
+ hash[:street] = street
30
+ end
31
+ end
26
32
  end
27
33
  end
28
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrregGrunndata
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brreg_grunndata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thorbjørn Hermansen