bigcartel-currency-locales 1.6.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +20 -0
  3. data/.ruby-version +1 -0
  4. data/Appraisals +10 -9
  5. data/README.md +1 -1
  6. data/Rakefile +1 -6
  7. data/bigcartel-currency-locales.gemspec +2 -2
  8. data/gemfiles/.bundle/config +2 -0
  9. data/gemfiles/{rails_5.gemfile → rails_6.1.gemfile} +1 -1
  10. data/gemfiles/rails_6.1.gemfile.lock +184 -0
  11. data/gemfiles/{rails_4.gemfile → rails_6.gemfile} +1 -1
  12. data/gemfiles/rails_6.gemfile.lock +181 -0
  13. data/gemfiles/{rails_2.3.gemfile → rails_7.1.gemfile} +1 -3
  14. data/gemfiles/rails_7.1.gemfile.lock +216 -0
  15. data/gemfiles/rails_7.gemfile +7 -0
  16. data/gemfiles/rails_7.gemfile.lock +183 -0
  17. data/lib/currency-locales/locales/ae.yml +26 -0
  18. data/lib/currency-locales/locales/bg.yml +22 -0
  19. data/lib/currency-locales/locales/cs.yml +0 -0
  20. data/lib/currency-locales/locales/da.yml +1 -1
  21. data/lib/currency-locales/locales/en-AU.yml +1 -1
  22. data/lib/currency-locales/locales/en-GB.yml +1 -1
  23. data/lib/currency-locales/locales/en-IN.yml +2 -2
  24. data/lib/currency-locales/locales/en-PH.yml +1 -2
  25. data/lib/currency-locales/locales/en-US.yml +1 -1
  26. data/lib/currency-locales/locales/es-MX.yml +1 -1
  27. data/lib/currency-locales/locales/eu.yml +0 -0
  28. data/lib/currency-locales/locales/gsw-CH.yml +1 -1
  29. data/lib/currency-locales/locales/hr.yml +22 -0
  30. data/lib/currency-locales/locales/hu.yml +24 -24
  31. data/lib/currency-locales/locales/il.yml +0 -0
  32. data/lib/currency-locales/locales/ja.yml +1 -1
  33. data/lib/currency-locales/locales/ms-MY.yml +1 -1
  34. data/lib/currency-locales/locales/nb.yml +10 -6
  35. data/lib/currency-locales/locales/pl.yml +1 -2
  36. data/lib/currency-locales/locales/pt-BR.yml +1 -1
  37. data/lib/currency-locales/locales/ro.yml +26 -0
  38. data/lib/currency-locales/locales/sv-SE.yml +2 -2
  39. data/lib/currency-locales/locales/th.yml +1 -1
  40. data/lib/currency-locales/locales/tr.yml +1 -1
  41. data/lib/currency-locales/locales/zh-TW.yml +1 -1
  42. data/lib/currency-locales/version.rb +1 -1
  43. data/spec/integration/currency_locales_spec.rb +51 -422
  44. data/spec/spec_helper.rb +8 -18
  45. metadata +27 -19
  46. data/.travis.yml +0 -9
  47. data/gemfiles/rails_2.3.gemfile.lock +0 -109
  48. data/gemfiles/rails_4.gemfile.lock +0 -134
  49. data/gemfiles/rails_5.gemfile.lock +0 -141
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 7.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,183 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ bigcartel-currency-locales (2.0.0)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ actioncable (7.0.8)
10
+ actionpack (= 7.0.8)
11
+ activesupport (= 7.0.8)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
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)
20
+ mail (>= 2.7.1)
21
+ net-imap
22
+ net-pop
23
+ net-smtp
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)
29
+ mail (~> 2.5, >= 2.5.4)
30
+ net-imap
31
+ net-pop
32
+ net-smtp
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)
38
+ rack-test (>= 0.6.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)
46
+ globalid (>= 0.6.0)
47
+ nokogiri (>= 1.8.5)
48
+ actionview (7.0.8)
49
+ activesupport (= 7.0.8)
50
+ builder (~> 3.1)
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)
56
+ globalid (>= 0.3.6)
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)
67
+ marcel (~> 1.0)
68
+ mini_mime (>= 1.1.0)
69
+ activesupport (7.0.8)
70
+ concurrent-ruby (~> 1.0, >= 1.0.2)
71
+ i18n (>= 1.6, < 2)
72
+ minitest (>= 5.1)
73
+ tzinfo (~> 2.0)
74
+ appraisal (2.5.0)
75
+ bundler
76
+ rake
77
+ thor (>= 0.14.0)
78
+ builder (3.2.4)
79
+ concurrent-ruby (1.2.3)
80
+ crass (1.0.6)
81
+ date (3.3.4)
82
+ diff-lcs (1.5.0)
83
+ erubi (1.12.0)
84
+ globalid (1.2.1)
85
+ activesupport (>= 6.1)
86
+ i18n (1.14.1)
87
+ concurrent-ruby (~> 1.0)
88
+ loofah (2.22.0)
89
+ crass (~> 1.0.2)
90
+ nokogiri (>= 1.12.0)
91
+ mail (2.8.1)
92
+ mini_mime (>= 0.1.1)
93
+ net-imap
94
+ net-pop
95
+ net-smtp
96
+ marcel (1.0.2)
97
+ method_source (1.0.0)
98
+ mini_mime (1.1.5)
99
+ mini_portile2 (2.8.5)
100
+ minitest (5.21.2)
101
+ net-imap (0.4.9.1)
102
+ date
103
+ net-protocol
104
+ net-pop (0.1.2)
105
+ net-protocol
106
+ net-protocol (0.2.2)
107
+ timeout
108
+ net-smtp (0.4.0.1)
109
+ net-protocol
110
+ nio4r (2.7.0)
111
+ nokogiri (1.15.5)
112
+ mini_portile2 (~> 2.8.2)
113
+ racc (~> 1.4)
114
+ racc (1.7.3)
115
+ rack (2.2.8)
116
+ rack-test (2.1.0)
117
+ rack (>= 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)
130
+ bundler (>= 1.15.0)
131
+ railties (= 7.0.8)
132
+ rails-dom-testing (2.2.0)
133
+ activesupport (>= 5.0.0)
134
+ minitest
135
+ nokogiri (>= 1.6)
136
+ rails-html-sanitizer (1.6.0)
137
+ loofah (~> 2.21)
138
+ nokogiri (~> 1.14)
139
+ railties (7.0.8)
140
+ actionpack (= 7.0.8)
141
+ activesupport (= 7.0.8)
142
+ method_source
143
+ rake (>= 12.2)
144
+ thor (~> 1.0)
145
+ zeitwerk (~> 2.5)
146
+ rake (13.1.0)
147
+ rspec-core (3.12.2)
148
+ rspec-support (~> 3.12.0)
149
+ rspec-expectations (3.12.3)
150
+ diff-lcs (>= 1.2.0, < 2.0)
151
+ rspec-support (~> 3.12.0)
152
+ rspec-mocks (3.12.6)
153
+ diff-lcs (>= 1.2.0, < 2.0)
154
+ rspec-support (~> 3.12.0)
155
+ rspec-rails (6.1.0)
156
+ actionpack (>= 6.1)
157
+ activesupport (>= 6.1)
158
+ railties (>= 6.1)
159
+ rspec-core (~> 3.12)
160
+ rspec-expectations (~> 3.12)
161
+ rspec-mocks (~> 3.12)
162
+ rspec-support (~> 3.12)
163
+ rspec-support (3.12.1)
164
+ thor (1.3.0)
165
+ timeout (0.4.1)
166
+ tzinfo (2.0.6)
167
+ concurrent-ruby (~> 1.0)
168
+ websocket-driver (0.7.6)
169
+ websocket-extensions (>= 0.1.0)
170
+ websocket-extensions (0.1.5)
171
+ zeitwerk (2.6.12)
172
+
173
+ PLATFORMS
174
+ ruby
175
+
176
+ DEPENDENCIES
177
+ appraisal
178
+ bigcartel-currency-locales!
179
+ rails (~> 7.0.0)
180
+ rspec-rails
181
+
182
+ BUNDLED WITH
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: " "
File without changes
@@ -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: ","
File without changes
@@ -1,4 +1,4 @@
1
- "gsw-CH":
1
+ gsw-CH:
2
2
  number:
