programandoarg/pg_rails

View on GitHub
pg_rails.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

# Maintain your gem's version:
require_relative "pg_rails/lib/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
  spec.name                  = 'pg_rails'
  spec.version               = PgRails::VERSION
  spec.authors               = ['Martín Rosso']
  spec.email                 = ['mrosso10@gmail.com']
  spec.homepage              = 'https://github.com/programandoarg/pg_rails'
  spec.summary               = 'Rails goodies'
  spec.description           = 'Rails goodies.'
  spec.license               = 'MIT'
  spec.required_ruby_version = '~> 3.0'

  spec.require_paths = ['pg_rails/lib', 'pg_associable/lib', 'pg_engine/lib', 'pg_layout/lib', 'pg_scaffold/lib']
  spec.files = Dir['{pg_associable,pg_engine,pg_layout,pg_scaffold,pg_rails}/**/*', 'MIT-LICENSE', 'README.md']

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  # if spec.respond_to?(:metadata)
  #   spec.metadata['allowed_push_host'] = ": Set to 'http://mygemserver.com'"
  # else
  #   raise 'RubyGems 2.0 or newer is required to protect against ' \
  #     'public gem pushes.'
  # end
  spec.add_dependency 'rails', "~> 7.1.3.4"
  spec.add_dependency 'anycable', "= 1.5.0"
  spec.add_dependency 'anycable-rails', "~> 1.5.1"
  spec.add_dependency 'anycable-rails-jwt', "~> 0.2.0"
  spec.add_dependency 'cable_ready', "~> 5.0"

  spec.add_dependency 'caxlsx_rails', "~> 0.6.3"

  spec.add_dependency 'draper', "~> 4.0.2"

  spec.add_dependency 'pg', '~> 1.5.4'

  spec.add_dependency 'rainbow', "~> 3.1.1"

  spec.add_dependency 'simple_form', "~> 5.3.0"

  # User manamement
  # Al updatear, chequear los controllers overrideados
  spec.add_dependency 'devise', "~> 4.9.3"
  spec.add_dependency 'devise-i18n', "~> 1.12.0"

  # Rails internationalization
  spec.add_dependency 'rails-i18n', "~> 7.0.8"

  # Slim template
  spec.add_dependency 'slim-rails', "~> 3.6.3"

  # Better enums
  spec.add_dependency 'enumerize', "~> 2.7.0"

  # XML parsing
  spec.add_dependency 'nokogiri', "~> 1.16"

  # Pagination
  spec.add_dependency 'kaminari', "~> 1.2.2"
  spec.add_dependency 'kaminari-i18n', "~> 0.5.0"

  # Breadcrumbs
  spec.add_dependency 'breadcrumbs_on_rails', '~> 4.1.0'

  # Soft deletion
  spec.add_dependency 'discard', "~> 1.3.0"

  # DB Audition
  spec.add_dependency 'audited', "~> 5.4.3"

  # Access policies
  spec.add_dependency 'pundit', "~> 2.3.1"

  # Dotenv
  spec.add_dependency 'dotenv-rails', "~> 3.1.0"

  spec.add_dependency 'puma', "~> 6.4"
  spec.add_dependency 'rollbar', "~> 3.5.1"

  spec.add_dependency 'sprockets-rails', "~> 3.4.2"

  spec.add_dependency 'jsbundling-rails', "~> 1.3"
  spec.add_dependency 'cssbundling-rails', "~> 1.3"

  spec.add_dependency 'turbo-rails', "~> 2.0"

  spec.add_dependency 'activeadmin', "~> 3.2.2"

  spec.add_dependency 'sassc', "~> 2.4.0"

  spec.add_dependency 'image_processing', "~> 1.2"
  spec.add_dependency 'hashid-rails', "~> 1.0"

  # Use Redis adapter to run Action Cable in production
  spec.add_dependency 'redis', '~> 5.1'

  spec.add_dependency "kredis", "~> 1.7.0"
  spec.add_dependency 'mailgun-ruby', '~> 1.2.14'

  # Full text search
  spec.add_dependency 'pg_search', "~> 2.3.6"

  spec.add_dependency 'view_component', '~> 3.12.1'

  ### Development dependencies
  #---------------------------
  # VCR
  spec.add_development_dependency 'vcr', "~> 6.2.0"
  spec.add_development_dependency 'webmock', "~> 3.20.0"

  # Misc
  spec.add_development_dependency 'letter_opener', "~> 1.8.1"
  spec.add_development_dependency 'overcommit', "~> 0.61.0"
  spec.add_development_dependency 'database_cleaner-active_record', "~> 2.1.0"
  spec.add_development_dependency 'byebug', "~> 11.1"
  spec.add_development_dependency 'annotate', "~> 3.2.0"
  spec.add_development_dependency 'web-console', "~> 4.2.1"
  spec.add_development_dependency 'stimulus-rails', '~> 1.3.3'

  # Bullet
  spec.add_development_dependency 'bullet', "~> 7.1.6"

  # Linters
  spec.add_development_dependency 'rubocop', '~> 1.60.2'
  spec.add_development_dependency 'rubocop-rails', "~> 2.23.1"
  spec.add_development_dependency 'rubocop-rspec', "~> 2.26.1"
  spec.add_development_dependency 'slim_lint', "~> 0.26.0"
  spec.add_development_dependency 'ruby-lint', "~> 0.9.1"
  spec.add_development_dependency 'brakeman', "~> 6.1"
  spec.add_development_dependency 'bundler-audit', "~> 0.9.1"

  # Capybara
  spec.add_development_dependency 'capybara', "~> 3.40.0"
  spec.add_development_dependency 'selenium-webdriver', "~> 4.17.0"

  # Coverage
  spec.add_development_dependency 'simplecov', '~> 0.22.0'
  spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
  spec.add_development_dependency 'undercover', '~> 0.5.0'

  # Spring
  spec.add_development_dependency 'spring', "~> 4.1.3"
  spec.add_development_dependency 'spring-commands-rspec', "~> 1.0.4"

  # Rspec
  spec.add_development_dependency 'rspec-rails', '~> 6.0.4'
  spec.add_development_dependency 'factory_bot_rails', "~> 6.4.3"
  spec.add_development_dependency 'rails-controller-testing', "~> 1.0.5"
  spec.add_development_dependency 'faker', "~> 3.2.3"
end