data_maker 2.3.4 → 2.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32e8c82f895f0dafe395d00d9b6445c44dd2b34c
4
- data.tar.gz: a377267a749b69a3bdd3688ecae86f107a2c55b1
3
+ metadata.gz: 4e8bd10cd1054c7b976126fc61233d7d32f0396c
4
+ data.tar.gz: ff5d8f214ee9e2559a77c6ce12a25e2c24daa44f
5
5
  SHA512:
6
- metadata.gz: 49a5b5a7b006b7d9f1352900adc1fd44d61373472d0210a573b60aa8af53cc51a4fa08c7005abf8621ea7b7e5385ab2e2b3e3718fa88012fc041bd391aea3dce
7
- data.tar.gz: dfdae5b9c90e3f7427c3958e93c9d49eca7115dd8912d9eb594e5482973f39985e75f2d153cdb7643a94390bb22333d5121f85cec7de0f2a3ef447be114cbcf1
6
+ metadata.gz: 237e6cdcb8e942e4843926171692a514ff742b5a1fb3f9c7214bd4e9d217363213231fd7af78e86e12ee5c4a817a3564f117f2079ca34d076ed7c0410168c7b8
7
+ data.tar.gz: ddc7c624da099b0152b8823025d38f4241daa5e79e4dc4e369129837846bc43f6d998212006ef07d5f5f245a05f9146f1448417b3d819f5728bb1744c8363cbc
@@ -76,7 +76,7 @@ module DataMaker
76
76
  generate
77
77
  OpenStruct.new(street_address: street_address,
78
78
  city: translate('city', city),
79
- district: translate('district', district),
79
+ district: (translate('district', district) unless district.nil?),
80
80
  province: translate('province', province),
81
81
  postal_code: postal_code
82
82
  )
@@ -1,3 +1,3 @@
1
1
  module DataMaker
2
- VERSION = '2.3.4'
2
+ VERSION = '2.3.5'
3
3
  end
@@ -5,7 +5,7 @@ RSpec.describe DataMaker do
5
5
 
6
6
  describe "#VERSION" do
7
7
  # For each iteration of a version this would always get changed.
8
- let(:current_version) { "2.3.4" }
8
+ let(:current_version) { "2.3.5" }
9
9
 
10
10
  it { expect(described_class).to be_const_defined(:VERSION) }
11
11
  it { expect(described_class::VERSION).to eq(current_version) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_maker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kareem Gan