From ce63cfd5c6a7c08b0a963d3eaf99664771f4d97b Mon Sep 17 00:00:00 2001 From: "Simeon F. Willbanks" Date: Thu, 19 Aug 2021 05:21:56 -0700 Subject: [PATCH 1/3] bundle update latest gems --- omniauth-trello.gemspec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/omniauth-trello.gemspec b/omniauth-trello.gemspec index 373f57f..4ec330b 100644 --- a/omniauth-trello.gemspec +++ b/omniauth-trello.gemspec @@ -13,12 +13,12 @@ Gem::Specification.new do |gem| gem.homepage = "https://github.com/joshrowley/omniauth-trello" gem.license = "MIT" - gem.add_runtime_dependency 'omniauth', '~> 1.0' + gem.add_runtime_dependency 'omniauth', '~> 2.0' gem.add_runtime_dependency 'omniauth-oauth', '~> 1.0' - gem.add_runtime_dependency 'oauth', '~> 0.4' - gem.add_dependency 'multi_json', '~> 1.5' - gem.add_development_dependency 'simplecov', '~> 0.7' - gem.add_development_dependency 'rspec', '~> 2.12' + gem.add_runtime_dependency 'oauth', '~> 0.5' + gem.add_dependency 'multi_json', '~> 1.15' + gem.add_development_dependency 'simplecov', '~> 0.21' + gem.add_development_dependency 'rspec', '~> 3.0' gem.add_development_dependency 'rack-test' gem.add_development_dependency 'webmock' gem.add_development_dependency 'rake' From a1ac0539375f907f0637d0aeeabdf3aec2113b17 Mon Sep 17 00:00:00 2001 From: "Simeon F. Willbanks" Date: Thu, 19 Aug 2021 05:24:04 -0700 Subject: [PATCH 2/3] Use RSpec expect syntax --- spec/omniauth/strategies/trello_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/omniauth/strategies/trello_spec.rb b/spec/omniauth/strategies/trello_spec.rb index 3bf1606..59c64f7 100644 --- a/spec/omniauth/strategies/trello_spec.rb +++ b/spec/omniauth/strategies/trello_spec.rb @@ -8,19 +8,19 @@ context "client options" do it "should have correct site" do - subject.options.client_options.site.should eq("https://trello.com") + expect(subject.options.client_options.site).to eq("https://trello.com") end it "should have correct authorize path" do - subject.options.client_options.authorize_path.should eq("/1/OAuthAuthorizeToken") + expect(subject.options.client_options.authorize_path).to eq("/1/OAuthAuthorizeToken") end it "should have the correct request token path" do - subject.options.client_options.request_token_path.should eq("/1/OAuthGetRequestToken") + expect(subject.options.client_options.request_token_path).to eq("/1/OAuthGetRequestToken") end it "should have the correct access token path" do - subject.options.client_options.access_token_path.should eq("/1/OAuthGetAccessToken") + expect(subject.options.client_options.access_token_path).to eq("/1/OAuthGetAccessToken") end end -end \ No newline at end of file +end From 1f30f15890879e407b243fdb91deff668ccafdb1 Mon Sep 17 00:00:00 2001 From: "Simeon F. Willbanks" Date: Thu, 19 Aug 2021 05:28:00 -0700 Subject: [PATCH 3/3] version bump --- lib/omniauth-trello/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/omniauth-trello/version.rb b/lib/omniauth-trello/version.rb index b1dd2c4..7586680 100644 --- a/lib/omniauth-trello/version.rb +++ b/lib/omniauth-trello/version.rb @@ -1,5 +1,5 @@ module Omniauth module Trello - VERSION = "0.0.4" + VERSION = "0.0.5" end end