bigcartel-currency-locales 2.0.0 → 2.3.0

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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +12 -11
  3. data/Appraisals +10 -2
  4. data/Rakefile +1 -6
  5. data/bigcartel-currency-locales.gemspec +2 -2
  6. data/gemfiles/rails_6.1.gemfile +7 -0
  7. data/gemfiles/rails_6.1.gemfile.lock +184 -0
  8. data/gemfiles/rails_6.gemfile +1 -1
  9. data/gemfiles/rails_6.gemfile.lock +6 -4
  10. data/gemfiles/rails_7.1.gemfile +7 -0
  11. data/gemfiles/rails_7.1.gemfile.lock +216 -0
  12. data/gemfiles/rails_7.gemfile +1 -1
  13. data/gemfiles/rails_7.gemfile.lock +69 -102
  14. data/lib/currency-locales/locales/ae.yml +26 -0
  15. data/lib/currency-locales/locales/bg.yml +22 -0
  16. data/lib/currency-locales/locales/cs.yml +4 -4
  17. data/lib/currency-locales/locales/da.yml +1 -1
  18. data/lib/currency-locales/locales/en-AU.yml +1 -1
  19. data/lib/currency-locales/locales/en-GB.yml +1 -1
  20. data/lib/currency-locales/locales/en-IN.yml +2 -2
  21. data/lib/currency-locales/locales/en-PH.yml +1 -2
  22. data/lib/currency-locales/locales/en-US.yml +1 -1
  23. data/lib/currency-locales/locales/es-MX.yml +1 -1
  24. data/lib/currency-locales/locales/eu.yml +6 -6
  25. data/lib/currency-locales/locales/gsw-CH.yml +5 -5
  26. data/lib/currency-locales/locales/hr.yml +26 -0
  27. data/lib/currency-locales/locales/hu.yml +28 -24
  28. data/lib/currency-locales/locales/il.yml +1 -1
  29. data/lib/currency-locales/locales/ja.yml +1 -1
  30. data/lib/currency-locales/locales/ms-MY.yml +2 -2
  31. data/lib/currency-locales/locales/nb.yml +12 -8
  32. data/lib/currency-locales/locales/pl.yml +4 -5
  33. data/lib/currency-locales/locales/pt-BR.yml +2 -2
  34. data/lib/currency-locales/locales/ro.yml +26 -0
  35. data/lib/currency-locales/locales/sv-SE.yml +5 -5
  36. data/lib/currency-locales/locales/th.yml +1 -1
  37. data/lib/currency-locales/locales/tr.yml +1 -1
  38. data/lib/currency-locales/locales/zh-TW.yml +2 -2
  39. data/lib/currency-locales/version.rb +1 -1
  40. data/spec/integration/currency_locales_spec.rb +51 -422
  41. data/spec/spec_helper.rb +1 -1
  42. metadata +16 -8
@@ -1,108 +1,90 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- bigcartel-currency-locales (1.6.0)
4
+ bigcartel-currency-locales (2.0.0)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
- actioncable (7.1.3)
10
- actionpack (= 7.1.3)
11
- activesupport (= 7.1.3)
9
+ actioncable (7.0.8)
10
+ actionpack (= 7.0.8)
11
+ activesupport (= 7.0.8)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- zeitwerk (~> 2.6)
15
- actionmailbox (7.1.3)
16
- actionpack (= 7.1.3)
17
- activejob (= 7.1.3)
18
- activerecord (= 7.1.3)
19
- activestorage (= 7.1.3)
20
- activesupport (= 7.1.3)
14
+ actionmailbox (7.0.8)
15
+ actionpack (= 7.0.8)
16
+ activejob (= 7.0.8)
17
+ activerecord (= 7.0.8)
18
+ activestorage (= 7.0.8)
19
+ activesupport (= 7.0.8)
21
20
  mail (>= 2.7.1)
22
21
  net-imap
23
22
  net-pop
24
23
  net-smtp
25
- actionmailer (7.1.3)
26
- actionpack (= 7.1.3)
27
- actionview (= 7.1.3)
28
- activejob (= 7.1.3)
29
- activesupport (= 7.1.3)
24
+ actionmailer (7.0.8)
25
+ actionpack (= 7.0.8)
26
+ actionview (= 7.0.8)
27
+ activejob (= 7.0.8)
28
+ activesupport (= 7.0.8)
30
29
  mail (~> 2.5, >= 2.5.4)
31
30
  net-imap
32
31
  net-pop
33
32
  net-smtp
