Skip to content

Commit

Permalink
Ruby 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nvoynov committed Dec 9, 2023
1 parent 5331bd6 commit 0ac4bbb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ title: Punch Changelog

## [Unreleased]

## [0.6.4] - 2023-12-09

- moved to Ruby 3.2.2

## [0.6.3] - 2023-01-24

- removed `plugin/logger`, replaced by regular Ruby Logger
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GEM
rake (13.0.6)

PLATFORMS
x64-mingw-ucrt
x64-mingw32
x86_64-linux

Expand Down
2 changes: 1 addition & 1 deletion lib/punch/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def config
return conf
end
body = File.read(CONFIG)
obj = Psych.load([head, body].join, freeze: true)
obj = Psych.load([head, body].join, permitted_classes: [Config, Symbol], freeze: true)
obj.is_a?(Config) ? obj : conf # test for faulty load result
end

Expand Down
2 changes: 1 addition & 1 deletion lib/punch/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Punch
VERSION = "0.6.3"
VERSION = "0.6.4"
end
2 changes: 1 addition & 1 deletion test/punch/services/test_punch_sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
end
end

class PunchSentry
class Punch::Services::PunchSentry
public_class_method :new
public :storage, :punch, :render, :declared?, :declared
attr_accessor :source, :test
Expand Down

0 comments on commit 0ac4bbb

Please sign in to comment.