brreg 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/brreg/version.rb +1 -1
  3. data/lib/brreg.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d20871bf9a0c7bf08e2ee2331ed03bb0ce2a3dd2545d7b28b0c150e57c206e4
4
- data.tar.gz: 6d21f7ba3b987eeb013f3df2e0c3e1116159250f616e20641854381a6c73c832
3
+ metadata.gz: f030c6bfa6dbb92416367190c6a962b14b8db733a7403b30bed03fe1470ac48f
4
+ data.tar.gz: 5ed33a71e28dec02e67af9a9d190a995efb47a1396802969e2967d66c40bb209
5
5
  SHA512:
6
- metadata.gz: '0499839d05a11289b5f09b07f091f4c6c26972e9a3d96a67185ffc87068a5edb41ac0bf23378c4e2f73d0612faf2950c38476dab926173b2d2c3880958d625f2'
7
- data.tar.gz: f2ed13bce171af06b19ea3eefd838dc690943511a1c5a85efeb27523f6287057b13acb643a191d1c8fa9011e80846821fdfc990ef2121fe8614074e6ff4dfffb
6
+ metadata.gz: b239175e3d165b66e319bfbe7cbba4b089605c9bf206ddc5fba68319de2a079623fcae82206afb4e42fb2582e853683319e8a17b505d1bfcb7b7703ea3e5d2eb
7
+ data.tar.gz: 7a64c621a2eb7ed0a84d3b3bf6b318c8f25e446a0103c264cb40942584818484275ed5a18584df3927910a9e3815cd93ba1ae48e8b146022298bb6866a11c2ca
data/lib/brreg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Brreg
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
data/lib/brreg.rb CHANGED
@@ -29,7 +29,7 @@ module Brreg
29
29
  puts company['navn']
30
30
  puts company['forretningsadresse']['adresse']
31
31
  puts company['forretningsadresse']['postnummer'] + ' ' + company['forretningsadresse']['poststed']
32
- if !company['postadresse'].empty?
32
+ if company['postadresse']
33
33
  puts 'Postadresse:'
34
34
  puts company['postadresse']['adresse']
35
35
  puts company['postadresse']['postnummer'] + ' ' + company['postadresse']['poststed']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brreg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espen Antonsen