diff --git a/Gemfile b/Gemfile index 7ece4eb..f506d36 100644 --- a/Gemfile +++ b/Gemfile @@ -9,20 +9,12 @@ gem 'rack-cors', '1.1.1' # A Ruby Web Server Built For Concurrency gem 'puma' -# Process manager for applications with multiple components -gem 'foreman' - -# Doorkeeper is an OAuth 2 provider for Rails -gem 'doorkeeper' - # A sophisticated and secure hash algorithm for # hashing passwords. gem 'bcrypt' -# Create pretty URL’s and work with human-friendly -# strings as if they were numeric ids for ActiveRecord -# models. -gem 'friendly_id' +# Doorkeeper is an OAuth 2 provider for Rails and Grape. +gem 'doorkeeper' # Templating system with JSON, XML and Plist support. gem 'rabl' @@ -30,23 +22,6 @@ gem 'rabl' # Optimized JSON. gem 'oj' -# ActiveModel XML serializers -# Required by Draper after Rails 5 -gem 'activemodel-serializers-xml' - -# URL Validation for Rails. -gem 'validate_url' -gem 'addressable' - -# Cloud services -gem 'fog-aws' -gem 'imgix-rails' - -# Assorted utilities -gem 'awesome_print' -gem 'html_routes' -gem 'aws-sdk-s3', require: false - # Simple Rails app configuration gem 'figaro' @@ -56,17 +31,12 @@ gem 'responders' # Parse emoji to strings gem 'gemoji-parser' -# Raven is a Ruby client for Sentry -gem "sentry-raven" - # An awesome replacement for acts_as_nested_set and better_nested_set. gem 'awesome_nested_set' # An email validator for Rails gem "email_validator" -gem 'sinatra' - gem 'pg_search' group :doc do @@ -75,6 +45,7 @@ group :doc do end group :development, :test do + gem 'awesome_print' gem 'dotenv-rails' gem 'factory_bot_rails' gem 'faker' @@ -84,6 +55,8 @@ end group :development do gem 'listen' + gem 'rubocop' + gem 'solargraph' gem 'spring-commands-rspec' gem 'spring' end diff --git a/Gemfile.lock b/Gemfile.lock index 2453282..1f25270 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -42,10 +42,6 @@ GEM globalid (>= 0.3.6) activemodel (6.0.3.3) activesupport (= 6.0.3.3) - activemodel-serializers-xml (1.0.2) - activemodel (> 5.x) - activesupport (> 5.x) - builder (~> 3.1) activerecord (6.0.3.3) activemodel (= 6.0.3.3) activesupport (= 6.0.3.3) @@ -60,34 +56,19 @@ GEM minitest (~> 5.1) tzinfo (~> 1.1) zeitwerk (~> 2.2, >= 2.2.2) - addressable (2.7.0) - public_suffix (>= 2.0.2, < 5.0) api_matchers (0.6.2) activesupport (>= 3.2.5) nokogiri (>= 1.5.2) rspec (>= 3.1) apipie-rails (0.5.18) rails (>= 4.1) + ast (2.4.1) awesome_nested_set (3.2.1) activerecord (>= 4.0.0, < 7.0) awesome_print (1.8.0) - aws-eventstream (1.1.0) - aws-partitions (1.368.0) - aws-sdk-core (3.105.0) - aws-eventstream (~> 1, >= 1.0.2) - aws-partitions (~> 1, >= 1.239.0) - aws-sigv4 (~> 1.1) - jmespath (~> 1.0) - aws-sdk-kms (1.37.0) - aws-sdk-core (~> 3, >= 3.99.0) - aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.80.0) - aws-sdk-core (~> 3, >= 3.104.3) - aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.1) - aws-sigv4 (1.2.2) - aws-eventstream (~> 1, >= 1.0.2) + backport (1.1.2) bcrypt (3.1.16) + benchmark (0.1.0) bootsnap (1.4.8) msgpack (~> 1.0) builder (3.2.4) @@ -103,10 +84,10 @@ GEM dotenv-rails (2.7.6) dotenv (= 2.7.6) railties (>= 3.2) + e2mmap (0.1.0) email_validator (2.0.1) activemodel erubi (1.9.0) - excon (0.76.0) factory_bot (6.1.0) activesupport (>= 5.0.0) factory_bot_rails (6.1.0) @@ -114,49 +95,17 @@ GEM railties (>= 5.0.0) faker (2.13.0) i18n (>= 1.6, < 2) - faraday (1.0.1) - multipart-post (>= 1.2, < 3) ffi (1.13.1) figaro (1.2.0) thor (>= 0.14.0, < 2) - fog-aws (3.6.7) - fog-core (~> 2.1) - fog-json (~> 1.1) - fog-xml (~> 0.1) - ipaddress (~> 0.8) - fog-core (2.2.0) - builder - excon (~> 0.71) - formatador (~> 0.2) - mime-types - fog-json (1.2.0) - fog-core - multi_json (~> 1.10) - fog-xml (0.1.3) - fog-core - nokogiri (>= 1.5.11, < 2.0.0) - foreman (0.87.2) - formatador (0.2.5) - friendly_id (5.4.0) - activerecord (>= 4.0.0) gemoji (3.0.1) gemoji-parser (1.3.1) gemoji (>= 2.1.0) globalid (0.4.2) activesupport (>= 4.2.0) - html_routes (1.1) - launchy (~> 2.0) - syntax (~> 1.0) i18n (1.8.5) concurrent-ruby (~> 1.0) - imgix (3.4.0) - addressable - imgix-rails (4.0.2) - imgix (~> 3.0) - ipaddress (0.8.3) - jmespath (1.4.0) - launchy (2.5.0) - addressable (~> 2.7) + jaro_winkler (1.5.4) listen (3.2.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -167,28 +116,24 @@ GEM mini_mime (>= 0.1.1) marcel (0.3.3) mimemagic (~> 0.3.2) + maruku (0.7.3) method_source (1.0.0) - mime-types (3.3.1) - mime-types-data (~> 3.2015) - mime-types-data (3.2020.0512) mimemagic (0.3.5) mini_mime (1.0.2) mini_portile2 (2.4.0) minitest (5.14.2) msgpack (1.3.3) - multi_json (1.15.0) - multipart-post (2.1.1) - mustermann (1.1.1) - ruby2_keywords (~> 0.0.1) nio4r (2.5.3) nokogiri (1.10.10) mini_portile2 (~> 2.4.0) oj (3.10.14) + parallel (1.19.2) + parser (2.7.1.4) + ast (~> 2.4.1) pg (1.2.3) pg_search (2.3.2) activerecord (>= 5.2) activesupport (>= 5.2) - public_suffix (4.0.6) puma (4.3.6) nio4r (~> 2.0) rabl (0.14.3) @@ -196,8 +141,6 @@ GEM rack (2.2.3) rack-cors (1.1.1) rack (>= 2.0.0) - rack-protection (2.1.0) - rack rack-test (1.1.0) rack (>= 1.0, < 3) rails (6.0.3.3) @@ -226,14 +169,19 @@ GEM method_source rake (>= 0.8.7) thor (>= 0.20.3, < 2.0) + rainbow (3.0.0) rake (13.0.1) rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) rdoc (6.2.1) + regexp_parser (1.8.0) responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) + reverse_markdown (2.0.0) + nokogiri + rexml (3.2.4) rspec (3.9.0) rspec-core (~> 3.9.0) rspec-expectations (~> 3.9.0) @@ -257,22 +205,40 @@ GEM rspec-support (3.9.3) rspec_junit_formatter (0.4.1) rspec-core (>= 2, < 4, != 2.12.0) - ruby2_keywords (0.0.2) + rubocop (0.91.1) + parallel (~> 1.10) + parser (>= 2.7.1.1) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.7) + rexml + rubocop-ast (>= 0.4.0, < 1.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 2.0) + rubocop-ast (0.4.2) + parser (>= 2.7.1.4) + ruby-progressbar (1.10.1) sdoc (1.1.0) rdoc (>= 5.0) - sentry-raven (3.0.4) - faraday (>= 1.0) shoulda-matchers (4.4.1) activesupport (>= 4.2.0) simplecov (0.19.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov-html (0.12.2) - sinatra (2.1.0) - mustermann (~> 1.0) - rack (~> 2.2) - rack-protection (= 2.1.0) + solargraph (0.39.15) + backport (~> 1.1) + benchmark + bundler (>= 1.17.2) + e2mmap + jaro_winkler (~> 1.5) + maruku (~> 0.7, >= 0.7.3) + nokogiri (~> 1.9, >= 1.9.1) + parser (~> 2.3) + reverse_markdown (>= 1.0.5, < 3) + rubocop (~> 0.52) + thor (~> 1.0) tilt (~> 2.0) + yard (~> 0.9, >= 0.9.24) spring (2.1.1) spring-commands-rspec (1.0.4) spring (>= 0.9.1) @@ -283,31 +249,26 @@ GEM actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - syntax (1.2.2) thor (1.0.1) thread_safe (0.3.6) tilt (2.0.10) tzinfo (1.2.7) thread_safe (~> 0.1) - validate_url (1.0.11) - activemodel (>= 3.0.0) - public_suffix + unicode-display_width (1.7.0) websocket-driver (0.7.3) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) + yard (0.9.25) zeitwerk (2.4.0) PLATFORMS ruby DEPENDENCIES - activemodel-serializers-xml - addressable api_matchers apipie-rails awesome_nested_set awesome_print - aws-sdk-s3 bcrypt bootsnap (~> 1.4.8) byebug @@ -318,12 +279,7 @@ DEPENDENCIES factory_bot_rails faker figaro - fog-aws - foreman - friendly_id gemoji-parser - html_routes - imgix-rails listen oj pg (~> 1.2.3) @@ -335,14 +291,13 @@ DEPENDENCIES responders rspec-rails rspec_junit_formatter + rubocop sdoc - sentry-raven shoulda-matchers simplecov - sinatra + solargraph spring spring-commands-rspec - validate_url RUBY VERSION ruby 2.7.1p83