34
- rails-dom-testing (~> 2.2)
35
- actionpack (7.1.3)
36
- actionview (= 7.1.3)
37
- activesupport (= 7.1.3)
38
- nokogiri (>= 1.8.5)
39
- racc
40
- rack (>= 2.2.4)
41
- rack-session (>= 1.0.1)
33
+ rails-dom-testing (~> 2.0)
34
+ actionpack (7.0.8)
35
+ actionview (= 7.0.8)
36
+ activesupport (= 7.0.8)
37
+ rack (~> 2.0, >= 2.2.4)
42
38
  rack-test (>= 0.6.3)
43
- rails-dom-testing (~> 2.2)
44
- rails-html-sanitizer (~> 1.6)
45
- actiontext (7.1.3)
46
- actionpack (= 7.1.3)
47
- activerecord (= 7.1.3)
48
- activestorage (= 7.1.3)
49
- activesupport (= 7.1.3)
39
+ rails-dom-testing (~> 2.0)
40
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
41
+ actiontext (7.0.8)
42
+ actionpack (= 7.0.8)
43
+ activerecord (= 7.0.8)
44
+ activestorage (= 7.0.8)
45
+ activesupport (= 7.0.8)
50
46
  globalid (>= 0.6.0)
51
47
  nokogiri (>= 1.8.5)
52
- actionview (7.1.3)
53
- activesupport (= 7.1.3)
48
+ actionview (7.0.8)
49
+ activesupport (= 7.0.8)
54
50
  builder (~> 3.1)
55
- erubi (~> 1.11)
56
- rails-dom-testing (~> 2.2)
57
- rails-html-sanitizer (~> 1.6)
58
- activejob (7.1.3)
59
- activesupport (= 7.1.3)
51
+ erubi (~> 1.4)
52
+ rails-dom-testing (~> 2.0)
53
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
54
+ activejob (7.0.8)
55
+ activesupport (= 7.0.8)
60
56
  globalid (>= 0.3.6)
61
- activemodel (7.1.3)
62
- activesupport (= 7.1.3)
63
- activerecord (7.1.3)
64
- activemodel (= 7.1.3)
65
- activesupport (= 7.1.3)
66
- timeout (>= 0.4.0)
67
- activestorage (7.1.3)
68
- actionpack (= 7.1.3)
69
- activejob (= 7.1.3)
70
- activerecord (= 7.1.3)
71
- activesupport (= 7.1.3)
57
+ activemodel (7.0.8)
58
+ activesupport (= 7.0.8)
59
+ activerecord (7.0.8)
60
+ activemodel (= 7.0.8)
61
+ activesupport (= 7.0.8)
62
+ activestorage (7.0.8)
63
+ actionpack (= 7.0.8)
64
+ activejob (= 7.0.8)
65
+ activerecord (= 7.0.8)
66
+ activesupport (= 7.0.8)
72
67
  marcel (~> 1.0)
73
- activesupport (7.1.3)
74
- base64
75
- bigdecimal
68
+ mini_mime (>= 1.1.0)
69
+ activesupport (7.0.8)
76
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
77
- connection_pool (>= 2.2.5)
78
- drb
79
71
  i18n (>= 1.6, < 2)
80
72
  minitest (>= 5.1)
81
- mutex_m
82
73
  tzinfo (~> 2.0)
83
74
  appraisal (2.5.0)
84
75
  bundler
85
76
  rake
86
77
  thor (>= 0.14.0)
87
- base64 (0.2.0)
88
- bigdecimal (3.1.6)
89
78
  builder (3.2.4)
90
79
  concurrent-ruby (1.2.3)
91
- connection_pool (2.4.1)
92
80
  crass (1.0.6)
93
81
  date (3.3.4)
94
82
  diff-lcs (1.5.0)
95
- drb (2.2.0)
96
- ruby2_keywords
97
83
  erubi (1.12.0)
98
84
  globalid (1.2.1)
99
85
  activesupport (>= 6.1)
100
86
  i18n (1.14.1)
101
87
  concurrent-ruby (~> 1.0)
102
- io-console (0.7.2)
103
- irb (1.11.1)
104
- rdoc
105
- reline (>= 0.4.2)
106
88
  loofah (2.22.0)
107
89
  crass (~> 1.0.2)
108
90
  nokogiri (>= 1.12.0)
@@ -112,10 +94,10 @@ GEM
112
94
  net-pop
113
95
  net-smtp
114
96
  marcel (1.0.2)
