customerio 0.0.2 → 0.0.3
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/Gemfile.lock +4 -4
- data/customerio.gemspec +2 -2
- data/lib/customerio/version.rb +1 -1
- data/readme.markdown +2 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
customerio (0.0.
|
|
5
|
-
httparty (~> 0.
|
|
4
|
+
customerio (0.0.2)
|
|
5
|
+
httparty (~> 0.9.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
diff-lcs (1.1.3)
|
|
11
11
|
fakeweb (1.3.0)
|
|
12
|
-
httparty (0.
|
|
12
|
+
httparty (0.9.0)
|
|
13
13
|
multi_json (~> 1.0)
|
|
14
14
|
multi_xml
|
|
15
|
-
multi_json (1.3.
|
|
15
|
+
multi_json (1.3.7)
|
|
16
16
|
multi_xml (0.5.1)
|
|
17
17
|
rake (0.9.2.2)
|
|
18
18
|
rspec (2.8.0)
|
data/customerio.gemspec
CHANGED
|
@@ -15,9 +15,9 @@ Gem::Specification.new do |gem|
|
|
|
15
15
|
gem.require_paths = ["lib"]
|
|
16
16
|
gem.version = Customerio::VERSION
|
|
17
17
|
|
|
18
|
-
gem.add_dependency('httparty', '~> 0.
|
|
18
|
+
gem.add_dependency('httparty', '~> 0.9.0')
|
|
19
19
|
|
|
20
20
|
gem.add_development_dependency('rake')
|
|
21
21
|
gem.add_development_dependency('rspec')
|
|
22
22
|
gem.add_development_dependency('fakeweb')
|
|
23
|
-
end
|
|
23
|
+
end
|
data/lib/customerio/version.rb
CHANGED
data/readme.markdown
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
A ruby client for the [Customer.io](http://customer.io) [event API](https://app.customer.io/api/docs/index.html).
|
|
4
4
|
|
|
5
5
|
[](http://travis-ci.org/customerio/customerio-ruby)
|
|
6
|
+
[](https://codeclimate.com/github/customerio/customerio-ruby)
|
|
6
7
|
|
|
7
8
|
## Installation
|
|
8
9
|
|
|
@@ -48,7 +49,7 @@ If you're using Rails, create an initializer `config/initializers/customerio.rb`
|
|
|
48
49
|
|
|
49
50
|
$customerio = Customerio::Client.new("YOUR SITE ID", "YOUR API SECRET KEY")
|
|
50
51
|
|
|
51
|
-
By default, this gem identifies customers by just their `id`. However, a common approach is to use `production_2342` as the id attribute for the javascript snippet. You'll want to use the same format
|
|
52
|
+
By default, this gem identifies customers by just their `id`. However, a common approach is to use `production_2342` as the id attribute for the javascript snippet. You'll want to use the same format by customizing the id in `config/initializers/customerio.rb`:
|
|
52
53
|
|
|
53
54
|
Customerio::Client.id do |customer|
|
|
54
55
|
"#{Rails.env}_#{customer.id}"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: customerio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
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-
|
|
12
|
+
date: 2012-11-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0.
|
|
21
|
+
version: 0.9.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
29
|
+
version: 0.9.0
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: rake
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|