valvat 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -6
- data/lib/valvat/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +34 -102
- metadata.gz.sig +0 -0
- data/.editorconfig +0 -15
- data/.github/workflows/rubocop.yml +0 -17
- data/.github/workflows/specs.yml +0 -47
- data/.gitignore +0 -9
- data/.rubocop.yml +0 -24
- data/CHANGES.md +0 -419
- data/Gemfile +0 -14
- data/Guardfile +0 -7
- data/MIT-LICENSE +0 -20
- data/README.md +0 -350
- data/Rakefile +0 -10
- data/certs/mite.pem +0 -26
- data/gemfiles/activemodel-5 +0 -8
- data/gemfiles/activemodel-6 +0 -8
- data/gemfiles/activemodel-7 +0 -8
- data/gemfiles/standalone +0 -7
- data/lib/valvat/locales/bg.yml +0 -34
- data/lib/valvat/locales/ca.yml +0 -34
- data/lib/valvat/locales/cs.yml +0 -34
- data/lib/valvat/locales/da.yml +0 -34
- data/lib/valvat/locales/de.yml +0 -35
- data/lib/valvat/locales/en.yml +0 -35
- data/lib/valvat/locales/es.yml +0 -35
- data/lib/valvat/locales/fi.yml +0 -34
- data/lib/valvat/locales/fr.yml +0 -34
- data/lib/valvat/locales/hu.yml +0 -35
- data/lib/valvat/locales/it.yml +0 -34
- data/lib/valvat/locales/lv.yml +0 -34
- data/lib/valvat/locales/nb.yml +0 -34
- data/lib/valvat/locales/nl.yml +0 -35
- data/lib/valvat/locales/pl.yml +0 -35
- data/lib/valvat/locales/pt.yml +0 -34
- data/lib/valvat/locales/ro.yml +0 -34
- data/lib/valvat/locales/sk.yml +0 -34
- data/lib/valvat/locales/sv.yml +0 -34
- data/lib/valvat/locales/tr.yml +0 -34
- data/spec/active_model/validations/valvat_validator_spec.rb +0 -274
- data/spec/spec_helper.rb +0 -37
- data/spec/valvat/checksum/at_spec.rb +0 -17
- data/spec/valvat/checksum/be_spec.rb +0 -17
- data/spec/valvat/checksum/bg_spec.rb +0 -18
- data/spec/valvat/checksum/cy_spec.rb +0 -17
- data/spec/valvat/checksum/de_spec.rb +0 -17
- data/spec/valvat/checksum/dk_spec.rb +0 -17
- data/spec/valvat/checksum/ee_spec.rb +0 -17
- data/spec/valvat/checksum/es_spec.rb +0 -65
- data/spec/valvat/checksum/fi_spec.rb +0 -17
- data/spec/valvat/checksum/fr_spec.rb +0 -17
- data/spec/valvat/checksum/gb_spec.rb +0 -34
- data/spec/valvat/checksum/gr_spec.rb +0 -17
- data/spec/valvat/checksum/hr_spec.rb +0 -17
- data/spec/valvat/checksum/hu_spec.rb +0 -17
- data/spec/valvat/checksum/ie_spec.rb +0 -24
- data/spec/valvat/checksum/it_spec.rb +0 -25
- data/spec/valvat/checksum/lt_spec.rb +0 -17
- data/spec/valvat/checksum/lu_spec.rb +0 -17
- data/spec/valvat/checksum/mt_spec.rb +0 -17
- data/spec/valvat/checksum/nl_spec.rb +0 -17
- data/spec/valvat/checksum/pl_spec.rb +0 -21
- data/spec/valvat/checksum/pt_spec.rb +0 -30
- data/spec/valvat/checksum/ro_spec.rb +0 -17
- data/spec/valvat/checksum/se_spec.rb +0 -21
- data/spec/valvat/checksum/si_spec.rb +0 -25
- data/spec/valvat/checksum_spec.rb +0 -40
- data/spec/valvat/lookup/hmrc_spec.rb +0 -58
- data/spec/valvat/lookup/vies_spec.rb +0 -25
- data/spec/valvat/lookup_spec.rb +0 -493
- data/spec/valvat/options_spec.rb +0 -23
- data/spec/valvat/syntax_spec.rb +0 -68
- data/spec/valvat/utils_spec.rb +0 -125
- data/spec/valvat_spec.rb +0 -276
- data/valvat.gemspec +0 -24
data/CHANGES.md
DELETED
@@ -1,419 +0,0 @@
|
|
1
|
-
|
2
|
-
### dev
|
3
|
-
|
4
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.4.1...master)
|
5
|
-
|
6
|
-
### 1.4.1 / 2024-01-08
|
7
|
-
|
8
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.4.0...v1.4.1)
|
9
|
-
|
10
|
-
* Fixed incorrect variable usage in SOAP request body by [Jay Tabudlo](https://github.com/jaymoneybird))
|
11
|
-
|
12
|
-
### 1.4.0 / 2023-07-20
|
13
|
-
|
14
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.3.0...v1.4.0)
|
15
|
-
|
16
|
-
* Valvat.configure: Allow global configuration
|
17
|
-
* Update the Cyprus syntax regular expression by [Orien Madgwick](https://github.com/orien))
|
18
|
-
* Valvat::Checksum::ES: Fixed issue with VAT ids starting with '*00' #124 / #115 (by [Thomas Scalise](https://github.com/KirtashW17))
|
19
|
-
|
20
|
-
### 1.3.0 / 2023-04-19
|
21
|
-
|
22
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.2.1...v1.3.0)
|
23
|
-
|
24
|
-
* Checksum::FR: Correct validation for french VAT ids not starting with two numerical chars #119
|
25
|
-
* Equality for Valvat objects #120
|
26
|
-
|
27
|
-
### 1.2.1 / 2022-10-05
|
28
|
-
|
29
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.2.0...v1.2.1)
|
30
|
-
|
31
|
-
* Added missing dependency rexml #117
|
32
|
-
* Lookup: Retry IOError
|
33
|
-
* Lookup: require 'date' in VIES and 'time' in HMRC
|
34
|
-
|
35
|
-
### 1.2.0 / 2022-09-30
|
36
|
-
|
37
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.1.5...v1.2.0)
|
38
|
-
|
39
|
-
* Implemented lookup of VAT numbers from the UK (via HMRC api and only with :uk option set to true) (by [Adrien Rey-Jarthon](https://github.com/jarthod))
|
40
|
-
* Remimplemented VIES lookup using only nethttp (removes dependency on savon)
|
41
|
-
* Deprecate require 'valvat/local'. Please require 'valvat' directly.
|
42
|
-
* Apply more rules to spanish VAT numbers on checksum validation #115 (by [Thomas Scalise](https://github.com/KirtashW17))
|
43
|
-
|
44
|
-
### 1.1.5 / 2022-09-14
|
45
|
-
|
46
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.1.4...v1.1.5)
|
47
|
-
|
48
|
-
* Fixed natural person VAT checksum validation for ES #114 (by [Thomas Scalise](https://github.com/KirtashW17))
|
49
|
-
* Better (ruby) code blocks in README #113
|
50
|
-
* Minor internal syntax changes / refactorings
|
51
|
-
|
52
|
-
### 1.1.4 / 2022-05-05
|
53
|
-
|
54
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.1.3...v1.1.4)
|
55
|
-
|
56
|
-
* Support BE 1-series format (by [Cashaca](https://github.com/Cashaca))
|
57
|
-
* Removed duplication on french error messages (by [Sunny Ripert](https://github.com/sunny))
|
58
|
-
|
59
|
-
### 1.1.3 / 2022-01-26
|
60
|
-
|
61
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.1.2...v1.1.3)
|
62
|
-
|
63
|
-
* Handle Savon::HTTPError and Savon::UnknownOperationError as LookupError and throw Valvat::HTTPError and Valvat::OperationUnknown instead.
|
64
|
-
|
65
|
-
### 1.1.2 / 2021-10-29
|
66
|
-
|
67
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.1.1...v1.1.2)
|
68
|
-
|
69
|
-
* Fixed SOAPAction error (#105) (by [Ľubo ](https://github.com/lubosch))
|
70
|
-
|
71
|
-
### 1.1.1 / 2021-07-15
|
72
|
-
|
73
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.1.0...v1.1.1)
|
74
|
-
|
75
|
-
* Added support for italian VAT numbers with special province part (#104)
|
76
|
-
|
77
|
-
### 1.1.0 / 2021-01-15
|
78
|
-
|
79
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.0.1...v1.1.0)
|
80
|
-
|
81
|
-
* Added support for Northern Ireland XI prefixed VAT numbers (by [Avatar Ignacy Kasperowicz](https://github.com/kspe))
|
82
|
-
* ActiveModel: Return specific error message if VIES is down and fail_if_down is set to true (by [Arkadiy Zabazhanov](https://github.com/pyromaniac))
|
83
|
-
* Removed support for EOL rubies (all before 2.5) and ActiveModel before 5.0
|
84
|
-
|
85
|
-
### 1.0.1 / 2020-12-06
|
86
|
-
|
87
|
-
[full changelog](http://github.com/yolk/valvat/compare/v1.0.0...v1.0.1)
|
88
|
-
|
89
|
-
* Added missing spaces to malformatted portuegese locale file
|
90
|
-
* Removed GB from EU_COUNTRIES / EU_MEMBER_STATES but kept support
|
91
|
-
* Fixed typo in error message: UNK(N)OWN (by [Igor Gonchar](https://github.com/gigorok))
|
92
|
-
|
93
|
-
### 1.0.0 / 2020-11-06
|
94
|
-
|
95
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.9.1...v1.0.0)
|
96
|
-
|
97
|
-
* Refactored lookup to use specific rescue for savons soapfaults
|
98
|
-
* Raises vies specific error classes to help debugging temporary and permanent VIES errors
|
99
|
-
* Lookup#validate supports :savon option to allow altering the behaviour of the used savon client
|
100
|
-
* ActiveModel validator now supports all lookup options.
|
101
|
-
* Use https instead of http for accessing vies (by [Crazy Chris](https://github.com/lubekpl))
|
102
|
-
* Lookup#validate supports :raise_error option to return nil instead of raising (known) error when connecting to the VIES web service.
|
103
|
-
* [BUGFIX] Checksum: Prevent error on some invalid IE vat numbers
|
104
|
-
* EN: Capitalized VAT in error messages (and specs) (by [Vitalii Kashoid](https://github.com/Kashoid23))
|
105
|
-
|
106
|
-
### 0.9.1 / 2020-03-19
|
107
|
-
|
108
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.9.0...v0.9.1)
|
109
|
-
|
110
|
-
* Follow redirects to fix alteration of VIES-API (by [xxswingxx](https://github.com/xxswingxx))
|
111
|
-
|
112
|
-
### 0.9.0 / 2020-02-28
|
113
|
-
|
114
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.8.2...v0.9.0)
|
115
|
-
|
116
|
-
* Validate new dutch 2020 vat identification number (by [yvonnenieuwerth](https://github.com/yvonnenieuwerth))
|
117
|
-
* Set the country adjectives to masculine in FR locales (by [bobmaerten](https://github.com/bobmaerten))
|
118
|
-
* Fix greek country adjectif in french (by [bobmaerten](https://github.com/bobmaerten))
|
119
|
-
|
120
|
-
### 0.8.2 / 2019-11-15
|
121
|
-
|
122
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.8.1...v0.8.2)
|
123
|
-
|
124
|
-
* Fixed checksum computation for Slovenian VAT ID.
|
125
|
-
* Updated normalize regexp to clean spaces, punctuation and control chars (by [jarthod](https://github.com/jarthod))
|
126
|
-
|
127
|
-
### 0.8.1 / 2019-07-30
|
128
|
-
|
129
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.8.0...v0.8.1)
|
130
|
-
|
131
|
-
* Added Norwegian translation (by [erikaxel](https://github.com/erikaxel))
|
132
|
-
|
133
|
-
### 0.8.0 / 2019-07-19
|
134
|
-
|
135
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.7.4...v0.8.0)
|
136
|
-
|
137
|
-
* Added support for new IE vat number format, with 2 letters (by [lluis](https://github.com/lluis))
|
138
|
-
* Added support for spanish NIE Y and Z in checksums (by [descala](https://github.com/descala))
|
139
|
-
* Added catalan translation (by [descala](https://github.com/descala))
|
140
|
-
* Fixed spanish invalid vat message (by [descala](https://github.com/descala))
|
141
|
-
|
142
|
-
### 0.7.4 / 2018-11-21
|
143
|
-
|
144
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.7.3...v0.7.4)
|
145
|
-
|
146
|
-
* Fixed HU and SK translations
|
147
|
-
|
148
|
-
### 0.7.3 / 2018-11-21
|
149
|
-
|
150
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.7.2...v0.7.3)
|
151
|
-
|
152
|
-
* Added Hungarian & Slovakian translations (by [tomas-radic](https://github.com/tomas-radic))
|
153
|
-
|
154
|
-
### 0.7.2 / 2018-02-26
|
155
|
-
|
156
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.7.1...v0.7.2)
|
157
|
-
|
158
|
-
* Added support for GB vats checksum validation (by [ivopashov](https://github.com/ivopashov))
|
159
|
-
* Corrected dutch language support (by [ploomans](https://github.com/ploomans))
|
160
|
-
|
161
|
-
### 0.7.1 / 2017-06-21
|
162
|
-
|
163
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.7.0...v0.7.1)
|
164
|
-
|
165
|
-
* Allow to require all functionality except lookup with 'valvat/local'
|
166
|
-
|
167
|
-
### 0.7.0 / 2017-05-16
|
168
|
-
|
169
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.11...v0.7.0)
|
170
|
-
|
171
|
-
* Improved regex for Cyprus, Estonia, and Lithuania (by [ndnenkov](https://github.com/ndnenkov))
|
172
|
-
* Added checksum validations for Cyprus, Estonia, Lithuania, Romania, Malta, Hungary, and Croatia (by [ndnenkov](https://github.com/ndnenkov))
|
173
|
-
|
174
|
-
### 0.6.11 / 2017-04-07
|
175
|
-
|
176
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.10...v0.6.11)
|
177
|
-
|
178
|
-
* Removed fakeweb tests and dependency
|
179
|
-
* Add French checksum validation (by [0ctobat](https://github.com/0ctobat))
|
180
|
-
* Test against current ruby (2.4) and activemodel (5.0) versions
|
181
|
-
|
182
|
-
### 0.6.10 / 2015-05-29
|
183
|
-
|
184
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.9...v0.6.10)
|
185
|
-
|
186
|
-
* Added finish translations (by [kaapa](https://github.com/kaapa))
|
187
|
-
|
188
|
-
### 0.6.9 / 2015-03-19
|
189
|
-
|
190
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.8...v0.6.9)
|
191
|
-
|
192
|
-
* Added catalan translations (by [descala](https://github.com/descala))
|
193
|
-
* Added support for spanish NIE Y and Z (by [descala](https://github.com/descala))
|
194
|
-
* Fixed spanish translations (by [Carlos Hernández Medina](https://github.com/polimorfico))
|
195
|
-
|
196
|
-
### 0.6.8 / 2014-12-18
|
197
|
-
|
198
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.7...v0.6.8)
|
199
|
-
|
200
|
-
* Added cert to allow valvat to be installed with `gem install valvat -P MediumSecurity` (more info: http://guides.rubygems.org/security/)
|
201
|
-
* Removed all circular require-statements - fixed #34 (by [Julik Tarkhanov](https://github.com/julik))
|
202
|
-
* Fixed segfault with activemodel requiring files with .rb-suffix - fixed #34 (by [Julik Tarkhanov](https://github.com/julik))
|
203
|
-
|
204
|
-
### 0.6.7 / 2014-11-03
|
205
|
-
|
206
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.6...v0.6.7)
|
207
|
-
|
208
|
-
* Fixed SOAP issue with current wasabi 3.3 - fixed #33
|
209
|
-
* Several minor travis/guard fixes
|
210
|
-
|
211
|
-
### 0.6.6 / 2014-10-02
|
212
|
-
|
213
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.5...v0.6.6)
|
214
|
-
|
215
|
-
* Added czech translations (by [Dawid Cichuta](https://github.com/cichaczem))
|
216
|
-
* Fixed polish translations (by [Dawid Cichuta](https://github.com/cichaczem))
|
217
|
-
|
218
|
-
### 0.6.5 / 2014-06-19
|
219
|
-
|
220
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.4...v0.6.5)
|
221
|
-
|
222
|
-
* Added french, spanish and danish translations (by [Roman Lehnert](https://github.com/romanlehnert))
|
223
|
-
* Specs: Fixed issues with rspec 3
|
224
|
-
* Specs: Switched to :expect syntax
|
225
|
-
|
226
|
-
### 0.6.4 / 2014-04-09
|
227
|
-
|
228
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.3...v0.6.4)
|
229
|
-
|
230
|
-
* Added dutch translations (by [0scarius](https://github.com/0scarius))
|
231
|
-
|
232
|
-
### 0.6.3 / 2014-04-05
|
233
|
-
|
234
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.2...v0.6.3)
|
235
|
-
|
236
|
-
* Fixed portuguese translations (by [Davidslv](https://github.com/Davidslv))
|
237
|
-
|
238
|
-
### 0.6.2 / 2013-11-10
|
239
|
-
|
240
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.1...v0.6.2)
|
241
|
-
|
242
|
-
* Added blank? method to Valvat object
|
243
|
-
|
244
|
-
### 0.6.1 / 2013-09-02
|
245
|
-
|
246
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.0...v0.6.1)
|
247
|
-
|
248
|
-
* Valvat::Lockup: require savon on load
|
249
|
-
|
250
|
-
### 0.6.0 / 2013-08-01
|
251
|
-
|
252
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.5.0...v0.6.0)
|
253
|
-
|
254
|
-
* Works now with current version of savon gem (2.3.0) (by [liggitt](https://github.com/liggitt))
|
255
|
-
* Corrected regex for IE VAT numbers (by [brianphillips](https://github.com/brianphillips))
|
256
|
-
* Improved PT translation
|
257
|
-
* Some code refactorings
|
258
|
-
* Spec improvments
|
259
|
-
|
260
|
-
### 0.5.0 / 2013-07-18
|
261
|
-
|
262
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.7...v0.5.0)
|
263
|
-
|
264
|
-
* Added experimental checksum verification for 17 european countries (with help from [kirichkov](https://github.com/kirichkov))
|
265
|
-
* Works now with current version of savon gem (2.2.0) (by [nevesenin](https://github.com/nevesenin))
|
266
|
-
|
267
|
-
### 0.4.7 / 2013-07-18
|
268
|
-
|
269
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.6...v0.4.7)
|
270
|
-
|
271
|
-
* Added I18n locales for Polish, Romanian, Italian, Portuguese and Latvian (by [shaundaley39](https://github.com/shaundaley39))
|
272
|
-
|
273
|
-
### 0.4.6 / 2013-07-01
|
274
|
-
|
275
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.5...v0.4.6)
|
276
|
-
|
277
|
-
* Added support for croatian vat numbers (by [mowli](https://github.com/mowli))
|
278
|
-
|
279
|
-
### 0.4.5 / 2013-02-16
|
280
|
-
|
281
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.4...v0.4.5)
|
282
|
-
|
283
|
-
* Added I18n locales in bulgarian (by [kirichkov](https://github.com/kirichkov))
|
284
|
-
|
285
|
-
### 0.4.4 / 2013-01-07
|
286
|
-
|
287
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.3...v0.4.4)
|
288
|
-
|
289
|
-
* Fixed dependency on savon version 1.2 (2.0 uses new api)
|
290
|
-
* Convert to string before normalize (by [borodiychuk](https://github.com/borodiychuk))
|
291
|
-
|
292
|
-
### 0.4.3 / 2012-12-11
|
293
|
-
|
294
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.2...v0.4.3)
|
295
|
-
|
296
|
-
* Fixed error handling in Lookup (by [bmurzeau](https://github.com/bmurzeau))
|
297
|
-
|
298
|
-
### 0.4.2 / 2012-11-16
|
299
|
-
|
300
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.1...v0.4.2)
|
301
|
-
|
302
|
-
* Fixed usage with savon version 1.2
|
303
|
-
* Require version 1.2 of the savon gem from now on
|
304
|
-
* Added :raise_error option to throw errors instead of returning nil
|
305
|
-
|
306
|
-
### 0.4.1 / 2012-07-17
|
307
|
-
|
308
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.4.0...v0.4.1)
|
309
|
-
|
310
|
-
* Fixed issue with current savon version & required more recent savon version
|
311
|
-
|
312
|
-
### 0.4.0 / 2012-07-17
|
313
|
-
|
314
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.6...v0.4.0)
|
315
|
-
|
316
|
-
* Added support for company details and requester identifiers in successful responses
|
317
|
-
(by [lcx](https://github.com/lcx))
|
318
|
-
* Added Valvat::Lookup.last_error for debugging
|
319
|
-
|
320
|
-
### 0.3.6 / 2012-04-10
|
321
|
-
|
322
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.5...v0.3.6)
|
323
|
-
|
324
|
-
* Fixed wrong regexp for Belgium numbers (by [opsidao](https://github.com/opsidao))
|
325
|
-
|
326
|
-
### 0.3.5 / 2012-02-02
|
327
|
-
|
328
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.4...v0.3.5)
|
329
|
-
|
330
|
-
* Swedish translation (by [henrik](https://github.com/henrik))
|
331
|
-
* English fixes (by [henrik](https://github.com/henrik))
|
332
|
-
|
333
|
-
### 0.3.4 / 2011-08-01
|
334
|
-
|
335
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.3...v0.3.4)
|
336
|
-
|
337
|
-
* Normalize all input on initialization (by [SpoBo](https://github.com/SpoBo))
|
338
|
-
|
339
|
-
### 0.3.3 / 2011-06-02
|
340
|
-
|
341
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.2...v0.3.3)
|
342
|
-
|
343
|
-
* Add Valvat::Utils.iso_country_to_vat_country (by [Deb Bassett](https://github.com/urbanwide))
|
344
|
-
|
345
|
-
### 0.3.2 / 2011-01-14
|
346
|
-
|
347
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.1...v0.3.2)
|
348
|
-
|
349
|
-
* Fixed localization strings (en/de)
|
350
|
-
* Moved locales folder to lib/valvat/locales
|
351
|
-
|
352
|
-
### 0.3.1 / 2011-01-12
|
353
|
-
|
354
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.3.0...v0.3.1)
|
355
|
-
|
356
|
-
* ActiveModel validation: Failed validations with _match_country_ now use error message with country from given attribute
|
357
|
-
* ActiveModel validation: Failed validations with _match_country_ skip lookup and syntax checks
|
358
|
-
|
359
|
-
### 0.3.0 / 2011-01-12
|
360
|
-
|
361
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.2.3...v0.3.0)
|
362
|
-
|
363
|
-
* ActiveModel validation: added _match_country_ option to validate if iso country code of vat number matches another attribute.
|
364
|
-
|
365
|
-
### 0.2.3 / 2011-01-10
|
366
|
-
|
367
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.2.2...v0.2.3)
|
368
|
-
|
369
|
-
* Valvat::Utils.normalize now removes spaces and special chars anywhere
|
370
|
-
|
371
|
-
### 0.2.2 / 2011-01-10
|
372
|
-
|
373
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.2.1...v0.2.2)
|
374
|
-
|
375
|
-
* Using vies directly via soap/savon again; isvat.appspot.com is not _really_ reliable.
|
376
|
-
* Added support for Valvat#exist? as an alias of Valvat#exists?
|
377
|
-
|
378
|
-
### 0.2.1 / 2011-01-07
|
379
|
-
|
380
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.2.0...v0.2.1)
|
381
|
-
|
382
|
-
* Fixed blocker in valvat/lookup
|
383
|
-
|
384
|
-
### 0.2.0 / 2011-01-07
|
385
|
-
|
386
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.1.1...v0.2.0)
|
387
|
-
|
388
|
-
* Rewrote Valvat module to a vat number class for convenience + internal use of Valvat instances
|
389
|
-
* I18n: Default error messages in german
|
390
|
-
|
391
|
-
### 0.1.1 / 2011-01-07
|
392
|
-
|
393
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.1.0...v0.1.1)
|
394
|
-
|
395
|
-
* Fixed issue with country web service down and added spec
|
396
|
-
* Stubbed web service specs with fakeweb
|
397
|
-
* Added documentation for ActiveModel support
|
398
|
-
|
399
|
-
### 0.1.0 / 2011-01-07
|
400
|
-
|
401
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.0.3...v0.1.0)
|
402
|
-
|
403
|
-
* ActiveModel validation: added optional lookup support
|
404
|
-
* ActiveModel validation: I18n support with country specific messages
|
405
|
-
* ActiveModel validation: I18n locales in english and german
|
406
|
-
* Fixed bug with wrong iso country code on greek vat number (EL != GR)
|
407
|
-
* Valvat::Util.split only returns countries from europe
|
408
|
-
|
409
|
-
### 0.0.3 / 2011-01-06
|
410
|
-
|
411
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.0.2...v0.0.3)
|
412
|
-
|
413
|
-
* Basic support for ActiveModel validation
|
414
|
-
|
415
|
-
### 0.0.2 / 2011-01-06
|
416
|
-
|
417
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.0.1...v0.0.2)
|
418
|
-
|
419
|
-
* Use REST-wrapper for accessing VIES web service; this removes dependency on savon and some lines of code. See http://isvat.appspot.com/
|
data/Gemfile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in valvat.gemspec
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
gem 'activemodel', '>= 5.0'
|
9
|
-
gem 'guard-rspec', '~>4.0'
|
10
|
-
gem 'rake'
|
11
|
-
gem 'rspec', '~> 3.0'
|
12
|
-
gem 'rubocop', '~> 1.50'
|
13
|
-
gem 'rubocop-rspec', '~> 2.19'
|
14
|
-
gem 'webmock', '~> 3.0'
|
data/Guardfile
DELETED
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) mite GmbH
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|