Skip to content

Commit

Permalink
Replace awesome print with amazing print
Browse files Browse the repository at this point in the history
Amazing Print is a fork of Awesome Print that has already resolved
the undefined method marshal_dump for ActiveModel::Errors issue [1].

---

[1]: awesome-print/awesome_print#413
  • Loading branch information
vassalloandrea committed Aug 1, 2023
1 parent f6d3cbe commit ca8dd19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ready to use, the tools in this repo are:
* [**Pry Rails**][pry-rails] for additional commands (`show-routes`,
`show-models`, `show-middleware`) in the Rails console.
* [**Pry ByeBug**][pry-byebug] to turn the console into a simple debugger.
* [**Awesome Print**][awesome_print] for stylish pretty print.
* [**Amazing Print**][amazing_print] for stylish pretty print.
* [**Pry Doc**][pry-doc] to browse Ruby source, including C, directly from the
console.
* [**Letter Opener**][letter_opener] for preview email in the browser.
Expand Down Expand Up @@ -43,7 +43,7 @@ And then execute:
5. Create a new Pull Request

[pry]: http://pry.github.com
[awesome_print]: https://github.com/michaeldv/awesome_print
[amazing_print]: https://github.com/amazing-print/amazing_print
[pry-rails]: https://github.com/rweng/pry-rails
[pry-doc]: https://github.com/pry/pry-doc
[pry-byebug]: https://github.com/deivid-rodriguez/pry-byebug
Expand Down
2 changes: 1 addition & 1 deletion dev_tools.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'pry-rails'
spec.add_runtime_dependency 'pry-byebug'
spec.add_runtime_dependency 'pry-doc'
spec.add_runtime_dependency 'awesome_print'
spec.add_runtime_dependency 'amazing_print'
spec.add_runtime_dependency 'letter_opener'
spec.add_runtime_dependency 'dotenv-rails'
spec.add_runtime_dependency 'rubocop'
Expand Down
4 changes: 2 additions & 2 deletions lib/dev_tools/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
require 'pry-rails'
require 'pry-doc'
require 'pry-byebug'
require 'awesome_print'
require "amazing_print"

require 'letter_opener' if Rails.env.development?
require 'dotenv-rails' if Rails.env.development? || Rails.env.test?

AwesomePrint.pry!
AmazingPrint.pry!

module DevTools
class Railtie < Rails::Railtie
Expand Down

0 comments on commit ca8dd19

Please sign in to comment.