apphunk 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.rdoc +5 -0
- data/README.rdoc +45 -2
- data/{TODO.rdoc → TODO} +0 -0
- data/VERSION +1 -1
- data/apphunk.gemspec +5 -35
- data/lib/apphunk.rb +29 -2
- data/lib/apphunk/config.rb +1 -1
- data/rails/init.rb +0 -2
- data/spec/apphunk_spec.rb +9 -9
- metadata +4 -34
- data/doc/apple-touch-icon.png +0 -0
- data/doc/classes/Apphunk.html +0 -294
- data/doc/classes/Apphunk/Config.html +0 -159
- data/doc/classes/Apphunk/Logger.html +0 -105
- data/doc/classes/Apphunk/Proxy.html +0 -196
- data/doc/classes/Apphunk/Remote.html +0 -117
- data/doc/classes/Apphunk/Remote/Result.html +0 -125
- data/doc/created.rid +0 -1
- data/doc/css/main.css +0 -263
- data/doc/css/panel.css +0 -383
- data/doc/css/reset.css +0 -53
- data/doc/favicon.ico +0 -0
- data/doc/files/LICENSE.html +0 -81
- data/doc/files/README_rdoc.html +0 -87
- data/doc/files/lib/apphunk/config_rb.html +0 -59
- data/doc/files/lib/apphunk/logger_rb.html +0 -59
- data/doc/files/lib/apphunk/proxy_rb.html +0 -68
- data/doc/files/lib/apphunk/remote/result_rb.html +0 -59
- data/doc/files/lib/apphunk/remote_rb.html +0 -70
- data/doc/files/lib/apphunk_rb.html +0 -66
- data/doc/i/arrows.png +0 -0
- data/doc/i/results_bg.png +0 -0
- data/doc/i/tree_bg.png +0 -0
- data/doc/index.html +0 -14
- data/doc/js/jquery-1.3.2.min.js +0 -19
- data/doc/js/jquery-effect.js +0 -593
- data/doc/js/main.js +0 -22
- data/doc/js/searchdoc.js +0 -628
- data/doc/panel/index.html +0 -71
- data/doc/panel/search_index.js +0 -1
- data/doc/panel/tree.js +0 -1
data/doc/panel/index.html
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
6
|
-
<head>
|
7
|
-
<title>layout</title>
|
8
|
-
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
<link rel="stylesheet" href="../css/panel.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
-
<script src="search_index.js" type="text/javascript" charset="utf-8"></script>
|
11
|
-
<script src="tree.js" type="text/javascript" charset="utf-8"></script>
|
12
|
-
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
|
13
|
-
<script src="../js/searchdoc.js" type="text/javascript" charset="utf-8"></script>
|
14
|
-
<script type="text/javascript" charset="utf-8">
|
15
|
-
//<![CDATA[
|
16
|
-
function placeholder() {
|
17
|
-
if (jQuery.browser.safari) return;
|
18
|
-
$('#search-label').click(function() {
|
19
|
-
$('#search').focus();
|
20
|
-
$('#search-label').hide();
|
21
|
-
});
|
22
|
-
|
23
|
-
$('#search').focus(function() {
|
24
|
-
$('#search-label').hide();
|
25
|
-
});
|
26
|
-
$('#search').blur(function() {
|
27
|
-
this.value == '' && $('#search-label').show()
|
28
|
-
});
|
29
|
-
|
30
|
-
$('#search')[0].value == '' && $('#search-label').show();
|
31
|
-
}
|
32
|
-
$(function() {
|
33
|
-
placeholder();
|
34
|
-
var panel = new Searchdoc.Panel($('#panel'), search_data, tree, top.frames[1]);
|
35
|
-
$('#search').focus();
|
36
|
-
|
37
|
-
var s = window.parent.location.search.match(/\?q=([^&]+)/);
|
38
|
-
if (s) {
|
39
|
-
s = decodeURIComponent(s[1]).replace(/\+/g, ' ');
|
40
|
-
if (s.length > 0)
|
41
|
-
{
|
42
|
-
$('#search').val(s);
|
43
|
-
panel.search(s, true);
|
44
|
-
}
|
45
|
-
}
|
46
|
-
})
|
47
|
-
//]]>
|
48
|
-
</script>
|
49
|
-
</head>
|
50
|
-
<body>
|
51
|
-
<div class="panel panel_tree" id="panel">
|
52
|
-
<div class="header">
|
53
|
-
<div>
|
54
|
-
<label for="search" id="search-label" style="display: none">Search</label>
|
55
|
-
<table>
|
56
|
-
<tr><td>
|
57
|
-
<input type="Search" placeholder="Search" autosave="searchdoc" results="10" id="search" autocomplete="off"/>
|
58
|
-
</td></tr>
|
59
|
-
</table></div>
|
60
|
-
</div>
|
61
|
-
<div class="tree">
|
62
|
-
<ul>
|
63
|
-
</ul>
|
64
|
-
</div>
|
65
|
-
<div class="result">
|
66
|
-
<ul>
|
67
|
-
</ul>
|
68
|
-
</div>
|
69
|
-
</div>
|
70
|
-
</body>
|
71
|
-
</html>
|
data/doc/panel/search_index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["apphunk","config","logger","proxy","remote","result","config()","error()","log()","log_with_options()","new()","post()","prepare_payload()","process_response()","send_message_to_apphunkd()","license","readme.rdoc","apphunk.rb","config.rb","logger.rb","proxy.rb","remote.rb","result.rb"],"longSearchIndex":["lib/apphunk.rb","apphunk","apphunk","apphunk","apphunk","apphunk::remote","apphunk","apphunk::logger","apphunk","apphunk","apphunk::remote::result","apphunk::remote","apphunk::proxy","apphunk::proxy","apphunk::proxy","files/license.html","files/readme_rdoc.html","files/lib/apphunk_rb.html","files/lib/apphunk/config_rb.html","files/lib/apphunk/logger_rb.html","files/lib/apphunk/proxy_rb.html","files/lib/apphunk/remote_rb.html","files/lib/apphunk/remote/result_rb.html"],"info":[["Apphunk","lib/apphunk.rb","classes/Apphunk.html"," < ","",1],["Config","Apphunk","classes/Apphunk/Config.html"," < ","Used to configure the behaviour of Apphunk and its outgoing messages. Each option can be overriden by",1],["Logger","Apphunk","classes/Apphunk/Logger.html"," < ","",1],["Proxy","Apphunk","classes/Apphunk/Proxy.html"," < ","",1],["Remote","Apphunk","classes/Apphunk/Remote.html"," < ","",1],["Result","Apphunk::Remote","classes/Apphunk/Remote/Result.html"," < Object","",1],["config","Apphunk","classes/Apphunk.html#M000008","(&block)","Set runtime configuration options Yields Apphunk::Config which can be used to set configuration options",2],["error","Apphunk::Logger","classes/Apphunk/Logger.html#M000000","(message)","",2],["log","Apphunk","classes/Apphunk.html#M000006","(message, options = {})","Sends a +message+ to your remote inbox at apphunk.com * <tt>message</tt> - The body of the message *",2],["log_with_options","Apphunk","classes/Apphunk.html#M000007","(options = {}, &block)","Send messages with predefined options in a block Yields the Apphunk module which can be used to send",2],["new","Apphunk::Remote::Result","classes/Apphunk/Remote/Result.html#M000004","(opts = {})","",2],["post","Apphunk::Remote","classes/Apphunk/Remote.html#M000005","(url, payload = {}, post_timeout = 30)","",2],["prepare_payload","Apphunk::Proxy","classes/Apphunk/Proxy.html#M000002","(message, options)","",2],["process_response","Apphunk::Proxy","classes/Apphunk/Proxy.html#M000003","(result)","",2],["send_message_to_apphunkd","Apphunk::Proxy","classes/Apphunk/Proxy.html#M000001","(message, options)","",2],["LICENSE","files/LICENSE.html","files/LICENSE.html","","Copyright (c) 2009 Andreas Wolff Permission is hereby granted, free of charge, to any person obtaining",3],["README.rdoc","files/README_rdoc.html","files/README_rdoc.html","","= apphunk A library that send's messages to the remote logging service apphunk.com. == Note on Patches/Pull",3],["apphunk.rb","files/lib/apphunk_rb.html","files/lib/apphunk_rb.html","","",3],["config.rb","files/lib/apphunk/config_rb.html","files/lib/apphunk/config_rb.html","","",3],["logger.rb","files/lib/apphunk/logger_rb.html","files/lib/apphunk/logger_rb.html","","",3],["proxy.rb","files/lib/apphunk/proxy_rb.html","files/lib/apphunk/proxy_rb.html","","",3],["remote.rb","files/lib/apphunk/remote_rb.html","files/lib/apphunk/remote_rb.html","","",3],["result.rb","files/lib/apphunk/remote/result_rb.html","files/lib/apphunk/remote/result_rb.html","","",3]]}}
|
data/doc/panel/tree.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var tree = [["","","files",[["LICENSE","files/LICENSE.html","",[]],["README.rdoc","files/README_rdoc.html","",[]],["","","lib",[["","","apphunk",[["config.rb","files/lib/apphunk/config_rb.html","",[]],["logger.rb","files/lib/apphunk/logger_rb.html","",[]],["proxy.rb","files/lib/apphunk/proxy_rb.html","",[]],["","","remote",[["result.rb","files/lib/apphunk/remote/result_rb.html","",[]]]],["remote.rb","files/lib/apphunk/remote_rb.html","",[]]]],["apphunk.rb","files/lib/apphunk_rb.html","",[]]]]]],["Apphunk","classes/Apphunk.html","",[["Config","classes/Apphunk/Config.html","",[]],["Logger","classes/Apphunk/Logger.html","",[]],["Proxy","classes/Apphunk/Proxy.html","",[]],["Remote","classes/Apphunk/Remote.html","",[["Result","classes/Apphunk/Remote/Result.html"," < Object",[]]]]]]]
|