From 41b6dd228e37053de998c0050795add333f5fa7a Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 13:17:44 +0530 Subject: [PATCH 1/9] [CU - ] Update lead create --- source/includes/_leads_IN_V4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/_leads_IN_V4.md b/source/includes/_leads_IN_V4.md index b96341f6941..89032fa8ccf 100644 --- a/source/includes/_leads_IN_V4.md +++ b/source/includes/_leads_IN_V4.md @@ -26,9 +26,9 @@ response.json() curl 'https://api.squadstack.com/api/v4/leads/create/{campaign_id}/' \ -H 'Authorization: Bearer test_token' \ -H 'Content-Type: application/json' \ ---data-binary $'[{"lead_id": 1, "phone_number": "{valid phone number}", \ +--data-binary $'{"lead_id": 1, "phone_number": "{valid phone number}", \ "contact_name": "John Doe", \ -"{custom_field_1}": "{custom_value}", "{custom_field_2}": "{custom_value}"}]' +"{custom_field_1}": "{custom_value}", "{custom_field_2}": "{custom_value}"}' ``` > Json payload example: From b30d166512da53f55b627d2a50f98f55580ce09f Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 13:30:53 +0530 Subject: [PATCH 2/9] [CU - ] Updated deployement process --- .github/workflows/build.yml | 1 + .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8afde1a5026..d002495c3ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,7 @@ jobs: key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} - run: bundle config set deployment 'true' + - run: bundle config --global build.nokogiri --use-system-libraries - run: bundle install - run: bundle exec middleman build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 177ac4511dc..46fbce02745 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: key: gems-${{ runner.os }}-${{ env.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} - run: bundle config set deployment 'true' - - run: bundle config build.nokogiri --use-system-libraries + - run: bundle config --global build.nokogiri --use-system-libraries - run: bundle install - run: bundle exec middleman build From baa483877ab8f6022ca9eea07227c3192aec22d6 Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 14:12:42 +0530 Subject: [PATCH 3/9] [CU - ] Updated build --- .github/workflows/build.yml | 4 ++-- .github/workflows/deploy.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d002495c3ff..9781970da0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} - run: bundle config set deployment 'true' - - run: bundle config --global build.nokogiri --use-system-libraries - - run: bundle install + - run: bundle config build.nokogiri --use-system-libraries + - run: bundle install --path vendor - run: bundle exec middleman build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 46fbce02745..b80172a37ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,8 +23,8 @@ jobs: key: gems-${{ runner.os }}-${{ env.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} - run: bundle config set deployment 'true' - - run: bundle config --global build.nokogiri --use-system-libraries - - run: bundle install + - run: bundle config build.nokogiri --use-system-libraries + - run: bundle install --path vendor - run: bundle exec middleman build From d1716d00a5795d067ca91a7bd6d62c342fa09a6c Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 14:20:59 +0530 Subject: [PATCH 4/9] [CU - ] Updated build --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9781970da0c..46b1ce0996f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,6 @@ jobs: - run: bundle config set deployment 'true' - run: bundle config build.nokogiri --use-system-libraries - - run: bundle install --path vendor + - run: bundle install - run: bundle exec middleman build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b80172a37ee..177ac4511dc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: - run: bundle config set deployment 'true' - run: bundle config build.nokogiri --use-system-libraries - - run: bundle install --path vendor + - run: bundle install - run: bundle exec middleman build From 13a74ee0256b4913c2d4804f4bb3e71f8e7b599b Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 14:26:48 +0530 Subject: [PATCH 5/9] [CU - ] Update gemfile --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 6ab88b6efdb..167d18a23bd 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,7 @@ gem 'middleman-autoprefixer', '~> 2.7.0' gem 'middleman-sprockets', '~> 4.1.0' gem 'rouge', '~> 2.0.5' gem 'redcarpet', '~> 3.4.0' +gen 'pkg-config', '~> 1.1' gem 'nokogiri', '~> 1.8.2' gem 'therubyracer' From f33aad073cd6dd10a80a7ee5f693f75f32977eb0 Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 14:27:46 +0530 Subject: [PATCH 6/9] [CU - ] Update gemfile --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 167d18a23bd..586229d1945 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gem 'middleman-autoprefixer', '~> 2.7.0' gem 'middleman-sprockets', '~> 4.1.0' gem 'rouge', '~> 2.0.5' gem 'redcarpet', '~> 3.4.0' -gen 'pkg-config', '~> 1.1' +gem 'pkg-config', '~> 1.1' gem 'nokogiri', '~> 1.8.2' gem 'therubyracer' From 55979fc5fa9bc72e791978c692f315ffd48c7b81 Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 15:51:27 +0530 Subject: [PATCH 7/9] [CU - ] Update gemfile --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 586229d1945..0377fa73cea 100644 --- a/Gemfile +++ b/Gemfile @@ -2,13 +2,13 @@ ruby '>=2.3.1' source 'https://rubygems.org' # Middleman +gem 'pkg-config', '~> 1.1' gem 'middleman', '~>4.2.1' gem 'middleman-syntax', '~> 3.0.0' gem 'middleman-autoprefixer', '~> 2.7.0' gem 'middleman-sprockets', '~> 4.1.0' gem 'rouge', '~> 2.0.5' gem 'redcarpet', '~> 3.4.0' -gem 'pkg-config', '~> 1.1' gem 'nokogiri', '~> 1.8.2' gem 'therubyracer' From f3448aec6f81345db45ef7434a1c57a1751bffdf Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 15:54:32 +0530 Subject: [PATCH 8/9] [CU - ] Update gemfile --- Gemfile.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile.lock b/Gemfile.lock index 32cf45e60b7..795b9eda369 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,6 +119,7 @@ PLATFORMS ruby DEPENDENCIES + pkg-config (~> 1.1) middleman (~> 4.2.1) middleman-autoprefixer (~> 2.7.0) middleman-sprockets (~> 4.1.0) From 756bf67265897d2263143c88a50b14df9ef43d59 Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 15:56:39 +0530 Subject: [PATCH 9/9] [CU - ] Remove lock file changes --- Gemfile.lock | 1 - 1 file changed, 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 795b9eda369..32cf45e60b7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,7 +119,6 @@ PLATFORMS ruby DEPENDENCIES - pkg-config (~> 1.1) middleman (~> 4.2.1) middleman-autoprefixer (~> 2.7.0) middleman-sprockets (~> 4.1.0)