Skip to content

Commit

Permalink
Add support for Ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalkan committed Jan 9, 2024
1 parent a538c4c commit 20c934b
Show file tree
Hide file tree
Showing 9 changed files with 366 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2]
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3]

runs-on: ${{ matrix.os }}

Expand Down
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,8 @@ desc "Generate the latest Ruby 3.2 docs"
task "gen32" do
generate_docs_for('32', Latest.ruby32)
end

desc "Generate the latest Ruby 3.3 docs"
task "gen33" do
generate_docs_for('33', Latest.ruby33)
end
357 changes: 357 additions & 0 deletions lib/pry-doc/docs/33/checksums

Large diffs are not rendered by default.

Empty file added lib/pry-doc/docs/33/complete
Empty file.
Binary file added lib/pry-doc/docs/33/object_types
Binary file not shown.
Binary file added lib/pry-doc/docs/33/objects/root.dat
Binary file not shown.
Binary file added lib/pry-doc/docs/33/proxy_types
Binary file not shown.
2 changes: 1 addition & 1 deletion pry-doc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DESCR

s.add_dependency 'yard', "~> 0.9.11"
s.add_dependency 'pry', "~> 0.11"
s.add_development_dependency 'latest_ruby', '~> 3.2'
s.add_development_dependency 'latest_ruby', '~> 3.3'
s.add_development_dependency 'rspec', '~> 3.5'
s.add_development_dependency 'rake', "~> 13.0"
end
4 changes: 2 additions & 2 deletions spec/pry-doc_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require "#{direc}/gem_with_cext/gems/sample"
require 'set'
require 'fileutils'
require 'readline'
require 'socket'

puts "Testing pry-doc version #{PryDoc::VERSION}..."
puts "Ruby version: #{RUBY_VERSION}"
Expand Down Expand Up @@ -304,7 +304,7 @@ def decolor(str)

describe "C stdlib methods" do
it "finds them" do
obj = Pry::MethodInfo.info_for(Readline.method(:readline))
obj = Pry::MethodInfo.info_for(Socket.method(:getaddrinfo))
expect(obj).not_to be_nil
end

Expand Down

0 comments on commit 20c934b

Please sign in to comment.