diff options
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | lib/oxidized/string.rb | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 912812a..3207b3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,6 @@ +# 0.1.x +- FEATURE: Force10 model added +- BUGFIX: Oxidized::String convenience methods for models fixed + # 0.1.1 - BUGFIX: vars needs to return value of r, not value of evaluation @@ -67,7 +67,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 |