Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed dumn errors

  • Loading branch information...
commit 59dbfb2c71110fda1d5091559225cad7d3dda669 1 parent 78dc486
@dagbrown authored Dave Brown committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/livejournal.rb
View
6 lib/livejournal.rb
@@ -122,7 +122,7 @@ def export_comments start_id=0
# Post an item to livejournal
# Required fields are +subject+ and +text+
# Optional fields date, mood, music,
- def post subject, text, options => {}
+ def post subject, text, options = {}
date = if options[:date] then
DateTime.parse(options[:date])
else
@@ -137,7 +137,7 @@ def post subject, text, options => {}
:day => date.day,
:hour => date.hour,
:min => date.minute,
- :lineendings => "unix"
+ :lineendings => "unix",
:props => {}
}
@@ -145,7 +145,7 @@ def post subject, text, options => {}
callhash[:security]=options[:security]
end
- {
+ {
:mood => :current_mood,
:music => :current_music,
:preformatted => :opt_preformatted,
Please sign in to comment.
Something went wrong with that request. Please try again.