Re: What now?

2009-10-19 Thread zimbatm
Regarding SEO, isn't it enough to have some links from the ruby
community pointing to the camping homepage to have it on top-10 of
ruby camping search results ?
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: What now?

2009-10-19 Thread zimbatm
In any case, I just secured whywentcamping.com. For now it redirects
to camping.rubyforge.com
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: What now?

2009-10-18 Thread zimbatm
+1 for whywentcamping.com
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: What now?

2009-08-28 Thread zimbatm
+1 for camping/camping at github . Also, why not use the github pages
to host the camping website
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Release?

2009-02-12 Thread zimbatm
On Thu, Feb 12, 2009 at 8:42 PM, Julik Tarkhanov
julian.tarkha...@gmail.com wrote:
 Why not just 2.0.0 with a tag, then 2.0.1 with a tag and so on? Then you
 also know everytime you release something you have a tag for it. And things
 like rebases will not ruin your schemes

+1
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: H with indifferent access

2009-01-24 Thread zimbatm
Hi Magnus,

I prefer using method_missing, with string access for fallback when
key names are not compatible with ruby method names.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Who has the latest version of camping?

2008-09-15 Thread zimbatm
Hi Garret,

check out why's repository on : http://github.com/why/camping

2008/9/5 Garret Buell [EMAIL PROTECTED]:
 So I'm looking to get the latest, most very bleeding edge version of
 camping. The question is, who's got it? It seems I can get it from
 why, Magnus, or zimbatm on github. Why's seems to be the oldest but it
 seems neither Magnus or zimbatm have merged changes recently. Should I
 just merge the changes myself? What's the story on this guys?

 -Garret Buell
 ___
 Camping-list mailing list
 Camping-list@rubyforge.org
 http://rubyforge.org/mailman/listinfo/camping-list

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


[TIP] optional multi-pane layout

2008-08-28 Thread zimbatm
This is a nice little trick to defer some block execution in a multi-pane layout

module Views
  def layout
html do
  #...
  body do
div.main { yield }
div.right! @_right_pane if @_right_pane
  end
end
  end

  def _right_pane(block)
@_right_pane = block
  end

  # So now on your view
  def some_view
# use that method if you need the right pane
_right_pane do
  # Some code in the right pane
end

# And here goes your regular view
  end
end

Cheers,
  zimbatm
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Camping::Apps returns!

2008-08-28 Thread zimbatm
Hi Magnus,

If I remember well, I am the one who introduced AND removed
Camping::Apps. I'm not sure anymore but I think it wasn't really used
and that solutions never really satisfied me. Do you have any use for
it ?

Cheers,
  zimbatm
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: File uploads

2008-07-23 Thread zimbatm
Yum. Did you try just setting YourApp::H = Mash ? If it works like
this out of the box
then we can keep the simpler solution and provide a recipe to work with mash ?

2008/7/23 Magnus Holm [EMAIL PROTECTED]:
 I'm playing with Mash (http://mash-hash.rubyforge.org/) which has some really
 nifty stuff. Here's the branch: http://github.com/judofyr/camping/tree/mash.
 It requires 0.0.6 (which is only on GitHUb), but will work with 0.0.3
 if you drop
 the latest patch.

 I don't know if it's worth another dependency; maybe zimbatm's patch is
 better.

 On Tue, Jul 22, 2008 at 4:40 AM, Bluebie, Jenna
 [EMAIL PROTECTED] wrote:
 NoMethodError undefined method `tempfile' for #
 That sure is odd... I guess in Camping 2.0, uploads are not a Camping::H.
 Can we please change Camping::H to output ::H's instead of the original
 value when the original value is_a?(::H)
 That be good. Recursive yumminess. Doesn't solve hashes in arrays, but is
 nice for this and some other things like playing with JSON. :)
 Looks like to do that, we'd need to override Hash#fetch, and maybe Hash#[]
 and stuff... complex, maybe beyond camping scope. Still, I really think
 for consistency file upload hashes in the @input should be ::H's. Maybe not
 put the functionality in ::H, maybe some processing specific to @input.
 Coming right down to it, I'm thinking about putting the functionality in the
 actual Hash class why don't we do that normally? does it cause problems
 with some libraries?
 ___
 Camping-list mailing list
 Camping-list@rubyforge.org
 http://rubyforge.org/mailman/listinfo/camping-list




 --
 Magnus Holm
 ___
 Camping-list mailing list
 Camping-list@rubyforge.org
 http://rubyforge.org/mailman/listinfo/camping-list

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
 The problem is that almost all app require 'camping' and when bin/camping
 require 'camping-unabridged' things gets pretty messy.

Right, didn't thought about that.. well then we have to come up with a
Ruby2Ruby version, isn't it ?
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
 How is camping.rb created from camping-unabridged.rb?  By hand?
Err.. yes. This is a kind of art you know ?
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
2008/5/23 Magnus Holm [EMAIL PROTECTED]:
 So should I just merge/rebase everything to my master, so _why can merge
 it into his? Some more notes:

 * camping/db.rb - camping/ar.rb
 * camping/session.rb - camping/ar/session.rb
 * CookieSession - camping/session.rb

 The documentation and the names (Camping::Session, Camping::ARSession?)
 needs some fixing. I'll let the leader decide :-)

You are the leader now :)

If I where you, I'd take some time checking the documentation
generates well. Last time I checked, it was a mess.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Camping-Omnibus Doesn't Work With Ruby v1.8.6

2008-05-17 Thread zimbatm
Ok noted, it should probably be fixed once camping is released on rubyforge

2008/5/10 Trevor Johns [EMAIL PROTECTED]:
 I've noticed that the copy of Mongrel installed by the camping-omnibus gem
 doesn't work with Ruby 1.8.6. Or to be more specific, cgi_multipart_eof_fix
 (which Mongrel is dependent upon) doesn't work:

 $ sudo gem install mongrel --source http://code.whytheluckystiff.net

 ERROR:  Error installing mongrel:
cgi_multipart_eof_fix requires Ruby version = 1.8.5

 It looks like the copy of Mongrel mirrored on code.whytheluckystiff.net is
 v1.0.1. The latest public release is v1.1.4.

 Working around this is easy (just download the component parts individually
 from gems.rubyforge.org), but it might scare away some newbies who are
 following the directions on the wiki. Time to update the Gems hosted on
 code.whytheluckystiff.net?

 On a related note, how come camping-omnibus doesn't exist on
 gems.rubyforge.org?

 --
 Trevor Johns
 http://tjohns.net

 ___
 Camping-list mailing list
 Camping-list@rubyforge.org
 http://rubyforge.org/mailman/listinfo/camping-list

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Setting cookies in service overloader thingo

2008-05-17 Thread zimbatm
Nice catch,

cookies support never really felt complete to me. Maybe we should put
it in a different module ?

Cheers,
  zimbatm
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Squatting

2008-05-16 Thread zimbatm
module MyApp
  module Controllers
class Index  R '/', '/(.*)'
  def get(opts = nil)
@opts = opts
render( opts ? :opts : :index )
  end
end
  end

  module Views
def index
  h1 Regular
end

def opts
  h1 Opts
  p @opts
end
  end
end
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list