Skip to content

Commit

Permalink
add gem debug
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Sep 5, 2023
1 parent 8fa37f8 commit adcec86
Show file tree
Hide file tree
Showing 91 changed files with 908 additions and 246 deletions.
20 changes: 14 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,31 @@ source "https://rubygems.org"
# Specify your gem's dependencies in datadog-ci.gemspec
gemspec

gem "pry"
# build tasks, utils
gem "rake"
gem "rspec"
gem "os"

gem "climate_control"

# testing
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
# dependency management for tests
gem "appraisal"
# code coverage
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"

# ruby linting and formatting
gem "standard", "~> 1.31.0"

# docs
gem "yard"
gem "webrick"

gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
# debug
gem "debug", ">= 1.0.0" if RUBY_PLATFORM != "java"
gem "pry"

# type checking
group :check do
Expand Down
10 changes: 10 additions & 0 deletions docs/DevelopmentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,13 @@ To check, run:
```bash
bundle exec standardrb
```

## Debugging

We use gem `debug` for debugging.

TBD

Alternative options for debugging is `pry`.

TBD
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_cucumber_3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "cucumber", "~> 3"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_cucumber_4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "cucumber", "~> 4"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_cucumber_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "cucumber", "~> 5"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_cucumber_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "cucumber", "~> 6"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_cucumber_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "cucumber", "~> 7"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_cucumber_8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "cucumber", "~> 8"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_minitest_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"
gem "minitest", "~> 5"

group :check do
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/jruby_9.4.0.0_rspec_3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec", "~> 3"
gem "os"
gem "climate_control"
gem "rspec", "~> 3"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "pry"

group :check do

Expand Down
11 changes: 6 additions & 5 deletions gemfiles/ruby_2.7.6_cucumber_3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "debug", ">= 1.0.0"
gem "pry"
gem "cucumber", "~> 3"

group :check do
Expand Down
15 changes: 15 additions & 0 deletions gemfiles/ruby_2.7.6_cucumber_3.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,17 @@ 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)
diff-lcs (1.5.0)
docile (1.4.0)
ffi (1.15.5)
gherkin (5.1.0)
io-console (0.6.0)
irb (1.8.1)
rdoc
reline (>= 0.3.8)
json (2.6.3)
language_server-protocol (3.17.0.3)
libdatadog (3.0.0.1.0-aarch64-linux)
Expand All @@ -61,10 +68,16 @@ GEM
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (5.1.0)
stringio
racc (1.7.1)
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)
Expand Down Expand Up @@ -122,6 +135,7 @@ GEM
standard-performance (1.2.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.19.0)
stringio (3.0.8)
thor (1.2.2)
unicode-display_width (2.4.2)
webrick (1.8.1)
Expand All @@ -135,6 +149,7 @@ DEPENDENCIES
climate_control
cucumber (~> 3)
datadog-ci!
debug (>= 1.0.0)
os
pry
rake
Expand Down
11 changes: 6 additions & 5 deletions gemfiles/ruby_2.7.6_cucumber_4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

source "https://rubygems.org"

gem "pry"
gem "rake"
gem "rspec"
gem "os"
gem "climate_control"
gem "rspec"
gem "rspec-collection_matchers"
gem "rspec_junit_formatter"
gem "climate_control"
gem "appraisal"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "standard", "~> 1.31.0"
gem "yard"
gem "webrick"
gem "simplecov"
gem "simplecov-cobertura", "~> 2.1.0"
gem "debug", ">= 1.0.0"
gem "pry"
gem "cucumber", "~> 4"

group :check do
Expand Down
Loading

0 comments on commit adcec86

Please sign in to comment.