active_campaign_rb 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 797d24c8d6c9f49a934d7413204882d3b76643e711b42f3b2b179d43f372c903
4
- data.tar.gz: 0d74cccf78fb400fda125aac5af85dccccf818abc7a9e1d41c00a41ea4bd1ed3
3
+ metadata.gz: 77a118d964e860979ed01be2fb9fd9c91a2fbc265e6e68a891c80b099e44167b
4
+ data.tar.gz: b765b817c2400210adb70090dadd05e073ce2e68bbbb0ab3a14d8cec4fdd0998
5
5
  SHA512:
6
- metadata.gz: e3b767fd63f9b654f302b864b0a6d4947b9824f209e5072cc9afedc7888326acc9a93c0fe0e8781e8df8d4178be786458632939e5ff838b6edce68f9afef4ec1
7
- data.tar.gz: c2306074302f56e6daeb3db6f1ffc833fac2357d65ba0732cb7cbbc44df8157d36a491921b70596ee88be079025ec0c57847c44bddf2254f1a52d446193e4666
6
+ metadata.gz: babbeb41e131b8971b64005db09912ea99565bbe5b43e93b91226955207721a5b194eb0242c0f348382d4453141ffb76149185cc1e1c4ca304fe502b2d828716
7
+ data.tar.gz: 15f0b11452aa6bedc2c8ab2c8c55b9759c91630e55668c59a3aed7714c8fb842da49bf31ccb7d369e411fddfce5499eb1af792d2a36a4dfb568d5e6038b7bc6e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
- ## [Unreleased]
1
+ ## [0.1.1] - 2021-11-06
2
+ - Fixes
3
+ - typo in method name for `Create a custom field` endpoint
2
4
 
5
+ - New APIs Supported
6
+ - Lists
3
7
  ## [0.1.0] - 2021-10-29
4
8
 
5
9
  - Initial release
data/Gemfile.lock CHANGED
@@ -1,47 +1,50 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_campaign_rb (0.1.0)
5
- activesupport (~> 6.1)
4
+ active_campaign_rb (1.0.0)
5
+ activesupport (>= 6.1)
6
6
  faraday (~> 1.8)
7
7
  oj (~> 3.13)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.1.4.1)
12
+ activesupport (7.0.2.3)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
16
16
  tzinfo (~> 2.0)
17
- zeitwerk (~> 2.3)
18
17
  ast (2.4.2)
19
18
  concurrent-ruby (1.1.9)
20
19
  diff-lcs (1.4.4)
21
- faraday (1.8.0)
20
+ faraday (1.10.0)
22
21
  faraday-em_http (~> 1.0)
23
22
  faraday-em_synchrony (~> 1.0)
24
23
  faraday-excon (~> 1.1)
25
- faraday-httpclient (~> 1.0.1)
24
+ faraday-httpclient (~> 1.0)
25
+ faraday-multipart (~> 1.0)
26
26
  faraday-net_http (~> 1.0)
27
- faraday-net_http_persistent (~> 1.1)
27
+ faraday-net_http_persistent (~> 1.0)
28
28
  faraday-patron (~> 1.0)
29
29
  faraday-rack (~> 1.0)
30
- multipart-post (>= 1.2, < 3)
30
+ faraday-retry (~> 1.0)
31
31
  ruby2_keywords (>= 0.0.4)
32
32
  faraday-em_http (1.0.0)
33
33
  faraday-em_synchrony (1.0.0)
34
34
  faraday-excon (1.1.0)
35
35
  faraday-httpclient (1.0.1)
36
+ faraday-multipart (1.0.3)
37
+ multipart-post (>= 1.2, < 3)
36
38
  faraday-net_http (1.0.1)
37
39
  faraday-net_http_persistent (1.2.0)
38
40
  faraday-patron (1.0.0)
39
41
  faraday-rack (1.0.0)
40
- i18n (1.8.10)
42
+ faraday-retry (1.0.3)
43
+ i18n (1.10.0)
41
44
  concurrent-ruby (~> 1.0)
42
- minitest (5.14.4)
45
+ minitest (5.15.0)
43
46
  multipart-post (2.1.1)
44
- oj (3.13.9)
47
+ oj (3.13.11)
45
48
  parallel (1.21.0)
46
49
  parser (3.0.2.0)
47
50
  ast (~> 2.4.1)
@@ -78,10 +81,11 @@ GEM
78
81
  tzinfo (2.0.4)
79
82
  concurrent-ruby (~> 1.0)
80
83
  unicode-display_width (2.1.0)
81
- zeitwerk (2.5.1)
82
84
 
83
85
  PLATFORMS
84
86
  x86_64-darwin-19
87
+ x86_64-darwin-20
88
+ x86_64-darwin-21
85
89
 
86
90
  DEPENDENCIES
87
91
  active_campaign_rb!
@@ -90,4 +94,4 @@ DEPENDENCIES
90
94
  rubocop (~> 1.7)
91
95
 
92
96
  BUNDLED WITH
93
- 2.2.15
97
+ 2.2.19
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ["lib"]
28
28
 
29
- spec.add_dependency "activesupport", "~> 6.1"
29
+ spec.add_dependency "activesupport", ">= 6.1"
30
30
  spec.add_dependency "faraday", "~> 1.8"
31
31
  spec.add_dependency "oj", "~> 3.13"
32
32
 
@@ -312,7 +312,7 @@
312
312
  :description: Create a custom field
313
313
  :link:
314
314
  :href: fields
315
- :method: :POSt
315
+ :method: :POST
316
316
  :template: false
317
317
 
318
318
  :retrieve_custom_field:
@@ -392,6 +392,41 @@
392
392
  :method: :POST
393
393
  :template: false
394
394
 
395
+ :create_list:
396
+ :description: Create a contact list
397
+ :link:
398
+ :href: lists
399
+ :method: :POST
400
+ :template: false
401
+
402
+ :retrieve_list:
403
+ :description: Retrieve a contact list
404
+ :link:
405
+ :href: lists/%{id}
406
+ :method: :GET
407
+ :template: false
408
+
409
+ :delete_list:
410
+ :description: Delete a contact list
411
+ :link:
412
+ :href: lists/%{id}
413
+ :method: :DELETE
414
+ :template: true
415
+
416
+ :list_lists:
417
+ :description: List all contact lists
418
+ :link:
419
+ :href: lists
420
+ :method: :GET
421
+ :template: false
422
+
423
+ :create_list_group_permission:
424
+ :description: Create a list group permission
425
+ :link:
426
+ :href: listGroups
427
+ :method: :POST
428
+ :template: false
429
+
395
430
  :create_tag:
396
431
  :description: Create a tag
397
432
  :link:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveCampaignRb
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.0"
5
5
  end
@@ -31,7 +31,7 @@ module ActiveCampaignRb
31
31
  end
32
32
 
33
33
  ENDPOINTS.each do |name, config|
34
- define_method(name) do |**args|
34
+ define_method(name) do |args|
35
35
  http_methods = config.dig(:link, :method)
36
36
  request_path = config.dig(:link, :href)
37
37
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_campaign_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - spidergears
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-01 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '6.1'
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: '6.1'
27
27
  - !ruby/object:Gem::Dependency
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubygems_version: 3.2.15
137
+ rubygems_version: 3.3.7
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Ruby wrapper around active campaign api