diff options
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | lib/oxidized/string.rb | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 912812a..911a961 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,8 @@ +# 0.2.0 +- FEATURE: Force10 model added by @lysiszegerman +- FEATURE: FabricOS model added by @thakala +- FEATURE: ASA model added by @thakala +- BUGFIX: Oxidized::String convenience methods for models fixed + # 0.1.1 - BUGFIX: vars needs to return value of r, not value of evaluation @@ -120,7 +120,7 @@ source: default: sql sql: adapter: sqlite - file: "/usr/local/lan/corona.db" + database: "/usr/local/lan/corona.db" table: device map: name: ptr diff --git a/lib/oxidized/string.rb b/lib/oxidized/string.rb index bcc393a..35dc5af 100644 --- a/lib/oxidized/string.rb +++ b/lib/oxidized/string.rb @@ -3,11 +3,11 @@ module Oxidized class String < String # @return [Oxidized::String] copy of self with last line removed def cut_tail - Oxy::String.new each_line.to_a[0..-2].join + Oxidized::String.new each_line.to_a[0..-2].join end # @return [Oxidized::String] copy of self with first line removed def cut_head - Oxy::String.new each_line.to_a[1..-1].join + Oxidized::String.new each_line.to_a[1..-1].join end end end |