shopify-money 3.0.0 → 3.0.1

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/tests.yml +3 -3
  3. data/.gitignore +2 -1
  4. data/.rubocop.yml +36 -0
  5. data/.ruby-version +1 -1
  6. data/Gemfile +4 -1
  7. data/Gemfile.lock +160 -121
  8. data/Rakefile +2 -2
  9. data/config/currency_historic.yml +44 -2
  10. data/config/currency_iso.yml +38 -64
  11. data/lib/money/allocator.rb +13 -9
  12. data/lib/money/config.rb +8 -0
  13. data/lib/money/core_extensions.rb +2 -1
  14. data/lib/money/currency/loader.rb +4 -3
  15. data/lib/money/currency.rb +12 -3
  16. data/lib/money/deprecations.rb +22 -4
  17. data/lib/money/errors.rb +1 -0
  18. data/lib/money/helpers.rb +2 -1
  19. data/lib/money/money.rb +53 -29
  20. data/lib/money/null_currency.rb +11 -3
  21. data/lib/money/parser/accounting.rb +1 -0
  22. data/lib/money/parser/fuzzy.rb +14 -13
  23. data/lib/money/parser/locale_aware.rb +3 -6
  24. data/lib/money/parser/simple.rb +2 -1
  25. data/lib/money/rails/job_argument_serializer.rb +0 -1
  26. data/lib/money/railtie.rb +5 -3
  27. data/lib/money/splitter.rb +20 -24
  28. data/lib/money/version.rb +2 -1
  29. data/lib/money.rb +1 -0
  30. data/lib/money_column/active_record_hooks.rb +9 -6
  31. data/lib/money_column/active_record_type.rb +7 -4
  32. data/lib/money_column/railtie.rb +2 -1
  33. data/lib/money_column.rb +1 -0
  34. data/lib/rubocop/cop/money/missing_currency.rb +16 -23
  35. data/lib/rubocop/cop/money/zero_money.rb +7 -13
  36. data/lib/shopify-money.rb +1 -0
  37. data/money.gemspec +6 -6
  38. data/spec/config_spec.rb +14 -0
  39. data/spec/money_spec.rb +38 -0
  40. data/spec/rubocop/cop/money/missing_currency_spec.rb +7 -7
  41. data/spec/rubocop/cop/money/zero_money_spec.rb +2 -2
  42. metadata +18 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db511ab9ce13dc4aec5a27ef380b25dd07f0be27c21967780e4b60e58b22325e
4
- data.tar.gz: ed4d4323f3d0b405effe8ed9fd00bf87f67c96d9643076f8b7813097534c602f
3
+ metadata.gz: de1e039c5ccec77ffce929e26f1e4dde3cd5926efa1b40b25c936ee3c2b6b371
4
+ data.tar.gz: e07dd5347acf25da2db513995e627717e05045425dd5a51ba4bb308c4bc2fe63
5
5
  SHA512:
6
- metadata.gz: 2e17c506f0d95b1dd9490b29c6b1cb9bf841042478afd1c6b333bc0c218ea6bded1a269966edf703d6927e000fa1d037234e80d5b1b96e9df5c1b71383f2959a
7
- data.tar.gz: 374acdd9eac097da5f20d4215534146bc8f4c6406fe47df7d24707109337838754adee060dadf98b09e6522db63db35a4d351963f97efb835186d208da21c679
6
+ metadata.gz: 9bf5be045a44b3028cedd31874ebfed0de5112535b5fab3237eb8ebc1a25565eb0ba15b1a65de0fa0d030d8b7ff684b932913a1e696d3b581d057ef66026d390
7
+ data.tar.gz: 1b4bed314edab5fa7c29393e232f148923eda6248b9a9a3477b7c070bf724f61ff2b03bbf4d6bd2caf9f70116fbb9fa5c3eb7fd56ea143dd0c51e111f13ccddd
@@ -9,16 +9,16 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- ruby: ['3.0', '3.1', '3.2', '3.3']
12
+ ruby: ['3.1', '3.2', '3.3']
13
13
 
14
14
  name: Ruby ${{ matrix.ruby }}
15
15
  steps:
16
- - uses: actions/checkout@v2
16
+ - uses: actions/checkout@v4
17
17
  - name: Set up Ruby ${{ matrix.ruby }}
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
20
20
  ruby-version: ${{ matrix.ruby }}
