workarea-mail_chimp 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintrc.json +35 -0
- data/.github/workflows/ci.yml +57 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +2 -7
- data/.stylelintrc.json +8 -0
- data/Gemfile +2 -1
- data/README.md +26 -47
- data/app/controllers/workarea/storefront/users/accounts_controller.decorator +1 -1
- data/app/services/workarea/mail_chimp/address.rb +0 -1
- data/app/services/workarea/mail_chimp/cart.rb +2 -2
- data/app/services/workarea/mail_chimp/product.rb +1 -1
- data/lib/integrations/workarea/mail_chimp/bogus_api_request.rb +0 -1
- data/lib/integrations/workarea/mail_chimp/bogus_request.rb +0 -1
- data/lib/integrations/workarea/mail_chimp/gateway/members.rb +1 -1
- data/lib/workarea/mail_chimp/version.rb +1 -1
- data/test/dummy/log/.keep +0 -0
- data/test/services/workarea/mail_chimp/order_test.rb +9 -9
- data/test/support/workarea/mail_chimp_api_config.rb +1 -1
- data/test/system/workarea/storefront/campaign_tracking_test.rb +0 -1
- data/test/vcr_cassettes/get_default_list_interests.yml +2 -2
- data/test/vcr_cassettes/get_member_details_no_match.yml +1 -1
- data/test/vcr_cassettes/get_member_details_unsubscribed.yml +1 -1
- data/test/vcr_cassettes/interest_categories_read.yml +2 -2
- data/test/vcr_cassettes/mail_chimp/tasks/create_store-successful.yml +2 -2
- data/test/vcr_cassettes/mc_order_test.yml +8 -8
- data/test/vcr_cassettes/mc_product_test.yml +5 -5
- data/test/vcr_cassettes/subscribe_to_default_list.yml +5 -5
- data/test/vcr_cassettes/subscribe_to_default_list_interest_groups.yml +5 -5
- data/test/vcr_cassettes/subscribe_to_default_list_with_groupings.yml +5 -5
- data/test/vcr_cassettes/subscribe_to_default_list_with_user_details.yml +5 -5
- data/test/vcr_cassettes/unsubscribe_from_default_list.yml +1 -1
- data/test/vcr_cassettes/update_member_on_default_list_change_email.yml +5 -5
- data/test/vcr_cassettes/update_member_on_default_list_change_groupings.yml +5 -5
- data/test/workers/workarea/mail_chimp/ecommerce/save_cart_test.rb +0 -1
- data/test/workers/workarea/mail_chimp/ecommerce/save_order_test.rb +0 -1
- data/test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb +0 -1
- metadata +7 -4
- data/LICENSE.md +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc395fc78aab119efd14cc599e525460f4d2a5516b79b5774580565fbe11a11
|
4
|
+
data.tar.gz: 7f9eea8a8a4419ec34fa463a5ee367ff2cf8d450830a0f381d3e9342d381ec40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fad3553e5f31ba569354dc900110fd4d3d0974bef934bb89cd24220dbd1dccfaf6cf2125a333b3c983c5a057d8b52c58d5f57fe44555cfce3081bdc6c1b11857
|
7
|
+
data.tar.gz: 944a2af084c0c103fe510863cac6fd9a5a8d00b4ab76cfb792c13b38c1c3cb9ffb0c2dc3b95a573e9910aeadd471c46fe3b84529d896b8ee0b67c8f6ac5bd7e6
|
data/.eslintrc.json
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"extends": "eslint:recommended",
|
3
|
+
"rules": {
|
4
|
+
"semi": ["error", "always"],
|
5
|
+
"eqeqeq": ["error", "always"]
|
6
|
+
},
|
7
|
+
"globals": {
|
8
|
+
"window": true,
|
9
|
+
"document": true,
|
10
|
+
"WORKAREA": true,
|
11
|
+
"$": true,
|
12
|
+
"jQuery": true,
|
13
|
+
"_": true,
|
14
|
+
"feature": true,
|
15
|
+
"JST": true,
|
16
|
+
"Turbolinks": true,
|
17
|
+
"I18n": true,
|
18
|
+
"Chart": true,
|
19
|
+
"Dropzone": true,
|
20
|
+
"strftime": true,
|
21
|
+
"Waypoint": true,
|
22
|
+
"wysihtml": true,
|
23
|
+
"LocalTime": true,
|
24
|
+
"describe": true,
|
25
|
+
"after": true,
|
26
|
+
"afterEach": true,
|
27
|
+
"before": true,
|
28
|
+
"beforeEach": true,
|
29
|
+
"it": true,
|
30
|
+
"expect": true,
|
31
|
+
"sinon": true,
|
32
|
+
"fixture": true,
|
33
|
+
"chai": true
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
name: CI
|
2
|
+
on: [push]
|
3
|
+
|
4
|
+
jobs:
|
5
|
+
static_analysis:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
steps:
|
8
|
+
- uses: actions/checkout@v1
|
9
|
+
- uses: workarea-commerce/ci/bundler-audit@v1
|
10
|
+
- uses: workarea-commerce/ci/rubocop@v1
|
11
|
+
- uses: workarea-commerce/ci/eslint@v1
|
12
|
+
with:
|
13
|
+
args: '**/*.js'
|
14
|
+
|
15
|
+
admin_tests:
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v1
|
19
|
+
- uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: 2.6.x
|
22
|
+
- uses: workarea-commerce/ci/test@v1
|
23
|
+
with:
|
24
|
+
command: bin/rails app:workarea:test:admin
|
25
|
+
|
26
|
+
core_tests:
|
27
|
+
runs-on: ubuntu-latest
|
28
|
+
steps:
|
29
|
+
- uses: actions/checkout@v1
|
30
|
+
- uses: actions/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: 2.6.x
|
33
|
+
- uses: workarea-commerce/ci/test@v1
|
34
|
+
with:
|
35
|
+
command: bin/rails app:workarea:test:core
|
36
|
+
|
37
|
+
storefront_tests:
|
38
|
+
runs-on: ubuntu-latest
|
39
|
+
steps:
|
40
|
+
- uses: actions/checkout@v1
|
41
|
+
- uses: actions/setup-ruby@v1
|
42
|
+
with:
|
43
|
+
ruby-version: 2.6.x
|
44
|
+
- uses: workarea-commerce/ci/test@v1
|
45
|
+
with:
|
46
|
+
command: bin/rails app:workarea:test:storefront
|
47
|
+
|
48
|
+
plugins_tests:
|
49
|
+
runs-on: ubuntu-latest
|
50
|
+
steps:
|
51
|
+
- uses: actions/checkout@v1
|
52
|
+
- uses: actions/setup-ruby@v1
|
53
|
+
with:
|
54
|
+
ruby-version: 2.6.x
|
55
|
+
- uses: workarea-commerce/ci/test@v1
|
56
|
+
with:
|
57
|
+
command: bin/rails app:workarea:test:plugins
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.stylelintrc.json
ADDED
data/Gemfile
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
2
3
|
|
3
4
|
gemspec
|
4
5
|
|
5
|
-
gem
|
6
|
+
gem 'workarea', github: 'workarea-commerce/workarea', branch: 'v3.4-stable'
|
6
7
|
|
7
8
|
group :test, :development do
|
8
9
|
gem "simplecov", require: false
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@ Workarea Mail Chimp
|
|
3
3
|
|
4
4
|
MailChimp plugin for the Worakrea e-commerce platform
|
5
5
|
|
6
|
-
This plugin creates a basic integration between the
|
6
|
+
This plugin creates a basic integration between the Workarea platform and
|
7
7
|
MailChimp's v3 API
|
8
8
|
|
9
9
|
It requires a mailchimp access token which can be generated by following
|
@@ -12,11 +12,27 @@ MailChimp's OAuth2 Flow here: <http://developer.mailchimp.com/documentation/mail
|
|
12
12
|
Scope and Dependencies
|
13
13
|
--------------------------------------------------------------------------------
|
14
14
|
|
15
|
-
This plugin currently wraps functionality for subscribing and unsubscribing users
|
16
|
-
by email, as well as retrieving interest groups (or categories) for users and lists
|
15
|
+
This plugin currently wraps functionality for subscribing and unsubscribing users by email, as well as retrieving interest groups (or categories) for users and lists
|
17
16
|
|
18
|
-
It is dependant on the [gibbon rubygem](https://github.com/amro/gibbon) which
|
19
|
-
|
17
|
+
It is dependant on the [gibbon rubygem](https://github.com/amro/gibbon) which provides a basic wrapper for the MailChimp v3 API.
|
18
|
+
|
19
|
+
Getting Started
|
20
|
+
--------------------------------------------------------------------------------
|
21
|
+
|
22
|
+
Add the gem to your application's Gemfile:
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# ...
|
26
|
+
gem 'workarea-mailchimp'
|
27
|
+
# ...
|
28
|
+
```
|
29
|
+
|
30
|
+
Update your application's bundle.
|
31
|
+
|
32
|
+
```bash
|
33
|
+
cd path/to/application
|
34
|
+
bundle
|
35
|
+
```
|
20
36
|
|
21
37
|
Configuration
|
22
38
|
--------------------------------------------------------------------------------
|
@@ -65,51 +81,14 @@ following data
|
|
65
81
|
|
66
82
|
* A subscribed user with the following email: `mdalton-simonpearce@weblinc.com`
|
67
83
|
|
68
|
-
The specs use VCR cassettes to record http requests, so maintainers will need to
|
69
|
-
flush the cassettes when modifying the requests.
|
70
|
-
|
71
|
-
Getting Started
|
72
|
-
--------------------------------------------------------------------------------
|
73
|
-
|
74
|
-
This gem contains a rails engine that must be mounted onto a host Rails application.
|
84
|
+
The specs use VCR cassettes to record http requests, so maintainers will need to flush the cassettes when modifying the requests.
|
75
85
|
|
76
|
-
|
77
|
-
server credentials to Bundler:
|
78
|
-
|
79
|
-
bundle config gems.weblinc.com my_username:my_password
|
80
|
-
|
81
|
-
Or set the appropriate environment variable in a shell startup file:
|
82
|
-
|
83
|
-
export BUNDLE_GEMS__WEBLINC__COM='my_username:my_password'
|
84
|
-
|
85
|
-
Then add the gem to your application's Gemfile specifying the source:
|
86
|
-
|
87
|
-
# ...
|
88
|
-
gem 'workarea-mail_chimp', source: 'https://gems.weblinc.com'
|
89
|
-
# ...
|
90
|
-
|
91
|
-
Or use a source block:
|
92
|
-
|
93
|
-
# ...
|
94
|
-
source 'https://gems.weblinc.com' do
|
95
|
-
gem 'workarea-mail_chimp'
|
96
|
-
end
|
97
|
-
# ...
|
98
|
-
|
99
|
-
Update your application's bundle.
|
100
|
-
|
101
|
-
cd path/to/application
|
102
|
-
bundle
|
103
|
-
|
104
|
-
WebLinc Platform Documentation
|
86
|
+
Workarea Commerce Documentation
|
105
87
|
--------------------------------------------------------------------------------
|
106
88
|
|
107
|
-
See [
|
108
|
-
platform documentation.
|
89
|
+
See [https://developer.workarea.com](https://developer.workarea.com) for Workarea Commerce documentation.
|
109
90
|
|
110
|
-
|
91
|
+
License
|
111
92
|
--------------------------------------------------------------------------------
|
112
93
|
|
113
|
-
|
114
|
-
|
115
|
-
For licensing, contact sales@weblinc.com.
|
94
|
+
Workarea Mailchimp is released under the [Business Software License](LICENSE)
|
@@ -50,7 +50,7 @@ module Workarea
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def payment
|
53
|
-
@payment ||=
|
53
|
+
@payment ||= Workarea::Payment.find(order.id)
|
54
54
|
end
|
55
55
|
|
56
56
|
# order items. Mailchimp refers to them as "lines"
|
@@ -67,7 +67,7 @@ module Workarea
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def payment
|
70
|
-
@payment ||=
|
70
|
+
@payment ||= Workarea::Payment.find(order.id)
|
71
71
|
end
|
72
72
|
|
73
73
|
def send_full_customer?
|
File without changes
|
@@ -22,15 +22,15 @@ module Workarea
|
|
22
22
|
private
|
23
23
|
def expected_address_hash
|
24
24
|
{
|
25
|
-
name:"Ben Crouse",
|
26
|
-
address1:"22 S. 3rd St.",
|
27
|
-
address2:"Second Floor",
|
28
|
-
city:"Philadelphia",
|
29
|
-
province:"PA",
|
30
|
-
postal_code:"19106",
|
31
|
-
country:"US",
|
32
|
-
phone:"",
|
33
|
-
company:""
|
25
|
+
name: "Ben Crouse",
|
26
|
+
address1: "22 S. 3rd St.",
|
27
|
+
address2: "Second Floor",
|
28
|
+
city: "Philadelphia",
|
29
|
+
province: "PA",
|
30
|
+
postal_code: "19106",
|
31
|
+
country: "US",
|
32
|
+
phone: "",
|
33
|
+
company: ""
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -11,7 +11,7 @@ http_interactions:
|
|
11
11
|
User-Agent:
|
12
12
|
- Faraday v0.15.3
|
13
13
|
Authorization:
|
14
|
-
- Basic
|
14
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
15
15
|
Content-Type:
|
16
16
|
- application/json
|
17
17
|
Accept-Encoding:
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
User-Agent:
|
62
62
|
- Faraday v0.15.3
|
63
63
|
Authorization:
|
64
|
-
- Basic
|
64
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
65
65
|
Content-Type:
|
66
66
|
- application/json
|
67
67
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -109,7 +109,7 @@ http_interactions:
|
|
109
109
|
User-Agent:
|
110
110
|
- Faraday v0.15.4
|
111
111
|
Authorization:
|
112
|
-
- Basic
|
112
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
113
113
|
Content-Type:
|
114
114
|
- application/json
|
115
115
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -208,7 +208,7 @@ http_interactions:
|
|
208
208
|
User-Agent:
|
209
209
|
- Faraday v0.15.4
|
210
210
|
Authorization:
|
211
|
-
- Basic
|
211
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
212
212
|
Content-Type:
|
213
213
|
- application/json
|
214
214
|
Accept-Encoding:
|
@@ -259,7 +259,7 @@ http_interactions:
|
|
259
259
|
User-Agent:
|
260
260
|
- Faraday v0.15.4
|
261
261
|
Authorization:
|
262
|
-
- Basic
|
262
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
263
263
|
Content-Type:
|
264
264
|
- application/json
|
265
265
|
Accept-Encoding:
|
@@ -302,7 +302,7 @@ http_interactions:
|
|
302
302
|
User-Agent:
|
303
303
|
- Faraday v0.15.4
|
304
304
|
Authorization:
|
305
|
-
- Basic
|
305
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
306
306
|
Content-Type:
|
307
307
|
- application/json
|
308
308
|
Accept-Encoding:
|
@@ -345,7 +345,7 @@ http_interactions:
|
|
345
345
|
User-Agent:
|
346
346
|
- Faraday v0.15.4
|
347
347
|
Authorization:
|
348
|
-
- Basic
|
348
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
349
349
|
Content-Type:
|
350
350
|
- application/json
|
351
351
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
User-Agent:
|
108
108
|
- Faraday v0.15.4
|
109
109
|
Authorization:
|
110
|
-
- Basic
|
110
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
111
111
|
Content-Type:
|
112
112
|
- application/json
|
113
113
|
Accept-Encoding:
|
@@ -155,7 +155,7 @@ http_interactions:
|
|
155
155
|
User-Agent:
|
156
156
|
- Faraday v0.15.4
|
157
157
|
Authorization:
|
158
|
-
- Basic
|
158
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
159
159
|
Content-Type:
|
160
160
|
- application/json
|
161
161
|
Accept-Encoding:
|
@@ -198,7 +198,7 @@ http_interactions:
|
|
198
198
|
User-Agent:
|
199
199
|
- Faraday v0.15.4
|
200
200
|
Authorization:
|
201
|
-
- Basic
|
201
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
202
202
|
Content-Type:
|
203
203
|
- application/json
|
204
204
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
User-Agent:
|
112
112
|
- Faraday v0.15.4
|
113
113
|
Authorization:
|
114
|
-
- Basic
|
114
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
115
115
|
Content-Type:
|
116
116
|
- application/json
|
117
117
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -212,7 +212,7 @@ http_interactions:
|
|
212
212
|
User-Agent:
|
213
213
|
- Faraday v0.15.4
|
214
214
|
Authorization:
|
215
|
-
- Basic
|
215
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
216
216
|
Content-Type:
|
217
217
|
- application/json
|
218
218
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
User-Agent:
|
112
112
|
- Faraday v0.15.4
|
113
113
|
Authorization:
|
114
|
-
- Basic
|
114
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
115
115
|
Content-Type:
|
116
116
|
- application/json
|
117
117
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -212,7 +212,7 @@ http_interactions:
|
|
212
212
|
User-Agent:
|
213
213
|
- Faraday v0.15.4
|
214
214
|
Authorization:
|
215
|
-
- Basic
|
215
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
216
216
|
Content-Type:
|
217
217
|
- application/json
|
218
218
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
User-Agent:
|
112
112
|
- Faraday v0.15.4
|
113
113
|
Authorization:
|
114
|
-
- Basic
|
114
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
115
115
|
Content-Type:
|
116
116
|
- application/json
|
117
117
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -212,7 +212,7 @@ http_interactions:
|
|
212
212
|
User-Agent:
|
213
213
|
- Faraday v0.15.4
|
214
214
|
Authorization:
|
215
|
-
- Basic
|
215
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
216
216
|
Content-Type:
|
217
217
|
- application/json
|
218
218
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
User-Agent:
|
112
112
|
- Faraday v0.15.4
|
113
113
|
Authorization:
|
114
|
-
- Basic
|
114
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
115
115
|
Content-Type:
|
116
116
|
- application/json
|
117
117
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -212,7 +212,7 @@ http_interactions:
|
|
212
212
|
User-Agent:
|
213
213
|
- Faraday v0.15.4
|
214
214
|
Authorization:
|
215
|
-
- Basic
|
215
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
216
216
|
Content-Type:
|
217
217
|
- application/json
|
218
218
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
User-Agent:
|
112
112
|
- Faraday v0.15.4
|
113
113
|
Authorization:
|
114
|
-
- Basic
|
114
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
115
115
|
Content-Type:
|
116
116
|
- application/json
|
117
117
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -212,7 +212,7 @@ http_interactions:
|
|
212
212
|
User-Agent:
|
213
213
|
- Faraday v0.15.4
|
214
214
|
Authorization:
|
215
|
-
- Basic
|
215
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
216
216
|
Content-Type:
|
217
217
|
- application/json
|
218
218
|
Accept-Encoding:
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.15.4
|
12
12
|
Authorization:
|
13
|
-
- Basic
|
13
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
User-Agent:
|
60
60
|
- Faraday v0.15.4
|
61
61
|
Authorization:
|
62
|
-
- Basic
|
62
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
63
63
|
Content-Type:
|
64
64
|
- application/json
|
65
65
|
Accept-Encoding:
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
User-Agent:
|
112
112
|
- Faraday v0.15.4
|
113
113
|
Authorization:
|
114
|
-
- Basic
|
114
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
115
115
|
Content-Type:
|
116
116
|
- application/json
|
117
117
|
Accept-Encoding:
|
@@ -160,7 +160,7 @@ http_interactions:
|
|
160
160
|
User-Agent:
|
161
161
|
- Faraday v0.15.4
|
162
162
|
Authorization:
|
163
|
-
- Basic
|
163
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
164
164
|
Content-Type:
|
165
165
|
- application/json
|
166
166
|
Accept-Encoding:
|
@@ -212,7 +212,7 @@ http_interactions:
|
|
212
212
|
User-Agent:
|
213
213
|
- Faraday v0.15.4
|
214
214
|
Authorization:
|
215
|
-
- Basic
|
215
|
+
- Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg==
|
216
216
|
Content-Type:
|
217
217
|
- application/json
|
218
218
|
Accept-Encoding:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-mail_chimp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Platt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: workarea
|
@@ -48,20 +48,22 @@ extensions: []
|
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
50
|
- ".editorconfig"
|
51
|
+
- ".eslintrc.json"
|
51
52
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
52
53
|
- ".github/ISSUE_TEMPLATE/documentation-request.md"
|
53
54
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
55
|
+
- ".github/workflows/ci.yml"
|
54
56
|
- ".gitignore"
|
55
57
|
- ".markdownlint.json"
|
56
58
|
- ".rails-rubocop.yml"
|
57
59
|
- ".rubocop.yml"
|
58
60
|
- ".scss-lint.yml"
|
61
|
+
- ".stylelintrc.json"
|
59
62
|
- CHANGELOG.md
|
60
63
|
- CODE_OF_CONDUCT.md
|
61
64
|
- CONTRIBUTING.md
|
62
65
|
- Gemfile
|
63
66
|
- LICENSE
|
64
|
-
- LICENSE.md
|
65
67
|
- README.md
|
66
68
|
- Rakefile
|
67
69
|
- app/assets/javascripts/workarea/storefront/mail_chimp/mail_chimp_tracking.js
|
@@ -153,6 +155,7 @@ files:
|
|
153
155
|
- test/dummy/config/spring.rb
|
154
156
|
- test/dummy/db/seeds.rb
|
155
157
|
- test/dummy/lib/assets/.keep
|
158
|
+
- test/dummy/log/.keep
|
156
159
|
- test/factories/mail_chimp.rb
|
157
160
|
- test/integration/workarea/mailchimp/subscription_test.rb
|
158
161
|
- test/integration/workarea/mailchimp/tracking_params_test.rb
|
@@ -208,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
211
|
- !ruby/object:Gem::Version
|
209
212
|
version: '0'
|
210
213
|
requirements: []
|
211
|
-
rubygems_version: 3.0.
|
214
|
+
rubygems_version: 3.0.6
|
212
215
|
signing_key:
|
213
216
|
specification_version: 4
|
214
217
|
summary: MailChimp plugin for the Workarea ecommerce platform
|
data/LICENSE.md
DELETED