Skip to content

Commit

Permalink
Update Ruby to 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
svoop committed Jan 12, 2024
1 parent 459cc38 commit c238326
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ['3.0', '3.1', '3.2']
ruby: ['3.0', '3.1', '3.2', '3.3']
name: test (Ruby ${{ matrix.ruby }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
@@ -1 +1 @@
3.2
3.3
3 changes: 2 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,7 @@
## Main

Nothing so far
#### Changes
* Add support for Ruby 3.3

## 1.1.4

Expand Down
2 changes: 1 addition & 1 deletion lib/notam/schedule.rb
Expand Up @@ -100,7 +100,7 @@ def parse_datetimes
actives = send("#{active_unit}_from", raw_active_unit.strip)
times = times_from(raw_times.strip)
inactives = send("#{inactive_unit}_from", @exceptions)
if times.any? &method(:across_midnight?)
if times.any?(&method(:across_midnight?))
times.each_with_object([]) do |time, array|
if across_midnight? time
array << new(actives, [(time.first..AIXM::END_OF_DAY)], inactives, base_date: @base_date)
Expand Down
1 change: 1 addition & 0 deletions notam.gemspec
Expand Up @@ -40,6 +40,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 3.0.0'

spec.add_runtime_dependency 'aixm', '~> 1', '>= 1.3.2'
spec.add_runtime_dependency 'bigdecimal', '~> 3'
spec.add_runtime_dependency 'i18n', '~> 1'

spec.add_development_dependency 'rake'
Expand Down

0 comments on commit c238326

Please sign in to comment.