Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

ruby '2.1.2'

gem 'rails', '~> 4.0.0'
gem 'rails', '~> 5.0.0'

gem 'omniauth'
gem 'omniauth', '>= 1.3.1'

gem 'dotenv-rails'

gem 'omniauth-salesloft', source: "http://gems.salesloft.com"
gem 'omniauth-salesloft', '>= 1.0.0', source: "http://gems.salesloft.com"

Check failure

Code scanning / CodeQL

Dependency download using unencrypted communication channel High

Dependency source URL uses the unencrypted protocol HTTP. Use HTTPS instead.

Copilot Autofix

AI 6 days ago

To fix the problem, we must change the gem source protocol on line 11 from HTTP to HTTPS. This change should be made directly in the Gemfile, specifically in the gem declaration for omniauth-salesloft. Change source: "http://gems.salesloft.com" to source: "https://gems.salesloft.com". No changes to other imports, methods, or definitions are required for this fix.

Suggested changeset 1
Gemfile

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/Gemfile b/Gemfile
--- a/Gemfile
+++ b/Gemfile
@@ -8,7 +8,7 @@
 
 gem 'dotenv-rails'
 
-gem 'omniauth-salesloft', '>= 1.0.0', source: "http://gems.salesloft.com"
+gem 'omniauth-salesloft', '>= 1.0.0', source: "https://gems.salesloft.com"
 
 group :development do
   gem 'sqlite3'
EOF
@@ -8,7 +8,7 @@

gem 'dotenv-rails'

gem 'omniauth-salesloft', '>= 1.0.0', source: "http://gems.salesloft.com"
gem 'omniauth-salesloft', '>= 1.0.0', source: "https://gems.salesloft.com"

group :development do
gem 'sqlite3'
Copilot is powered by AI and may make mistakes. Always verify output.

group :development do
gem 'sqlite3'
Expand Down