Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate docs for Ruby 3.0.0 #107

Merged
merged 1 commit into from
Feb 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ sample.bundle

.bundle/
vendor/bundle/

rubies
7 changes: 6 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def generate_yard
end

def replace_existing_docs(ver)
system %|mkdir -p ../../../lib/pry-doc/docs/#{ver} && cp -r .yardoc/* "$_"|
system %|mkdir -p ../../../lib/pry-doc/docs/#{ver} && cp -r .yardoc/* ../../../lib/pry-doc/docs/#{ver}|
Dir.chdir(File.expand_path(File.dirname(__FILE__)))
end

Expand Down Expand Up @@ -141,3 +141,8 @@ desc "Generate the latest Ruby 2.7 docs"
task "gen27" do
generate_docs_for('27', Latest.ruby27)
end

desc "Generate the latest Ruby 3.0 docs"
task "gen30" do
generate_docs_for('30', Latest.ruby30)
end
557 changes: 557 additions & 0 deletions lib/pry-doc/docs/30/checksums

Large diffs are not rendered by default.

Empty file added lib/pry-doc/docs/30/complete
Empty file.
Binary file added lib/pry-doc/docs/30/object_types
Binary file not shown.
Binary file added lib/pry-doc/docs/30/objects/root.dat
Binary file not shown.
Binary file added lib/pry-doc/docs/30/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', '~> 2.0'
s.add_development_dependency 'latest_ruby', '~> 3.0'
s.add_development_dependency 'rspec', '~> 3.5'
s.add_development_dependency 'rake', "~> 10.0"
end