livejournal 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/livejournal/friends.rb +2 -1
- metadata +21 -28
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.8
|
data/lib/livejournal/friends.rb
CHANGED
@@ -33,7 +33,7 @@ module LiveJournal
|
|
33
33
|
attr_accessor :background, :foreground
|
34
34
|
# bitfield of friend groups this friend is a member of
|
35
35
|
attr_accessor :groupmask
|
36
|
-
# friend type. possible values: :community, :news, :syndicated, :shared, :user
|
36
|
+
# friend type. possible values: :community, :news, :syndicated, :shared, :identity, :user
|
37
37
|
attr_accessor :type
|
38
38
|
def initialize
|
39
39
|
@username = nil
|
@@ -55,6 +55,7 @@ module LiveJournal
|
|
55
55
|
when 'news'; :news
|
56
56
|
when 'syndicated'; :syndicated
|
57
57
|
when 'shared'; :shared
|
58
|
+
when 'identity'; :identity
|
58
59
|
when nil; :user
|
59
60
|
else raise LiveJournal::Request::ProtocolException.new(
|
60
61
|
"unknown friend type: #{req['type']}")
|
metadata
CHANGED
@@ -1,29 +1,26 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: livejournal
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.8
|
4
5
|
prerelease:
|
5
|
-
version: 0.3.7
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Evan Martin
|
9
9
|
- Roman Shterenzon
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
date: 2012-02-10 00:00:00 Z
|
13
|
+
date: 2012-04-28 00:00:00.000000000 Z
|
15
14
|
dependencies: []
|
16
|
-
|
17
|
-
|
15
|
+
description: LiveJournal module. Post to livejournal, retrieve friends lists, edit
|
16
|
+
entries, sync journal to an offline database.
|
18
17
|
email: romanbsd@yahoo.com
|
19
18
|
executables: []
|
20
|
-
|
21
19
|
extensions: []
|
22
|
-
|
23
|
-
extra_rdoc_files:
|
20
|
+
extra_rdoc_files:
|
24
21
|
- LICENSE
|
25
22
|
- README.md
|
26
|
-
files:
|
23
|
+
files:
|
27
24
|
- Changes
|
28
25
|
- LICENSE
|
29
26
|
- README.md
|
@@ -53,30 +50,26 @@ files:
|
|
53
50
|
- test/time.rb
|
54
51
|
homepage: http://neugierig.org/software/livejournal/ruby/
|
55
52
|
licenses: []
|
56
|
-
|
57
53
|
post_install_message:
|
58
54
|
rdoc_options: []
|
59
|
-
|
60
|
-
require_paths:
|
55
|
+
require_paths:
|
61
56
|
- lib
|
62
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
58
|
none: false
|
64
|
-
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version:
|
68
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
64
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version:
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
74
69
|
requirements: []
|
75
|
-
|
76
70
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.8.
|
71
|
+
rubygems_version: 1.8.23
|
78
72
|
signing_key:
|
79
73
|
specification_version: 3
|
80
74
|
summary: Module for interacting with livejournal
|
81
75
|
test_files: []
|
82
|
-
|