source 'https://geminabox.redborder.com'
# source 'https://rubygems.org'

# Rails 8.1 needs Ruby >= 3.2 and mini_racer needs Ruby >= 3.3
ruby '>= 3.3.0'

gem 'test-unit', '=3.7.8'
gem 'rails', '=8.1.4'

# Asset pipeline: Rails 8 defaults to Propshaft, this app still relies on Sprockets
gem 'sprockets-rails', '=3.5.2'
gem 'sprockets', '=4.4.1'

# Gems that are no longer default gems in Ruby >= 3.4
gem 'base64', '=0.3.0'
gem 'bigdecimal', '=4.1.3'
gem 'csv', '=3.3.6'
gem 'drb', '=2.2.3'
gem 'mutex_m', '=0.3.0'
gem 'observer', '=0.1.2'
gem 'ostruct', '=0.6.3'
gem 'syslog', '=0.4.0'
gem 'rexml', '=3.4.4'
gem 'net-ftp', '=0.3.9'
gem 'webrick', '=1.9.2'

gem 'execjs', '=2.10.2'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'dartsass-sprockets', '=3.2.1'
  gem 'coffee-rails', '=5.0.0'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', platforms: :ruby
end

# JS compressor. Out of the assets group: Sprockets does not load it on demand
# (as it did with uglifier) and assets:precompile runs in production
gem 'terser', '=1.2.8'

# Other "hardcoded" dependencies
gem 'zookeeper', '=1.5.5'
gem 'zk', '=1.10.0'
gem 'addressable', '=2.9.0'
gem 'mail', '=2.9.1'
gem 'httparty', '=0.24.3'
gem 'mini_mime', '=1.1.5'

# Send messages to Kafka
gem 'poseidon', '=0.0.5'
gem 'ruby-kafka', '=1.5.0'

gem 'concurrent-ruby', '=1.3.8'

gem 'multipart-post', '=2.4.1'
gem 'jwt', '=2.10.3'

gem 'jquery-rails', '=4.6.0'
gem 'jquery-validation-rails', '=1.19.0'
gem 'jquery-ui-rails', '=5.0.5'

# Devise rails4 branch
gem 'devise', '=5.0.4'
gem 'rotp', '=6.3.0'
gem 'rqrcode', '=3.2.0'
# gem 'devise_ldap_authenticatable', git: 'https://github.com/redBorder/devise_ldap_authenticatable.git'

gem 'simple_form', '=5.4.1'

gem 'will_paginate', '=4.0.1'

gem 'unf_ext', '=0.0.9.1'

# gem "acts_as_tree", "~> 1.3.0"
gem 'awesome_nested_set', '=3.9.0'

gem 'daemons', '=1.4.1'

gem 'delayed_job_active_record', '=4.1.11'

gem 'chef', '=18.11.11'

gem 'net-ssh', '=7.3.6'
gem 'net-scp', '=4.1.0'
gem 'net-ldap', '=0.20.0'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks', '=2.5.4'

# Throws a ready event when turbolinks finishes loading a page
gem 'jquery-turbolinks', '=2.1.0'

#gem 'rinruby', git: 'https://github.com/redBorder/rinruby.git'
gem 'bcrypt', '=3.1.22'

# RAILS5
gem 'aerospike', '=4.2.0'

# Added logs on production
gem 'lograge', '=0.15.1'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '=2.15.1'

gem 'ruby-druid', '=0.1.11'

# 1.0.0 is the redBorder fork: it is only in geminabox (rubygems.org has up to 0.5.0)
gem 'druid_config', '=1.0.0'

gem 'oauth2', '=2.0.25'
gem 'zendesk_api', '=1.37.0'

gem 'unicorn', '=6.1.0'

# JS runtime for ExecJS (therubyracer does not build on current rubies)
gem 'mini_racer', '=0.22.1'

gem 'getopt', '=1.7.1'

gem 'netaddr', '=1.5.3'

gem 'geoip', '=1.6.4'

