From e405a053ec64cb7a8e6f2b8bcfa3a3fbdb4f13a7 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Fri, 26 May 2023 14:09:40 -0500 Subject: [PATCH] Remove Social gem --- Gemfile | 1 - Gemfile.lock | 46 ------------------------ config/initializers/zooniverse_social.rb | 1 - config/routes.rb | 2 -- 4 files changed, 50 deletions(-) delete mode 100644 config/initializers/zooniverse_social.rb diff --git a/Gemfile b/Gemfile index 5217f783..6bf76fed 100644 --- a/Gemfile +++ b/Gemfile @@ -19,7 +19,6 @@ gem 'newrelic_rpm' gem 'honeybadger', '~> 4.5.0' gem 'logstasher', '~> 0.9.0' gem 'zoo_stream', '~> 1.0' -gem 'zooniverse_social' gem 'schema_plus_pg_indexes', '~> 0.1.12' gem 'puma' diff --git a/Gemfile.lock b/Gemfile.lock index 5dbabb97..d61f37e0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -56,7 +56,6 @@ GEM aws-sdk-resources (2.3.7) aws-sdk-core (= 2.3.7) benchmark-ips (2.6.1) - buftok (0.2.0) builder (3.2.4) celluloid (0.17.3) celluloid-essentials @@ -79,8 +78,6 @@ GEM simplecov (>= 0.7.1, < 1.0.0) coderay (1.1.2) concurrent-ruby (1.1.6) - concurrent-ruby-ext (1.1.6) - concurrent-ruby (= 1.1.6) congestion (0.1.0) connection_pool (>= 2.0) redis (>= 3.1) @@ -90,9 +87,6 @@ GEM crass (1.0.6) diff-lcs (1.2.5) docile (1.1.5) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) - equalizer (0.0.10) erubis (2.7.0) factory_girl (4.7.0) activesupport (>= 3.0.0) @@ -124,15 +118,6 @@ GEM hashdiff (0.3.7) hitimes (1.3.0) honeybadger (4.5.6) - http (1.0.4) - addressable (~> 2.3) - http-cookie (~> 1.0) - http-form_data (~> 1.0.1) - http_parser.rb (~> 0.6.0) - http-cookie (1.0.3) - domain_name (~> 0.5) - http-form_data (1.0.3) - http_parser.rb (0.6.0) i18n (0.9.5) concurrent-ruby (~> 1.0) ice_cube (0.14.0) @@ -173,8 +158,6 @@ GEM lumberjack (1.0.10) mail (2.7.1) mini_mime (>= 0.1.1) - memoizable (0.4.2) - thread_safe (~> 0.3, >= 0.3.1) method_source (0.9.0) mini_mime (1.1.2) mini_portile2 (2.6.1) @@ -182,7 +165,6 @@ GEM modware (0.1.3) key_struct (~> 0.4) multipart-post (2.1.1) - naught (1.1.0) nenv (0.3.0) newrelic_rpm (6.12.0.367) nio4r (2.5.8) @@ -294,16 +276,11 @@ GEM celluloid (>= 0.17.3) ice_cube (~> 0.14.0) sidekiq (>= 4.1.0) - simple_oauth (0.3.1) simplecov (0.11.2) docile (~> 1.1.0) json (~> 1.8) simplecov-html (~> 0.10.0) simplecov-html (0.10.0) - sinatra (1.4.8) - rack (~> 1.5) - rack-protection (~> 1.4) - tilt (>= 1.3, < 3) spring (1.7.1) spring-commands-rspec (1.0.4) spring (>= 0.9.1) @@ -316,39 +293,17 @@ GEM sprockets (>= 3.0.0) thor (1.1.0) thread_safe (0.3.6) - tilt (2.0.10) timecop (0.8.1) timers (4.1.2) hitimes - twitter (5.17.0) - addressable (~> 2.3) - buftok (~> 0.2.0) - equalizer (= 0.0.10) - faraday (~> 0.9.0) - http (~> 1.0) - http_parser.rb (~> 0.6.0) - json (~> 1.8) - memoizable (~> 0.4.0) - naught (~> 1.0) - simple_oauth (~> 0.3.0) tzinfo (1.2.10) thread_safe (~> 0.1) - unf (0.1.4) - unf_ext - unf_ext (0.0.7.7) webmock (3.4.2) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff zoo_stream (1.0.1) aws-sdk - zooniverse_social (1.1.0) - concurrent-ruby (~> 1.0) - concurrent-ruby-ext (~> 1.0) - faraday (~> 0.9) - puma - sinatra (~> 1.4) - twitter (~> 5.16) PLATFORMS ruby @@ -387,7 +342,6 @@ DEPENDENCIES timecop webmock (~> 3.4) zoo_stream (~> 1.0) - zooniverse_social BUNDLED WITH 1.17.3 diff --git a/config/initializers/zooniverse_social.rb b/config/initializers/zooniverse_social.rb deleted file mode 100644 index a2c9ab80..00000000 --- a/config/initializers/zooniverse_social.rb +++ /dev/null @@ -1 +0,0 @@ -ZooniverseSocial.start diff --git a/config/routes.rb b/config/routes.rb index 60ec4fbc..a230d16d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,4 @@ require 'sidekiq/web' -require 'zooniverse_social' Rails.application.routes.draw do defaults format: 'json' do @@ -46,6 +45,5 @@ get '/searches' => 'searches#index' get '/unsubscribe' => 'unsubscribe#index' mount Sidekiq::Web => '/sidekiq' - mount ZooniverseSocial::Server => '/social' match "*path", to: "application#sinkhole", via: :all end