mrkt 1.0.1 → 1.1.0

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
2
  SHA256:
3
- metadata.gz: 8b9a26db5da0ff83b251b40c276517013a120bccac5e0723d2cb23f751bc9817
4
- data.tar.gz: 74a55a3fde8f192301e8995c7391fc5f88c7f8d9fa0163a1f2ef633cf9ade4bf
3
+ metadata.gz: 9555446a2b866d1d3e66dcd8b00e95f334adf3d6016914c4c2db9f22861949c2
4
+ data.tar.gz: 78ed8e860c4541e8153ce6571ff7f49e2b60be711df8945369ddf043c9079dde
5
5
  SHA512:
6
- metadata.gz: 365eaf2f0ea0ffc9a9a47af40b9834bab11de69438bb44a42dc23720f19b705b8918c097164c49cc2d82ce02dfb8b1add9f761cb6ae3ee99df69091493fb3b32
7
- data.tar.gz: 7a184f5ce07e10e3e88f9cfe988adfdf2633271e229f55da2290e04ac78b3282a46eb77c87d01f00c3e3493e77920abf7a38bc1be8edf3cc565224aa8ecb8bff
6
+ metadata.gz: a883d2016a279f6424e29a549d0eba209079cf060d0304c290765254ee30c5226fb78df64d46ce132ae286f8e2256c3921c01862dbf26eb2c67dca85387af4c1
7
+ data.tar.gz: adbedc7b1075222d4ed881b99f1fb2d05b4aaef56b89278633d0563438ba2adc65a36d400fa89caeffa65bfe6dc03bf91c509cce69e009978404047ab8438174
data/.travis.yml CHANGED
@@ -7,6 +7,7 @@ rvm:
7
7
  - 2.5
8
8
  - 2.6
9
9
  - 2.7
10
+ - 3.0
10
11
  before_install:
11
12
  - gem update --system
12
13
  - bundle update --bundler
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mrkt (1.0.1)
4
+ mrkt (1.1.0)
5
5
  faraday (~> 1.0)
6
6
  faraday_middleware (~> 1.0)
7
7
 
@@ -17,8 +17,15 @@ GEM
17
17
  safe_yaml (~> 1.0.0)
18
18
  diff-lcs (1.4.4)
19
19
  docile (1.3.2)
20
- faraday (1.0.1)
20
+ faraday (1.4.1)
21
+ faraday-excon (~> 1.1)
22
+ faraday-net_http (~> 1.0)
23
+ faraday-net_http_persistent (~> 1.1)
21
24
  multipart-post (>= 1.2, < 3)
25
+ ruby2_keywords (>= 0.0.4)
26
+ faraday-excon (1.1.0)
27
+ faraday-net_http (1.0.1)
28
+ faraday-net_http_persistent (1.1.0)
22
29
  faraday_middleware (1.0.0)
23
30
  faraday (~> 1.0)
24
31
  gem-release (2.1.1)
@@ -39,7 +46,7 @@ GEM
39
46
  rainbow (3.0.0)
40
47
  rake (12.3.3)
41
48
  regexp_parser (1.7.1)
42
- rexml (3.2.4)
49
+ rexml (3.2.5)
43
50
  rspec (3.9.0)
44
51
  rspec-core (~> 3.9.0)
45
52
  rspec-expectations (~> 3.9.0)
@@ -65,6 +72,7 @@ GEM
65
72
  rubocop-ast (0.1.0)
66
73
  parser (>= 2.7.0.1)
67
74
  ruby-progressbar (1.10.1)
75
+ ruby2_keywords (0.0.4)
68
76
  safe_yaml (1.0.5)
69
77
  simplecov (0.17.1)
70
78
  docile (~> 1.1)
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![Code Climate](https://codeclimate.com/github/raszi/mrkt/badges/gpa.svg)](https://codeclimate.com/github/raszi/mrkt)
5
5
  [![Test Coverage](https://codeclimate.com/github/raszi/mrkt/badges/coverage.svg)](https://codeclimate.com/github/raszi/mrkt)
6
6
  [![Gem Version](https://badge.fury.io/rb/mrkt.svg)](https://badge.fury.io/rb/mrkt)
7
+ [![Total Downloads](https://badgen.net/rubygems/dt/mrkt)](https://rubygems.org/gems/mrkt)
7
8
 
8
9
  This gem provides some level of abstraction to Marketo REST APIs. Please note that this gem is alpha quality.
9
10
 
data/lib/mrkt/errors.rb CHANGED
@@ -40,7 +40,26 @@ class Mrkt::Errors
40
40
  1011 => 'FieldNotSupported',
41
41
  1012 => 'InvalidCookieValue',
42
42
  1013 => 'ObjectNotFound',
43
- 1014 => 'FailedToCreateObject'
43
+ 1014 => 'FailedToCreateObject',
44
+ 1015 => 'LeadNotInList',
45
+ 1016 => 'TooManyImports',
46
+ 1017 => 'ObjectAlreadyExists',
47
+ 1018 => 'CRMEnabled',
48
+ 1019 => 'ImportInProgress',
49
+ 1020 => 'TooManyCloneToProgram',
50
+ 1021 => 'CompanyUpdateNotAllowed',
51
+ 1022 => 'ObjectInUse',
52
+ 1025 => 'ProgramStatusNotFound',
53
+ 1026 => 'CustomObjectNotEnabled',
54
+ 1027 => 'MaxActivityTypeLimitReached',
55
+ 1028 => 'MaxFieldLimitReached',
56
+ 1029 => 'BulkExportQuotaExceeded',
57
+ 1035 => 'UnsupportedFilterType',
58
+ 1036 => 'DuplicateObjectFoundInInput',
59
+ 1042 => 'InvalidRunAtDate',
60
+ 1048 => 'CustomObjectDiscardDraftFailed',
61
+ 1049 => 'FailedToCreateActivity',
62
+ 1077 => 'MergeLeadsCallFailedDueToFieldLength'
44
63
  }.freeze
45
64
 
46
65
  RESPONSE_CODE_TO_ERROR.each_value do |class_name|
data/lib/mrkt/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mrkt
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
data/mrkt.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = %w[lib]
19
19
 
20
- spec.required_ruby_version = '~> 2.5'
20
+ spec.required_ruby_version = '>= 2.5'
21
21
 
22
22
  spec.add_dependency 'faraday', '~> 1.0'
23
23
  spec.add_dependency 'faraday_middleware', '~> 1.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrkt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - KARASZI István
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-07-08 00:00:00.000000000 Z
12
+ date: 2021-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -219,7 +219,7 @@ require_paths:
219
219
  - lib
220
220
  required_ruby_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
- - - "~>"
222
+ - - ">="
223
223
  - !ruby/object:Gem::Version
224
224
  version: '2.5'
225
225
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  requirements: []
231
- rubygems_version: 3.0.3
231
+ rubygems_version: 3.1.4
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: Marketo REST API Facade