From: sir ziggles on
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
Take a look on this nice Katz's article:

http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/

From: Rein Henrichs on
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
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
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