dyndnsd 2.0.0 → 2.3.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.
@@ -1,8 +0,0 @@
1
-
2
- require 'rubygems'
3
- require 'bundler/setup'
4
- require 'rack/test'
5
-
6
- require 'dyndnsd'
7
- require 'support/dummy_database'
8
- require 'support/dummy_updater'
@@ -1,27 +0,0 @@
1
-
2
- require 'forwardable'
3
-
4
- module Dyndnsd
5
- class DummyDatabase
6
- extend Forwardable
7
-
8
- def_delegators :@db, :[], :[]=, :each, :has_key?
9
-
10
- def initialize(db_init)
11
- @db_init = db_init
12
- end
13
-
14
- def load
15
- @db = @db_init
16
- @db_hash = @db.hash
17
- end
18
-
19
- def save
20
- @db_hash = @db.hash
21
- end
22
-
23
- def changed?
24
- @db_hash != @db.hash
25
- end
26
- end
27
- end
@@ -1,10 +0,0 @@
1
-
2
- module Dyndnsd
3
- module Updater
4
- class Dummy
5
- def update(zone)
6
- # nothing
7
- end
8
- end
9
- end
10
- end