social_stream-ostatus 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39be1eaa0396b67dc08b98c0f91121aa586c0e4c
4
- data.tar.gz: e2dc3259f3864bca4e97329763ee1da76da6ee63
3
+ metadata.gz: e04e19ab067d7cbc857e27bb92db09f52d5dd7d9
4
+ data.tar.gz: 1a29190052fc309a9cafc141ab647d027c4aeea4
5
5
  SHA512:
6
- metadata.gz: ea395f877af3a7ef4f8f4d8ab73f8c7183b00b268fd2e1bd59ca6723c3744b3d217200ee942261d6223af29a26801e372f1147b5cb02fa60dfed489aca1be9b2
7
- data.tar.gz: 9e78ffcf250cecb40a1a4e770a5cc7da61d2e43c96059647c5ced8820d9b9e7a960a8a278a695226b435afd723a3cdf26cc1f3a4dc92a9ca4783652cdbb0c034
6
+ metadata.gz: 3639669fa718cd7d292eb4e1e59243ffa24bef34bc11a614139e1305c8181064bd04c2ab7c273118a13cf230b448a88f0231c1f023d0bf634cff16a94844e549
7
+ data.tar.gz: 3898c16226a6dd9c10c8b72f2ddeadb1c2ee83929b33bda3e1bba85bb11215414e58939a40c1ee5429d35155c4219339adacf2bb014f148ee30b34931389faa0
@@ -40,10 +40,6 @@ module SocialStream
40
40
  module Object
41
41
  autoload :ClassMethods, 'social_stream/ostatus/models/object'
42
42
  end
43
-
44
- module Relation
45
- autoload :Custom, 'social_stream/ostatus/models/relation/custom'
46
- end
47
43
  end
48
44
 
49
45
  module Controllers
@@ -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
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Ostatus
3
- VERSION = "2.0.0".freeze
3
+ VERSION = "2.1.0".freeze
4
4
  end
5
5
  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.0.0')
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.0.0
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-05-17 00:00:00.000000000 Z
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.0.0
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.0.0
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,3 +0,0 @@
1
- Relation::Custom.class_eval do
2
- include SocialStream::Ostatus::Models::Relation::Custom
3
- end
@@ -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