Skip to content

Commit

Permalink
Update from ruby 3.1.2 to 3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Oct 10, 2024
1 parent 3001bf3 commit a72d0cd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 3.1.2
TargetRubyVersion: 3.3.5
NewCops: enable

Metrics/BlockLength:
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
chichilku3 (15.0.2)
chichilku3 (15.0.3)
fileutils (~> 1.6.0)
gosu (~> 1.4.3)
os (~> 1.0.1)
Expand All @@ -11,9 +11,9 @@ PATH
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.5.0)
diff-lcs (1.5.1)
fileutils (1.6.0)
gosu (1.4.3)
gosu (1.4.6)
os (1.0.1)
rspec (3.9.0)
rspec-core (~> 3.9.0)
Expand Down
2 changes: 1 addition & 1 deletion chichilku3.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |s|
'server.json',
'maps'
]
s.required_ruby_version = '>= 3.1.2'
s.required_ruby_version = '>= 3.3.5'
s.add_dependency 'fileutils', '~> 1.6.0'
s.add_dependency 'gosu', '~> 1.4.3'
s.add_dependency 'os', '~> 1.0.1'
Expand Down
2 changes: 1 addition & 1 deletion lib/client/gui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def frame_time
# Main Game getting gui form gosu
class Gui < Gosu::Window
def initialize(cfg)
super WINDOW_SIZE_X, WINDOW_SIZE_Y
super(WINDOW_SIZE_X, WINDOW_SIZE_Y)
self.caption = 'chichilku3'
self.fullscreen = true if cfg.data['fullscreen']
# images
Expand Down
2 changes: 1 addition & 1 deletion lib/share/network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def net_pack_bigint(int, size)
(size - 1).times do
buf = int / ((NET_MAX_INT + 1)**div)
sum += net_pack_int(buf)
int = int % ((NET_MAX_INT + 1)**div)
int %= ((NET_MAX_INT + 1)**div)
div -= 1
end
sum += net_pack_int(int)
Expand Down

0 comments on commit a72d0cd

Please sign in to comment.