Skip to content

Commit

Permalink
Merge pull request #107 from Birdie0/master
Browse files Browse the repository at this point in the history
Generate docs for Ruby 3.0.0
  • Loading branch information
kyrylo authored Feb 8, 2021
2 parents 3612812 + 2b8e6a2 commit d76d465
Show file tree
Hide file tree
Showing 8 changed files with 566 additions and 2 deletions.
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

0 comments on commit d76d465

Please sign in to comment.