hdo-storting-importer 0.5.9 → 0.6.0

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: 04f4514972814ef1a08de1c48c467be9a244fc29
4
- data.tar.gz: 80ec9a0d74693e86b609b27d41415974be553dbf
3
+ metadata.gz: 226e8eb13ea74698237a2ade9dda8c6280656c91
4
+ data.tar.gz: f9613bb203057093c662e47a4637f0e236574b88
5
5
  SHA512:
6
- metadata.gz: 91dab0f0eb1a338a08b4fdd37867f0e11cc97842c5d573456445e9c125f73de868022bbb5d6756b7aff4e939c796803cf57701691deafd64c5989b31040b471a
7
- data.tar.gz: e9281e3642b8119d3149ee4043c22d913e7d230427b76ae276e5b92b5ea63d259a7a9b3a15ea0b1b129d1a35061d45e68df097dc793038611f2b93aaced9b0bd
6
+ metadata.gz: e75fced2cd7e5d50ce474f78cdfe8669f83dfb35fd55f687fd08ce2a3e46e741a6dafebcef22e2060e025135341816e98d06fb21535ef8533ba793f95b52e57e
7
+ data.tar.gz: fafa13572cb0c05a5cdca2e71d8fdd20359f2477b8602cf3f2d0352d87ede10eeb57f42900c384594f6f9a9b0067fba40ba257da08f19af31783bb51ca153c10
@@ -76,7 +76,7 @@ module Hdo
76
76
  node.css("id").first.text,
77
77
  node.css("fornavn").first.text,
78
78
  node.css("etternavn").first.text,
79
- email,
79
+ email.nil? || email.empty? ? nil : email,
80
80
  node.css("kjoenn").first.text == "mann" ? 'M' : 'F',
81
81
  node.css("foedselsdato").first.text,
82
82
  node.css("doedsdato").first.text,
@@ -1,5 +1,5 @@
1
1
  module Hdo
2
2
  module StortingImporter
3
- VERSION = "0.5.9"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hdo-storting-importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Bakken