why the lucky stiff | 6 Jan 2007 08:37
Favicon
Gravatar

? camping apps in gems

So would you like this:

  $ wget http://rubyforge.org/gems/junebug-0.0.18.gem
  $ camping junebug-0.0.18.gem

Or should it be:

  $ gem install junebug
  $ touch junebug.gemcamp
  $ camping junebug.gemcamp

_why
carmen | 6 Jan 2007 10:02

Re: ? camping apps in gems

On Sat Jan 06, 2007 at 01:37:56AM -0600, why the lucky stiff wrote:
> So would you like this:
> 
>   $ wget http://rubyforge.org/gems/junebug-0.0.18.gem
>   $ camping junebug-0.0.18.gem
> 
> Or should it be:
> 
>   $ gem install junebug
>   $ touch junebug.gemcamp
>   $ camping junebug.gemcamp

is 

$ gem install junebug
$ camping junebug

too much voodoo? or maybe even

$ gem install junebug
$ camping

 (ok maybe loading all gemcamps is a bit much for the lowly server)

> 
> _why
> _______________________________________________
> Camping-list mailing list
> Camping-list@...
> http://rubyforge.org/mailman/listinfo/camping-list
(Continue reading)

Mathieu Jobin | 6 Jan 2007 10:02

Re: ? camping apps in gems

I think the first one would be pretty cool.
the second one too except for touching the file.
I would imagine more something like

$ camping --from-installed-gem junebug # --from-installed-gem can be shortened.

On 1/6/07, why the lucky stiff <why-INVRFxB3SCbTr1N2uX3BwuTW4wlIGRCZ@public.gmane.org> wrote:
So would you like this:

  $ wget http://rubyforge.org/gems/junebug-0.0.18.gem
  $ camping junebug-0.0.18.gem

Or should it be:

  $ gem install junebug
  $ touch junebug.gemcamp
  $ camping junebug.gemcamp

_why
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list



--
gcc -O0  -DRUBY_EXPORT   -rdynamic -Wl,-export-dynamic -L.   main.o  -lruby-static -ldl -lcrypt -lm   -o ruby
Everyone is trying their hardest to do their job but management has set it up so that it's impossible.
Take the control over your money, track your expenses http://justbudget.com

Mathieu
_______________________________________________
Camping-list mailing list
Camping-list@...
http://rubyforge.org/mailman/listinfo/camping-list
Mathieu Jobin | 6 Jan 2007 11:36

Re: ? camping apps in gems

I think that camping takes a file as a parameter and should stay the same. the fact to accept a gem file automatically its nice. but for installed gem, I think it should require an option

--from-installed-gem should be shortened to --gem or -g

On 1/6/07, carmen <_ <at> whats-your.name> wrote:
On Sat Jan 06, 2007 at 01:37:56AM -0600, why the lucky stiff wrote:
> So would you like this:
>
>   $ wget http://rubyforge.org/gems/junebug-0.0.18.gem
>   $ camping junebug-0.0.18.gem
>
> Or should it be:
>
>   $ gem install junebug
>   $ touch junebug.gemcamp
>   $ camping junebug.gemcamp

is

$ gem install junebug
$ camping junebug

too much voodoo? or maybe even

$ gem install junebug
$ camping

(ok maybe loading all gemcamps is a bit much for the lowly server)

>
> _why
> _______________________________________________
> Camping-list mailing list
> Camping-list-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list



--
gcc -O0  -DRUBY_EXPORT   -rdynamic -Wl,-export-dynamic -L.   main.o  -lruby-static -ldl -lcrypt -lm   -o ruby
Everyone is trying their hardest to do their job but management has set it up so that it's impossible.
Take the control over your money, track your expenses http://justbudget.com

Mathieu
_______________________________________________
Camping-list mailing list
Camping-list@...
http://rubyforge.org/mailman/listinfo/camping-list
Geoffrey Grosenbach | 6 Jan 2007 19:06
Gravatar

Re: ? camping apps in gems

On Sat, Jan 06, 2007 at 01:37:56AM -0600, why the lucky stiff wrote:
> So would you like this:
> 
>   $ wget http://rubyforge.org/gems/junebug-0.0.18.gem
>   $ camping junebug-0.0.18.gem

I like that way. Being able to copy a packaged app whole would be very useful and would make it easy to deploy
updates to a camping app.

One could use Hoe, or even a custom Rake task that would generate a gemspec on the fly and make an app out of the gem.

In the future this could even make it possible to list other gems as dependencies (equipment, mosquito,
etc.) and the "camping" command could make sure that they were present before launching the app.

Geoff
Geoffrey Grosenbach | 6 Jan 2007 19:14
Gravatar

Camping Podcast


I'm putting together an episode of the Rails podcast that will be dedicated to Camping. 

I already have the first interview recorded. I'd like to get 3 or 4 more short interviews (short...maybe
4.096 minutes each).

If you'd like instant fame, send me an email and tell me what camping project you would like to talk about,
what your skype username is, and when is a good time to contact you.

Thanks!

Geoff
boss@...
skype: topfunkycorporation
http://podcast.rubyonrails.org

p.s. If _why would be so kind as to do the same or even just record a short message for the worldwide Camping
movement, I'd appreciate it.
why the lucky stiff | 6 Jan 2007 20:26
Favicon
Gravatar

! camping 1.5.180

Just a few minor changes released before I add gem support.

 * R() now accepts a Hash in its arguments which can be used to build a query
   string.

     R(Topic,  <at> topic.id, :page => 24)  #=> "/topic/14?page=24"

 * Base#to_a, discussed here.[1]  Can be used to forward requests.

Both the camping and camping-omnibus gems are fresh.

  gem install camping-omnibus --source http://code.whytheluckystiff.net

_why

[1] http://redhanded.hobix.com/bits/theSiphoningSplat.html
Adam Bouhenguel | 7 Jan 2007 00:15
Picon
Favicon

Re: Camping Podcast

On 1/6/07, Geoffrey Grosenbach <boss@...> wrote:
>
> I'm putting together an episode of the Rails podcast that will be dedicated
> to Camping.
>
> I already have the first interview recorded. I'd like to get 3 or 4 more
> short interviews (short...maybe 4.096 minutes each).
>
> If you'd like instant fame, send me an email and tell me what camping
> project you would like to talk about, what your skype username is, and when
> is a good time to contact you.
>
> Thanks!
>
> Geoff
> boss@...
> skype: topfunkycorporation
> http://podcast.rubyonrails.org
>
> p.s. If _why would be so kind as to do the same or even just record a short
> message for the worldwide Camping movement, I'd appreciate it.
> _______________________________________________
> Camping-list mailing list
> Camping-list@...
> http://rubyforge.org/mailman/listinfo/camping-list
>
james | 8 Jan 2007 22:16
Picon

ActiveSupport Dependency

Hi, Just wondering if ActiveSupport is actually used heavily by
Camping when ActiveRecord is not used?  I see ActiveSupport is a
dependency of ActiveRecord, but Camping still wants it even when
ActiveRecord isn't used.
why the lucky stiff | 8 Jan 2007 23:54
Favicon
Gravatar

Re: ActiveSupport Dependency

On Mon, Jan 08, 2007 at 02:16:56PM -0700, james wrote:
> Hi, Just wondering if ActiveSupport is actually used heavily by
> Camping when ActiveRecord is not used?  I see ActiveSupport is a
> dependency of ActiveRecord, but Camping still wants it even when
> ActiveRecord isn't used.

Yep, Camping uses the HashWithIndifferentAccess.  For the Camping::H
class.

_why

Gmane