Skip to content

Commit 6caa5eb

Browse files
committed
docs:upload no longer requires net/sftp
1 parent 0bb04c0 commit 6caa5eb

File tree

5 files changed

+0
-22
lines changed

5 files changed

+0
-22
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ group :development do
3939
end
4040

4141
group :docs do
42-
gem 'net-sftp', require: false
4342
gem 'progress_bar', require: false
4443
gem 'redcarpet'
4544
gem 'tty-pager', require: false

Gemfile.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ GEM
5757
mustermann (3.0.0)
5858
ruby2_keywords (~> 0.0.1)
5959
mutex_m (0.2.0)
60-
net-sftp (4.0.0)
61-
net-ssh (>= 5.0.0, < 8.0.0)
62-
net-ssh (7.0.1)
6360
newrelic_rpm (8.16.0)
6461
nokogiri (1.16.6)
6562
mini_portile2 (~> 2.8.2)
@@ -159,7 +156,6 @@ DEPENDENCIES
159156
image_optim
160157
image_optim_pack
161158
minitest
162-
net-sftp
163159
newrelic_rpm
164160
nokogiri
165161
progress_bar

lib/tasks/docs.thor

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ class DocsCLI < Thor
162162
option :dryrun, type: :boolean
163163
option :packaged, type: :boolean
164164
def upload(*names)
165-
require 'net/sftp'
166-
167165
if options[:packaged]
168166
slugs = Dir[File.join(Docs.store_path, '*.tar.gz')].map { |f| File.basename(f, '.tar.gz') }
169167
docs = find_docs_by_slugs(slugs)

techstack.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ Full tech stack [here](/techstack.md)
159159
|[image_optim](https://rubygems.org/image_optim)|v0.31.3|11/14/22|Paul Sernatinger |MIT|N/A|
160160
|[image_optim_pack](https://rubygems.org/image_optim_pack)|v0.10.1|11/14/22|Paul Sernatinger |MIT|N/A|
161161
|[minitest](https://rubygems.org/minitest)|v5.21.2|01/03/15|Thibaut |MIT|N/A|
162-
|[net-sftp](https://rubygems.org/net-sftp)|v4.0.0|11/14/22|Paul Sernatinger |MIT|N/A|
163162
|[newrelic_rpm](https://rubygems.org/newrelic_rpm)|v8.16.0|03/24/18|Thibaut Courouble |Apache-2.0|N/A|
164163
|[nokogiri](https://rubygems.org/nokogiri)|v1.16.0|10/21/18|Thibaut Courouble |MIT|N/A|
165164
|[progress_bar](https://rubygems.org/progress_bar)|v1.3.3|01/26/14|Thibaut |WTFPL|N/A|

techstack.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -268,20 +268,6 @@ tools:
268268
detection_source: Gemfile
269269
last_updated_by: Thibaut
270270
last_updated_on: 2015-01-03 15:38:22.000000000 Z
271-
- name: net-sftp
272-
description: A pure Ruby implementation of the SFTP client protocol
273-
package_url: https://rubygems.org/net-sftp
274-
version: 4.0.0
275-
license: MIT
276-
open_source: true
277-
hosted_saas: false
278-
category: Libraries
279-
sub_category: RubyGems Packages
280-
image_url: https://img.stackshare.io/package/19106/default_92b412aaa5197ea1fc2d70a503018e4186714110.png
281-
detection_source_url: https://github.com/freeCodeCamp/devdocs/blob/main/Gemfile.lock
282-
detection_source: Gemfile
283-
last_updated_by: Paul Sernatinger
284-
last_updated_on: 2022-11-14 14:30:30.000000000 Z
285271
- name: newrelic_rpm
286272
description: New Relic is a performance management system, developed by New Relic,
287273
Inc

0 commit comments

Comments
 (0)