gem 'zeroclipboard-rails', '=0.1.2'

gem 'countries', '=0.9.3'

gem 'whois', '=3.6.5'
gem 'net-dns', '=0.20.0'

gem 'xml-simple', '=1.1.9'
gem 'aws-sdk-s3', '=1.218.0'

gem 'kt-paperclip', '=8.0.0'
gem 'posix-spawn', '=0.3.15'

gem 'dalli', '=4.3.7' # dalli 5 fails with the memcached 1.6.9 of the manager (CLIENT_ERROR)

gem 'dimensions', '=1.3.0'

gem 'jscolor-rails', '=1.4.2.1'

gem 'audited', '=5.8.0'
gem 'attr_encrypted', '=4.2.0'
gem 'encryptor', '=3.0.0'
#gem "audited", git: "https://github.com/redBorder/audited.git"
#gem "audited-activerecord", git: "https://github.com/redBorder/audited.git"

gem 'timecop', '=0.9.11'

gem 'pg', '=1.7.0'

gem 'ditto_code', '=0.3.5'

gem 'grover', '=1.2.10'

gem 'rmagick', '=7.1.7'

gem 'snmp', '=1.3.4'

gem 'snmp4em', '=1.1.6'

gem 'upsert', '=2.9.10'

gem 'rubyzip', '=2.4.1'
gem 'zip-zip', '=0.3'


gem 'i18n-js', '=3.9.2'

gem 'acts_as_list', '=1.2.6'

# gem 'brakeman', '=8.1.0', group: [:development, :test]

# text editor
gem 'trix-rails', '=2.4.0'

# SSO Login
gem 'ruby-saml', '=1.18.1'
gem 'devise_saml_authenticatable', '=2.0.0'

# Incident group reports
gem 'combine_pdf', '=1.0.31'
gem 'matrix', '=0.4.3'
gem 'ruby-rc4', '=0.1.5'

# Markdown support
gem 'redcarpet', '=3.6.1'
gem 'rouge', '=3.30.0'

# GridStack (Inventory Overview)
gem 'gridstack-js-rails', '=0.2.6'
gem 'lodash-rails', '=4.17.21'
gem 'underscore-rails', '=1.8.3'

# HTML Parsing
gem 'kramdown', '=2.5.2'
gem 'kramdown-parser-gfm', '=1.1.0'

# group :development do
#   gem 'loofah', '=2.25.2'
#   gem 'nokogiri', '=1.19.4'
#   gem 'better_errors', '=2.10.1'
#   gem 'binding_of_caller', '=2.0.0'
#   gem 'rails_db_info', '=0.2.0'
#   gem 'pry-rails', '=0.3.11'
#   gem 'pry-nav', '=1.0.0'
#   gem 'mail_view', '=2.0.4'
# end

# group :test do
#   gem 'ffi', '=1.16.3'
#   gem 'sqlite3', '=2.9.6'
#   gem 'shoulda-matchers', '=8.0.1'
#   gem 'shoulda-context', '=2.0.0'
#   gem 'mocha', '=2.8.2', require: false
#   gem 'capybara', '=3.40.0'
#   gem 'poltergeist', '=1.18.1'
#   gem 'simplecov', '=1.3.2', require: false
#   gem 'bundler-audit', '=0.9.3'
#   gem 'minitest-reporters', '=1.8.0'
#   gem 'minitest', '=5.27.0'
#   gem 'public_suffix', '=7.0.5'
#   gem 'crack', '=1.0.1'
#   gem 'webmock', '=3.26.4'
#   
#   # Assigns has been extracted to a gem (rails-controller-testing)
#   gem 'rails-controller-testing', '=1.0.5'
# end

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# Deploy with Capistrano
# gem 'capistrano', group: :development

# To use debugger
# gem 'debugger'

# Load plugins' Gemfiles
Dir.glob File.expand_path("../lib/modules/*/Gemfile", __FILE__) do |file|
  puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
  eval_gemfile file
end
