valvat 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,6 +1,13 @@
1
1
  ### dev
2
2
 
3
- [full changelog](http://github.com/yolk/valvat/compare/v0.3.4...master)
3
+ [full changelog](http://github.com/yolk/valvat/compare/v0.3.5...master)
4
+
5
+ ### 0.3.5 / 2012-02-02
6
+
7
+ [full changelog](http://github.com/yolk/valvat/compare/v0.3,4...v0.3.5)
8
+
9
+ * Swedish translation (by [henrik](https://github.com/henrik))
10
+ * English fixes (by [henrik](https://github.com/henrik))
4
11
 
5
12
  ### 0.3.4 / 2011-08-01
6
13
 
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in valvat.gemspec
4
4
  gemspec
5
+
6
+ gem 'rake'
@@ -39,6 +39,4 @@ module ActiveModel
39
39
  end
40
40
  end
41
41
 
42
- %w(en de).each do |locale|
43
- I18n.load_path << "#{File.dirname(__FILE__)}/locales/#{locale}.yml"
44
- end
42
+ I18n.load_path += Dir["#{File.dirname(__FILE__)}/locales/*.yml"]
@@ -22,13 +22,13 @@ en:
22
22
  ie: Irish
23
23
  it: Italian
24
24
  lt: Lithuanian
25
- lu: Luxembourg
25
+ lu: Luxembourgian
26
26
  lv: Latvian
27
27
  mt: Maltese
28
28
  nl: Dutch
29
29
  pl: Polish
30
30
  pt: Portuguese
31
- ro: Rumanian
31
+ ro: Romanian
32
32
  se: Swedish
33
33
  si: Slovenian
34
34
  sk: Slovakian
@@ -0,0 +1,34 @@
1
+ sv:
2
+ errors:
3
+ messages:
4
+ invalid_vat: är inte ett giltigt %{country_adjective} momsnummer
5
+ valvat:
6
+ country_adjectives:
7
+ eu: europeiskt
8
+ at: österrikiskt
9
+ be: belgiskt
10
+ bg: bulgariskt
11
+ cy: cypriotiskt
12
+ cz: tjeckiskt
13
+ de: tyskt
14
+ dk: danskt
15
+ ee: estniskt
16
+ es: spanskt
17
+ fi: finskt
18
+ fr: franskt
19
+ gb: brittiskt
20
+ gr: grekiskt
21
+ hu: ungerskt
22
+ ie: irländskt
23
+ it: italienskt
24
+ lt: litauiskt
25
+ lu: luxemburgskt
26
+ lv: lettiskt
27
+ mt: maltesiskt
28
+ nl: nederländskt
29
+ pl: polskt
30
+ pt: portugisiskt
31
+ ro: rumänskt
32
+ se: svenskt
33
+ si: slovenskt
34
+ sk: slovakiskt
@@ -1,3 +1,3 @@
1
1
  class Valvat
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,103 +1,136 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: valvat
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.4
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 5
9
+ version: 0.3.5
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Sebastian Munz
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-08-31 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2012-02-02 00:00:00 +01:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: savon
16
- requirement: &2151804260 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ - 8
31
+ - 2
21
32
  version: 0.8.2
22
33
  type: :runtime
23
- prerelease: false
24
- version_requirements: *2151804260
25
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
26
36
  name: rspec
27
- requirement: &2151803340 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
28
39
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 2
45
+ - 4
46
+ - 0
32
47
  version: 2.4.0
33
48
  type: :development
34
- prerelease: false
35
- version_requirements: *2151803340
36
- - !ruby/object:Gem::Dependency
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
37
51
  name: guard-rspec
38
- requirement: &2151801820 !ruby/object:Gem::Requirement
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
39
54
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
60
+ - 1
61
+ - 9
43
62
  version: 0.1.9
44
63
  type: :development
45
- prerelease: false
46
- version_requirements: *2151801820
47
- - !ruby/object:Gem::Dependency
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
48
66
  name: growl
49
- requirement: &2151800560 !ruby/object:Gem::Requirement
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
50
69
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ segments:
74
+ - 1
75
+ - 0
76
+ - 3
54
77
  version: 1.0.3
55
78
  type: :development
56
- prerelease: false
57
- version_requirements: *2151800560
58
- - !ruby/object:Gem::Dependency
79
+ version_requirements: *id004
80
+ - !ruby/object:Gem::Dependency
59
81
  name: rb-fsevent
60
- requirement: &2151799240 !ruby/object:Gem::Requirement
82
+ prerelease: false
83
+ requirement: &id005 !ruby/object:Gem::Requirement
61
84
  none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 0
90
+ - 3
91
+ - 9
65
92
  version: 0.3.9
66
93
  type: :development
67
- prerelease: false
68
- version_requirements: *2151799240
69
- - !ruby/object:Gem::Dependency
94
+ version_requirements: *id005
95
+ - !ruby/object:Gem::Dependency
70
96
  name: activemodel
71
- requirement: &2151797900 !ruby/object:Gem::Requirement
97
+ prerelease: false
98
+ requirement: &id006 !ruby/object:Gem::Requirement
72
99
  none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
76
- version: '3.0'
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ segments:
104
+ - 3
105
+ - 0
106
+ version: "3.0"
77
107
  type: :development
78
- prerelease: false
79
- version_requirements: *2151797900
80
- - !ruby/object:Gem::Dependency
108
+ version_requirements: *id006
109
+ - !ruby/object:Gem::Dependency
81
110
  name: fakeweb
82
- requirement: &2151826140 !ruby/object:Gem::Requirement
111
+ prerelease: false
112
+ requirement: &id007 !ruby/object:Gem::Requirement
83
113
  none: false
84
- requirements:
85
- - - ! '>='
86
- - !ruby/object:Gem::Version
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ segments:
118
+ - 1
119
+ - 3
120
+ - 0
87
121
  version: 1.3.0
88
122
  type: :development
89
- prerelease: false
90
- version_requirements: *2151826140
91
- description: ! " Validates european vat numbers. Standalone or as a ActiveModel validator.\n\n
92
- \ * Simple syntax verification\n * Lookup via the VIES web service\n * Works standalone
93
- without any gem dependencies\n * (Optional) ActiveModel/Rails3 integration\n *
94
- I18n locales for country specific error messages\n"
95
- email:
123
+ version_requirements: *id007
124
+ description: " Validates european vat numbers. Standalone or as a ActiveModel validator.\n\n * Simple syntax verification\n * Lookup via the VIES web service\n * Works standalone without any gem dependencies\n * (Optional) ActiveModel/Rails3 integration\n * I18n locales for country specific error messages\n"
125
+ email:
96
126
  - sebastian@yo.lk
97
127
  executables: []
128
+
98
129
  extensions: []
130
+
99
131
  extra_rdoc_files: []
100
- files:
132
+
133
+ files:
101
134
  - .gitignore
102
135
  - .rvmrc
103
136
  - CHANGES.md
@@ -110,6 +143,7 @@ files:
110
143
  - lib/valvat/active_model.rb
111
144
  - lib/valvat/locales/de.yml
112
145
  - lib/valvat/locales/en.yml
146
+ - lib/valvat/locales/sv.yml
113
147
  - lib/valvat/lookup.rb
114
148
  - lib/valvat/syntax.rb
115
149
  - lib/valvat/utils.rb
@@ -121,37 +155,39 @@ files:
121
155
  - spec/valvat/utils_spec.rb
122
156
  - spec/valvat_spec.rb
123
157
  - valvat.gemspec
158
+ has_rdoc: true
124
159
  homepage: https://github.com/yolk/valvat
125
160
  licenses: []
161
+
126
162
  post_install_message:
127
163
  rdoc_options: []
128
- require_paths:
164
+
165
+ require_paths:
129
166
  - lib
130
- required_ruby_version: !ruby/object:Gem::Requirement
167
+ required_ruby_version: !ruby/object:Gem::Requirement
131
168
  none: false
132
- requirements:
133
- - - ! '>='
134
- - !ruby/object:Gem::Version
135
- version: '0'
136
- segments:
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ segments:
137
173
  - 0
138
- hash: 2750871567190462179
139
- required_rubygems_version: !ruby/object:Gem::Requirement
174
+ version: "0"
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
176
  none: false
141
- requirements:
142
- - - ! '>='
143
- - !ruby/object:Gem::Version
144
- version: '0'
145
- segments:
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ segments:
146
181
  - 0
147
- hash: 2750871567190462179
182
+ version: "0"
148
183
  requirements: []
184
+
149
185
  rubyforge_project:
150
- rubygems_version: 1.7.2
186
+ rubygems_version: 1.3.7
151
187
  signing_key:
152
188
  specification_version: 3
153
189
  summary: Validates european vat numbers. Standalone or as a ActiveModel validator.
154
- test_files:
190
+ test_files:
155
191
  - spec/spec_helper.rb
156
192
  - spec/valvat/active_model_spec.rb
157
193
  - spec/valvat/lookup_spec.rb