source 'https://rubygems.org'


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '7.1.6'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', group: :doc, require: false

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug'
  gem 'pry'
  gem 'timecop', '~> 0.9'
end

group :test do
  gem 'capybara'

  # lock selenium-webdriver to this version until we upgrade to Rails 8.
  gem "selenium-webdriver", "4.26.0"
  gem "webrick"
  gem 'mocha', '~> 2.1'
end

group :development do
  # Access an IRB console on exception pages or by using <%= console %> in views
  # gem 'web-console', '~> 2.0'
  gem 'i18n-tasks', '~> 1.0.15'
  gem 'highline', '2.1.0'
  # gem 'easy_translate'
  gem 'ruby-openai'
end

# lock gems to versions that are compatible with ruby 2.7.0,
# which Ubuntu 20.04 uses.
gem 'nokogiri', force_ruby_platform: true
gem 'net-imap', '~> 0.3', '< 0.4'
gem 'public_suffix', '~> 5.0', '< 6.0'
gem 'turbo-rails', '2.0.7'
gem 'zeitwerk', '2.6.18'

# These silence warnings, but can be
# removed after upgrades include them
gem 'ostruct'
gem 'abbrev'

# Extra third-party gems
gem 'dotenv-rails', '~> 2.1'
gem 'redcarpet', '~> 3.3'
gem 'browser', '~> 2.2'
gem 'addressable', '~> 2.9'
gem 'bootstrap_form', '5.4'
gem 'autoprefixer-rails', '~> 10.2.5'
gem 'dotiw'
gem 'local_time', '~> 1.0.3'
gem 'zip_kit', '~> 6.2'
gem 'rss', '~> 0.2'
gem 'climate_control', '~> 0.2'
gem 'rest-client', '~> 2.0'

gem 'jsbundling-rails', '~> 1.0'
gem 'cssbundling-rails', '~> 1.1'

# have to lock minitest until we upgrade rails 
gem 'minitest', '< 6.0'

# should upgrade to propshaft - only have an issue with fontawesome icons
gem 'sprockets-rails', '>= 2.0.0'

# OOD specific gems
gem 'ood_support', '~> 0.0.2'
gem 'ood_appkit', '~> 2'
gem 'ood_core', '~> 0.24'

# gems to include in ondemand-gems repo for status apps to use
gem "sinatra", require: false
gem "sinatra-contrib", require: false
gem "erubi", require: false
gem "dalli", require: false

