-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- there was a lot of depreciation warnings about dropping support of schema plugin in the future version. - updated code to work without schema plugin - refreshed other dependencies - bump up gemspec
- Loading branch information
Jari Salo
committed
Sep 20, 2019
1 parent
0a5f564
commit 98aa449
Showing
5 changed files
with
45 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
corona (0.0.12) | ||
asetus | ||
sequel | ||
slop | ||
snmp | ||
sqlite3 | ||
corona (0.2.0) | ||
asetus (~> 0.3) | ||
sequel (~> 5.10) | ||
slop (~> 3.6) | ||
snmp (~> 1.2) | ||
sqlite3 (~> 1.4) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
asetus (0.0.7) | ||
slop | ||
sequel (4.9.0) | ||
slop (3.5.0) | ||
snmp (1.1.1) | ||
sqlite3 (1.3.9) | ||
asetus (0.3.0) | ||
sequel (5.24.0) | ||
slop (3.6.0) | ||
snmp (1.3.2) | ||
sqlite3 (1.4.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
corona! | ||
|
||
BUNDLED WITH | ||
2.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,6 @@ | ||
module Corona | ||
class DB | ||
class Device < Sequel::Model | ||
set_schema do | ||
primary_key :id | ||
String :ip | ||
String :ptr | ||
String :model | ||
String :oid_ifDescr | ||
Boolean :active | ||
Time :first_seen | ||
Time :last_seen | ||
String :oid_sysName | ||
String :oid_sysLocation | ||
String :oid_sysDescr | ||
String :oid_sysObjectID | ||
end | ||
create_table unless table_exists? | ||
end | ||
end | ||
end |