yard-0.9.12/ 0000755 0000041 0000041 00000000000 13206751010 012565 5 ustar www-data www-data yard-0.9.12/Rakefile 0000755 0000041 0000041 00000002034 13206751010 014234 0 ustar www-data www-data # frozen_string_literal: true require File.dirname(__FILE__) + '/lib/yard' require File.dirname(__FILE__) + '/lib/yard/rubygems/specification' require 'rbconfig' YARD::VERSION.replace(ENV['YARD_VERSION']) if ENV['YARD_VERSION'] desc "Publish gem" task :publish do ver = ENV['VERSION'] raise "missing VERSION=x.y.z" if ver.nil? || ver.empty? if ver < YARD::VERSION raise "invalid version `#{ver}' (must be >= `#{YARD::VERSION}')" end file = "release-v#{ver}.tar.gz" cmd = "bundle exec samus" sh "#{cmd} build #{ver} && #{cmd} publish #{file} && rm #{file}" end desc "Builds the gem" task :gem do sh "gem build yard.gemspec" end desc "Installs the gem" task :install => :gem do sh "gem install yard-#{YARD::VERSION}.gem --no-document" end begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) rescue LoadError nil # noop end task :rubocop do sh "rubocop" end task :default => [:rubocop, :spec] YARD::Rake::YardocTask.new do |t| t.options += ['--title', "YARD #{YARD::VERSION} Documentation"] end yard-0.9.12/bin/ 0000755 0000041 0000041 00000000000 13206751010 013335 5 ustar www-data www-data yard-0.9.12/bin/yard 0000755 0000041 0000041 00000000542 13206751010 014223 0 ustar www-data www-data #!/usr/bin/env ruby # frozen_string_literal: true # We do all this work just to find the proper load path path = __FILE__ while File.symlink?(path) path = File.expand_path(File.readlink(path), File.dirname(path)) end $LOAD_PATH.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib')) require 'yard' YARD::CLI::CommandParser.run(*ARGV) yard-0.9.12/bin/yri 0000755 0000041 0000041 00000000530 13206751010 014064 0 ustar www-data www-data #!/usr/bin/env ruby # frozen_string_literal: true # We do all this work just to find the proper load path path = __FILE__ while File.symlink?(path) path = File.expand_path(File.readlink(path), File.dirname(path)) end $LOAD_PATH.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib')) require 'yard' YARD::CLI::YRI.run(*ARGV) yard-0.9.12/bin/yardoc 0000755 0000041 0000041 00000000533 13206751010 014545 0 ustar www-data www-data #!/usr/bin/env ruby # frozen_string_literal: true # We do all this work just to find the proper load path path = __FILE__ while File.symlink?(path) path = File.expand_path(File.readlink(path), File.dirname(path)) end $LOAD_PATH.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib')) require 'yard' YARD::CLI::Yardoc.run(*ARGV) yard-0.9.12/templates/ 0000755 0000041 0000041 00000000000 13206751010 014563 5 ustar www-data www-data yard-0.9.12/templates/default/ 0000755 0000041 0000041 00000000000 13206751010 016207 5 ustar www-data www-data yard-0.9.12/templates/default/tags/ 0000755 0000041 0000041 00000000000 13206751010 017145 5 ustar www-data www-data yard-0.9.12/templates/default/tags/html/ 0000755 0000041 0000041 00000000000 13206751010 020111 5 ustar www-data www-data yard-0.9.12/templates/default/tags/html/index.erb 0000755 0000041 0000041 00000000053 13206751010 021713 0 ustar www-data www-data