97
+ method_source (1.0.0)
115
98
  mini_mime (1.1.5)
116
99
  mini_portile2 (2.8.5)
117
100
  minitest (5.21.2)
118
- mutex_m (0.2.0)
119
101
  net-imap (0.4.9.1)
120
102
  date
121
103
  net-protocol
@@ -129,31 +111,24 @@ GEM
129
111
  nokogiri (1.15.5)
130
112
  mini_portile2 (~> 2.8.2)
131
113
  racc (~> 1.4)
132
- psych (5.1.2)
133
- stringio
134
114
  racc (1.7.3)
135
- rack (3.0.8)
136
- rack-session (2.0.0)
137
- rack (>= 3.0.0)
115
+ rack (2.2.8)
138
116
  rack-test (2.1.0)
139
117
  rack (>= 1.3)
140
- rackup (2.1.0)
141
- rack (>= 3)
142
- webrick (~> 1.8)
143
- rails (7.1.3)
144
- actioncable (= 7.1.3)
145
- actionmailbox (= 7.1.3)
146
- actionmailer (= 7.1.3)
147
- actionpack (= 7.1.3)
148
- actiontext (= 7.1.3)
149
- actionview (= 7.1.3)
150
- activejob (= 7.1.3)
151
- activemodel (= 7.1.3)
152
- activerecord (= 7.1.3)
153
- activestorage (= 7.1.3)
154
- activesupport (= 7.1.3)
118
+ rails (7.0.8)
119
+ actioncable (= 7.0.8)
120
+ actionmailbox (= 7.0.8)
121
+ actionmailer (= 7.0.8)
122
+ actionpack (= 7.0.8)
123
+ actiontext (= 7.0.8)
124
+ actionview (= 7.0.8)
125
+ activejob (= 7.0.8)
126
+ activemodel (= 7.0.8)
127
+ activerecord (= 7.0.8)
128
+ activestorage (= 7.0.8)
129
+ activesupport (= 7.0.8)
155
130
  bundler (>= 1.15.0)
156
- railties (= 7.1.3)
131
+ railties (= 7.0.8)
157
132
  rails-dom-testing (2.2.0)
158
133
  activesupport (>= 5.0.0)
159
134
  minitest
@@ -161,19 +136,14 @@ GEM
161
136
  rails-html-sanitizer (1.6.0)
162
137
  loofah (~> 2.21)
163
138
  nokogiri (~> 1.14)
164
- railties (7.1.3)
165
- actionpack (= 7.1.3)
166
- activesupport (= 7.1.3)
167
- irb
168
- rackup (>= 1.0.0)
139
+ railties (7.0.8)
140
+ actionpack (= 7.0.8)
141
+ activesupport (= 7.0.8)
142
+ method_source
169
143
  rake (>= 12.2)
170
- thor (~> 1.0, >= 1.2.2)
171
- zeitwerk (~> 2.6)
144
+ thor (~> 1.0)
145
+ zeitwerk (~> 2.5)
172
146
  rake (13.1.0)
173
- rdoc (6.6.2)
174
- psych (>= 4.0.0)
175
- reline (0.4.2)
176
- io-console (~> 0.5)
177
147
  rspec-core (3.12.2)
178
148
  rspec-support (~> 3.12.0)
179
149
  rspec-expectations (3.12.3)
@@ -191,13 +161,10 @@ GEM
191
161
  rspec-mocks (~> 3.12)
192
162
  rspec-support (~> 3.12)
193
163
  rspec-support (3.12.1)
194
- ruby2_keywords (0.0.5)
195
- stringio (3.1.0)
196
164
  thor (1.3.0)
197
165
  timeout (0.4.1)
198
166
  tzinfo (2.0.6)
199
167
  concurrent-ruby (~> 1.0)
200
- webrick (1.8.1)
201
168
  websocket-driver (0.7.6)
202
169
  websocket-extensions (>= 0.1.0)
203
170
  websocket-extensions (0.1.5)
@@ -209,8 +176,8 @@ PLATFORMS
209
176
  DEPENDENCIES
210
177
  appraisal
211
178
  bigcartel-currency-locales!
212
- rails (~> 7)
213
- rspec-rails (>= 3.0)
179
+ rails (~> 7.0.0)
180
+ rspec-rails
214
181
 
215
182
  BUNDLED WITH
216
183
  2.1.4