21
- - uses: actions/cache@v1
21
+ - uses: actions/cache@v4
22
22
  with:
23
23
  path: vendor/bundle
24
24
  key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
data/.gitignore CHANGED
@@ -14,7 +14,7 @@ doc
14
14
  # jeweler generated
15
15
  pkg
16
16
 
17
- # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
17
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
18
18
  #
19
19
  # * Create a file at ~/.gitignore
20
20
  # * Include files you want ignored
@@ -48,3 +48,4 @@ pkg
48
48
  #*.rbc
49
49
 
50
50
  .rspec_status
51
+ .DS_Store
data/.rubocop.yml ADDED
@@ -0,0 +1,36 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ inherit_gem:
5
+ rubocop-shopify: rubocop.yml
6
+
7
+ AllCops:
8
+ Exclude:
9
+ - 'spec/**/*'
10
+ SuggestExtensions: false
11
+
12
+ Style/MethodCallWithoutArgsParentheses:
13
+ Enabled: false
14
+
15
+ Style/StringLiterals:
16
+ Enabled: false
17
+
18
+ Layout/EmptyLineAfterGuardClause:
19
+ Enabled: false
20
+
21
+ Layout/LineLength:
22
+ Max: 120
23
+ AllowedPatterns:
24
+ - '^\s*#'
25
+
26
+ Style/ClassVars:
27
+ Enabled: false
28
+
29
+ Style/ClassMethodsDefinitions:
30
+ Enabled: false
31
+
32
+ Naming/FileName:
33
+ Enabled: false
34
+
35
+ Style/SpecialGlobalVars:
36
+ Enabled: false
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.0
1
+ 3.3.5
data/Gemfile CHANGED
@@ -1,7 +1,10 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source "https://rubygems.org"
3
4
 
4
5
  gem "pry-byebug", require: false
5
- gem 'rubocop', "~> 0.81.0", require: false
6
+ gem "rubocop", require: false
7
+ gem "rubocop-shopify", ">=2.8.0", require: false
8
+ gem "rubocop-performance", require: false
6
9
 
7
10
  gemspec
