polish_invoicer 0.0.28 → 0.0.29

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: 80d547e5b447b0bdd6116f666ebc332a8e586cdc0513da03d75f69d83219253c
4
- data.tar.gz: 988303b13fe261a44aa22cf1141ee18c834b5f8ba813f117b14596f552c97700
3
+ metadata.gz: fccdb341dfc3705a7bdc55fee93853caacd6f887a32bc19f8f889927c6eca4c6
4
+ data.tar.gz: e60c0759877ddb7bdf78d3de1f775ba0a3e1d135ecd1aaa041878ac7876f92c5
5
5
  SHA512:
6
- metadata.gz: 44849946ede47b60e85c1fc53c91ba6cc58c04e218a03ca15e6a41fb33b94cda982af279fa68aaa537512a660b502ca05e31e37df89b79d5b2b84882368b7755
7
- data.tar.gz: c52f5c7de68dc7369976056b08357198405e6fcea846cb87abeea94fe5b51040ee6ff067b4b725c9a296c14f46a8014bc52649d63fc96c6edc32ad674aec14da
6
+ metadata.gz: f299544cdbda41f4e2dc3fcfd426d347236cdd2457d974dad75f6a59ebc9894a37ee254a54e8a045104dbed2407d4c8ebcfdbbd2e0e624ad7bc787f2233a17d9
7
+ data.tar.gz: b400adae2678fcdd0268d854b6eb9c31d6fb9690c023f8bfd96defbdd6996074c930c2238adfb1aac11a7f27609e60c2e0439309851dd0dd5f32d5782a041322
@@ -130,7 +130,7 @@ module PolishInvoicer
130
130
 
131
131
  def check_currency
132
132
  return if @errors[:currency]
133
- return if %w[PLN EUR USD GBP].include?(@invoice.currency)
133
+ return if %w[PLN EUR USD GBP CHF CZK].include?(@invoice.currency)
134
134
 
135
135
  @errors[:currency] = 'Nieznana waluta'
136
136
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PolishInvoicer
4
- VERSION = '0.0.28'
4
+ VERSION = '0.0.29'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polish_invoicer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Macuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-15 00:00:00.000000000 Z
11
+ date: 2024-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler