vat-gst-calculator 0.4.2 → 0.4.6

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: cc9dc287543f32912a859dd1fa6c27f95831bd6f9abac619e8b019a0847c8521
4
- data.tar.gz: 32f9391ac7f64ae551b87b76c1970cb72411cd7825d6289f32f703997a118714
3
+ metadata.gz: 819c03bf2b467debcccea84deef7c173379b6a8ffd966587afe05dd1c65a39d7
4
+ data.tar.gz: c87c9a4dc813fff13f11623d693fcd2aef9c0eba8ba93769b6ea5a71b8b2b9a9
5
5
  SHA512:
6
- metadata.gz: a38dc3de2e874b4940304784e919160fdb680da92599ea74c082be7fdcefe2116cbef3c181dc826020ecfb9387a61e6bbdd9f33815af55c39ef6f38e8a671f97
7
- data.tar.gz: f56d180fcaa2f75f65dee845fd9e0ae727375b6d2b31bc438a26039c9e58452a6d3bb87e2d8255bc9a729c3cfa1c87e60f45286669449f6df471a284e671f134
6
+ metadata.gz: 9437a67bc0d20eb15b78f1b948eb7cd6ac8fe803307c26120fd18d57e745bc4c3be6d47d75f9f50f2c25a29287f43d446254ae097d1abf83ba793c3d197a46ac
7
+ data.tar.gz: 37486545690911ee860d331e8eab7072750863bc484a4c7f50fa6de7f8e82b514dacbefa0291b5f686a4ee5e13b3e9579aaa0f17bf6a41bf4fbe9298fefe1b6f
@@ -126,6 +126,11 @@ module Easyship
126
126
  sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0, 0) },
127
127
  provincial_sales_taxes: { '_ALL': no_taxes }
128
128
  },
129
+ 'AE' => {
130
+ sales_tax_website_name: 'VAT',
131
+ sales_tax: { '_ALL': build_fee_struct(0.05, 0, 0, 0) },
132
+ provincial_sales_taxes: { '_ALL': no_taxes }
133
+ },
129
134
  'IE' => {
130
135
  sales_tax_website_name: 'VAT',
131
136
  sales_tax: { '_ALL': build_fee_struct(0.23, 0, 0, 0) },
@@ -1,7 +1,7 @@
1
1
  module Easyship
2
2
  module SalesTax
3
3
  module Calculator
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.6"
5
5
  end
6
6
  end
7
7
  end
@@ -52,7 +52,7 @@ module Easyship
52
52
  end
53
53
 
54
54
  def self.in_eu?(country_alpha2)
55
- %w(NL LU EE LT HU BE PT GB SK HR CZ IT FI PL MT DE SI RO BG AT SE CY DK FR IE ES GR LV).include?(country_alpha2)
55
+ %w(NL LU EE LT HU BE PT SK HR CZ IT FI PL MT DE SI RO BG AT SE CY DK FR IE ES GR LV).include?(country_alpha2)
56
56
  end
57
57
 
58
58
  def self.domestic?(origin_country_alpha2 = nil, destination_country_alpha2 = nil)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vat-gst-calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aloha Chen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-12-10 00:00:00.000000000 Z
12
+ date: 2021-12-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler