Skip to content

Commit df03fbb

Browse files
committed
Bump default Ruby version
1 parent 39be46b commit df03fbb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.3
1+
3.4.6

lib/active_currency/bank.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module ActiveCurrency
44
class Bank < Money::Bank::VariableExchange
55
def initialize(rate_store = ActiveCurrency::RateStore.new)
6-
super(rate_store)
6+
super
77
end
88
end
99
end

spec/lib/active_currency/add_rates_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@
152152
.with("CAD", "EUR", (1 / 1.12) * 1.2)
153153
expect(store)
154154
.to have_received(:add_rate)
155-
.with("CAD", "USD", a_value_within(0.0000001).of((1.42 / 1.12)))
155+
.with("CAD", "USD", a_value_within(0.0000001).of(1.42 / 1.12))
156156
expect(store)
157157
.to have_received(:add_rate)
158-
.with("USD", "CAD", a_value_within(0.0000001).of((1.12 / 1.42)))
158+
.with("USD", "CAD", a_value_within(0.0000001).of(1.12 / 1.42))
159159
end
160160
end
161161
end

0 commit comments

Comments
 (0)