valvat 1.4.0 → 1.4.2

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