From 2da63b69480022b8efea640be4182a6d7cec49d2 Mon Sep 17 00:00:00 2001 From: Alexander Atkins Date: Fri, 27 Jan 2023 12:59:59 +0000 Subject: [PATCH 1/4] update crack to remove dependency on safe_yaml which won't run in Ruby 3 --- Gemfile.lock | 8 +++----- ruby-pardot.gemspec | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7891c83..bf01de5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,14 +2,13 @@ PATH remote: . specs: ruby-pardot (1.4.1) - crack (= 0.4.3) + crack (= 0.4.4) httparty (= 0.18.1) GEM remote: https://rubygems.org/ specs: - crack (0.4.3) - safe_yaml (~> 1.0.0) + crack (0.4.4) diff-lcs (1.4.4) fakeweb (1.3.0) httparty (0.18.1) @@ -32,7 +31,6 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) - safe_yaml (1.0.5) PLATFORMS ruby @@ -44,4 +42,4 @@ DEPENDENCIES ruby-pardot! BUNDLED WITH - 2.2.7 + 2.3.26 diff --git a/ruby-pardot.gemspec b/ruby-pardot.gemspec index 3bb4192..26d9d80 100644 --- a/ruby-pardot.gemspec +++ b/ruby-pardot.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = ">= 1.3.6" s.rubyforge_project = "ruby-pardot" - s.add_dependency 'crack', '0.4.3' + s.add_dependency 'crack', '0.4.4' s.add_dependency 'httparty', '0.18.1' s.add_development_dependency "bundler", ">= 1.10" From 693adb59a2f84f2c26285350a1db108357b982a0 Mon Sep 17 00:00:00 2001 From: Alexander Atkins Date: Fri, 27 Jan 2023 14:52:01 +0000 Subject: [PATCH 2/4] crack 0.4.4 is broken but 0.4.5 works --- Gemfile.lock | 6 ++++-- ruby-pardot.gemspec | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index bf01de5..05a17c9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,13 +2,14 @@ PATH remote: . specs: ruby-pardot (1.4.1) - crack (= 0.4.4) + crack (= 0.4.5) httparty (= 0.18.1) GEM remote: https://rubygems.org/ specs: - crack (0.4.4) + crack (0.4.5) + rexml diff-lcs (1.4.4) fakeweb (1.3.0) httparty (0.18.1) @@ -18,6 +19,7 @@ GEM mime-types-data (~> 3.2015) mime-types-data (3.2020.1104) multi_xml (0.6.0) + rexml (3.2.5) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) diff --git a/ruby-pardot.gemspec b/ruby-pardot.gemspec index 26d9d80..62cdbb8 100644 --- a/ruby-pardot.gemspec +++ b/ruby-pardot.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = ">= 1.3.6" s.rubyforge_project = "ruby-pardot" - s.add_dependency 'crack', '0.4.4' + s.add_dependency 'crack', '0.4.5' s.add_dependency 'httparty', '0.18.1' s.add_development_dependency "bundler", ">= 1.10" From 4fc7d7424ad803b3eeee00244514c0cd25f14d90 Mon Sep 17 00:00:00 2001 From: Alexander Atkins Date: Mon, 6 Mar 2023 13:05:36 +0000 Subject: [PATCH 3/4] update version from 1.4.1 to 1.4.2 --- Gemfile.lock | 2 +- lib/pardot/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 05a17c9..22be30e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ruby-pardot (1.4.1) + ruby-pardot (1.4.2) crack (= 0.4.5) httparty (= 0.18.1) diff --git a/lib/pardot/version.rb b/lib/pardot/version.rb index 6819796..821fee9 100644 --- a/lib/pardot/version.rb +++ b/lib/pardot/version.rb @@ -1,3 +1,3 @@ module Pardot - VERSION = '1.4.1' + VERSION = '1.4.2' end From 44e6ef6a104e5793136195cc13cee0afd1d96885 Mon Sep 17 00:00:00 2001 From: Alexander Atkins Date: Mon, 6 Mar 2023 13:18:02 +0000 Subject: [PATCH 4/4] bundle seems to want to update these gems too --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 22be30e..014aab9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,14 +10,14 @@ GEM specs: crack (0.4.5) rexml - diff-lcs (1.4.4) + diff-lcs (1.5.0) fakeweb (1.3.0) httparty (0.18.1) mime-types (~> 3.0) multi_xml (>= 0.5.2) - mime-types (3.3.1) + mime-types (3.4.1) mime-types-data (~> 3.2015) - mime-types-data (3.2020.1104) + mime-types-data (3.2023.0218.1) multi_xml (0.6.0) rexml (3.2.5) rspec (3.5.0)