floor_calculator 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/floor_calculator.rb +1 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88dd82277cc41be919599106843780b2d7ef037c4f75d2c9939840fedf5939b4
4
- data.tar.gz: d2f0688d904b454a60f9bab758f8df4883075cacb81beef44cbeca4b4299bedf
3
+ metadata.gz: da3eddd3f9d282fe88bddc604aa80866d2797e0eb6b3e7a193c4078145d974da
4
+ data.tar.gz: 5180d853f4868d39b3ddd108b039eb292d1553eefebe03fdf35e3cc9badbac7d
5
5
  SHA512:
6
- metadata.gz: f0eb3566eede2cdeeda3f0d279fcb9beb3312be4a2bd45401aeeacee74207a669338d06729bf3e790f7bce94f1c7a461dca5080ee49ae1fefeca27c929a78dbc
7
- data.tar.gz: ec634ae4a2ab32a2970bb3c9d180b18c8a2598beb9986009fdf7fe1ec53551e0815044f544d682e9165a7668869992b3a1c2cbd717dce3abae1f7ae8a808e1af
6
+ metadata.gz: 3fa68432aa123996f25b4b0e8cc61c76774e0a0b975d226d1acacb786d2202eee3d7190b88b8e294282001bd5dabf2d48f0c17e16266186d3b7c3e3f1cbbed5d
7
+ data.tar.gz: 2c861f9dcd96991b80e673961f4406721ce135fbe6e0f3e07543c42e4323f757540afea55c4d2ea7f340c1c0c3e9254ce1d2126f5aac3f2452dd2033f12d5038
@@ -5,7 +5,7 @@ require 'money'
5
5
 
6
6
  module FloorCalculator
7
7
  def self.initialize_methods
8
- %i(usd gbp jpy mxn cad eur aud).each do |country_code|
8
+ %i(usd gbp jpy mxn cad eur aud sgd try brl).each do |country_code|
9
9
  Dentaku::Calculator.add_function country_code, :numeric, ->(value) do
10
10
  if value.is_a?(Money)
11
11
  value.exchange_to(country_code.to_s)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: floor_calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Mikołajczyk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-26 00:00:00.000000000 Z
12
+ date: 2020-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dentaku
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.6
97
+ rubygems_version: 3.0.1
99
98
  signing_key:
100
99
  specification_version: 4
101
100
  summary: Floor Calculator