workarea-core 3.4.13 → 3.4.14

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
  SHA256:
3
- metadata.gz: ffa285c221664ee81b35ebac98cd0c91206f5fa79bd699da8a1f9e106c131bf2
4
- data.tar.gz: 8f2de8bf414fc6aebbb0ad679a364c4bb96275964b1f189e9dd77e0bc6e17a6f
3
+ metadata.gz: 59160e157cffc857bc65efe72271a504139f2e41b2c429be72a3652ac39c440c
4
+ data.tar.gz: 65d2fb401db6c46f61b2c71898d3b7a1a006265b179aa88bb5fe8a5080ec81b2
5
5
  SHA512:
6
- metadata.gz: 1b99d10ded2a1570195209a98ad147b7d4e93917fe91d3ebf171d2f9f3ea0faa7d874aa75edea612b037599d8e48121eb2db34c57ab7eece9cd5080608e2f122
7
- data.tar.gz: 933c4c1a786bc973e6762e20f59655a438029352b158fff021536a019c94a5fec0005b2aa646dc94272bcfb1b21b1a0f8f55cc8bab695c333368ee8235fb1142
6
+ metadata.gz: 1fc9a6ff3a20fdb2190358643b9257dfc8583d80e4d98159f82b0b176966c3d2211a4dd0273b33346d2a9cd41c2f956dff51fcc9a7b7994a3d30694b5575be63
7
+ data.tar.gz: c0639d0f522f6014e43745b3f2ff1f9da027367af2ac80a814bebba73f3a39680ee99bcdaf87369d8a8eeae0150b346615889263baacccd2c8dad4bfa80dd494
@@ -2,7 +2,7 @@ module Workarea
2
2
  module VERSION
3
3
  MAJOR = 3
4
4
  MINOR = 4
5
- PATCH = 13
5
+ PATCH = 14
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
@@ -56,11 +56,15 @@ module Workarea
56
56
  end
57
57
 
58
58
  def test_handles_currency_changes
59
+ current_default = Money.default_currency
59
60
  aud = Money::Currency.new('AUD')
60
61
  Money.default_currency = aud
61
62
  override = Pricing::Override.new
62
63
 
63
64
  assert_equal(aud, override.subtotal_adjustment.currency)
65
+
66
+ ensure
67
+ Money.default_currency = current_default
64
68
  end
65
69
  end
66
70
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.13
4
+ version: 3.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse