adhd 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +0,0 @@
1
- module Adhd
2
- class Node
3
-
4
- def initialize(config)
5
- end
6
-
7
- def event_handler(ev)
8
- puts ev
9
- end
10
-
11
- end
12
- end
13
-
data/models.rb DELETED
@@ -1,19 +0,0 @@
1
- class Node < CouchRest::ExtendedDocument
2
- NODESERVER = CouchRest.new("#{ARGV[1]}")
3
- NODESERVER.default_database = "#{ARGV[0]}_node_db"
4
-
5
- use_database NODESERVER.default_database
6
-
7
- property :name
8
- property :url
9
- property :is_store
10
- property :is_management
11
- property :is_directory
12
- property :status
13
-
14
- timestamps!
15
-
16
- view_by :name
17
- view_by :is_management
18
- end
19
-