rubango 0.1.3 → 0.1.4
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.
- data/README.md +10 -0
- data/lib/totango/arg_parser.rb +1 -0
- data/lib/totango/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
|
@@ -32,6 +32,16 @@ You now interact with `Totango.client` to do your bidding:
|
|
|
32
32
|
:module => "Current module"
|
|
33
33
|
})
|
|
34
34
|
|
|
35
|
+
You can optionally pass a 'Foreign ID' to Activity Events to indicate the Organization’s identifier on foreign systems:
|
|
36
|
+
|
|
37
|
+
Totango.client.track({
|
|
38
|
+
:organization => "Current organization",
|
|
39
|
+
:user => "Current user",
|
|
40
|
+
:activity => "Current activity",
|
|
41
|
+
:module => "Current module",
|
|
42
|
+
:ofid => "1234"
|
|
43
|
+
})
|
|
44
|
+
|
|
35
45
|
By default, Totango will create a new thread to make the remote calls. If you already track the events using a background job, you should use synchronous calls. To turn synchronous calls on, use `Totango::Config`:
|
|
36
46
|
|
|
37
47
|
Totango::Config[:synchronous] = true
|
data/lib/totango/arg_parser.rb
CHANGED
data/lib/totango/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubango
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-02-
|
|
12
|
+
date: 2012-02-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &10599740 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :development
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *10599740
|
|
25
25
|
description: Enables easy integration of Totango tracking, with options for different
|
|
26
26
|
ruby web frameworks
|
|
27
27
|
email:
|