customerio 2.2.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -15
- data/.circleci/config.yml +61 -0
- data/CHANGELOG.markdown +14 -0
- data/README.md +39 -14
- data/customerio.gemspec +2 -2
- data/lib/customerio.rb +3 -0
- data/lib/customerio/api.rb +34 -0
- data/lib/customerio/base_client.rb +87 -0
- data/lib/customerio/client.rb +45 -143
- data/lib/customerio/requests/send_email_request.rb +49 -0
- data/lib/customerio/version.rb +1 -1
- data/spec/api_client_spec.rb +130 -0
- data/spec/base_client_spec.rb +67 -0
- data/spec/client_spec.rb +244 -224
- metadata +39 -33
- data/.travis.yml +0 -9
metadata
CHANGED
@@ -1,41 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: customerio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Allison
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03
|
11
|
+
date: 2020-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: addressable
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.7.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.7.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - ~>
|
45
|
+
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '10.5'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - ~>
|
52
|
+
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '10.5'
|
41
55
|
- !ruby/object:Gem::Dependency
|
@@ -58,40 +72,26 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - '='
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: 3.6.0
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - '='
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: addressable
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 2.3.6
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ~>
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 2.3.6
|
82
|
+
version: 3.6.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: json
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: A ruby client for the Customer.io event API.
|
@@ -101,8 +101,8 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
- .
|
105
|
-
- .
|
104
|
+
- ".circleci/config.yml"
|
105
|
+
- ".gitignore"
|
106
106
|
- CHANGELOG.markdown
|
107
107
|
- Gemfile
|
108
108
|
- LICENSE
|
@@ -110,35 +110,41 @@ files:
|
|
110
110
|
- Rakefile
|
111
111
|
- customerio.gemspec
|
112
112
|
- lib/customerio.rb
|
113
|
+
- lib/customerio/api.rb
|
114
|
+
- lib/customerio/base_client.rb
|
113
115
|
- lib/customerio/client.rb
|
114
116
|
- lib/customerio/param_encoder.rb
|
117
|
+
- lib/customerio/requests/send_email_request.rb
|
115
118
|
- lib/customerio/version.rb
|
119
|
+
- spec/api_client_spec.rb
|
120
|
+
- spec/base_client_spec.rb
|
116
121
|
- spec/client_spec.rb
|
117
122
|
- spec/spec_helper.rb
|
118
123
|
homepage: http://customer.io
|
119
124
|
licenses:
|
120
125
|
- MIT
|
121
126
|
metadata: {}
|
122
|
-
post_install_message:
|
127
|
+
post_install_message:
|
123
128
|
rdoc_options: []
|
124
129
|
require_paths:
|
125
130
|
- lib
|
126
131
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
132
|
requirements:
|
128
|
-
- -
|
133
|
+
- - ">="
|
129
134
|
- !ruby/object:Gem::Version
|
130
135
|
version: '0'
|
131
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
137
|
requirements:
|
133
|
-
- -
|
138
|
+
- - ">="
|
134
139
|
- !ruby/object:Gem::Version
|
135
140
|
version: '0'
|
136
141
|
requirements: []
|
137
|
-
|
138
|
-
|
139
|
-
signing_key:
|
142
|
+
rubygems_version: 3.1.2
|
143
|
+
signing_key:
|
140
144
|
specification_version: 4
|
141
145
|
summary: A ruby client for the Customer.io event API.
|
142
146
|
test_files:
|
147
|
+
- spec/api_client_spec.rb
|
148
|
+
- spec/base_client_spec.rb
|
143
149
|
- spec/client_spec.rb
|
144
150
|
- spec/spec_helper.rb
|