Skip to content

Commit af11e9e

Browse files
committed
update deps
1 parent 86d2db5 commit af11e9e

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

ballista.gemspec

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Gem::Specification.new do |s|
66
s.name = 'ballista'
77
s.version = Ballista::VERSION
88
s.date = Time.now.strftime('%Y-%m-%d')
9+
s.required_ruby_version = '>= 2.5.0'
910

1011
s.summary = 'Projection tool for Ledger format'
1112
s.description = 'Projection tool for Ledger format'
@@ -19,13 +20,11 @@ Gem::Specification.new do |s|
1920
s.executables = ['ballista']
2021

2122
s.add_dependency 'cymbal', '~> 2.0.0'
22-
s.add_dependency 'libledger', '~> 0.0.1'
23-
s.add_dependency 'mercenary', '~> 0.3.4'
23+
s.add_dependency 'libledger', '~> 0.0.8'
24+
s.add_dependency 'mercenary', '~> 0.4.0'
2425

25-
s.add_development_dependency 'codecov', '~> 0.1.1'
26-
s.add_development_dependency 'fuubar', '~> 2.5.0'
27-
s.add_development_dependency 'goodcop', '~> 0.8.0'
28-
s.add_development_dependency 'rake', '~> 13.0.0'
29-
s.add_development_dependency 'rspec', '~> 3.9.0'
30-
s.add_development_dependency 'rubocop', '~> 0.76.0'
26+
s.add_development_dependency 'codecov', '~> 0.5.1'
27+
s.add_development_dependency 'goodcop', '~> 0.9.3'
28+
s.add_development_dependency 'rake', '~> 13.0.3'
29+
s.add_development_dependency 'rspec', '~> 3.10.0'
3130
end

bin/ballista

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ def parse_start_end(start_dt, end_dt)
2424
end
2525

2626
def parse_range(months, start_dt, end_dt)
27-
if months && (start_dt || end_dt)
28-
raise('Cannot specify months *and* start/end')
29-
end
27+
raise('Cannot specify months *and* start/end') if months && (start_dt || end_dt)
3028
count_months(months) || parse_start_end(start_dt, end_dt) || count_months(12)
3129
end
3230

lib/ballista/projection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_days(date)
2727
def out_of_bounds?(entry, date)
2828
if entry[:starts] && Date.parse(entry[:starts]) > date
2929
true
30-
elsif entry[:ends] && Date.parse(entry[:ends]) < date
30+
elsif entry[:ends] && Date.parse(entry[:ends]) < date # rubocop:disable Lint/DuplicateBranch
3131
true
3232
else
3333
false

lib/ballista/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##
22
# Set the version (needed for Mercenary -v)
33
module Ballista
4-
VERSION = '0.0.5'.freeze
4+
VERSION = '0.1.0'.freeze
55
end

0 commit comments

Comments
 (0)