customerio 2.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -10,6 +10,6 @@ require 'rspec'
10
10
  require 'webmock/rspec'
11
11
 
12
12
  RSpec.configure do |config|
13
- config.expect_with(:rspec) { |c| c.syntax = :should }
14
- config.mock_with(:rspec) { |c| c.syntax = :should }
13
+ config.expect_with(:rspec) { |c| c.syntax = [:should, :expect] }
14
+ config.mock_with(:rspec) { |c| c.syntax = [:should, :expect] }
15
15
  end
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: 2.0.0
4
+ version: 3.1.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: 2018-04-10 00:00:00.000000000 Z
11
+ date: 2021-03-25 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: 1.24.2
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: 1.24.2
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,9 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - .gitignore
105
- - .travis.yml
104
+ - ".circleci/config.yml"
105
+ - ".github/workflows/main.yml"
106
+ - ".gitignore"
106
107
  - CHANGELOG.markdown
107
108
  - Gemfile
108
109
  - LICENSE
@@ -110,34 +111,42 @@ files:
110
111
  - Rakefile
111
112
  - customerio.gemspec
112
113
  - lib/customerio.rb
114
+ - lib/customerio/api.rb
115
+ - lib/customerio/base_client.rb
113
116
  - lib/customerio/client.rb
114
117
  - lib/customerio/param_encoder.rb
118
+ - lib/customerio/regions.rb
119
+ - lib/customerio/requests/send_email_request.rb
115
120
  - lib/customerio/version.rb
121
+ - spec/api_client_spec.rb
122
+ - spec/base_client_spec.rb
116
123
  - spec/client_spec.rb
117
124
  - spec/spec_helper.rb
118
125
  homepage: http://customer.io
119
- licenses: []
126
+ licenses:
127
+ - MIT
120
128
  metadata: {}
121
- post_install_message:
129
+ post_install_message:
122
130
  rdoc_options: []
123
131
  require_paths:
124
132
  - lib
125
133
  required_ruby_version: !ruby/object:Gem::Requirement
126
134
  requirements:
127
- - - ! '>='
135
+ - - ">="
128
136
  - !ruby/object:Gem::Version
129
137
  version: '0'
130
138
  required_rubygems_version: !ruby/object:Gem::Requirement
131
139
  requirements:
132
- - - ! '>='
140
+ - - ">="
133
141
  - !ruby/object:Gem::Version
134
142
  version: '0'
135
143
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.6.2
138
- signing_key:
144
+ rubygems_version: 3.2.3
145
+ signing_key:
139
146
  specification_version: 4
140
147
  summary: A ruby client for the Customer.io event API.
141
148
  test_files:
149
+ - spec/api_client_spec.rb
150
+ - spec/base_client_spec.rb
142
151
  - spec/client_spec.rb
143
152
  - spec/spec_helper.rb
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 1.9.2
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.6
8
- - 2.2.2
9
- - jruby-19mode