customerio 2.1.0 → 4.0.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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: customerio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 4.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: 2018-05-22 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -24,6 +24,20 @@ dependencies:
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
@@ -58,28 +72,14 @@ 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
@@ -101,8 +101,8 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".github/workflows/main.yml"
104
105
  - ".gitignore"
105
- - ".travis.yml"
106
106
  - CHANGELOG.markdown
107
107
  - Gemfile
108
108
  - LICENSE
@@ -110,15 +110,22 @@ 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/regions.rb
118
+ - lib/customerio/requests/send_email_request.rb
115
119
  - lib/customerio/version.rb
120
+ - spec/api_client_spec.rb
121
+ - spec/base_client_spec.rb
116
122
  - spec/client_spec.rb
117
123
  - spec/spec_helper.rb
118
124
  homepage: http://customer.io
119
- licenses: []
125
+ licenses:
126
+ - MIT
120
127
  metadata: {}
121
- post_install_message:
128
+ post_install_message:
122
129
  rdoc_options: []
123
130
  require_paths:
124
131
  - lib
@@ -133,11 +140,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
140
  - !ruby/object:Gem::Version
134
141
  version: '0'
135
142
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.5.1
138
- signing_key:
143
+ rubygems_version: 3.0.1
144
+ signing_key:
139
145
  specification_version: 4
140
146
  summary: A ruby client for the Customer.io event API.
141
147
  test_files:
148
+ - spec/api_client_spec.rb
149
+ - spec/base_client_spec.rb
142
150
  - spec/client_spec.rb
143
151
  - 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