data/Gemfile.lock CHANGED
@@ -1,75 +1,89 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify-money (3.0.0)
4
+ shopify-money (3.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (6.1.7.8)
10
- actionpack (= 6.1.7.8)
11
- activesupport (= 6.1.7.8)
9
+ actioncable (7.2.1.1)
10
+ actionpack (= 7.2.1.1)
11
+ activesupport (= 7.2.1.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailbox (6.1.7.8)
15
- actionpack (= 6.1.7.8)
16
- activejob (= 6.1.7.8)
17
- activerecord (= 6.1.7.8)
18
- activestorage (= 6.1.7.8)
19
- activesupport (= 6.1.7.8)
20
- mail (>= 2.7.1)
21
- actionmailer (6.1.7.8)
22
- actionpack (= 6.1.7.8)
23
- actionview (= 6.1.7.8)
24
- activejob (= 6.1.7.8)
25
- activesupport (= 6.1.7.8)
26
- mail (~> 2.5, >= 2.5.4)
27
- rails-dom-testing (~> 2.0)
28
- actionpack (6.1.7.8)
29
- actionview (= 6.1.7.8)
30
- activesupport (= 6.1.7.8)
31
- rack (~> 2.0, >= 2.0.9)
14
+ zeitwerk (~> 2.6)
15
+ actionmailbox (7.2.1.1)
16
+ actionpack (= 7.2.1.1)
17
+ activejob (= 7.2.1.1)
18
+ activerecord (= 7.2.1.1)
19
+ activestorage (= 7.2.1.1)
20
+ activesupport (= 7.2.1.1)
21
+ mail (>= 2.8.0)
22
+ actionmailer (7.2.1.1)
23
+ actionpack (= 7.2.1.1)
24
+ actionview (= 7.2.1.1)
25
+ activejob (= 7.2.1.1)
26
+ activesupport (= 7.2.1.1)
27
+ mail (>= 2.8.0)
28
+ rails-dom-testing (~> 2.2)
29
+ actionpack (7.2.1.1)
30
+ actionview (= 7.2.1.1)
31
+ activesupport (= 7.2.1.1)
32
+ nokogiri (>= 1.8.5)
33
+ racc
34
+ rack (>= 2.2.4, < 3.2)
35
+ rack-session (>= 1.0.1)
32
36
  rack-test (>= 0.6.3)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
- actiontext (6.1.7.8)
36
- actionpack (= 6.1.7.8)
37
- activerecord (= 6.1.7.8)
38
- activestorage (= 6.1.7.8)
39
- activesupport (= 6.1.7.8)
37
+ rails-dom-testing (~> 2.2)
38
+ rails-html-sanitizer (~> 1.6)
39
+ useragent (~> 0.16)
40
+ actiontext (7.2.1.1)
41
+ actionpack (= 7.2.1.1)
42
+ activerecord (= 7.2.1.1)
43
+ activestorage (= 7.2.1.1)
44
+ activesupport (= 7.2.1.1)
45
+ globalid (>= 0.6.0)
40
46
  nokogiri (>= 1.8.5)
41
- actionview (6.1.7.8)
42
- activesupport (= 6.1.7.8)
47
+ actionview (7.2.1.1)
48
+ activesupport (= 7.2.1.1)
43
49
  builder (~> 3.1)
44
- erubi (~> 1.4)
45
- rails-dom-testing (~> 2.0)
46
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
- activejob (6.1.7.8)
48
- activesupport (= 6.1.7.8)
50
+ erubi (~> 1.11)
51
+ rails-dom-testing (~> 2.2)
52
+ rails-html-sanitizer (~> 1.6)
53
+ activejob (7.2.1.1)
54
+ activesupport (= 7.2.1.1)
49
55
  globalid (>= 0.3.6)
50
- activemodel (6.1.7.8)
51
- activesupport (= 6.1.7.8)
52
- activerecord (6.1.7.8)
53
- activemodel (= 6.1.7.8)
54
- activesupport (= 6.1.7.8)
55
- activestorage (6.1.7.8)
56
- actionpack (= 6.1.7.8)
57
- activejob (= 6.1.7.8)
58
- activerecord (= 6.1.7.8)
59
- activesupport (= 6.1.7.8)
56
+ activemodel (7.2.1.1)
57
+ activesupport (= 7.2.1.1)
58
+ activerecord (7.2.1.1)
59
+ activemodel (= 7.2.1.1)
60
+ activesupport (= 7.2.1.1)
61
+ timeout (>= 0.4.0)
62
+ activestorage (7.2.1.1)
63
+ actionpack (= 7.2.1.1)
64
+ activejob (= 7.2.1.1)
65
+ activerecord (= 7.2.1.1)
66
+ activesupport (= 7.2.1.1)
60
67
  marcel (~> 1.0)
61
- mini_mime (>= 1.1.0)
62
- activesupport (6.1.7.8)
63
- concurrent-ruby (~> 1.0, >= 1.0.2)
68
+ activesupport (7.2.1.1)
69
+ base64
70
+ bigdecimal
71
+ concurrent-ruby (~> 1.0, >= 1.3.1)
72
+ connection_pool (>= 2.2.5)
73
+ drb
64
74
  i18n (>= 1.6, < 2)
75
+ logger (>= 1.4.2)
65
76
  minitest (>= 5.1)
66
- tzinfo (~> 2.0)
67
- zeitwerk (~> 2.3)
77
+ securerandom (>= 0.3)
78
+ tzinfo (~> 2.0, >= 2.0.5)
68
79
  ast (2.4.2)
69
- builder (3.2.4)
80
+ base64 (0.2.0)
81
+ bigdecimal (3.1.8)
82
+ builder (3.3.0)
70
83
  byebug (11.1.3)
71
84
  coderay (1.1.3)
72
- concurrent-ruby (1.3.1)
85
+ concurrent-ruby (1.3.4)
86
+ connection_pool (2.4.1)
73
87
  crass (1.0.6)
74
88
  database_cleaner (2.0.2)
75
89
  database_cleaner-active_record (>= 2, < 3)
@@ -79,13 +93,20 @@ GEM
79
93
  database_cleaner-core (2.0.1)
80
94
  date (3.3.4)
81
95
  diff-lcs (1.5.1)
82
- docile (1.4.0)
83
- erubi (1.12.0)
96
+ docile (1.4.1)
97
+ drb (2.2.1)
98
+ erubi (1.13.0)
84
99
  globalid (1.2.1)
85
100
  activesupport (>= 6.1)
86
- i18n (1.14.5)
101
+ i18n (1.14.6)
87
102
  concurrent-ruby (~> 1.0)
88
- jaro_winkler (1.5.6)
103
+ io-console (0.7.2)
104
+ irb (1.14.1)
105
+ rdoc (>= 4.0.0)
106
+ reline (>= 0.4.2)
107
+ json (2.7.2)
108
+ language_server-protocol (3.17.0.3)
109
+ logger (1.6.1)
89
110
  loofah (2.22.0)
90
111
  crass (~> 1.0.2)
91
112
  nokogiri (>= 1.12.0)
@@ -95,10 +116,10 @@ GEM
95
116
  net-pop
96
117
  net-smtp
97
118
  marcel (1.0.4)
98
- method_source (1.0.0)
119
+ method_source (1.1.0)
99
120
  mini_mime (1.1.5)
100
- minitest (5.23.1)
101
- net-imap (0.4.10)
121
+ minitest (5.25.1)
122
+ net-imap (0.5.0)
102
123
  date
103
124
  net-protocol
104
125
  net-pop (0.1.2)
@@ -107,21 +128,21 @@ GEM
107
128
  timeout
108
129
  net-smtp (0.5.0)
109
130
  net-protocol
110
- nio4r (2.7.1)
111
- nokogiri (1.16.5-aarch64-linux)
131
+ nio4r (2.7.3)
132
+ nokogiri (1.16.7-aarch64-linux)
112
133
  racc (~> 1.4)
113
- nokogiri (1.16.5-arm-linux)
134
+ nokogiri (1.16.7-arm-linux)
114
135
  racc (~> 1.4)
115
- nokogiri (1.16.5-arm64-darwin)
136
+ nokogiri (1.16.7-arm64-darwin)
116
137
  racc (~> 1.4)
117
- nokogiri (1.16.5-x86-linux)
138
+ nokogiri (1.16.7-x86-linux)
118
139
  racc (~> 1.4)
119
- nokogiri (1.16.5-x86_64-darwin)
140
+ nokogiri (1.16.7-x86_64-darwin)
120
141
  racc (~> 1.4)
121
- nokogiri (1.16.5-x86_64-linux)
142
+ nokogiri (1.16.7-x86_64-linux)
122
143
  racc (~> 1.4)
123
- parallel (1.24.0)
124
- parser (3.3.0.5)
144
+ parallel (1.26.3)
145
+ parser (3.3.5.0)
125
146
  ast (~> 2.4.1)
126
147
  racc
127
148
  pry (0.14.2)
@@ -130,25 +151,31 @@ GEM
130
151
  pry-byebug (3.10.1)
131
152
  byebug (~> 11.0)
132
153
  pry (>= 0.13, < 0.15)
133
- racc (1.8.0)
134
- rack (2.2.9)
154
+ psych (5.1.2)
155
+ stringio
156
+ racc (1.8.1)
157
+ rack (3.1.8)
158
+ rack-session (2.0.0)
159
+ rack (>= 3.0.0)
135
160
  rack-test (2.1.0)
136
161
  rack (>= 1.3)
137
- rails (6.1.7.8)
138
- actioncable (= 6.1.7.8)
139
- actionmailbox (= 6.1.7.8)
140
- actionmailer (= 6.1.7.8)
141
- actionpack (= 6.1.7.8)
142
- actiontext (= 6.1.7.8)
143
- actionview (= 6.1.7.8)
144
- activejob (= 6.1.7.8)
145
- activemodel (= 6.1.7.8)
146
- activerecord (= 6.1.7.8)
147
- activestorage (= 6.1.7.8)
148
- activesupport (= 6.1.7.8)
162
+ rackup (2.1.0)
163
+ rack (>= 3)
164
+ webrick (~> 1.8)
165
+ rails (7.2.1.1)
166
+ actioncable (= 7.2.1.1)
167
+ actionmailbox (= 7.2.1.1)
168
+ actionmailer (= 7.2.1.1)
169
+ actionpack (= 7.2.1.1)
170
+ actiontext (= 7.2.1.1)
171
+ actionview (= 7.2.1.1)
172
+ activejob (= 7.2.1.1)
173
+ activemodel (= 7.2.1.1)
174
+ activerecord (= 7.2.1.1)
175
+ activestorage (= 7.2.1.1)
176
+ activesupport (= 7.2.1.1)
149
177
  bundler (>= 1.15.0)
150
- railties (= 6.1.7.8)
151
- sprockets-rails (>= 2.0.0)
178
+ railties (= 7.2.1.1)
152
179
  rails-dom-testing (2.2.0)
153
180
  activesupport (>= 5.0.0)
154
181
  minitest
@@ -156,67 +183,77 @@ GEM
156
183
  rails-html-sanitizer (1.6.0)
157
184
  loofah (~> 2.21)
158
185
  nokogiri (~> 1.14)
159
- railties (6.1.7.8)
160
- actionpack (= 6.1.7.8)
161
- activesupport (= 6.1.7.8)
162
- method_source
186
+ railties (7.2.1.1)
187
+ actionpack (= 7.2.1.1)
188
+ activesupport (= 7.2.1.1)
189
+ irb (~> 1.13)
190
+ rackup (>= 1.0.0)
163
191
  rake (>= 12.2)
164
- thor (~> 1.0)
192
+ thor (~> 1.0, >= 1.2.2)
193
+ zeitwerk (~> 2.6)
165
194
  rainbow (3.1.1)
166
- rake (13.2.0)
167
- rexml (3.2.8)
168
- strscan (>= 3.0.9)
195
+ rake (13.2.1)
196
+ rdoc (6.7.0)
197
+ psych (>= 4.0.0)
198
+ regexp_parser (2.9.2)
199
+ reline (0.5.10)
200
+ io-console (~> 0.5)
169
201
  rspec (3.13.0)
170
202
  rspec-core (~> 3.13.0)
171
203
  rspec-expectations (~> 3.13.0)
172
204
  rspec-mocks (~> 3.13.0)
173
- rspec-core (3.13.0)
205
+ rspec-core (3.13.2)
174
206
  rspec-support (~> 3.13.0)
175
- rspec-expectations (3.13.0)
207
+ rspec-expectations (3.13.3)
176
208
  diff-lcs (>= 1.2.0, < 2.0)
177
209
  rspec-support (~> 3.13.0)
178
- rspec-mocks (3.13.0)
210
+ rspec-mocks (3.13.2)
179
211
  diff-lcs (>= 1.2.0, < 2.0)
180
212
  rspec-support (~> 3.13.0)
181
213
  rspec-support (3.13.1)
182
- rubocop (0.81.0)
183
- jaro_winkler (~> 1.5.1)
214
+ rubocop (1.67.0)
215
+ json (~> 2.3)
216
+ language_server-protocol (>= 3.17.0)
184
217
  parallel (~> 1.10)
185
- parser (>= 2.7.0.1)
218
+ parser (>= 3.3.0.2)
186
219
  rainbow (>= 2.2.2, < 4.0)
187
- rexml
220
+ regexp_parser (>= 2.4, < 3.0)
221
+ rubocop-ast (>= 1.32.2, < 2.0)
188
222
  ruby-progressbar (~> 1.7)
189
- unicode-display_width (>= 1.4.0, < 2.0)
223
+ unicode-display_width (>= 2.4.0, < 3.0)
224
+ rubocop-ast (1.32.3)
225
+ parser (>= 3.3.1.0)
226
+ rubocop-performance (1.22.1)
227
+ rubocop (>= 1.48.1, < 2.0)
228
+ rubocop-ast (>= 1.31.1, < 2.0)
229
+ rubocop-shopify (2.15.1)
230
+ rubocop (~> 1.51)
190
231
  ruby-progressbar (1.13.0)
232
+ securerandom (0.3.1)
191
233
  simplecov (0.22.0)
192
234
  docile (~> 1.1)
193
235
  simplecov-html (~> 0.11)
194
236
  simplecov_json_formatter (~> 0.1)
195
- simplecov-html (0.12.3)
237
+ simplecov-html (0.13.1)
196
238
  simplecov_json_formatter (0.1.4)
197
- sprockets (4.2.1)
198
- concurrent-ruby (~> 1.0)
199
- rack (>= 2.2.4, < 4)
200
- sprockets-rails (3.4.2)
201
- actionpack (>= 5.2)
202
- activesupport (>= 5.2)
203
- sprockets (>= 3.0.0)
204
- sqlite3 (1.7.3-aarch64-linux)
205
- sqlite3 (1.7.3-arm-linux)
206
- sqlite3 (1.7.3-arm64-darwin)
207
- sqlite3 (1.7.3-x86-linux)
208
- sqlite3 (1.7.3-x86_64-darwin)
209
- sqlite3 (1.7.3-x86_64-linux)
210
- strscan (3.1.0)
211
- thor (1.3.1)
239
+ sqlite3 (2.1.1-aarch64-linux-gnu)
240
+ sqlite3 (2.1.1-arm-linux-gnu)
241
+ sqlite3 (2.1.1-arm64-darwin)
242
+ sqlite3 (2.1.1-x86-linux-gnu)
243
+ sqlite3 (2.1.1-x86_64-darwin)
244
+ sqlite3 (2.1.1-x86_64-linux-gnu)
245
+ stringio (3.1.1)
246
+ thor (1.3.2)
212
247
  timeout (0.4.1)
213
248
  tzinfo (2.0.6)
214
249
  concurrent-ruby (~> 1.0)
215
- unicode-display_width (1.8.0)
250
+ unicode-display_width (2.6.0)
251
+ useragent (0.16.10)
252
+ webrick (1.8.2)
216
253
  websocket-driver (0.7.6)
217
254
  websocket-extensions (>= 0.1.0)
218
255
  websocket-extensions (0.1.5)
219
- zeitwerk (2.6.15)
256
+ zeitwerk (2.7.1)
220
257
 
221
258
  PLATFORMS
222
259
  aarch64-linux
@@ -230,9 +267,11 @@ DEPENDENCIES
230
267
  bundler
231
268
  database_cleaner (~> 2.0)
232
269
  pry-byebug
233
- rails (~> 6.0)
270
+ rails (~> 7.2)
234
271
  rspec (~> 3.2)
235
- rubocop (~> 0.81.0)
272
+ rubocop
273
+ rubocop-performance
274
+ rubocop-shopify (>= 2.8.0)
236
275
  shopify-money!
237
276
  simplecov
238
277
  sqlite3
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ begin
15
15
  rescue Bundler::BundlerError => e
16
16
  $stderr.puts e.message
17
17
  $stderr.puts "Run `bundle install` to install missing gems"
18
- exit e.status_code
18
+ exit(e.status_code)
19
19
  end
20
20
  require 'rake'
21
21
 
@@ -30,7 +30,7 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
30
30
  spec.rcov = true
31
31
  end
32
32
 
33
- task :default => :spec
33
+ task default: :spec
34
34
 
35
35
  require 'rake/task'
36
36
  RDoc::Task.new do |rdoc|
@@ -43,12 +43,54 @@ ghc:
43
43
  thousands_separator: ","
44
44
  iso_numeric: '288'
45
45
  smallest_denomination: 1
46
+ hrk:
47
+ priority: 100
48
+ iso_code: HRK
49
+ name: Croatian Kuna
50
+ symbol: kn
51
+ alternate_symbols: []
52
+ subunit: Lipa
53
+ subunit_to_unit: 100
54
+ symbol_first: false
55
+ html_entity: ''
56
+ decimal_mark: ","
57
+ thousands_separator: "."
58
+ iso_numeric: '191'
59
+ smallest_denomination: 1
60
+ ltl:
61
+ priority: 100
62
+ iso_code: LTL
63
+ name: Lithuanian Litas
64
+ symbol: Lt
65
+ alternate_symbols: []
66
+ subunit: Centas
67
+ subunit_to_unit: 100
68
+ symbol_first: false
69
+ html_entity: ''
70
+ decimal_mark: "."
71
+ thousands_separator: ","
72
+ iso_numeric: '440'
73
+ smallest_denomination: 1
74
+ lvl:
75
+ priority: 100
76
+ iso_code: LVL
77
+ name: Latvian Lats
78
+ symbol: Ls
79
+ alternate_symbols: []
80
+ subunit: Santīms
81
+ subunit_to_unit: 100
82
+ symbol_first: true
83
+ html_entity: ''
84
+ decimal_mark: "."
85
+ thousands_separator: ","
86
+ iso_numeric: '428'
87
+ smallest_denomination: 1
46
88
  mro:
47
89
  priority: 100
48
90
  iso_code: MRO
49
91
  name: Mauritanian Ouguiya
50
92
  symbol: UM
51
- disambiguate_symbol: MRO
93
+ disambiguate_symbol: A-UM
52
94
  alternate_symbols: []
53
95
  subunit: Khoums
54
96
  subunit_to_unit: 5
@@ -101,7 +143,7 @@ tmm:
101
143
  thousands_separator: ","
102
144
  iso_numeric: '795'
103
145
  smallest_denomination: 1
104
- VEB:
146
+ veb:
105
147
  priority: 100
106
148
  iso_code: VEB
107
149
  name: Venezuelan Bolívar