activity_stream_client 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/activity_stream/activity.rb +6 -2
- metadata +2 -2
@@ -24,9 +24,13 @@ module ActivityStream
|
|
24
24
|
self.api_key = API_KEY
|
25
25
|
self.host = HOST
|
26
26
|
|
27
|
-
#
|
27
|
+
# Identifies activity as local to your app or not.
|
28
|
+
#
|
29
|
+
# To identify your app you should define constant: ActivityStream::LOCAL_APP_NAME
|
30
|
+
#
|
31
|
+
# @return [Boolean]
|
28
32
|
def local?
|
29
|
-
|
33
|
+
defined?(LOCAL_APP_NAME) && (generator == LOCAL_APP_NAME)
|
30
34
|
end
|
31
35
|
|
32
36
|
def json_root
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activity_stream_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|