This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
4,320 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ | |
/coverage | ||
/pkg | ||
/rdoc | ||
/doc | ||
/vendor | ||
!/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
# encoding: utf-8 | ||
require "rubygems" | ||
require "rspec/core/rake_task" | ||
require 'yard' | ||
|
||
desc "Run all specs" | ||
RSpec::Core::RakeTask.new(:spec) do |t| | ||
t.verbose = true | ||
end | ||
|
||
desc 'Default: Run all specs.' | ||
task :default => :spec | ||
|
||
task :doc => :yard | ||
task :gem => :gemspec | ||
|
||
def gemspec | ||
@gemspec ||= eval(File.read('apiary.gemspec'), binding, '.gemspec') | ||
end | ||
|
||
YARD::Rake::YardocTask.new | ||
|
||
desc "Validate the gemspec" | ||
task :gemspec do | ||
gemspec.validate | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
#!/usr/bin/env ruby | ||
# encoding: UTF-8 | ||
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..','lib'))) | ||
require 'apiary' | ||
|
||
lib = File.expand_path(File.dirname(__FILE__) + '/../lib') | ||
$LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib) | ||
require File.dirname(__FILE__) + '/../lib/apiary' | ||
|
||
Apiary::CLI.run(ARGV.dup) | ||
trap(:INT) { abort "" } | ||
Apiary::CLI.new(ARGV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title> | ||
Module: Apiary | ||
|
||
— Documentation by YARD 0.7.5 | ||
|
||
</title> | ||
|
||
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" /> | ||
|
||
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" /> | ||
|
||
<script type="text/javascript" charset="utf-8"> | ||
relpath = ''; | ||
if (relpath != '') relpath += '/'; | ||
</script> | ||
|
||
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script> | ||
|
||
<script type="text/javascript" charset="utf-8" src="js/app.js"></script> | ||
|
||
|
||
</head> | ||
<body> | ||
<script type="text/javascript" charset="utf-8"> | ||
if (window.top.frames.main) document.body.className = 'frames'; | ||
</script> | ||
|
||
<div id="header"> | ||
<div id="menu"> | ||
|
||
<a href="_index.html">Index (A)</a> » | ||
|
||
|
||
<span class="title">Apiary</span> | ||
|
||
|
||
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> | ||
</div> | ||
|
||
<div id="search"> | ||
|
||
<a id="class_list_link" href="#">Class List</a> | ||
|
||
<a id="method_list_link" href="#">Method List</a> | ||
|
||
<a id="file_list_link" href="#">File List</a> | ||
|
||
</div> | ||
<div class="clear"></div> | ||
</div> | ||
|
||
<iframe id="search_frame"></iframe> | ||
|
||
<div id="content"><h1>Module: Apiary | ||
|
||
|
||
|
||
</h1> | ||
|
||
<dl class="box"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt class="r1 last">Defined in:</dt> | ||
<dd class="r1 last">lib/apiary.rb<span class="defines">,<br /> | ||
lib/apiary/cli.rb,<br /> lib/apiary/version.rb,<br /> lib/apiary/command/help.rb,<br /> lib/apiary/command/runner.rb,<br /> lib/apiary/command/version.rb,<br /> lib/apiary/command/preview.rb</span> | ||
</dd> | ||
|
||
</dl> | ||
<div class="clear"></div> | ||
|
||
<h2>Defined Under Namespace</h2> | ||
<p class="children"> | ||
|
||
|
||
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Apiary/Command.html" title="Apiary::Command (module)">Command</a></span> | ||
|
||
|
||
|
||
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Apiary/CLI.html" title="Apiary::CLI (class)">CLI</a></span> | ||
|
||
|
||
</p> | ||
|
||
<h2>Constant Summary</h2> | ||
|
||
<dl class="constants"> | ||
|
||
<dt id="VERSION-constant" class="">VERSION = | ||
|
||
</dt> | ||
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.1</span><span class='tstring_end'>"</span></span></pre></dd> | ||
|
||
</dl> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div id="footer"> | ||
Generated on Tue Aug 7 16:19:54 2012 by | ||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> | ||
0.7.5 (ruby-1.9.2). | ||
</div> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.