social_stream-ostatus 2.1.0 → 2.2.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: e04e19ab067d7cbc857e27bb92db09f52d5dd7d9
4
- data.tar.gz: 1a29190052fc309a9cafc141ab647d027c4aeea4
3
+ metadata.gz: 82c84261282dfad32e15cdfe05c4d1b91d7027c8
4
+ data.tar.gz: b85a6cb8e5bcbedea545cc37d62170fec3aefd3b
5
5
  SHA512:
6
- metadata.gz: 3639669fa718cd7d292eb4e1e59243ffa24bef34bc11a614139e1305c8181064bd04c2ab7c273118a13cf230b448a88f0231c1f023d0bf634cff16a94844e549
7
- data.tar.gz: 3898c16226a6dd9c10c8b72f2ddeadb1c2ee83929b33bda3e1bba85bb11215414e58939a40c1ee5429d35155c4219339adacf2bb014f148ee30b34931389faa0
6
+ metadata.gz: b2fa3ce0c5439b5d52fadb331ff72f648634163dcf1da79d5d3318bac269ca81020305d54dfb3d9fe38e299ed11b4ade6a4c7fbaaa828c3c0cd12fd3747dbea6
7
+ data.tar.gz: b785ba2b50454646d2637c34e8bf0464d4b6839120c8fa150ad9b636a689604584dfcd3ef658b7e8ba1e93aadc36e7fe2d2387a6e2b8e3423694ed34258f3a52
data/Rakefile CHANGED
@@ -3,12 +3,7 @@ require 'bundler/gem_tasks'
3
3
 
4
4
  require 'rdoc/task'
5
5
 
6
- require 'rspec/core'
7
- require 'rspec/core/rake_task'
8
-
9
- RSpec::Core::RakeTask.new(:spec)
10
-
11
- task :default => :spec
6
+ task :default => :rdoc
12
7
 
13
8
  Rake::RDocTask.new(:rdoc) do |rdoc|
14
9
  rdoc.rdoc_dir = 'rdoc'
@@ -4,32 +4,32 @@ zh:
4
4
  verb:
5
5
  follow:
6
6
  RemoteSubject:
7
- title: '%{subject} added %{contact} as contact.'
8
7
  message: '%{name} added you as contact.'
9
8
  notification:
10
- subject: '%{name} added you as contact.'
11
9
  body: '%{name} added you as contact.'
10
+ subject: '%{name} added you as contact.'
11
+ title: '%{subject} added %{contact} as contact.'
12
12
  like:
13
13
  RemoteSubject:
14
- title: '%{subject} is a fan of %{contact}.'
15
14
  message: '%{name} is now your fan.'
16
15
  notification:
17
- subject: '%{name} is now your fan.'
18
16
  body: '%{name} is now your fan.'
17
+ subject: '%{name} is now your fan.'
18
+ title: '%{subject} is a fan of %{contact}.'
19
19
  make-friend:
20
20
  RemoteSubject:
21
- title: '%{subject} and %{contact} are now connected.'
22
21
  message: '%{name} also added you as contact.'
23
22
  notification:
24
- subject: '%{name} also added you as contact.'
25
23
  body: '%{name} also added you as contact.'
24
+ subject: '%{name} also added you as contact.'
25
+ title: '%{subject} and %{contact} are now connected.'
26
26
  post:
27
27
  RemoteSubject:
28
28
  notification:
29
- subject: '%{name} has posted something(%{direct_object}) in your wall'
30
29
  body: '%{name} has posted something(%{direct_object}) in your wall'
30
+ subject: '%{name} has posted something(%{direct_object}) in your wall'
31
31
  update:
32
32
  RemoteSubject:
33
33
  notification:
34
- subject: '%{name} has updated %{direct_object} in your wall'
35
34
  body: '%{name} has updated something(%{direct_object}) in your wall'
35
+ subject: '%{name} has updated %{direct_object} in your wall'
@@ -45,6 +45,9 @@ module SocialStream
45
45
  module Controllers
46
46
  autoload :DebugRequests, 'social_stream/ostatus/controllers/debug_requests'
47
47
  end
48
+
49
+ # Include route_subject in routes
50
+ SocialStream.routed_subjects << :remote_subject
48
51
  end
49
52
  end
50
53
 
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Ostatus
3
- VERSION = "2.1.0".freeze
3
+ VERSION = "2.2.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.1.0')
15
+ s.add_runtime_dependency('social_stream-base', '~> 2.2.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.1.0
4
+ version: 2.2.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-07-04 00:00:00.000000000 Z
12
+ date: 2013-08-01 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.1.0
20
+ version: 2.2.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.1.0
27
+ version: 2.2.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: proudhon
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  requirements: []
203
203
  rubyforge_project:
204
- rubygems_version: 2.0.0
204
+ rubygems_version: 2.0.6
205
205
  signing_key:
206
206
  specification_version: 4
207
207
  summary: Provides a Social Stream node with social network federation support via