livejournal 0.3.5 → 0.3.6

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.
Files changed (4) hide show
  1. data/Changes +6 -0
  2. data/VERSION +1 -1
  3. data/lib/livejournal/request.rb +2 -1
  4. metadata +2 -2
data/Changes CHANGED
@@ -1,3 +1,9 @@
1
+ 0.3.6: Fri, Jan 20 2012
2
+ - Ruby 1.9.3 compatibility
3
+
4
+ 0.3.5: Thu, Jan 19 2012
5
+ - Send User-Agent header
6
+
1
7
  0.3.3: Sat, Apr 23 2011
2
8
  - Populate the list of journals the user has posting access to.
3
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5
1
+ 0.3.6
@@ -88,7 +88,8 @@ module LiveJournal
88
88
  }.join("&")
89
89
  p request if @verbose
90
90
  return if @dryrun
91
- response, data = h.post('/interface/flat', request, {"User-Agent" => "ljrb/0.3.x"})
91
+ response = h.post('/interface/flat', request, {"User-Agent" => "ljrb/0.3.x"})
92
+ data = response.read_body
92
93
  parseresponse(data)
93
94
  dumpresponse if @verbose
94
95
  if @result['success'] != "OK"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: livejournal
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.5
5
+ version: 0.3.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Evan Martin
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-01-18 00:00:00 Z
14
+ date: 2012-01-20 00:00:00 Z
15
15
  dependencies: []
16
16
 
17
17
  description: LiveJournal module. Post to livejournal, retrieve friends lists, edit entries, sync journal to an offline database.