smoke 0.0.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.
Files changed (47) hide show
  1. data/History.txt +3 -0
  2. data/License.txt +21 -0
  3. data/Manifest.txt +46 -0
  4. data/README.txt +3 -0
  5. data/Rakefile +4 -0
  6. data/bin/smoke +43 -0
  7. data/bin/smoked +44 -0
  8. data/config/hoe.rb +70 -0
  9. data/config/requirements.rb +17 -0
  10. data/etc/smoke.d/processors/smoke/remote_port_status_check_processor.rb +8 -0
  11. data/etc/smoke.d/processors/smoke/system_load_processor.rb +41 -0
  12. data/etc/smoke.d/signals/smoke/random_status_demo.rb +7 -0
  13. data/etc/smoke.d/signals/smoke/remote_port_status_check.rb +34 -0
  14. data/etc/smoke.d/signals/smoke/system_load.rb +14 -0
  15. data/lib/smoke.rb +5 -0
  16. data/lib/smoke/client.rb +50 -0
  17. data/lib/smoke/client/connection.rb +44 -0
  18. data/lib/smoke/client/signal_runner.rb +40 -0
  19. data/lib/smoke/client/version.rb +11 -0
  20. data/lib/smoke/server.rb +18 -0
  21. data/lib/smoke/server/signal_handler.rb +64 -0
  22. data/lib/smoke/server/signal_router.rb +38 -0
  23. data/lib/smoke/server/version.rb +11 -0
  24. data/lib/smoke/signal.rb +19 -0
  25. data/lib/smoke/signal_processor.rb +29 -0
  26. data/lib/smoke/version.rb +9 -0
  27. data/load_average.png +0 -0
  28. data/log/debug.log +0 -0
  29. data/log/development.log +0 -0
  30. data/log/production.log +0 -0
  31. data/log/server.log +0 -0
  32. data/log/test.log +0 -0
  33. data/script/destroy +14 -0
  34. data/script/generate +14 -0
  35. data/script/txt2html +74 -0
  36. data/setup.rb +1585 -0
  37. data/tasks/deployment.rake +35 -0
  38. data/tasks/environment.rake +7 -0
  39. data/tasks/website.rake +17 -0
  40. data/test/test_helper.rb +2 -0
  41. data/test/test_server.rb +11 -0
  42. data/website/index.html +94 -0
  43. data/website/index.txt +39 -0
  44. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  45. data/website/stylesheets/screen.css +138 -0
  46. data/website/template.rhtml +49 -0
  47. metadata +106 -0
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -0,0 +1,49 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="TODO">TODO</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>,
42
+ by Daniel Cadenas via <a href="http://depgraph.rubyforge.org/">DepGraph</a>
43
+ </p>
44
+ </div>
45
+
46
+ <!-- insert site tracking codes here, like Google Urchin -->
47
+
48
+ </body>
49
+ </html>
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: smoke
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Craig R Webster
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-03-29 23:00:00 +00:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: A simple framework for reporting to a central server. What is reported and how it is handled is passed off to plugins called Smoke Signals that are defined by the user.
17
+ email:
18
+ - craig@barkingiguana.com
19
+ executables:
20
+ - smoke
21
+ - smoked
22
+ extensions: []
23
+
24
+ extra_rdoc_files:
25
+ - History.txt
26
+ - License.txt
27
+ - Manifest.txt
28
+ - README.txt
29
+ - website/index.txt
30
+ files:
31
+ - History.txt
32
+ - License.txt
33
+ - Manifest.txt
34
+ - README.txt
35
+ - Rakefile
36
+ - bin/smoke
37
+ - bin/smoked
38
+ - config/hoe.rb
39
+ - config/requirements.rb
40
+ - etc/smoke.d/processors/smoke/remote_port_status_check_processor.rb
41
+ - etc/smoke.d/processors/smoke/system_load_processor.rb
42
+ - etc/smoke.d/signals/smoke/random_status_demo.rb
43
+ - etc/smoke.d/signals/smoke/remote_port_status_check.rb
44
+ - etc/smoke.d/signals/smoke/system_load.rb
45
+ - lib/smoke.rb
46
+ - lib/smoke/client.rb
47
+ - lib/smoke/client/connection.rb
48
+ - lib/smoke/client/signal_runner.rb
49
+ - lib/smoke/client/version.rb
50
+ - lib/smoke/server.rb
51
+ - lib/smoke/server/signal_handler.rb
52
+ - lib/smoke/server/signal_router.rb
53
+ - lib/smoke/server/version.rb
54
+ - lib/smoke/signal.rb
55
+ - lib/smoke/signal_processor.rb
56
+ - lib/smoke/version.rb
57
+ - load_average.png
58
+ - log/debug.log
59
+ - log/development.log
60
+ - log/production.log
61
+ - log/server.log
62
+ - log/test.log
63
+ - script/destroy
64
+ - script/generate
65
+ - script/txt2html
66
+ - setup.rb
67
+ - tasks/deployment.rake
68
+ - tasks/environment.rake
69
+ - tasks/website.rake
70
+ - test/test_helper.rb
71
+ - test/test_server.rb
72
+ - website/index.html
73
+ - website/index.txt
74
+ - website/javascripts/rounded_corners_lite.inc.js
75
+ - website/stylesheets/screen.css
76
+ - website/template.rhtml
77
+ has_rdoc: true
78
+ homepage: http://smoke.rubyforge.org
79
+ post_install_message:
80
+ rdoc_options:
81
+ - --main
82
+ - README.txt
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: "0"
90
+ version:
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: "0"
96
+ version:
97
+ requirements: []
98
+
99
+ rubyforge_project: smoke
100
+ rubygems_version: 1.0.1
101
+ signing_key:
102
+ specification_version: 2
103
+ summary: A simple framework for reporting to a central server. What is reported and how it is handled is passed off to plugins called Smoke Signals that are defined by the user.
104
+ test_files:
105
+ - test/test_helper.rb
106
+ - test/test_server.rb