switch from byebug to debug
It's the new default debugger in ruby 3.1. Rails switched to it in 7.0, avoids issues with Zeitwerk, has a more modern interface based on current IRB, supports Unix Domain Sockets for remote debugging, promises even better future maintenance due to being part of Ruby, etc. Change-Id: Ieaa7872f1c0308b16ae180fdb16df5dd6caa87a8 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/328241 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Isaac Moore <isaac.moore@instructure.com> Build-Review: Isaac Moore <isaac.moore@instructure.com> QA-Review: Cody Cutrer <cody@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
parent
235378fad7
commit
22b7677b3b
|
@ -10,7 +10,6 @@
|
|||
#
|
||||
# That's what .git/info/exclude and core.excludesfile are for :)
|
||||
.bundle/
|
||||
.byebug_history
|
||||
.env
|
||||
.mutagen
|
||||
/.yardoc/
|
||||
|
|
|
@ -24,13 +24,5 @@ group :development do
|
|||
gem "spring-commands-rubocop", "~> 0.4"
|
||||
gem "active_record_query_trace", "~> 1.8", require: false
|
||||
|
||||
gem "byebug", "11.1.3", platform: :mri
|
||||
gem "pry-byebug", "3.10.1", platform: :mri
|
||||
# These gems aren't compatible with newer rubies; just use the built-in debug gem instead
|
||||
# Only try to install them if the env var is set so we don't have conditional gems in the
|
||||
# production build
|
||||
if ENV["REMOTE_DEBUGGING_ENABLED"]
|
||||
gem "debase", "0.2.5.beta2", require: false
|
||||
gem "ruby-debug-ide", "0.7.3", require: false
|
||||
end
|
||||
gem "debug", "~> 1.8", platform: :mri, require: false
|
||||
end
|
||||
|
|
14
Gemfile.lock
14
Gemfile.lock
|
@ -439,7 +439,6 @@ GEM
|
|||
business_time (0.13.0)
|
||||
activesupport (>= 3.2.0)
|
||||
tzinfo
|
||||
byebug (11.1.3)
|
||||
canvas_connect (0.3.16)
|
||||
adobe_connect (~> 1.0.0)
|
||||
rake (>= 0.9.6)
|
||||
|
@ -456,7 +455,6 @@ GEM
|
|||
sorbet-runtime (>= 0.5.10821)
|
||||
code_teams (1.0.2)
|
||||
sorbet-runtime
|
||||
coderay (1.1.3)
|
||||
coercible (1.0.0)
|
||||
descendants_tracker (~> 0.0.1)
|
||||
colored (1.2)
|
||||
|
@ -483,6 +481,9 @@ GEM
|
|||
libddwaf (~> 1.9.0.0.0)
|
||||
msgpack
|
||||
debase-ruby_core_source (3.2.1)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
debug_inspector (1.1.0)
|
||||
declarative (0.0.20)
|
||||
deep_merge (1.2.2)
|
||||
|
@ -822,12 +823,6 @@ GEM
|
|||
prawn (>= 1.3.0, < 3.0.0)
|
||||
promise.rb (0.7.4)
|
||||
prosopite (1.3.3)
|
||||
pry (0.14.2)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
pry-byebug (3.10.1)
|
||||
byebug (~> 11.0)
|
||||
pry (>= 0.13, < 0.15)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
public_suffix (5.0.3)
|
||||
|
@ -1166,7 +1161,6 @@ DEPENDENCIES
|
|||
browser (~> 5.3)
|
||||
bundler (~> 2.2)
|
||||
business_time (= 0.13.0)
|
||||
byebug (= 11.1.3)
|
||||
canvas_breach_mitigation!
|
||||
canvas_cache!
|
||||
canvas_cassandra!
|
||||
|
@ -1202,6 +1196,7 @@ DEPENDENCIES
|
|||
database_cleaner (~> 2.0)
|
||||
db-query-matchers (= 0.11.0)
|
||||
ddtrace (~> 1.13)
|
||||
debug (~> 1.8)
|
||||
diigo!
|
||||
diplomat (~> 2.6)
|
||||
docx (~> 0.8)
|
||||
|
@ -1272,7 +1267,6 @@ DEPENDENCIES
|
|||
prawn-emoji (~> 5.3)
|
||||
prawn-rails (~> 1.4)
|
||||
prosopite (~> 1.3)
|
||||
pry-byebug (= 3.10.1)
|
||||
puma (~> 6.3)
|
||||
qti_exporter!
|
||||
rack-brotli (~> 1.2)
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "byebug/core"
|
||||
require "tmpdir"
|
||||
|
||||
def byebug_port_file
|
||||
File.join(Dir.tmpdir, "byebug.port")
|
||||
end
|
||||
|
||||
def byebug_port
|
||||
return unless File.exist?(byebug_port_file)
|
||||
|
||||
File.read(byebug_port_file).to_i
|
||||
end
|
||||
|
||||
def connect
|
||||
until byebug_port do
|
||||
puts "Waiting for byebug port..."
|
||||
sleep 0.5
|
||||
end
|
||||
|
||||
Byebug.start_client("localhost", byebug_port)
|
||||
rescue Errno::ECONNREFUSED
|
||||
nil
|
||||
end
|
||||
|
||||
until connect do
|
||||
sleep 0.5
|
||||
end
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
#
|
||||
# This file was generated by Bundler.
|
||||
#
|
||||
# The application 'rdbg' is installed as part of a gem, and
|
||||
# this file is here to facilitate running it.
|
||||
#
|
||||
|
||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
||||
|
||||
bundle_binstub = File.expand_path("bundle", __dir__)
|
||||
|
||||
if File.file?(bundle_binstub)
|
||||
if File.read(bundle_binstub, 300).include?("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("debug", "rdbg")
|
|
@ -45,21 +45,11 @@ environment_configuration(defined?(config) && config) do |config|
|
|||
config.action_mailer.raise_delivery_errors = true
|
||||
|
||||
# allow debugging only in development environment by default
|
||||
#
|
||||
# Option to DISABLE_RUBY_DEBUGGING is helpful IDE-based debugging.
|
||||
# The ruby debug gems conflict with the IDE-based debugger gem.
|
||||
# Set this option in your dev environment to disable.
|
||||
unless ENV["DISABLE_RUBY_DEBUGGING"] || RUBY_ENGINE != "ruby"
|
||||
require "byebug"
|
||||
if RUBY_ENGINE == "ruby"
|
||||
ENV["RUBY_DEBUG_LAZY"] = "true"
|
||||
require "debug"
|
||||
if ENV["REMOTE_DEBUGGING_ENABLED"]
|
||||
require "byebug/core"
|
||||
Byebug.start_server("0.0.0.0", 0)
|
||||
puts "Byebug listening on 0.0.0.0:#{Byebug.actual_port}" # rubocop:disable Rails/Output
|
||||
byebug_port_file = File.join(Dir.tmpdir, "byebug.port")
|
||||
File.write(byebug_port_file, Byebug.actual_port)
|
||||
|
||||
require "debase"
|
||||
require "ruby-debug-ide"
|
||||
require "debug/open_nonstop"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ if Rails.env.test?
|
|||
def raise(*args)
|
||||
if defined?(SpecTimeLimit) && args.first == SpecTimeLimit::Error
|
||||
have_ever_run_a_debugger = (
|
||||
defined?(::DEBUGGER__::Session) ||
|
||||
(defined?(Byebug) && Byebug.respond_to?(:started?)) ||
|
||||
(defined?(Pry) && Pry::InputLock.input_locks.any?)
|
||||
)
|
||||
|
|
|
@ -146,10 +146,10 @@ COMPOSE_FILE=docker-compose.yml:docker-compose.override.yml:docker-compose/rdebu
|
|||
```
|
||||
4. Press F5, set breakpoints, and start debugging!
|
||||
|
||||
### Byebug
|
||||
### Debugging
|
||||
|
||||
A byebug server is running in development mode on the web and job containers
|
||||
to allow you to remotely control any sessions where `byebug` has yielded
|
||||
A Ruby debug server is running in development mode on the web and job containers
|
||||
to allow you to remotely control any sessions where the debugger has yielded
|
||||
execution. To use it, you will need to enable `REMOTE_DEBUGGING_ENABLED` in your
|
||||
`docker-compose.<user>.override.yml` file in your app's root directory. If you don't have
|
||||
this file, you will need to create it and add the following:
|
||||
|
@ -164,23 +164,23 @@ services:
|
|||
|
||||
Make sure you add this new file to your `COMPOSE_FILE` var in `.env`.
|
||||
|
||||
You can attach to the byebug server once the container is started:
|
||||
You can attach to the server once the container is started:
|
||||
|
||||
Debugging web:
|
||||
|
||||
```
|
||||
docker-compose exec web bin/byebug-remote
|
||||
docker-compose exec web bin/rdbg --attach
|
||||
```
|
||||
|
||||
Debugging jobs:
|
||||
|
||||
```
|
||||
docker-compose exec jobs bin/byebug-remote
|
||||
docker-compose exec jobs bin/rdbg --attach
|
||||
```
|
||||
|
||||
### Prefer pry?
|
||||
|
||||
Unfortunately, you can't start a pry session in a remote byebug session. What
|
||||
Unfortunately, you can't start a pry session in a remote debug session. What
|
||||
you can do instead is use `pry-remote`.
|
||||
|
||||
1. Add `pry-remote` to your Gemfile
|
||||
|
|
|
@ -12,14 +12,26 @@ GEM
|
|||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
docile (1.4.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
minitest (5.20.0)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -39,6 +51,7 @@ GEM
|
|||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
stringio (3.0.8)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
||||
|
@ -52,7 +65,7 @@ PLATFORMS
|
|||
DEPENDENCIES
|
||||
activesupport-suspend_callbacks!
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
debug
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
simplecov (~> 0.22)
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "activesupport", ">= 3.2", "< 7.1"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "simplecov", "~> 0.22"
|
||||
|
|
|
@ -30,7 +30,7 @@ rescue LoadError => e
|
|||
puts "Error: #{e}"
|
||||
end
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
|
||||
require "active_support/callbacks/suspension"
|
||||
|
||||
|
|
|
@ -25,13 +25,19 @@ GEM
|
|||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
erubi (1.12.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
|
@ -49,6 +55,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -68,6 +76,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -81,6 +93,7 @@ GEM
|
|||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.1)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -96,7 +109,7 @@ PLATFORMS
|
|||
DEPENDENCIES
|
||||
activesupport (~> 7.0)
|
||||
autoextend!
|
||||
byebug
|
||||
debug
|
||||
railties (~> 7.0)
|
||||
rspec (~> 3.12)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|||
spec.required_ruby_version = ">= 2.0"
|
||||
|
||||
spec.add_development_dependency "activesupport", "~> 7.0"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "railties", "~> 7.0"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
end
|
||||
|
|
|
@ -49,14 +49,20 @@ GEM
|
|||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
erubi (1.12.0)
|
||||
folio-pagination (0.0.12)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
json (2.6.3)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
|
@ -75,6 +81,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -94,6 +102,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -113,6 +125,7 @@ GEM
|
|||
sqlite3 (1.6.6-arm64-darwin)
|
||||
sqlite3 (1.6.6-x86_64-darwin)
|
||||
sqlite3 (1.6.6-x86_64-linux)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -129,7 +142,7 @@ PLATFORMS
|
|||
DEPENDENCIES
|
||||
bookmarked_collection!
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
debug
|
||||
json_token!
|
||||
paginated_collection!
|
||||
rake
|
||||
|
|
|
@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "paginated_collection"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "sqlite3"
|
||||
|
|
|
@ -20,17 +20,29 @@ GEM
|
|||
tzinfo (~> 2.0)
|
||||
after_transaction_commit (2.2.2)
|
||||
activerecord (>= 5.2)
|
||||
byebug (11.1.3)
|
||||
coderay (1.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
method_source (1.0.0)
|
||||
minitest (5.20.0)
|
||||
pry (0.14.2)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -44,6 +56,7 @@ GEM
|
|||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.1)
|
||||
stringio (3.0.8)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
||||
|
@ -56,7 +69,7 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
broadcast_policy!
|
||||
byebug
|
||||
debug
|
||||
pry
|
||||
rspec (~> 3.12)
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency "activesupport"
|
||||
s.add_dependency "after_transaction_commit"
|
||||
s.add_development_dependency "byebug"
|
||||
s.add_development_dependency "debug"
|
||||
s.add_development_dependency "pry"
|
||||
s.add_development_dependency "rspec", "~> 3.12"
|
||||
end
|
||||
|
|
|
@ -47,9 +47,11 @@ GEM
|
|||
activerecord (>= 5.2)
|
||||
activesupport (>= 5.2)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
digest-murmurhash (1.1.1)
|
||||
dogstatsd-ruby (5.6.1)
|
||||
|
@ -63,6 +65,10 @@ GEM
|
|||
aroi (>= 0.0.7)
|
||||
dogstatsd-ruby (>= 4.2, < 6.0, != 5.0.0)
|
||||
statsd-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
|
@ -80,6 +86,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -99,9 +107,13 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
redis (4.1.4)
|
||||
redis-scripting (1.0.1)
|
||||
redis (>= 3.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -118,6 +130,7 @@ GEM
|
|||
sentry-ruby (5.11.0)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
statsd-ruby (1.5.0)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
timecop (0.9.8)
|
||||
tzinfo (2.0.6)
|
||||
|
@ -133,9 +146,9 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
canvas_cache!
|
||||
config_file!
|
||||
debug
|
||||
rspec
|
||||
timecop
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "sentry-ruby", "~> 5.10"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec"
|
||||
spec.add_development_dependency "timecop"
|
||||
end
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "canvas_cache"
|
||||
require "action_controller"
|
||||
require "active_record"
|
||||
|
|
|
@ -50,14 +50,20 @@ GEM
|
|||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
docile (1.4.0)
|
||||
erubi (1.12.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
|
@ -75,6 +81,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -94,6 +102,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -114,6 +126,7 @@ GEM
|
|||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
thrift (0.9.3.0)
|
||||
tzinfo (2.0.6)
|
||||
|
@ -129,10 +142,10 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
canvas_cassandra!
|
||||
cassandra-cql (= 1.2.3)!
|
||||
config_file!
|
||||
debug
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
simplecov (~> 0.22)
|
||||
|
|
|
@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "config_file"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "simplecov", "~> 0.22"
|
||||
|
|
|
@ -37,7 +37,7 @@ Rails.env = "test"
|
|||
|
||||
require "canvas_cassandra"
|
||||
require "yaml"
|
||||
require "byebug"
|
||||
require "debug"
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.run_all_when_everything_filtered = true
|
||||
|
|
|
@ -38,7 +38,6 @@ GEM
|
|||
after_transaction_commit (2.2.2)
|
||||
activerecord (>= 5.2)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
code_ownership (1.34.2)
|
||||
code_teams (~> 1.0)
|
||||
packs-specification
|
||||
|
@ -47,6 +46,9 @@ GEM
|
|||
sorbet-runtime
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
debug_inspector (1.1.0)
|
||||
diff-lcs (1.5.0)
|
||||
erubi (1.12.0)
|
||||
|
@ -65,6 +67,10 @@ GEM
|
|||
debug_inspector (~> 1.0)
|
||||
fugit (~> 1.3)
|
||||
railties (>= 6.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
|
@ -84,6 +90,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
packs-specification (0.0.10)
|
||||
sorbet-runtime
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
raabro (1.4.0)
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
|
@ -104,6 +112,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -118,6 +130,7 @@ GEM
|
|||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.1)
|
||||
sorbet-runtime (0.5.10965)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -132,8 +145,8 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
canvas_errors!
|
||||
debug
|
||||
rspec
|
||||
|
||||
BUNDLED WITH
|
||||
|
|
|
@ -16,6 +16,6 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "inst-jobs"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec"
|
||||
end
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "canvas_errors"
|
||||
|
||||
Time.zone = "UTC" # This is simplest, fight me.
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
|
||||
begin
|
||||
require "byebug"
|
||||
require "debug"
|
||||
rescue LoadError
|
||||
# do nothing if its not available
|
||||
end
|
||||
|
|
|
@ -29,14 +29,20 @@ GEM
|
|||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
docile (1.4.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
idn-ruby (0.1.5)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
mini_portile2 (2.8.4)
|
||||
minitest (5.20.0)
|
||||
nokogiri (1.15.4)
|
||||
|
@ -50,8 +56,14 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -74,6 +86,7 @@ GEM
|
|||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
stringio (3.0.8)
|
||||
twitter-text (3.1.0)
|
||||
idn-ruby
|
||||
unf (~> 0.1.0)
|
||||
|
@ -91,9 +104,9 @@ PLATFORMS
|
|||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
byebug
|
||||
canvas_quiz_statistics!
|
||||
canvas_text_helper!
|
||||
debug
|
||||
html_text_helper!
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "activesupport"
|
||||
spec.add_dependency "html_text_helper"
|
||||
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "simplecov", "~> 0.22"
|
||||
|
|
|
@ -24,7 +24,7 @@ rescue LoadError => e
|
|||
puts "Error: #{e} "
|
||||
end
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "canvas_quiz_statistics"
|
||||
|
||||
Constants = CanvasQuizStatistics::Analyzers::Base::Constants
|
||||
|
|
|
@ -7,10 +7,16 @@ PATH
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
byebug (11.1.3)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
docile (1.4.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
mini_portile2 (2.8.4)
|
||||
nokogiri (1.15.4)
|
||||
mini_portile2 (~> 2.8.2)
|
||||
|
@ -23,8 +29,14 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -47,6 +59,7 @@ GEM
|
|||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
stringio (3.0.8)
|
||||
|
||||
PLATFORMS
|
||||
aarch64-linux
|
||||
|
@ -57,8 +70,8 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
canvas_sanitize!
|
||||
debug
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
simplecov (~> 0.22)
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "sanitize", "~> 6.0"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "simplecov", "~> 0.22"
|
||||
|
|
|
@ -70,7 +70,6 @@ GEM
|
|||
base64 (0.1.1)
|
||||
bindata (2.4.15)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
code_ownership (1.34.2)
|
||||
code_teams (~> 1.0)
|
||||
packs-specification
|
||||
|
@ -79,6 +78,9 @@ GEM
|
|||
sorbet-runtime
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
debug_inspector (1.1.0)
|
||||
deep_merge (1.2.2)
|
||||
diff-lcs (1.5.0)
|
||||
|
@ -117,6 +119,10 @@ GEM
|
|||
aroi (>= 0.0.7)
|
||||
dogstatsd-ruby (>= 4.2, < 6.0, != 5.0.0)
|
||||
statsd-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
json-jwt (1.16.3)
|
||||
activesupport (>= 4.2)
|
||||
aes_key_wrap
|
||||
|
@ -142,6 +148,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
packs-specification (0.0.10)
|
||||
sorbet-runtime
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
raabro (1.4.0)
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
|
@ -162,9 +170,13 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
redis (4.1.4)
|
||||
redis-scripting (1.0.1)
|
||||
redis (>= 3.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -183,6 +195,7 @@ GEM
|
|||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
sorbet-runtime (0.5.10965)
|
||||
statsd-ruby (1.5.0)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
timecop (0.9.8)
|
||||
tzinfo (2.0.6)
|
||||
|
@ -198,11 +211,11 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
canvas_cache!
|
||||
canvas_errors!
|
||||
canvas_security!
|
||||
config_file!
|
||||
debug
|
||||
dynamic_settings!
|
||||
rspec
|
||||
timecop
|
||||
|
|
|
@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "json-jwt"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec"
|
||||
spec.add_development_dependency "timecop"
|
||||
end
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "canvas_security"
|
||||
require "rails"
|
||||
Rails.env = "test"
|
||||
|
|
|
@ -26,13 +26,19 @@ GEM
|
|||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
erubi (1.12.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
|
@ -50,6 +56,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -69,6 +77,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -82,6 +94,7 @@ GEM
|
|||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.1)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -96,8 +109,8 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
config_file!
|
||||
debug
|
||||
rspec
|
||||
|
||||
BUNDLED WITH
|
||||
|
|
|
@ -14,6 +14,6 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "railties", ">= 5.0"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec"
|
||||
end
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "rails"
|
||||
require "config_file"
|
||||
Rails.env = "test"
|
||||
|
|
|
@ -7,7 +7,9 @@ PATH
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
byebug (11.1.3)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
gergich (2.1.2)
|
||||
httparty (~> 0.17)
|
||||
|
@ -15,9 +17,19 @@ GEM
|
|||
httparty (0.21.0)
|
||||
mini_mime (>= 1.0.0)
|
||||
multi_xml (>= 0.5.2)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
mini_mime (1.1.5)
|
||||
mini_portile2 (2.8.4)
|
||||
multi_xml (0.6.0)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -37,6 +49,7 @@ GEM
|
|||
sqlite3 (1.6.6-arm64-darwin)
|
||||
sqlite3 (1.6.6-x86_64-darwin)
|
||||
sqlite3 (1.6.6-x86_64-linux)
|
||||
stringio (3.0.8)
|
||||
|
||||
PLATFORMS
|
||||
aarch64-linux
|
||||
|
@ -46,7 +59,7 @@ PLATFORMS
|
|||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
byebug (~> 11.1)
|
||||
debug
|
||||
dr_diff!
|
||||
rspec (~> 3.12)
|
||||
rspec-mocks
|
||||
|
|
|
@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|||
|
||||
spec.add_dependency "gergich", "~> 2.1"
|
||||
|
||||
spec.add_development_dependency "byebug", "~> 11.1"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "rspec-mocks"
|
||||
end
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
|
||||
require "dr_diff"
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
|
|
|
@ -36,9 +36,11 @@ GEM
|
|||
tzinfo (~> 2.0)
|
||||
base64 (0.1.1)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
deep_merge (1.2.2)
|
||||
diff-lcs (1.5.0)
|
||||
diplomat (2.6.4)
|
||||
|
@ -52,6 +54,10 @@ GEM
|
|||
faraday-net_http (3.0.2)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
|
@ -69,6 +75,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -88,6 +96,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -102,6 +114,7 @@ GEM
|
|||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.1)
|
||||
ruby2_keywords (0.0.5)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -116,8 +129,8 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
config_file!
|
||||
debug
|
||||
dynamic_settings!
|
||||
rspec
|
||||
|
||||
|
|
|
@ -17,6 +17,6 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "railties"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec"
|
||||
end
|
||||
|
|
|
@ -10,9 +10,11 @@ GEM
|
|||
addressable (2.8.5)
|
||||
public_suffix (>= 2.0.2, < 6.0)
|
||||
base64 (0.1.1)
|
||||
byebug (11.1.3)
|
||||
crack (0.4.5)
|
||||
rexml
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
declarative (0.0.20)
|
||||
diff-lcs (1.5.0)
|
||||
faraday (2.7.11)
|
||||
|
@ -39,12 +41,22 @@ GEM
|
|||
signet (>= 0.16, < 2.a)
|
||||
hashdiff (1.0.1)
|
||||
httpclient (2.8.3)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
jwt (2.7.1)
|
||||
mini_mime (1.1.5)
|
||||
multi_json (1.15.0)
|
||||
os (1.1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
public_suffix (5.0.3)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
representable (3.2.0)
|
||||
declarative (< 0.1.0)
|
||||
trailblazer-option (>= 0.1.1, < 0.2.0)
|
||||
|
@ -70,6 +82,7 @@ GEM
|
|||
faraday (>= 0.17.5, < 3.a)
|
||||
jwt (>= 1.5, < 3.0)
|
||||
multi_json (~> 1.10)
|
||||
stringio (3.0.8)
|
||||
timecop (0.9.8)
|
||||
trailblazer-option (0.1.2)
|
||||
uber (0.1.0)
|
||||
|
@ -88,7 +101,7 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
debug
|
||||
google_drive!
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_runtime_dependency "google-apis-drive_v3", "~> 0.43"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "timecop"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "google_drive"
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "timecop"
|
||||
require "webmock/rspec"
|
||||
|
||||
|
|
|
@ -97,7 +97,6 @@ GEM
|
|||
aws-sigv4 (1.6.0)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
code_ownership (1.34.2)
|
||||
code_teams (~> 1.0)
|
||||
packs-specification
|
||||
|
@ -107,6 +106,9 @@ GEM
|
|||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
date (3.3.3)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
debug_inspector (1.1.0)
|
||||
diff-lcs (1.5.0)
|
||||
dogstatsd-ruby (5.6.1)
|
||||
|
@ -131,6 +133,10 @@ GEM
|
|||
aroi (>= 0.0.7)
|
||||
dogstatsd-ruby (>= 4.2, < 6.0, != 5.0.0)
|
||||
statsd-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
jmespath (1.6.2)
|
||||
loofah (2.21.3)
|
||||
crass (~> 1.0.2)
|
||||
|
@ -166,6 +172,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
packs-specification (0.0.10)
|
||||
sorbet-runtime
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
raabro (1.4.0)
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
|
@ -186,6 +194,10 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -204,6 +216,7 @@ GEM
|
|||
nokogiri (>= 1.12.0)
|
||||
sorbet-runtime (0.5.10965)
|
||||
statsd-ruby (1.5.0)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
timecop (0.9.8)
|
||||
timeout (0.4.0)
|
||||
|
@ -227,9 +240,9 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
canvas_errors!
|
||||
canvas_text_helper!
|
||||
debug
|
||||
html_text_helper!
|
||||
incoming_mail_processor!
|
||||
rspec (~> 3.12)
|
||||
|
|
|
@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "utf8_cleaner"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
spec.add_development_dependency "timecop", "~> 0.9.5"
|
||||
spec.add_development_dependency "webrick"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#
|
||||
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "timecop"
|
||||
require "incoming_mail_processor/mailbox_spec_helper"
|
||||
require "incoming_mail_processor"
|
||||
|
|
|
@ -34,8 +34,10 @@ GEM
|
|||
aws-sigv4 (~> 1.1)
|
||||
aws-sigv4 (1.6.0)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
dogstatsd-ruby (5.6.1)
|
||||
i18n (1.14.1)
|
||||
|
@ -44,6 +46,10 @@ GEM
|
|||
aroi (>= 0.0.7)
|
||||
dogstatsd-ruby (>= 4.2, < 6.0, != 5.0.0)
|
||||
statsd-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
jmespath (1.6.2)
|
||||
mini_portile2 (2.8.4)
|
||||
minitest (5.20.0)
|
||||
|
@ -58,8 +64,14 @@ GEM
|
|||
racc (~> 1.4)
|
||||
nokogiri (1.15.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -74,6 +86,7 @@ GEM
|
|||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.1)
|
||||
statsd-ruby (1.5.0)
|
||||
stringio (3.0.8)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
||||
|
@ -86,7 +99,7 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
debug
|
||||
live_events!
|
||||
nokogiri
|
||||
rake
|
||||
|
|
|
@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "inst_statsd"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "nokogiri"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
|
|
|
@ -74,7 +74,6 @@ GEM
|
|||
base64 (0.1.1)
|
||||
bindata (2.4.15)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
code_ownership (1.34.2)
|
||||
code_teams (~> 1.0)
|
||||
packs-specification
|
||||
|
@ -83,6 +82,9 @@ GEM
|
|||
sorbet-runtime
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
debug_inspector (1.1.0)
|
||||
deep_merge (1.2.2)
|
||||
diff-lcs (1.5.0)
|
||||
|
@ -121,6 +123,10 @@ GEM
|
|||
aroi (>= 0.0.7)
|
||||
dogstatsd-ruby (>= 4.2, < 6.0, != 5.0.0)
|
||||
statsd-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
json-jwt (1.16.3)
|
||||
activesupport (>= 4.2)
|
||||
aes_key_wrap
|
||||
|
@ -146,6 +152,8 @@ GEM
|
|||
racc (~> 1.4)
|
||||
packs-specification (0.0.10)
|
||||
sorbet-runtime
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
raabro (1.4.0)
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
|
@ -166,9 +174,13 @@ GEM
|
|||
thor (~> 1.0)
|
||||
zeitwerk (~> 2.5)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
redis (4.1.4)
|
||||
redis-scripting (1.0.1)
|
||||
redis (>= 3.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -187,6 +199,7 @@ GEM
|
|||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
sorbet-runtime (0.5.10965)
|
||||
statsd-ruby (1.5.0)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
timecop (0.9.8)
|
||||
tzinfo (2.0.6)
|
||||
|
@ -202,10 +215,10 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
byebug
|
||||
canvas_cache!
|
||||
canvas_security!
|
||||
config_file!
|
||||
debug
|
||||
dynamic_settings!
|
||||
request_context!
|
||||
rspec
|
||||
|
|
|
@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "railties"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rspec"
|
||||
spec.add_development_dependency "timecop"
|
||||
end
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "byebug"
|
||||
require "debug"
|
||||
require "request_context"
|
||||
require "rails"
|
||||
Rails.env = "test"
|
||||
|
|
|
@ -38,14 +38,20 @@ GEM
|
|||
ast (2.4.2)
|
||||
base64 (0.1.1)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
coderay (1.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
erubi (1.12.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
jira_ref_parser (1.0.1)
|
||||
json (2.6.3)
|
||||
language_server-protocol (3.17.0.3)
|
||||
|
@ -76,6 +82,8 @@ GEM
|
|||
pry (0.14.2)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rack (2.2.8)
|
||||
rack-test (2.1.0)
|
||||
|
@ -96,7 +104,11 @@ GEM
|
|||
zeitwerk (~> 2.5)
|
||||
rainbow (3.1.1)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
regexp_parser (2.8.1)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rexml (3.2.6)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
|
@ -130,6 +142,7 @@ GEM
|
|||
rack (>= 1.1)
|
||||
rubocop (>= 1.33.0, < 2.0)
|
||||
ruby-progressbar (1.13.0)
|
||||
stringio (3.0.8)
|
||||
thor (1.2.2)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -145,7 +158,7 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
debug
|
||||
pry (~> 0.10)
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
|
|
|
@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "rubocop-rails", "~> 2.19"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "pry", "~> 0.10"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
require "rubocop"
|
||||
require "rubocop/rspec/support"
|
||||
require "rubocop_canvas"
|
||||
require "byebug"
|
||||
require "debug"
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.order = :random
|
||||
|
|
|
@ -29,14 +29,20 @@ GEM
|
|||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
debug (1.8.0)
|
||||
irb (>= 1.5.0)
|
||||
reline (>= 0.3.1)
|
||||
diff-lcs (1.5.0)
|
||||
hashie (5.0.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
idn-ruby (0.1.5)
|
||||
io-console (0.6.0)
|
||||
irb (1.8.1)
|
||||
rdoc
|
||||
reline (>= 0.3.8)
|
||||
mini_portile2 (2.8.4)
|
||||
minitest (5.20.0)
|
||||
nokogiri (1.15.4)
|
||||
|
@ -56,8 +62,14 @@ GEM
|
|||
version_gem (~> 1.1)
|
||||
oauth-tty (1.0.5)
|
||||
version_gem (~> 1.1, >= 1.1.1)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
racc (1.7.1)
|
||||
rake (13.0.6)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
|
@ -77,6 +89,7 @@ GEM
|
|||
snaky_hash (2.0.1)
|
||||
hashie
|
||||
version_gem (~> 1.1, >= 1.1.1)
|
||||
stringio (3.0.8)
|
||||
twitter-text (3.1.0)
|
||||
idn-ruby
|
||||
unf (~> 0.1.0)
|
||||
|
@ -96,8 +109,8 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
bundler (~> 2.2)
|
||||
byebug
|
||||
canvas_text_helper!
|
||||
debug
|
||||
html_text_helper!
|
||||
rake
|
||||
rspec (~> 3.12)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require "twitter"
|
||||
require "byebug"
|
||||
require "debug"
|
||||
|
||||
I18n.load_path += Dir[File.join("spec", "locales", "*.yml")]
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency "oauth"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.2"
|
||||
spec.add_development_dependency "byebug"
|
||||
spec.add_development_dependency "debug"
|
||||
spec.add_development_dependency "rake"
|
||||
spec.add_development_dependency "rspec", "~> 3.12"
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# from their use, making things harder to find
|
||||
|
||||
begin
|
||||
require "byebug"
|
||||
require "debug"
|
||||
rescue LoadError
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue