Browse Source

docs:upload no longer requires net/sftp

Simon Legner 1 year ago
parent
commit
6caa5eb1b1
5 changed files with 0 additions and 22 deletions
  1. 0 1
      Gemfile
  2. 0 4
      Gemfile.lock
  3. 0 2
      lib/tasks/docs.thor
  4. 0 1
      techstack.md
  5. 0 14
      techstack.yml

+ 0 - 1
Gemfile

@@ -39,7 +39,6 @@ group :development do
 end
 
 group :docs do
-  gem 'net-sftp', require: false
   gem 'progress_bar', require: false
   gem 'redcarpet'
   gem 'tty-pager', require: false

+ 0 - 4
Gemfile.lock

@@ -57,9 +57,6 @@ GEM
     mustermann (3.0.0)
       ruby2_keywords (~> 0.0.1)
     mutex_m (0.2.0)
-    net-sftp (4.0.0)
-      net-ssh (>= 5.0.0, < 8.0.0)
-    net-ssh (7.0.1)
     newrelic_rpm (8.16.0)
     nokogiri (1.16.6)
       mini_portile2 (~> 2.8.2)
@@ -159,7 +156,6 @@ DEPENDENCIES
   image_optim
   image_optim_pack
   minitest
-  net-sftp
   newrelic_rpm
   nokogiri
   progress_bar

+ 0 - 2
lib/tasks/docs.thor

@@ -162,8 +162,6 @@ class DocsCLI < Thor
   option :dryrun, type: :boolean
   option :packaged, type: :boolean
   def upload(*names)
-    require 'net/sftp'
-
     if options[:packaged]
       slugs = Dir[File.join(Docs.store_path, '*.tar.gz')].map { |f| File.basename(f, '.tar.gz') }
       docs = find_docs_by_slugs(slugs)

+ 0 - 1
techstack.md

@@ -159,7 +159,6 @@ Full tech stack [here](/techstack.md)
 |[image_optim](https://rubygems.org/image_optim)|v0.31.3|11/14/22|Paul Sernatinger |MIT|N/A|
 |[image_optim_pack](https://rubygems.org/image_optim_pack)|v0.10.1|11/14/22|Paul Sernatinger |MIT|N/A|
 |[minitest](https://rubygems.org/minitest)|v5.21.2|01/03/15|Thibaut |MIT|N/A|
-|[net-sftp](https://rubygems.org/net-sftp)|v4.0.0|11/14/22|Paul Sernatinger |MIT|N/A|
 |[newrelic_rpm](https://rubygems.org/newrelic_rpm)|v8.16.0|03/24/18|Thibaut Courouble |Apache-2.0|N/A|
 |[nokogiri](https://rubygems.org/nokogiri)|v1.16.0|10/21/18|Thibaut Courouble |MIT|N/A|
 |[progress_bar](https://rubygems.org/progress_bar)|v1.3.3|01/26/14|Thibaut |WTFPL|N/A|

+ 0 - 14
techstack.yml

@@ -268,20 +268,6 @@ tools:
   detection_source: Gemfile
   last_updated_by: Thibaut
   last_updated_on: 2015-01-03 15:38:22.000000000 Z
-- name: net-sftp
-  description: A pure Ruby implementation of the SFTP client protocol
-  package_url: https://rubygems.org/net-sftp
-  version: 4.0.0
-  license: MIT
-  open_source: true
-  hosted_saas: false
-  category: Libraries
-  sub_category: RubyGems Packages
-  image_url: https://img.stackshare.io/package/19106/default_92b412aaa5197ea1fc2d70a503018e4186714110.png
-  detection_source_url: https://github.com/freeCodeCamp/devdocs/blob/main/Gemfile.lock
-  detection_source: Gemfile
-  last_updated_by: Paul Sernatinger
-  last_updated_on: 2022-11-14 14:30:30.000000000 Z
 - name: newrelic_rpm
   description: New Relic is a performance management system, developed by New Relic,
     Inc