netsuite 0.9.1 → 0.9.2

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
  SHA256:
3
- metadata.gz: 3429c5cb6575fd1e62738eaf1270a0c585d82bc302975e435491af2a8a5dd7b5
4
- data.tar.gz: 41a481e39865f46c5a0b8d61c3ab44e4c547ccfb8cc2de4c9621634ec331eb2e
3
+ metadata.gz: 5aad2f60c62b40aaa3e86460dc81283d470a3293d1568fe41d78e431b3d6ec61
4
+ data.tar.gz: 411b9bbfaa28f9c76ad886245afe83334758d5b3b360d70e405bd1897a0c1a53
5
5
  SHA512:
6
- metadata.gz: df1a9202d4ccdfaff26031b7f1ae957403d374e90115f063ac107e0f59fc890a4b254bc559e06eb87a2768575827bde20917bf00ae4986e52ad48acf0043c45f
7
- data.tar.gz: 07de35d4a530d8decc1344a0ed6cdf1d198260bd3ae84dae45b00e2324837172062fc071c0f3a05bf685423e8a0b4da910e865e7cc00f878098ec125c7dcc5c7
6
+ metadata.gz: 72ace4cda9656efd8592ed824ccb788c136aac912c5d9ec2fac38b817f00658979a29dae19c7a298108be49c9d1c386598a7476e05a61a25a05d18a53232c930
7
+ data.tar.gz: 3fb702a8c3cca1c6896603769027022136b38af973820ae7f098d68f8ec0e4f07f45175d4b4cfd5fb8b189079f7a5ba5255becf166d0640bee5d067430ac3fe4
@@ -240,6 +240,7 @@ module NetSuite
240
240
  'UA' => '_ukraine',
241
241
  'AE' => '_unitedArabEmirates',
242
242
  'GB' => '_unitedKingdom',
243
+ 'UK' => '_unitedKingdom',
243
244
  'US' => '_unitedStates',
244
245
  'UY' => '_uruguay',
245
246
  'UM' => '_uSMinorOutlyingIslands',
@@ -280,12 +281,7 @@ module NetSuite
280
281
  end
281
282
 
282
283
  def iso_to_netsuite
283
- # NOTE GB country code changed on 2016_1
284
- if NetSuite::Configuration.api_version <= "2015_2"
285
- ISO_TO_NETSUITE.merge({ 'GB' => '_unitedKingdomGB' })
286
- else
287
- ISO_TO_NETSUITE
288
- end
284
+ ISO_TO_NETSUITE
289
285
  end
290
286
 
291
287
  end
@@ -1,3 +1,3 @@
1
1
  module NetSuite
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
data/netsuite.gemspec CHANGED
@@ -22,6 +22,6 @@ Gem::Specification.new do |gem|
22
22
 
23
23
  gem.add_dependency 'savon', '>= 2.3.0', '!= 2.13.0'
24
24
 
25
- gem.add_development_dependency 'rspec', '~> 3.11.0'
25
+ gem.add_development_dependency 'rspec', '~> 3.12.0'
26
26
  gem.add_development_dependency 'rake', '~> 12.3.3'
27
27
  end
@@ -134,16 +134,6 @@ describe NetSuite::Records::Address do
134
134
  expect(addressbook.country.to_record).to eql ""
135
135
  expect(addressbook.to_record["platformCommon:country"]).to eql ""
136
136
  end
137
-
138
- it 'changes the netsuite identifier based on the current API version' do
139
- NetSuite::Configuration.api_version = '2015_1'
140
- addressbook = NetSuite::Records::Address.new country: "GB"
141
- expect(addressbook.to_record["platformCommon:country"]).to eql "_unitedKingdomGB"
142
- NetSuite::Configuration.api_version = '2018_1'
143
-
144
- addressbook = NetSuite::Records::Address.new country: "GB"
145
- expect(addressbook.to_record["platformCommon:country"]).to eql "_unitedKingdom"
146
- end
147
137
  end
148
138
 
149
139
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moran
8
8
  - Michael Bianco
9
9
  - Chris Gunther
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-10-20 00:00:00.000000000 Z
13
+ date: 2022-12-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: savon
@@ -38,14 +38,14 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 3.11.0
41
+ version: 3.12.0
42
42
  type: :development
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 3.11.0
48
+ version: 3.12.0
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -624,7 +624,7 @@ metadata:
624
624
  changelog_uri: https://github.com/netsweet/netsuite/blob/master/HISTORY.md
625
625
  mailing_list_uri: http://opensuite-slackin.herokuapp.com
626
626
  rubygems_mfa_required: 'true'
627
- post_install_message:
627
+ post_install_message:
628
628
  rdoc_options: []
629
629
  require_paths:
630
630
  - lib
@@ -640,7 +640,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
640
640
  version: '0'
641
641
  requirements: []
642
642
  rubygems_version: 3.1.6
643
- signing_key:
643
+ signing_key:
644
644
  specification_version: 4
645
645
  summary: NetSuite SuiteTalk API (SOAP) Wrapper
646
646
  test_files: