convertable 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/convertable/units.rb +190 -6
- data/lib/convertable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 536ee08e639daa58d562094c777e9211820028451d3d95992cabb459fe53dbc8
|
|
4
|
+
data.tar.gz: 4ed00111578ce643972e985f1929263e9048d4ef8a945a24bdbcb47e96df7472
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc5ecb29df0d865dce8d71edb7d63ede65057e831b932b0a08478710bdfa1e4cc80c07be1b141ad8b4be80d1e98b55aff6247047d934d660bf91a0caf0a812e4
|
|
7
|
+
data.tar.gz: 440c57d10366e5afa4751e1c9c5910d51eb46e4845455668aa536acfd1011ee4a3f4009e5cf582fc5cc58aa69333d436c845030094a1cb82298cd397300fe555
|
data/Gemfile.lock
CHANGED
data/lib/convertable/units.rb
CHANGED
|
@@ -78,12 +78,6 @@ module Convertable
|
|
|
78
78
|
end
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
class Usd < Currency
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
class Gbp < Currency
|
|
85
|
-
end
|
|
86
|
-
|
|
87
81
|
class ComposedUnit
|
|
88
82
|
attr_reader :multiplying_unit, :dividing_units
|
|
89
83
|
|
|
@@ -120,5 +114,195 @@ module Convertable
|
|
|
120
114
|
conversion_factor
|
|
121
115
|
end
|
|
122
116
|
end
|
|
117
|
+
class Aed < Currency; end
|
|
118
|
+
class Afn < Currency; end
|
|
119
|
+
class All < Currency; end
|
|
120
|
+
class Amd < Currency; end
|
|
121
|
+
class Ang < Currency; end
|
|
122
|
+
class Aoa < Currency; end
|
|
123
|
+
class Ars < Currency; end
|
|
124
|
+
class Aud < Currency; end
|
|
125
|
+
class Awg < Currency; end
|
|
126
|
+
class Azn < Currency; end
|
|
127
|
+
class Bam < Currency; end
|
|
128
|
+
class Bbd < Currency; end
|
|
129
|
+
class Bch < Currency; end
|
|
130
|
+
class Bdt < Currency; end
|
|
131
|
+
class Bgn < Currency; end
|
|
132
|
+
class Bhd < Currency; end
|
|
133
|
+
class Bif < Currency; end
|
|
134
|
+
class Bmd < Currency; end
|
|
135
|
+
class Bnd < Currency; end
|
|
136
|
+
class Bob < Currency; end
|
|
137
|
+
class Brl < Currency; end
|
|
138
|
+
class Bsd < Currency; end
|
|
139
|
+
class Btc < Currency; end
|
|
140
|
+
class Btn < Currency; end
|
|
141
|
+
class Bwp < Currency; end
|
|
142
|
+
class Byn < Currency; end
|
|
143
|
+
class Byr < Currency; end
|
|
144
|
+
class Bzd < Currency; end
|
|
145
|
+
class Cad < Currency; end
|
|
146
|
+
class Cdf < Currency; end
|
|
147
|
+
class Chf < Currency; end
|
|
148
|
+
class Clf < Currency; end
|
|
149
|
+
class Clp < Currency; end
|
|
150
|
+
class Cnh < Currency; end
|
|
151
|
+
class Cny < Currency; end
|
|
152
|
+
class Cop < Currency; end
|
|
153
|
+
class Crc < Currency; end
|
|
154
|
+
class Cuc < Currency; end
|
|
155
|
+
class Cup < Currency; end
|
|
156
|
+
class Cve < Currency; end
|
|
157
|
+
class Czk < Currency; end
|
|
158
|
+
class Djf < Currency; end
|
|
159
|
+
class Dkk < Currency; end
|
|
160
|
+
class Dop < Currency; end
|
|
161
|
+
class Dzd < Currency; end
|
|
162
|
+
class Eek < Currency; end
|
|
163
|
+
class Egp < Currency; end
|
|
164
|
+
class Ern < Currency; end
|
|
165
|
+
class Etb < Currency; end
|
|
166
|
+
class Eur < Currency; end
|
|
167
|
+
class Fjd < Currency; end
|
|
168
|
+
class Fkp < Currency; end
|
|
169
|
+
class Gbp < Currency; end
|
|
170
|
+
class Gbx < Currency; end
|
|
171
|
+
class Gel < Currency; end
|
|
172
|
+
class Ggp < Currency; end
|
|
173
|
+
class Ghs < Currency; end
|
|
174
|
+
class Ghs < Currency; end
|
|
175
|
+
class Gip < Currency; end
|
|
176
|
+
class Gmd < Currency; end
|
|
177
|
+
class Gnf < Currency; end
|
|
178
|
+
class Gtq < Currency; end
|
|
179
|
+
class Gyd < Currency; end
|
|
180
|
+
class Hkd < Currency; end
|
|
181
|
+
class Hnl < Currency; end
|
|
182
|
+
class Hrk < Currency; end
|
|
183
|
+
class Htg < Currency; end
|
|
184
|
+
class Huf < Currency; end
|
|
185
|
+
class Idr < Currency; end
|
|
186
|
+
class Ils < Currency; end
|
|
187
|
+
class Imp < Currency; end
|
|
188
|
+
class Inr < Currency; end
|
|
189
|
+
class Iqd < Currency; end
|
|
190
|
+
class Irr < Currency; end
|
|
191
|
+
class Isk < Currency; end
|
|
192
|
+
class Jep < Currency; end
|
|
193
|
+
class Jmd < Currency; end
|
|
194
|
+
class Jod < Currency; end
|
|
195
|
+
class Jpy < Currency; end
|
|
196
|
+
class Jpy < Currency; end
|
|
197
|
+
class Kes < Currency; end
|
|
198
|
+
class Kgs < Currency; end
|
|
199
|
+
class Khr < Currency; end
|
|
200
|
+
class Kmf < Currency; end
|
|
201
|
+
class Kpw < Currency; end
|
|
202
|
+
class Krw < Currency; end
|
|
203
|
+
class Kwd < Currency; end
|
|
204
|
+
class Kyd < Currency; end
|
|
205
|
+
class Kzt < Currency; end
|
|
206
|
+
class Lak < Currency; end
|
|
207
|
+
class Lbp < Currency; end
|
|
208
|
+
class Lkr < Currency; end
|
|
209
|
+
class Lrd < Currency; end
|
|
210
|
+
class Lsl < Currency; end
|
|
211
|
+
class Ltl < Currency; end
|
|
212
|
+
class Lvl < Currency; end
|
|
213
|
+
class Lyd < Currency; end
|
|
214
|
+
class Mad < Currency; end
|
|
215
|
+
class Mdl < Currency; end
|
|
216
|
+
class Mga < Currency; end
|
|
217
|
+
class Mkd < Currency; end
|
|
218
|
+
class Mmk < Currency; end
|
|
219
|
+
class Mnt < Currency; end
|
|
220
|
+
class Mop < Currency; end
|
|
221
|
+
class Mro < Currency; end
|
|
222
|
+
class Mtl < Currency; end
|
|
223
|
+
class Mur < Currency; end
|
|
224
|
+
class Mvr < Currency; end
|
|
225
|
+
class Mwk < Currency; end
|
|
226
|
+
class Mxn < Currency; end
|
|
227
|
+
class Myr < Currency; end
|
|
228
|
+
class Mzn < Currency; end
|
|
229
|
+
class Nad < Currency; end
|
|
230
|
+
class Ngn < Currency; end
|
|
231
|
+
class Nio < Currency; end
|
|
232
|
+
class Nok < Currency; end
|
|
233
|
+
class Npr < Currency; end
|
|
234
|
+
class Nzd < Currency; end
|
|
235
|
+
class Omr < Currency; end
|
|
236
|
+
class Pab < Currency; end
|
|
237
|
+
class Pen < Currency; end
|
|
238
|
+
class Pgk < Currency; end
|
|
239
|
+
class Php < Currency; end
|
|
240
|
+
class Pkr < Currency; end
|
|
241
|
+
class Pln < Currency; end
|
|
242
|
+
class Pyg < Currency; end
|
|
243
|
+
class Qar < Currency; end
|
|
244
|
+
class Ron < Currency; end
|
|
245
|
+
class Rsd < Currency; end
|
|
246
|
+
class Rub < Currency; end
|
|
247
|
+
class Rwf < Currency; end
|
|
248
|
+
class Sar < Currency; end
|
|
249
|
+
class Sbd < Currency; end
|
|
250
|
+
class Scr < Currency; end
|
|
251
|
+
class Sdg < Currency; end
|
|
252
|
+
class Sek < Currency; end
|
|
253
|
+
class Sgd < Currency; end
|
|
254
|
+
class Shp < Currency; end
|
|
255
|
+
class Skk < Currency; end
|
|
256
|
+
class Sll < Currency; end
|
|
257
|
+
class Sos < Currency; end
|
|
258
|
+
class Srd < Currency; end
|
|
259
|
+
class Ssp < Currency; end
|
|
260
|
+
class Std < Currency; end
|
|
261
|
+
class Svc < Currency; end
|
|
262
|
+
class Syp < Currency; end
|
|
263
|
+
class Szl < Currency; end
|
|
264
|
+
class Thb < Currency; end
|
|
265
|
+
class Tjs < Currency; end
|
|
266
|
+
class Tmm < Currency; end
|
|
267
|
+
class Tmt < Currency; end
|
|
268
|
+
class Tnd < Currency; end
|
|
269
|
+
class Top < Currency; end
|
|
270
|
+
class Try < Currency; end
|
|
271
|
+
class Ttd < Currency; end
|
|
272
|
+
class Twd < Currency; end
|
|
273
|
+
class Tzs < Currency; end
|
|
274
|
+
class Uah < Currency; end
|
|
275
|
+
class Ugx < Currency; end
|
|
276
|
+
class Usd < Currency; end
|
|
277
|
+
class Uyu < Currency; end
|
|
278
|
+
class Uzs < Currency; end
|
|
279
|
+
class Vef < Currency; end
|
|
280
|
+
class Ves < Currency; end
|
|
281
|
+
class Vnd < Currency; end
|
|
282
|
+
class Vuv < Currency; end
|
|
283
|
+
class Wst < Currency; end
|
|
284
|
+
class Xaf < Currency; end
|
|
285
|
+
class Xag < Currency; end
|
|
286
|
+
class Xau < Currency; end
|
|
287
|
+
class Xba < Currency; end
|
|
288
|
+
class Xbb < Currency; end
|
|
289
|
+
class Xbc < Currency; end
|
|
290
|
+
class Xbd < Currency; end
|
|
291
|
+
class Xcd < Currency; end
|
|
292
|
+
class Xdr < Currency; end
|
|
293
|
+
class Xfu < Currency; end
|
|
294
|
+
class Xof < Currency; end
|
|
295
|
+
class Xpd < Currency; end
|
|
296
|
+
class Xpf < Currency; end
|
|
297
|
+
class Xpt < Currency; end
|
|
298
|
+
class Xts < Currency; end
|
|
299
|
+
class Yer < Currency; end
|
|
300
|
+
class Zar < Currency; end
|
|
301
|
+
class Zmk < Currency; end
|
|
302
|
+
class Zmw < Currency; end
|
|
303
|
+
class Zwd < Currency; end
|
|
304
|
+
class Zwl < Currency; end
|
|
305
|
+
class Zwn < Currency; end
|
|
306
|
+
class Zwr < Currency; end
|
|
123
307
|
end
|
|
124
308
|
end
|
data/lib/convertable/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: convertable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Wheeler
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|