3
3
  format:
4
4
  precision: 2
@@ -0,0 +1,22 @@
1
+ hr:
2
+ number:
3
+ format:
4
+ precision: 2
5
+ separator: ","
6
+ delimiter: "."
7
+
8
+ currency:
9
+ format:
10
+ unit: 'kn'
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: "."
@@ -1,26 +1,26 @@
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
+
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
File without changes
@@ -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: "."
@@ -1,22 +1,26 @@
1
1
  nb:
2
2
  number:
3
- format: &number_format
3
+ format:
4
4
  precision: 2
5
5
  separator: ","
6
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
26
  delimiter: ""
@@ -9,7 +9,7 @@ pl:
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%n%u"
12
+ format: "%n %u"
13
13
  unit: "zł"
14
14
  separator: ","
15
15
  delimiter: ""
@@ -24,4 +24,3 @@ pl:
24
24
  precision:
25
25
  format:
26
26
  delimiter: ""
27
-
@@ -1,4 +1,4 @@
1
- "pt-BR":
1
+ pt-BR:
2
2
  number:
3
3
  format:
4
4
  separator: ","
@@ -0,0 +1,26 @@
1
+ ro:
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: "%n %u"
13
+ unit: "lei"
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: "."
@@ -1,4 +1,4 @@
1
- "sv-SE":
1
+ sv-SE:
2
2
  number:
3
3
  format:
4
4
  separator: ","
@@ -9,7 +9,7 @@
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%n%u"
12
+ format: "%n %u"
13
13
  unit: "kr"
14
14
  separator: ","
15
15
  delimiter: ""
@@ -9,7 +9,7 @@ th:
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%n%u"
12
+ format: "%u%n"
13
13
  unit: "฿"
14
14
  separator: "."
15
15
  delimiter: ","
@@ -9,7 +9,7 @@ tr:
9
9
 
10
10
  currency:
11
11
  format:
12
- format: "%n %u"
12
+ format: "%u%n"
13
13
  unit: "₺"
14
14
  separator: ","
15
15
  delimiter: "."
@@ -1,4 +1,4 @@
1
- "zh-TW":
1
+ zh-TW:
2
2
  number:
3
3
  format:
4
4
  separator: "."
@@ -1,5 +1,5 @@
1
1
  module BigCartel
2
2
  module CurrencyLocales
3
- VERSION = "1.6.0"
3
+ VERSION = "2.2.0"
4
4
  end
5
5
  end