File tree Expand file tree Collapse file tree 5 files changed +11
-2
lines changed
Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 4242
4343gemfiles /* .lock
4444
45+ doc /
46+ .yardoc /
Original file line number Diff line number Diff line change 11[ ![ Gem Version] ( https://badge.fury.io/rb/keynote.svg )] ( https://rubygems.org/gems/keynote )
22[ ![ Build] ( https://github.com/evilmartians/keynote/workflows/Build/badge.svg )] ( https://github.com/evilmartians/keynote/actions )
3+ [ ![ Docs] ( https://img.shields.io/badge/docs-link-blue.svg )] ( https://rubydoc.info/gems/keynote )
34
45# Keynote
56
Original file line number Diff line number Diff line change @@ -31,4 +31,9 @@ task :nextify do
3131 sh "bundle exec ruby-next nextify -V"
3232end
3333
34+ require "yard"
35+ YARD ::Rake ::YardocTask . new do |t |
36+ t . files = [ "lib/**/*.rb" ]
37+ end
38+
3439task default : %w[ rubocop rubocop:md spec test ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
1717 s . metadata = {
1818 "bug_tracker_uri" => "https://github.com/evilmartians/keynote/issues" ,
1919 "changelog_uri" => "https://github.com/evilmartians/keynote/blob/master/CHANGELOG.md" ,
20- "documentation_uri" => "https://github.com/evilmartians /keynote" ,
20+ "documentation_uri" => "https://rubydoc.info/gems /keynote" ,
2121 "homepage_uri" => "https://github.com/evilmartians/keynote" ,
2222 "source_code_uri" => "https://github.com/evilmartians/keynote"
2323 }
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
4141 s . add_development_dependency "slim"
4242 s . add_development_dependency "haml"
4343 s . add_development_dependency "redcarpet"
44+ s . add_development_dependency "yard"
4445
4546 if ENV [ "RELEASING_GEM" ] . nil? && File . directory? ( File . join ( __dir__ , ".git" ) )
4647 s . add_runtime_dependency "ruby-next" , "~> 1.0"
Original file line number Diff line number Diff line change 22
33module Keynote
44 # @private
5- VERSION = "2.0.0 "
5+ VERSION = "2.0.1 "
66end
You can’t perform that action at this time.
0 commit comments