From 2da63b69480022b8efea640be4182a6d7cec49d2 Mon Sep 17 00:00:00 2001 From: Alexander Atkins Date: Fri, 27 Jan 2023 12:59:59 +0000 Subject: [PATCH 1/2] 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/2] 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"