parallel588-klaviyo 0.14.3 → 0.14.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 39ef11999bcc95260bc661177337f868bc99e72c
4
- data.tar.gz: 61631a58d31a0f383eddaf664002ff482bf5ba8f
2
+ SHA256:
3
+ metadata.gz: 8ea5905fab3bb7d864c3cacf7d8447db40b734faaed1e4b9e1bfabcfe60eacf0
4
+ data.tar.gz: 537ba0146a4e050ec063762bdedb652cba5026d343aa97e3cf1f4b6e23b7f935
5
5
  SHA512:
6
- metadata.gz: eb39cf223b8c2b7b19a6a0b7a3e4f349a12e5d875b9690f977d16f883139499d71cf8c704ed01ccb4bc3418e31a87d9fe9849120124b4d601da4ff315027dc99
7
- data.tar.gz: aaed3550df167ae4bd073abe19baec81f536f7cf2c0bfd2c69347779db2ab5fdb416be957e07d40427b4a936151eee4521dc1417daa69ca5f2cab15a041e06ff
6
+ metadata.gz: 9ef00e94b772e799ec6d3afd110060df99155a5019bc78fda1812e06af1bb76b22ebfa41430f955c4e3beaa95c0b396844ce331b58a0214dd879fe155573f5d7
7
+ data.tar.gz: 998bc3510df3be8b11e5255255f81f6a4971f40b20c1ca55f38d239fae7ac2f80286be9eda51c0c2834819fbd269549c685543840638db3563c89330bd805dae
data/klaviyo.gemspec CHANGED
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.add_runtime_dependency('virtus', '>= 1.0')
21
21
  spec.add_runtime_dependency('json', '>= 1.7')
22
- spec.add_runtime_dependency('faraday', '>= 0.9.2')
23
- spec.add_runtime_dependency('faraday_middleware', '>= 0.10')
22
+ spec.add_runtime_dependency('faraday', '~> 0.15.3')
23
+ spec.add_runtime_dependency('multi_json', '~> 1.13')
24
24
  spec.add_runtime_dependency('activesupport', ['>= 3.1', '< 6.0'])
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.11'
@@ -15,11 +15,10 @@ module Klaviyo
15
15
 
16
16
  @conn = Faraday.new(default_req_options.merge(req_options)) do |f|
17
17
  f.headers['Accept'] = 'application/json'
18
+ f.headers[:content_type] = 'application/json'
18
19
  f.request :url_encoded
19
- f.response :logger
20
- f.response :json, content_type: 'application/json'
21
- f.adapter Faraday.default_adapter
22
20
  f.use Errors::RequestError
21
+ f.adapter Faraday.default_adapter
23
22
  end
24
23
  end
25
24
 
@@ -1,3 +1,3 @@
1
1
  module Klaviyo
2
- VERSION = "0.14.3"
2
+ VERSION = "0.14.4"
3
3
  end
data/lib/klaviyo.rb CHANGED
@@ -3,7 +3,7 @@ require 'klaviyo/version'
3
3
  require 'active_support'
4
4
  require 'active_support/core_ext'
5
5
  require 'faraday'
6
- require 'faraday_middleware'
6
+ require 'multi_json'
7
7
  require 'json'
8
8
  require 'virtus'
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel588-klaviyo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Pechnikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
@@ -42,30 +42,30 @@ dependencies:
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.9.2
47
+ version: 0.15.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.9.2
54
+ version: 0.15.3
55
55
  - !ruby/object:Gem::Dependency
56
- name: faraday_middleware
56
+ name: multi_json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.10'
61
+ version: '1.13'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.10'
68
+ version: '1.13'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  requirements: []
215
215
  rubyforge_project:
216
- rubygems_version: 2.5.2
216
+ rubygems_version: 2.7.3
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: You heard us, a Ruby wrapper for the Klaviyo API