Why don't you turn this into a gem?

5 views
Skip to first unread message

Travis Reeder

unread,
Jan 2, 2010, 10:29:55 PM1/2/10
to Hoptoad Notifier Dev
So it's not such a pain to update. Is there any reason it can't be a
gem?

Joe Ferris

unread,
Jan 4, 2010, 10:13:41 AM1/4/10
to Hoptoad Notifier Dev
Hey Travis,

We're looking into a good way to package the notifier as a gem,
particularly so that it will be easy to use outside of Rails apps.
However, if we use a gem and not a plugin, rake tasks and recipes
aren't automatically detected. Right now we're working out which
solution for that problem we like the best. Feel free to let us know
if you have suggestions.

Thanks,
-Joe

Corey Donohoe

unread,
Jan 4, 2010, 12:10:29 PM1/4/10
to hoptoad-no...@googlegroups.com
Hey Travis,

We took the liberty of doing it ourselves.
Gem - http://github.com/toolmantim/toadhopper
Middleware - http://github.com/atmos/rack_hoptoad

Joe,

What in the API keeps telling me that I'm using an older version of
the notifier even though I'm conforming to the xsd and the
specification on the hoptoad tender?

These do not have the rake tasks present in the notifier but we've
found it pretty easy to add that support in our applications where it
made sense.

> --
>
> You received this message because you are subscribed to the Google Groups "Hoptoad Notifier Dev" group.
> To post to this group, send email to hoptoad-no...@googlegroups.com.
> To unsubscribe from this group, send email to hoptoad-notifier...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hoptoad-notifier-dev?hl=en.
>
>
>

--
Corey Donohoe
http://atmos.org
http://engineyard.com

Joe Ferris

unread,
Jan 4, 2010, 12:27:28 PM1/4/10
to Hoptoad Notifier Dev
Hey Corey,

It sounds like you might be running into a bug - can you report what
you're seeing? Please file bug reports here: http://help.hoptoadapp.com/

Thanks,
-Joe

On Jan 4, 12:10 pm, Corey Donohoe <at...@atmos.org> wrote:
> Hey Travis,
>
> We took the liberty of doing it ourselves.
> Gem          -http://github.com/toolmantim/toadhopper

> Middleware -http://github.com/atmos/rack_hoptoad

agibralter

unread,
Jan 12, 2010, 11:37:10 AM1/12/10
to Hoptoad Notifier Dev
Any chance you guys could re-visit this? It seems like the gem-
transformation has been under consideration for quite some time now...

As I just mentioned in #thoughtbot, rake tasks and recipes are really
not that hard to get working for gems... and they certainly haven't
stopped other rails ex-plugins from becoming gems (cucumber, thinking-
sphinx, etc.).

http://freelancing-god.github.com/ts/en/installing_thinking_sphinx.html
http://freelancing-god.github.com/ts/en/deployment.html

If you guys don't want to do it... do you mind if I release
hoptoad_notifier to gemcutter?

This is /especially/ useful for the future too: Rails 3.0 + gem
bundler seems to be the way forward...

Thanks!

Best,
Aaron

Jason Morrison

unread,
Jan 21, 2010, 8:52:02 AM1/21/10
to hoptoad-no...@googlegroups.com
Whoops, I responded only to Aaron instead of the whole thread!

---------- Forwarded message ----------

>
> Hey all,
>
> Glad you're excited about gemifying - just a heads up, this is
> actively under development:
>
> http://github.com/thoughtbot/hoptoad_notifier/tree/548-convert-plugin-to-gem
>
> Aaron,
>
> You're right that adding generators, rake tasks, and recipes are
> usually straightforward to add into gems.  Some versions of Rails act
> slightly differently, though, and we want to maintain and verify
> backwards compatibility for these versions.
>
> We'll happily review any forks - drop an email here or create an issue
> to give us a heads up.
>
> (We're pumped about bundler, too!)
>
> Cheers,
> Jason

--
Jason Morrison
thoughtbot

Travis Reeder

unread,
Jan 21, 2010, 12:50:51 PM1/21/10
to hoptoad-notifier-dev
Good news. Is that being pushed to gemcutter yet?

Travis


--

Joe Ferris

unread,
Jan 21, 2010, 1:09:35 PM1/21/10
to Hoptoad Notifier Dev
Hey Travis,

It's already live on gemcutter: http://gemcutter.org/gems/hoptoad_notifier

-Joe

On Jan 21, 12:50 pm, Travis Reeder <tree...@gmail.com> wrote:
> Good news. Is that being pushed to gemcutter yet?
>
> Travis
>
> On Thu, Jan 21, 2010 at 5:52 AM, Jason Morrison

> <jason.p.morri...@gmail.com>wrote:


>
> > Whoops, I responded only to Aaron instead of the whole thread!
>
> > ---------- Forwarded message ----------
>
> > > Hey all,
>
> > > Glad you're excited about gemifying - just a heads up, this is
> > > actively under development:
>

> >http://github.com/thoughtbot/hoptoad_notifier/tree/548-convert-plugin...


>
> > > Aaron,
>
> > > You're right that adding generators, rake tasks, and recipes are
> > > usually straightforward to add into gems.  Some versions of Rails act
> > > slightly differently, though, and we want to maintain and verify
> > > backwards compatibility for these versions.
>
> > > We'll happily review any forks - drop an email here or create an issue
> > > to give us a heads up.
>
> > > (We're pumped about bundler, too!)
>
> > > Cheers,
> > > Jason
>
> > --
> > Jason Morrison
> > thoughtbot
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Hoptoad Notifier Dev" group.
> > To post to this group, send email to hoptoad-no...@googlegroups.com
> > .
> > To unsubscribe from this group, send email to

> > hoptoad-notifier...@googlegroups.com<hoptoad-notifier-dev%2Bunsu...@googlegroups.com>

Travis Reeder

unread,
Jan 24, 2010, 12:57:12 PM1/24/10
to hoptoad-notifier-dev
I can't seem to get this gem version to work. I've installed the gem, added config.gem 'hoptoad_notifier', ran the generate hoptoad script and still doesn't want to work. It does work if I run rake hoptoad:test, but not from an actual exception in a controller.

Any ideas or tricks I can try to get it to work?

Travis

To unsubscribe from this group, send email to hoptoad-notifier...@googlegroups.com.

Travis Reeder

unread,
Jan 25, 2010, 1:34:37 AM1/25/10
to hoptoad-notifier-dev
Disregard the last message. I launched a new server with the latest and greatest of everything (rails/passenger) and it magically started working.

Good job! gem version is much better.

Travis
Reply all
Reply to author
Forward
0 new messages