From: sir ziggles on 9 Jun 2010 14:43 Hi guys, I'm working to create my first gem which will be a super simple wrap of an API i find useful. I was wondering if someone could point me @ an existing gem that is considered to be structured/coded well? I'm not 100% sure where to start and after reading/watching a number of tutorials i see there are a ton of ways to do things. thanks! -- Posted via http://www.ruby-forum.com/.
From: Eustáquio Rangel on 9 Jun 2010 20:30 Take a look on this nice Katz's article: http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/
From: Rein Henrichs on 9 Jun 2010 23:48 On 2010-06-09 17:30:38 -0700, Eust�quio Rangel said: > Take a look on this nice Katz's article: > > http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/ Not really relevant. Look at the jeweler gem, it will help you create a directory structure for your Ruby gem with testing and etc. There are a number of well-written Ruby gems in github that you can use for examples. -- Rein Henrichs http://puppetlabs.com http://reinh.com
From: Eustáquio Rangel on 10 Jun 2010 07:25 2010/6/10 Rein Henrichs <reinh(a)reinh.com>: > On 2010-06-09 17:30:38 -0700, Eustáquio Rangel said: > >> Take a look on this nice Katz's article: >> >> http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/ > > Not really relevant. I beg to differ. :-)
From: Rein Henrichs on 10 Jun 2010 11:17 On 2010-06-10 04:25:29 -0700, Eust�quio Rangel said: > 2010/6/10 Rein Henrichs <reinh(a)reinh.com>: >> On 2010-06-09 17:30:38 -0700, Eust�quio Rangel said: >> >>> Take a look on this nice Katz's article: >>> >>> http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/ >> >> Not really relevant. > > I beg to differ. :-) Of course you do. Nevertheless, Yehuda's article on whether to include a gemspec file in a source code repository for use by automated build tools is at best only tangentally relevant to his question, which was about how to structure a gem's source code. Perhaps once he has answered his question and written a gem, he might want to read that article. -- Rein Henrichs http://puppetlabs.com http://reinh.com
|
Pages: 1 Prev: Html parsing with Hpricot Next: [ANN] Duby 0.0.3 released |