@@ -0,0 +1,26 @@
1
+ ae:
2
+ number:
3
+ format:
4
+ separator: "."
5
+ delimiter: ","
6
+ precision: 2
7
+ significant: false
8
+ strip_insignificant_zeros: false
9
+
10
+ currency:
11
+ format:
12
+ format: "%u %n"
13
+ unit: "AED"
14
+ separator: "."
15
+ delimiter: ","
16
+ precision: 2
17
+ significant: false
18
+ strip_insignificant_zeros: false
19
+
20
+ percentage:
21
+ format:
22
+ delimiter: ""
23
+
24
+ precision:
25
+ format:
26
+ delimiter: ","
@@ -0,0 +1,22 @@
1
+ bg:
2
+ number:
3
+ format:
4
+ precision: 2
5
+ separator: ","
6
+ delimiter: " "
7
+
8
+ currency:
9
+ format:
10
+ unit: 'лв'
11
+ precision: 2
12
+ format: '%n%u'
13
+ separator: ","
14
+ delimiter: " "
15
+
16
+ percentage:
17
+ format:
18
+ delimiter: " "
19
+
20
+ precision:
21
+ format:
22
+ delimiter: " "
@@ -2,17 +2,17 @@ cs:
2
2
  number:
3
3
  format:
4
4
  separator: ","
5
- delimiter: ""
5
+ delimiter: " "
6
6
  precision: 2
7
7
  significant: false
8
8
  strip_insignificant_zeros: false
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%n%u"
12
+ format: "%n %u"
13
13
  unit: "Kč"
14
14
  separator: ","
15
- delimiter: ""
15
+ delimiter: " "
16
16
  precision: 2
17
17
  significant: false
18
18
  strip_insignificant_zeros: false
@@ -23,4 +23,4 @@ cs:
23
23
 
24
24
  precision:
25
25
  format:
26
- delimiter: ""
26
+ delimiter: " "
@@ -9,7 +9,7 @@ da:
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%u%n"
12
+ format: "%n %u"
13
13
  unit: "kr"
14
14
  separator: ","
15
15
  delimiter: "."
@@ -1,4 +1,4 @@
1
- "en-AU":
1
+ en-AU:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -1,4 +1,4 @@
1
- "en-GB":
1
+ en-GB:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -1,4 +1,4 @@
1
- "en-IN":
1
+ en-IN:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -23,4 +23,4 @@
23
23
 
24
24
  precision:
25
25
  format:
26
- delimiter: ""
26
+ delimiter: ","
@@ -1,4 +1,4 @@
1
- "en-PH":
1
+ en-PH:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -24,4 +24,3 @@
24
24
  precision:
25
25
  format:
26
26
  delimiter: ","
27
-
@@ -1,4 +1,4 @@
1
- "en-US":
1
+ en-US:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -1,4 +1,4 @@
1
- "es-MX":
1
+ es-MX:
2
2
  number:
3
3
  format:
4
4
  delimiter: ","
@@ -1,18 +1,18 @@
1
1
  eu:
2
2
  number:
3
3
  format:
4
- separator: "."
5
- delimiter: ","
4
+ separator: ","
5
+ delimiter: "."
6
6
  precision: 2
7
7
  significant: false
8
8
  strip_insignificant_zeros: false
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%u%n"
12
+ format: "%n %u"
13
13
  unit: "€"
14
- separator: "."
15
- delimiter: ","
14
+ separator: ","
15
+ delimiter: "."
16
16
  precision: 2
17
17
  significant: false
18
18
  strip_insignificant_zeros: false
@@ -23,4 +23,4 @@ eu:
23
23
 
24
24
  precision:
25
25
  format:
26
- delimiter: ","
26
+ delimiter: "."
@@ -1,18 +1,18 @@
1
- "gsw-CH":
1
+ gsw-CH:
2
2
  number:
3
3
  format:
4
4
  precision: 2
5
5
  separator: '.'
6
- delimiter: ","
6
+ delimiter: "'"
7
7
  significant: false
8
8
  strip_insignificant_zeros: false
9
9
 
10
10
  currency:
11
11
  format:
12
12
  unit: 'CHF'
13
- format: '%u%n'
13
+ format: '%u %n'
14
14
  separator: '.'
15
- delimiter: ","
15
+ delimiter: "'"
16
16
  precision: 2
17
17
  significant: false
18
18
  strip_insignificant_zeros: false
@@ -23,4 +23,4 @@
23
23
 
24
24
  precision:
25
25
  format:
