Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not print power_assert on new pry? #1

Open
choosen opened this issue Mar 27, 2023 · 0 comments
Open

Does not print power_assert on new pry? #1

choosen opened this issue Mar 27, 2023 · 0 comments

Comments

@choosen
Copy link

choosen commented Mar 27, 2023

I try to run pry-byebug-power_assert, but it does not show power assert content.
Can you share which version of pry-setup does it work with for sure?

From: /Users/piotrwasiak/Code/backend/app/adapters/example/api/test.rb:47 Example::Api:Test.get_availability_list:

    45: def self.get_availability_list(location_id: nil)
    46:   binding.pry
 => 47:   0.to_s
    48:   puts 'other code'
    49: end

[1] pry(Example::Api:Test)> next
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

From: /Users/piotrwasiak/Code/backend/app/adapters/example/api/test.rb:48 Example::Api:Test.get_availability_list:
    45: def self.get_availability_list(location_id: nil)
    46:   binding.pry
    47:   0.to_s
 => 48:   puts 'other code'
    49:   end
cat Gemfile.lock| grep pry
    pry (0.14.2)
    pry-byebug (3.10.1)
      pry (>= 0.13, < 0.15)
    pry-byebug-power_assert (0.1.2)
      pry-byebug
  pry-byebug
  pry-byebug-power_assert
❯ cat Gemfile.lock| grep power
    power_assert (2.0.3)
    power_p (1.0.0)
      power_assert (>= 1.1.0)
    pry-byebug-power_assert (0.1.2)
      power_assert (>= 1.0.0)
    rspec-matchers-power_assert_matchers (0.2.0)
      power_assert (>= 2.0.3, < 3.0)
  power_p
  pry-byebug-power_assert
  rspec-matchers-power_assert_matchers (~> 0.2.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant