Skip to content

Commit

Permalink
Moving to ruby 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
flbulgarelli committed Apr 16, 2023
1 parent a343cb9 commit e71640f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
with:
ruby-version: 2.7.7
bundler: 2.1.4
ruby-version: 3.2.2
bundler: 2.4.7
bundler-cache: true
- name: Run tests
run: bundle exec rake
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.7
3.2.2
2 changes: 1 addition & 1 deletion lib/mumukit/assistant/narrator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def self.seed(r, i, o, m, e)
private

def t(key, args={})
I18n.t "narrator.#{key}_#{@seed[key]}", args
I18n.t "narrator.#{key}_#{@seed[key]}", **args
end

def self.random_index
Expand Down
7 changes: 5 additions & 2 deletions mumukit-assistant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'i18n', '~> 1.0'

spec.add_dependency 'mumukit-core', '~> 1.3'
spec.add_dependency 'mumukit-core', '~> 1.20'

spec.required_ruby_version = '>= 3.0'
end

0 comments on commit e71640f

Please sign in to comment.