26
- delimiter: ","
26
+ delimiter: "'"
@@ -0,0 +1,26 @@
1
+ hr:
2
+ number:
3
+ format:
4
+ precision: 2
5
+ separator: ","
6
+ delimiter: "."
7
+ significant: false
8
+ strip_insignificant_zeros: false
9
+
10
+ currency:
11
+ format:
12
+ unit: 'kn'
13
+ precision: 2
14
+ format: '%n %u'
15
+ separator: ","
16
+ delimiter: "."
17
+ significant: false
18
+ strip_insignificant_zeros: false
19
+
20
+ percentage:
21
+ format:
22
+ delimiter: "."
23
+
24
+ precision:
25
+ format:
26
+ delimiter: "."
@@ -1,26 +1,30 @@
1
1
  hu:
2
2
  number:
3
- format:
4
- precision: 2
5
- separator: ","
6
- delimiter: ""
7
-
8
- currency:
9
- format:
10
- unit: 'Ft'
11
- precision: 0
12
- format: '%n%u'
13
- separator: ","
14
- delimiter: ""
15
-
16
- percentage:
17
- format:
18
- delimiter: ""
19
-
20
- precision:
21
- format:
22
- delimiter: ""
23
-
24
- paypal:
25
- format:
26
- precision: 0
3
+ format:
4
+ precision: 2
5
+ separator: ","
6
+ delimiter: " "
7
+ significant: false
8
+ strip_insignificant_zeros: false
9
+
10
+ currency:
11
+ format:
12
+ format: '%n %u'
13
+ unit: 'Ft'
14
+ separator: ","
15
+ delimiter: " "
16
+ precision: 0
17
+ significant: false
18
+ strip_insignificant_zeros: false
19
+
20
+ percentage:
21
+ format:
22
+ delimiter: ""
23
+
24
+ precision:
25
+ format:
26
+ delimiter: " "
27
+
28
+ paypal:
29
+ format:
30
+ precision: 0
@@ -9,7 +9,7 @@ il:
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%u%n"
12
+ format: "%u %n"
13
13
  unit: "₪"
14
14
  separator: "."
15
15
  delimiter: ","
@@ -11,7 +11,7 @@ ja:
11
11
  format:
12
12
  format: "%u%n"
13
13
  unit: "¥"
14
- separator: "."
14
+ separator: ""
15
15
  delimiter: ","
16
16
  precision: 0
17
17
  significant: false
@@ -1,4 +1,4 @@
1
- "ms-MY":
1
+ ms-MY:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -9,7 +9,7 @@
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%u%n"
12
+ format: "%u %n"
13
13
  unit: "RM"
14
14
  separator: "."
15
15
  delimiter: ","
@@ -1,22 +1,26 @@
1
1
  nb:
2
2
  number:
3
- format: &number_format
3
+ format:
4
4
  precision: 2
5
5
  separator: ","
6
- delimiter: ""
6
+ delimiter: " "
7
7
  significant: false
8
8
  strip_insignificant_zeros: false
9
-
9
+
10
10
  currency:
11
11
  format:
12
12
  unit: "kr"
13
- format: "%n%u"
14
- <<: *number_format
15
-
13
+ format: "%n %u"
14
+ precision: 2
15
+ separator: ","
16
+ delimiter: " "
17
+ significant: false
18
+ strip_insignificant_zeros: false
19
+
16
20
  percentage:
17
21
  format:
18
22
  delimiter: ""
19
-
23
+
20
24
  precision:
21
25
  format:
22
- delimiter: ""
26
+ delimiter: " "
@@ -2,17 +2,17 @@ pl:
2
2
  number:
3
3
  format:
4
4
  separator: ","
5
- delimiter: ""
5
+ delimiter: " "
6
6
  precision: 2
7
7
  significant: false
8
8
  strip_insignificant_zeros: false
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%n%u"
12
+ format: "%n %u"
13
13
  unit: "zł"
14
14
  separator: ","
15
- delimiter: ""
15
+ delimiter: " "
16
16
  precision: 2
17
17
  significant: false
18
18
  strip_insignificant_zeros: true
@@ -23,5 +23,4 @@ pl:
23
23
 
24
24
  precision:
25
25
  format:
26
- delimiter: ""
27
-
26
+ delimiter: " "
@@ -1,4 +1,4 @@
1
- "pt-BR":
1
+ pt-BR:
2
2
  number:
3
3
  format:
4
4
  separator: ","
@@ -9,7 +9,7 @@
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%u%n"
12
+ format: "%u %n"
13
13
  unit: "R$"
14
14
  separator: ","
15
15
  delimiter: "."