Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Michael Dvorkin
@michaeldv
Hi there ;-)
James Cox
@imajes
hey all here
Michael Dvorkin
@michaeldv
Hi there, thanks for taking care of new release!
What versions of Ruby have you tested it with?
Michael Dvorkin
@michaeldv
I just tested it with fresh Ruby 2.1.3/bundle install and two AR specs are failing:
rspec ./spec/ext/active_record_spec.rb:82 # AwesomePrint/ActiveRecord ActiveRecord instance (raw) display single record rspec ./spec/ext/active_record_spec.rb:267 # AwesomePrint/ActiveRecord ActiveRecord instance (raw) display multiple records
$ gem owner awesome_print -a james@imaj.es
Owner added successfully.
Owners for gem: awesome_print
James Cox
@imajes
hey @michaeldv - yeah, those two tests fail still.
they look to be related to rails 4.2 changes to the data returned in the hash, so the test fails because it's brittle
rather than because they are actually indicative of broken behavior
and i'm wondering about looking at how to test multiple rails versions for compat here, or if it's even worth it
Mauro George
@maurogeorge

@michaeldv @imajes I did not know the current state of the gem. Yesterday I tweeted to Peter Copper https://twitter.com/maurogeorge/status/549579195899473920 about it.
I think we need a roadmap, we can use github milestones to do that, for example we need to merge all PRs and see all issues and release a 1.2.1. The v2 can be started on a separated branch, but I think the focus now is to close all(most of) issues and merge all PRs.

I think to start this we need to add awesome_print on Travis this way will be more easy to merge PRs. About test against different rails version we can do that using Appraisal https://github.com/thoughtbot/appraisal.

I am in the start of a new feature on mongoid https://github.com/maurogeorge/mongoid/tree/restrict_with_error. Hope I finish that and can give some attention to the awesome_print.

Mauro George
@maurogeorge
@michaeldv @imajes I added the appraisal michaeldv/awesome_print#173
I never used this gitter, I think you guys mention me here I will receive a email. But you guys can add a comment on the issue =) Hope you guys like
Olivier Abdesselam
@yazgoo
Hi.
Is it possible to output to a string for later print ?
Michael Dvorkin
@michaeldv
yes, use object.ai
ai is alias for awesome_inspect
Olivier Abdesselam
@yazgoo
Thanks :)
sic-f
@sic-f
how do i install this in a rails app?
just put gem 'awesome_print' in the gemfile?
sic-f
@sic-f
nevermind i got it to work