social_stream-ostatus 2.0.0 → 2.1.0
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.
- checksums.yaml +4 -4
- data/lib/social_stream-ostatus.rb +0 -4
- data/lib/social_stream/ostatus/engine.rb +11 -0
- data/lib/social_stream/ostatus/version.rb +1 -1
- data/social_stream-ostatus.gemspec +1 -1
- metadata +4 -6
- data/app/decorators/social_stream/base/relation/custom_decorator.rb +0 -3
- data/lib/social_stream/ostatus/models/relation/custom.rb +0 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e04e19ab067d7cbc857e27bb92db09f52d5dd7d9
|
|
4
|
+
data.tar.gz: 1a29190052fc309a9cafc141ab647d027c4aeea4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3639669fa718cd7d292eb4e1e59243ffa24bef34bc11a614139e1305c8181064bd04c2ab7c273118a13cf230b448a88f0231c1f023d0bf634cff16a94844e549
|
|
7
|
+
data.tar.gz: 3898c16226a6dd9c10c8b72f2ddeadb1c2ee83929b33bda3e1bba85bb11215414e58939a40c1ee5429d35155c4219339adacf2bb014f148ee30b34931389faa0
|
|
@@ -16,6 +16,17 @@ module SocialStream
|
|
|
16
16
|
initializer "social_stream-ostatus.remote_subject_in_social_stream_subjects" do
|
|
17
17
|
SocialStream.subjects << :remote_subject unless SocialStream.subjects.include?(:remote_subject)
|
|
18
18
|
end
|
|
19
|
+
|
|
20
|
+
initializer "social_stream-ostatus.custom_relations" do
|
|
21
|
+
SocialStream.custom_relations['remote_subject'] = {
|
|
22
|
+
'default' => {
|
|
23
|
+
'name' => 'default',
|
|
24
|
+
'permissions' => [
|
|
25
|
+
[ 'read', 'activity' ]
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
end
|
|
19
30
|
end
|
|
20
31
|
end
|
|
21
32
|
end
|
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
|
13
13
|
|
|
14
14
|
# Gem dependencies
|
|
15
|
-
s.add_runtime_dependency('social_stream-base', '~> 2.
|
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 2.1.0')
|
|
16
16
|
s.add_runtime_dependency('proudhon','>= 0.3.6')
|
|
17
17
|
s.add_runtime_dependency('nokogiri','> 1.4.4')
|
|
18
18
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: social_stream-ostatus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Antonio Tapiador
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: social_stream-base
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - ~>
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 2.
|
|
20
|
+
version: 2.1.0
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - ~>
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 2.
|
|
27
|
+
version: 2.1.0
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: proudhon
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -147,7 +147,6 @@ files:
|
|
|
147
147
|
- app/decorators/social_stream/base/actor_decorator.rb
|
|
148
148
|
- app/decorators/social_stream/base/audience_decorator.rb
|
|
149
149
|
- app/decorators/social_stream/base/contact_decorator.rb
|
|
150
|
-
- app/decorators/social_stream/base/relation/custom_decorator.rb
|
|
151
150
|
- app/decorators/social_stream/base/tie_decorator.rb
|
|
152
151
|
- app/models/actor_key.rb
|
|
153
152
|
- app/models/remote_subject.rb
|
|
@@ -169,7 +168,6 @@ files:
|
|
|
169
168
|
- lib/social_stream/ostatus/models/audience.rb
|
|
170
169
|
- lib/social_stream/ostatus/models/contact.rb
|
|
171
170
|
- lib/social_stream/ostatus/models/object.rb
|
|
172
|
-
- lib/social_stream/ostatus/models/relation/custom.rb
|
|
173
171
|
- lib/social_stream/ostatus/models/tie.rb
|
|
174
172
|
- lib/social_stream/ostatus/version.rb
|
|
175
173
|
- social_stream-ostatus.gemspec
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
module SocialStream
|
|
2
|
-
module Ostatus
|
|
3
|
-
module Models
|
|
4
|
-
module Relation
|
|
5
|
-
module Custom
|
|
6
|
-
extend ActiveSupport::Concern
|
|
7
|
-
|
|
8
|
-
included do
|
|
9
|
-
const_get("DEFAULT")['remote_subject'] = {
|
|
10
|
-
'default' => {
|
|
11
|
-
'name' => 'default',
|
|
12
|
-
'permissions' => [
|
|
13
|
-
[ 'read', 'activity' ]
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|