diff --git a/Gemfile b/Gemfile index 06736b322..8f36e730f 100644 --- a/Gemfile +++ b/Gemfile @@ -55,6 +55,7 @@ gem "parallel" gem "pry-byebug" gem "pry-rails" gem "ffi" +gem "rbtrace" group :development do gem 'rubocop', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 0df03aa0d..443072813 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -306,6 +306,7 @@ GEM multi_json (~> 1.3) multi_xml (~> 0.5) rack (>= 1.2, < 3) + optimist (3.0.1) os (1.1.4) parallel (1.21.0) parser (3.0.3.2) @@ -374,6 +375,10 @@ GEM rb-fsevent (0.11.0) rb-inotify (0.10.1) ffi (~> 1.0) + rbtrace (0.4.14) + ffi (>= 1.0.6) + msgpack (>= 0.4.3) + optimist (>= 3.0.0) recaptcha (5.8.1) json redis (4.5.1) @@ -559,6 +564,7 @@ DEPENDENCIES rails (~> 6.0) rake rakismet + rbtrace recaptcha redis responders diff --git a/bin/heapy b/bin/heapy new file mode 100755 index 000000000..56c8cbb64 --- /dev/null +++ b/bin/heapy @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'heapy' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + +require "rubygems" +require "bundler/setup" + +load Gem.bin_path("heapy", "heapy") diff --git a/bin/rbtrace b/bin/rbtrace new file mode 100755 index 000000000..47776016d --- /dev/null +++ b/bin/rbtrace @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'rbtrace' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + +require "rubygems" +require "bundler/setup" + +load Gem.bin_path("rbtrace", "rbtrace")