adhd 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/adhd.gemspec +31 -2
- data/bin/adhd +33 -0
- data/lib/adhd.rb +91 -13
- data/lib/adhd/config.yml +7 -0
- data/lib/adhd/models.rb +369 -0
- data/lib/adhd/node.rb +13 -0
- data/lib/adhd/reactor.rb +57 -0
- data/lib/ext/hash_to_openstruct.rb +29 -0
- data/lib/public/images/img01.jpg +0 -0
- data/lib/public/images/img02.jpg +0 -0
- data/lib/public/images/img03.jpg +0 -0
- data/lib/public/images/img04.jpg +0 -0
- data/lib/public/images/img05.jpg +0 -0
- data/lib/public/images/img06.jpg +0 -0
- data/lib/public/images/img07.jpg +0 -0
- data/lib/public/images/img08.jpg +0 -0
- data/lib/public/images/img09.jpg +0 -0
- data/lib/public/images/img10.gif +0 -0
- data/lib/public/images/img11.gif +0 -0
- data/lib/public/images/img12.jpg +0 -0
- data/lib/public/images/img13.jpg +0 -0
- data/lib/public/images/img14.jpg +0 -0
- data/lib/public/images/img15.jpg +0 -0
- data/lib/public/images/spacer.gif +0 -0
- data/lib/public/style.css +451 -0
- data/lib/views/index.erb +2 -0
- data/lib/views/layout.erb +92 -0
- metadata +39 -5
data/lib/views/index.erb
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<!--
|
3
|
+
Design by Free CSS Templates
|
4
|
+
http://www.freecsstemplates.org
|
5
|
+
Released for free under a Creative Commons Attribution 2.5 License
|
6
|
+
|
7
|
+
Name : EarthlingTwo
|
8
|
+
Description: A two-column, fixed-width design with dark color scheme.
|
9
|
+
Version : 1.0
|
10
|
+
Released : 20090918
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
13
|
+
<head>
|
14
|
+
<meta name="keywords" content="" />
|
15
|
+
<meta name="description" content="" />
|
16
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
17
|
+
<title>Asynchronous Distributed Hard Drive</title>
|
18
|
+
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
|
19
|
+
</head>
|
20
|
+
<body>
|
21
|
+
<div id="wrapper">
|
22
|
+
<div id="header">
|
23
|
+
<div id="logo">
|
24
|
+
<h1><a href="#">ADHD</a></h1>
|
25
|
+
<p>Data escaping the datacentre</p>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<!-- end #header -->
|
29
|
+
<div id="menu">
|
30
|
+
<ul>
|
31
|
+
<li class="current_page_item"><a href="#">Home</a></li>
|
32
|
+
</ul>
|
33
|
+
</div>
|
34
|
+
<!-- end #menu -->
|
35
|
+
<div id="page">
|
36
|
+
<div id="content">
|
37
|
+
<div class="post">
|
38
|
+
<h2 class="title"><a href="#">Lorem ipsum dolor sit amet </a></h2>
|
39
|
+
<p class="meta">Aliquam sit amet tempus sed consequat</p>
|
40
|
+
<div class="entry">
|
41
|
+
<p>This is <strong>EarthlingTwo</strong>, a free template by <a href="http://www.nodethirtythree.com">nodethirtythree</a> and <a href="http://www.freecsstemplates.org">Free CSS Templates</a>. It’s kind of a sequel to an older template I did for FCT a long time ago named <a href="http://www.freecsstemplates.org/preview/earthling">Earthling</a>.</p>
|
42
|
+
<p>This template is released under the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution</a> license, so use it however you like, just keep the links back to our sites. The scenic photo above is a public domain work from <a href="http://www.pdphoto.org">PDPhoto.org</a>. Be sure to check out my other work at <a href="http://www.nodethirtythree.com/">my site</a> or follow me on <a href="http://twitter.com/nodethirtythree/">Twitter</a> for news and updates. Have fun.</p>
|
43
|
+
<p class="links"><a href="#" class="more">Read More</a> <a href="#" class="comments">Comments (33)</a></p>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div style="clear: both;"> </div>
|
47
|
+
</div>
|
48
|
+
<!-- end #content -->
|
49
|
+
<div id="sidebar">
|
50
|
+
<ul>
|
51
|
+
<li>
|
52
|
+
<h2>Veroeros sit dolore</h2>
|
53
|
+
<p><strong>Donec turpis orci</strong> facilisis et ornare eget, sagittis eu massa. Quisque dui diam, euismod et lobortis sed etiam lorem ipsum dolor etiam nullam et faucibus. <a href="#">More…</a></p>
|
54
|
+
</li>
|
55
|
+
<li>
|
56
|
+
<h2>Nodes</h2>
|
57
|
+
<ul>
|
58
|
+
<% @all_nodes.each do |n| %>
|
59
|
+
<li><span><%= n.name %></span> <%= n.url %> | <%= n.status %> (<%= n.is_management %>)<br/>
|
60
|
+
<% end %>
|
61
|
+
|
62
|
+
</ul>
|
63
|
+
</li>
|
64
|
+
</ul>
|
65
|
+
</div>
|
66
|
+
<!-- end #sidebar -->
|
67
|
+
<div style="clear: both;"> </div>
|
68
|
+
</div>
|
69
|
+
<!-- end #page -->
|
70
|
+
</div>
|
71
|
+
<div id="footer-content">
|
72
|
+
<div class="column1">
|
73
|
+
<h2>Volutpat quisque sed et aliquam</h2>
|
74
|
+
<p><strong>Maecenas ut ante</strong> eu velit laoreet tempor accumsan vitae nibh. Aenean commodo, tortor eu porta convolutpat elementum. Proin fermentum molestie erat eget vehicula. Aenean eget tellus mi. Fusce scelerisque odio quis ante bibendum sollicitudin. Suspendisse potenti. Vivamus quam odio, facilisis at ultrices nec, sollicitudin ac risus. Donec ut odio ipsum, sed tincidunt. <a href="#">Learn more…</a></p>
|
75
|
+
</div>
|
76
|
+
<div class="column2">
|
77
|
+
<ul class="list">
|
78
|
+
<li><a href="#">Tempor accumsan vitae sed nibh dolore</a></li>
|
79
|
+
<li><a href="#">Aenean commodo, tortor eu porta veroeros</a></li>
|
80
|
+
<li><a href="#">Fermentum molestie erat eget consequat</a></li>
|
81
|
+
<li><a href="#">Donec vestibulum interdum diam etiam</a></li>
|
82
|
+
<li><a href="#">Vehicula aenean eget sed tellus blandit</a></li>
|
83
|
+
</ul>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
<div id="footer">
|
87
|
+
<p> (c) 2009 Sitename.com. Design by <a href="http://www.nodethirtythree.com">nodethirtythree</a> and <a href="http://www.freecsstemplates.org">Free CSS Templates</a>.</p>
|
88
|
+
</div>
|
89
|
+
<!-- end #footer -->
|
90
|
+
</body>
|
91
|
+
</html>
|
92
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dave.hrycyszyn@headlondon.com
|
@@ -9,8 +9,8 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
13
|
-
default_executable:
|
12
|
+
date: 2009-12-19 00:00:00 +00:00
|
13
|
+
default_executable: adhd
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thoughtbot-shoulda
|
@@ -52,10 +52,20 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: "0.33"
|
54
54
|
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thin
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.2.4
|
64
|
+
version:
|
55
65
|
description: "More to say when something works! Do not bother installing this! "
|
56
66
|
email: dave.hrycyszyn@headlondon.com
|
57
|
-
executables:
|
58
|
-
|
67
|
+
executables:
|
68
|
+
- adhd
|
59
69
|
extensions: []
|
60
70
|
|
61
71
|
extra_rdoc_files:
|
@@ -69,9 +79,33 @@ files:
|
|
69
79
|
- Rakefile
|
70
80
|
- VERSION
|
71
81
|
- adhd.gemspec
|
82
|
+
- bin/adhd
|
72
83
|
- doc/adhd.xmi
|
73
84
|
- lib/adhd.rb
|
85
|
+
- lib/adhd/config.yml
|
74
86
|
- lib/adhd/models.rb
|
87
|
+
- lib/adhd/node.rb
|
88
|
+
- lib/adhd/reactor.rb
|
89
|
+
- lib/ext/hash_to_openstruct.rb
|
90
|
+
- lib/public/images/img01.jpg
|
91
|
+
- lib/public/images/img02.jpg
|
92
|
+
- lib/public/images/img03.jpg
|
93
|
+
- lib/public/images/img04.jpg
|
94
|
+
- lib/public/images/img05.jpg
|
95
|
+
- lib/public/images/img06.jpg
|
96
|
+
- lib/public/images/img07.jpg
|
97
|
+
- lib/public/images/img08.jpg
|
98
|
+
- lib/public/images/img09.jpg
|
99
|
+
- lib/public/images/img10.gif
|
100
|
+
- lib/public/images/img11.gif
|
101
|
+
- lib/public/images/img12.jpg
|
102
|
+
- lib/public/images/img13.jpg
|
103
|
+
- lib/public/images/img14.jpg
|
104
|
+
- lib/public/images/img15.jpg
|
105
|
+
- lib/public/images/spacer.gif
|
106
|
+
- lib/public/style.css
|
107
|
+
- lib/views/index.erb
|
108
|
+
- lib/views/layout.erb
|
75
109
|
- models.rb
|
76
110
|
- test/helper.rb
|
77
111
|
- test/test_adhd.rb
|