aboutsummaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-05 21:40:05 +0200
committerhellekin <hellekin@cepheide.org>2020-10-05 21:40:05 +0200
commit81fb71f0510a5464634a65d97939f6fa54f419dd (patch)
treeea568f279b58a67f50c8d907eacb5901e031e197 /Gemfile
parent1d53b3c26f4167be4e19e508c96a617d79c67363 (diff)
downloadincommon-map-81fb71f0510a5464634a65d97939f6fa54f419dd.tar.gz
Use pry and bitfields
Pry is a great console enhancement for development. You can navigate through code and object with `cd` and `ls`, or use `show-method foo` to see how it's written... Bitfields allow to store multiple flags in an efficient integer. It will be used to keep track of a User's roles within an Agent. Pry: https://pry.github.io/ Pry-Rails: https://github.com/rweng/pry-rails Bitfields: https://github.com/grosser/bitfields
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index cbe2487..882905b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -23,18 +23,23 @@ gem 'jbuilder', '~> 2.7'
# Use Active Storage variant
# gem 'image_processing', '~> 1.2'
+# Use bitfields in models
+gem 'bitfields'
+
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
+ gem 'pry'
end
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '~> 3.2'
+ gem 'pry-rails'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'