[#101991] Gateway appears to be working!! — "David A. Black" <dblack@...>

Hi --

13 messages 2004/06/01

[#102028] What is the equivalent of Python's "%s" % "MyString"? — "Sam Sungshik Kong" <ssk@...>

Hello!

20 messages 2004/06/01

[#102050] Obfuscating Ruby Code. — "Ken Hilton" <kenosis@...>

Does anyone know of a Ruby source code obfuscator that's reliable and

56 messages 2004/06/01

[#102170] Floating point division operator /. (or fdiv method) — Michael Neumann <mneumann@...>

Hi,

31 messages 2004/06/02
[#102247] Re: [RCR] Floating point division operator /. (or fdiv method) — "Robert Klemme" <bob.news@...> 2004/06/03

[#102231] Reply wasn't posted; will test new post — "Pe, Botp" <botp@...>

Hi ALL:

38 messages 2004/06/03
[#102236] Re: Reply wasn't posted; will test new post — "daz" <dooby@...10.karoo.co.uk> 2004/06/03

[#102241] Re: Reply wasn't posted; will test new post — "David A. Black" <dblack@...> 2004/06/03

Hi --

[#102366] Active Record 0.8.2: Inheritable callback ques — David Heinemeier Hansson <david@...>

What's new in Active Record 0.8.2?

13 messages 2004/06/04

[#102401] Problem Installing Ruby Gems 0.4.0 on XP not segfault — "Ernie" <erne@...>

I get the following error I'm running Ruby 1.8 windows version installed

10 messages 2004/06/04

[#102412] Check assertion in Ruby — Edgardo Hames <ehames@...>

Hi, everybody. I would like to use an assert like function to test the

20 messages 2004/06/04

[#102431] How to ducktype a Hash? — "Sean O'Dell" <sean@...>

I need to detect when an object is a hash-like container for other objects,

137 messages 2004/06/05
[#102456] Re: How to ducktype a Hash? — "Robert Klemme" <bob.news@...> 2004/06/05

[#102495] Re: How to ducktype a Hash? — "Sean O'Dell" <sean@...> 2004/06/05

On Saturday 05 June 2004 02:28, Robert Klemme wrote:

[#102496] Re: How to ducktype a Hash? — Dave Thomas <dave@...> 2004/06/05

[#102499] Re: How to ducktype a Hash? — "Sean O'Dell" <sean@...> 2004/06/05

On Saturday 05 June 2004 10:39, Dave Thomas wrote:

[#102507] Re: How to ducktype a Hash? — Dave Thomas <dave@...> 2004/06/05

[#102514] Re: How to ducktype a Hash? — "Sean O'Dell" <sean@...> 2004/06/06

On Saturday 05 June 2004 13:30, Dave Thomas wrote:

[#102530] Re: How to ducktype a Hash? — "John W. Long" <ng@...> 2004/06/06

Sean O'Dell wrote:

[#102535] Re: How to ducktype a Hash? — "Sean O'Dell" <sean@...> 2004/06/06

On Saturday 05 June 2004 21:05, John W. Long wrote:

[#102563] Re: How to ducktype a Hash? — David Garamond <lists@...6.isreserved.com> 2004/06/06

Sean O'Dell wrote:

[#102573] Re: How to ducktype a Hash? — "David A. Black" <dblack@...> 2004/06/06

Hi --

[#102465] Re: How to ducktype a Hash? — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com> 2004/06/05

il Sat, 5 Jun 2004 11:15:37 +0900, "Sean O'Dell" <sean@celsoft.com> ha

[#102509] Re: How to ducktype a Hash? — "John W. Long" <ng@...> 2004/06/05

[#102516] Re: How to ducktype a Hash? — "Sean O'Dell" <sean@...> 2004/06/06

On Saturday 05 June 2004 15:01, John W. Long wrote:

[#102649] Re: How to ducktype a Hash? — "Dave Burt" <burtdav@...> 2004/06/07

param.respond_to? '[]' and

[#102445] class A::B verses module A ; class B — quixoticsycophant@... (Jeff Mitchell)

module A

14 messages 2004/06/05

[#102597] Segfault on embedded ruby. — Godot <garciamj@...>

16 messages 2004/06/06

[#102601] Instiki 0.9.0: Rendering improvements, Latex integration, OS X version — David Heinemeier Hansson <david@...>

What's new in Instiki 0.9.0?

9 messages 2004/06/06

[#102675] Waiting for condor output files — Milo Thurston <nospam@...>

I've got a script that submits a whole load of condor jobs, and has to

11 messages 2004/06/07

[#102710] Re: How to ducktype a Hash? — "Austin Ziegler" <Austin.Ziegler@...>

> dblack@wobblini.evault.com

18 messages 2004/06/07

[#102716] Re: Unit tests ... not just for the young — "Kloubakov, Yura" <YKloubakov@...>

22 messages 2004/06/07
[#102729] Re: Unit tests ... not just for the young — "Sean O'Dell" <sean@...> 2004/06/08

On Monday 07 June 2004 16:13, Kloubakov, Yura wrote:

[#102789] Re: Unit tests ... not just for the young — Michael Campbell <michael.campbell@...> 2004/06/08

> I've worked with some fresh guys right

[#102796] Re: Unit tests ... not just for the young — "Sean O'Dell" <sean@...> 2004/06/08

On Tuesday 08 June 2004 07:55, Michael Campbell wrote:

[#102808] Re: Unit tests ... not just for the young — Michael Campbell <michael.campbell@...> 2004/06/08

> Non-college grads, though, never got hired unless they could prove their

[#102819] Re: Unit tests ... not just for the young — "Sean O'Dell" <sean@...> 2004/06/08

On Tuesday 08 June 2004 10:03, Michael Campbell wrote:

[#102822] Re: Unit tests ... not just for the young — Jim Freeze <jim@...> 2004/06/08

On Wednesday, 9 June 2004 at 3:52:21 +0900, Sean O'Dell wrote:

[#102823] Re: Unit tests ... not just for the young — Michael Campbell <michael.campbell@...> 2004/06/08

>

[#102824] Re: Unit tests ... not just for the young — "Sean O'Dell" <sean@...> 2004/06/08

On Tuesday 08 June 2004 12:12, Michael Campbell wrote:

[#102731] Interfaces and semantics (or, how to hashpipe a duck) — Hal Fulton <hal9000@...>

Semantics, James Thurber notwithstanding, is not a town in Ohio.

34 messages 2004/06/08
[#102814] Re: Interfaces and semantics (or, how to hashpipe a duck) — djberg96@... (Daniel Berger) 2004/06/08

"Sean O'Dell" <sean@celsoft.com> wrote in message news:<200406080736.32485.sean@celsoft.com>...

[#102818] Re: Interfaces and semantics (or, how to hashpipe a duck) — "Sean O'Dell" <sean@...> 2004/06/08

On Tuesday 08 June 2004 11:23, Daniel Berger wrote:

[#102839] Re: Interfaces and semantics (or, how to hashpipe a duck) — "David A. Black" <dblack@...> 2004/06/08

Hi --

[#102788] ruby and mustard — "Ara.T.Howard" <Ara.T.Howard@...>

20 messages 2004/06/08

[#102817] Ruby/Interface — "Sean O'Dell" <sean@...>

Ruby/Interface 0.1-1

18 messages 2004/06/08

[#102863] oddities with select — Ben Giddings <bg-rubytalk@...>

I'm trying to use Ruby to talk to an network application, and noticed

21 messages 2004/06/08

[#102890] Re: Unit tests ... not just for the young — "Pe, Botp" <botp@...>

Gennady [mailto:gfb@tonesoft.com] wrote:

39 messages 2004/06/09
[#102891] Re: Unit tests ... not just for the young — Jim Freeze <jim@...> 2004/06/09

On Wednesday, 9 June 2004 at 11:46:12 +0900, "Pe?a, Botp" wrote:

[#102896] Re: Unit tests ... not just for the young — Dan Tapp <dhtapp@..._sig_line.com> 2004/06/09

Jim Freeze wrote:

[#102900] Re: Unit tests ... not just for the young — Tyler Zesiger <mailing-lists@...> 2004/06/09

I'd be afraid to hire a code-monkey who said yes.

[#102929] Re: Unit tests ... not just for the young — Tom Copeland <tom@...> 2004/06/09

On Wed, 2004-06-09 at 01:21, Tyler Zesiger wrote:

[#102930] Re: [OT] Re: Unit tests ... not just for the young — Michael Campbell <michael.campbell@...> 2004/06/09

On Wed, 9 Jun 2004 22:48:30 +0900, Tom Copeland <tom@infoether.com> wrote:

[#102931] Re: [OT] Re: Unit tests ... not just for the young — Tom Copeland <tom@...> 2004/06/09

On Wed, 2004-06-09 at 09:56, Michael Campbell wrote:

[#102934] Re: [OT] Re: Unit tests ... not just for the young — Jim Freeze <jim@...> 2004/06/09

On Wednesday, 9 June 2004 at 23:02:22 +0900, Tom Copeland wrote:

[#102978] Re: [OT] Re: Unit tests ... not just for the young — Jean-Hugues ROBERT <jean_hugues_robert@...> 2004/06/09

At 23:21 09/06/2004 +0900, you wrote:

[#102914] strip DOS ^Ms? — Dick Davies <rasputnik@...>

15 messages 2004/06/09

[#102922] Active Record 0.8.3: Modules, mapping, and transactions — David Heinemeier Hansson <david@...>

What's new in Active Record 0.8.3?

12 messages 2004/06/09

[#102950] #include <re.h> required for Opteron but not Pentium. — Jim Freeze <jim@...>

Hi

14 messages 2004/06/09
[#103007] Re: #include <re.h> required for Opteron but not Pentium. — Tim Hunter <cyclists@...> 2004/06/09

On Thu, 10 Jun 2004 03:58:55 +0900, Jim Freeze wrote:

[#102951] History of Languages poster from O'Reilly — djberg96@... (Daniel Berger)

Hi all,

12 messages 2004/06/09

[#103072] Graphing 2Ds in Python is pretty easy... — piir@... (Todd Gardner)

Hello everyone,

16 messages 2004/06/10

[#103172] Array#rest — Charles Comstock <cc1@...>

I find myself frequently using array slice of 1..-1, to pass the rest of an

25 messages 2004/06/11

[#103217] Switch to .ruby extension? — doodpants@... (Karl von Laudermann)

The current convention for Ruby source file names is to end them with

72 messages 2004/06/11
[#103228] Re: Switch to .ruby extension? — Tyler Zesiger <mailing-lists@...> 2004/06/11

The obsessive levels of abbreviation in the *nix world infuriate me.

[#103580] Re: Switch to .ruby extension? — "SER" <ser@...> 2004/06/14

> I remember when I first started using linux (now I use FreeBSD, which

[#103599] Re: Switch to .ruby extension? — Tyler Zesiger <mailing-lists@...> 2004/06/14

I don't know how much of the thread you read through, but I repeated at

[#103602] Re: Switch to .ruby extension? — "Sean O'Dell" <sean@...> 2004/06/14

On Monday 14 June 2004 16:13, Tyler Zesiger wrote:

[#103605] Re: Switch to .ruby extension? — "Zach Dennis" <zdennis@...> 2004/06/14

>Most programmers

[#103608] Re: Switch to .ruby extension? — "Sean O'Dell" <sean@...> 2004/06/15

On Monday 14 June 2004 16:46, Zach Dennis wrote:

[#103618] Re: Switch to .ruby extension? — Sam Roberts <sroberts@...> 2004/06/15

Quoteing sean@celsoft.com, on Tue, Jun 15, 2004 at 09:40:26AM +0900:

[#103622] Re: Switch to .ruby extension? — "Sean O'Dell" <sean@...> 2004/06/15

On Monday 14 June 2004 19:09, Sam Roberts wrote:

[#103673] Re: Switch to .ruby extension? — Sam Roberts <sroberts@...> 2004/06/15

Wrote Sean O'Dell <sean@celsoft.com>, on Tue, Jun 15, 2004 at 11:36:18AM +0900:

[#103239] Re: Switch to .ruby extension? [OT] — Mark Hubbart <discord@...> 2004/06/11

[#103246] Re: Switch to .ruby extension? [OT] — Tyler Zesiger <mailing-lists@...> 2004/06/11

I think I may be earning myself a reputation as a user-friendliness

[#103252] Re: Switch to .ruby extension? [OT] — "Zach Dennis" <zdennis@...> 2004/06/11

[#103258] Re: Switch to .ruby extension? [OT] — Tyler Zesiger <mailing-lists@...> 2004/06/11

[#103225] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...>

Battery is a unit testing framework for Ruby. It captures all standard error

61 messages 2004/06/11
[#103236] Re: [ANN] celsoft.com/Battery 0.1.1 — "David A. Black" <dblack@...> 2004/06/11

Hi --

[#103250] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/11

On Friday 11 June 2004 11:47, David A. Black wrote:

[#103267] Re: [ANN] celsoft.com/Battery 0.1.1 — "David A. Black" <dblack@...> 2004/06/12

Hi --

[#103275] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/12

On Friday 11 June 2004 18:08, David A. Black wrote:

[#103308] Re: [ANN] celsoft.com/Battery 0.1.1 — "David A. Black" <dblack@...> 2004/06/12

On Sat, 12 Jun 2004, Sean O'Dell wrote:

[#103329] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/12

On Saturday 12 June 2004 03:49, David A. Black wrote:

[#103353] Re: [ANN] celsoft.com/Battery 0.1.1 — "David A. Black" <dblack@...> 2004/06/12

> arbitrary:

[#103366] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/12

On Saturday 12 June 2004 13:34, David A. Black wrote:

[#103389] Re: [ANN] celsoft.com/Battery 0.1.1 — Jean-Hugues ROBERT <jean_hugues_robert@...> 2004/06/13

At 08:12 13/06/2004 +0900, you wrote:

[#103525] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/14

On Sunday 13 June 2004 00:13, Jean-Hugues ROBERT wrote:

[#103533] Re: [ANN] celsoft.com/Battery 0.1.1 — James Britt <jamesUNDERBARb@...> 2004/06/14

Sean O'Dell wrote:

[#103536] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/14

On Monday 14 June 2004 09:27, James Britt wrote:

[#103412] Re: [ANN] celsoft.com/Battery 0.1.1 — Nathaniel Talbott <nathaniel@...> 2004/06/13

On Jun 12, 2004, at 12:28, Sean O'Dell wrote:

[#103413] Re: [ANN] celsoft.com/Battery 0.1.1 — Jamis Buck <jgb3@...> 2004/06/13

Nathaniel Talbott wrote:

[#103532] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/14

On Sunday 13 June 2004 07:52, Jamis Buck wrote:

[#103293] Any way to get the calling method's binding? — Gavin Sinclair <gsinclair@...>

Something I've wanted to do on a few occasions recently is to evaluate

13 messages 2004/06/12

[#103328] OpenSSL: patch — Jamis Buck <jgb3@...>

Attached is a patch for the Ruby/OpenSSL module, done against the code

25 messages 2004/06/12

[#103334] undefine — tony summerfelt <snowzone5@...>

is there a way to undefine a variable?

43 messages 2004/06/12
[#103405] Re: undefine — "Robert Klemme" <bob.news@...> 2004/06/13

[#103438] undefine — tony summerfelt <snowzone5@...> 2004/06/13

On Sun, 13 Jun 2004 20:08:48 +0900, you wrote:

[#103465] Re: undefine — Claus Spitzer <DocBoobenstein@...> 2004/06/14

Again, this is where it's useful to consider the OO approach and think

[#103550] undefine — tony summerfelt <snowzone5@...> 2004/06/14

On Mon, 14 Jun 2004 16:18:32 +0900, you wrote:

[#103560] Re: undefine — Michael Campbell <michael.campbell@...> 2004/06/14

> i just need the variable to 'not exist' however it's thought about (by

[#103335] "www.ruby-lang.org" still down for maintenance - thats not good — Lothar Scholz <mailinglists@...>

Hello,

12 messages 2004/06/12

[#103381] Ruby /.'ted — Dan Tapp <dhtapp@..._sig_line.com>

Ruby was just slashdotted under "Developers: Searching for the Best

14 messages 2004/06/13

[#103404] How to read a .csv file into a 2D array? — piir@... (Todd Gardner)

Hello everyone,

16 messages 2004/06/13

[#103468] Non-standard library project — Gavin Sinclair <gsinclair@...>

Hi all,

28 messages 2004/06/14

[#103650] "Litte Ruby" book — Csaba Henk <csaba@..._for_avoiding_spam.org>

The book (or book-germ) entitled "A Little Ruby, A Lot of Objects" was

15 messages 2004/06/15

[#103697] a newbie question about main, Object... — "Sam Sungshik Kong" <ssk@...>

Hello!

14 messages 2004/06/15

[#103742] Re: [ANN] celsoft.com/Battery 0.1.1 — "Austin Ziegler" <Austin.Ziegler@...>

Sean O'Dell [mailto:sean@celsoft.com] :

17 messages 2004/06/15
[#103744] Re: [ANN] celsoft.com/Battery 0.1.1 — "Sean O'Dell" <sean@...> 2004/06/15

On Tuesday 15 June 2004 13:53, Austin Ziegler wrote:

[#103874] Bidirectional named pipes on Linux — ptkwt@... (Phil Tomson)

12 messages 2004/06/16

[#103930] introducing Hash-like mixin — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com>

Hi gurus and nubys,

17 messages 2004/06/17

[#103974] the new great computer language shootout — ptkwt@... (Phil Tomson)

26 messages 2004/06/17
[#103975] Re: the new great computer language shootout — Lennon Day-Reynolds <rcoder@...> 2004/06/17

Part of the speedup appears to be from their use of the Psyco JIT

[#103986] Re: the new great computer language shootout — Eric Hodel <drbrain@...7.net> 2004/06/17

Lennon Day-Reynolds (rcoder@gmail.com) wrote:

[#103992] Re: the new great computer language shootout — Eric Hodel <drbrain@...7.net> 2004/06/17

Eric Hodel (drbrain@segment7.net) wrote:

[#103977] How to make generic #== method? — Zakaria <zakaria@...>

Hi,

13 messages 2004/06/17

[#103993] Generating "real-time" 2D line plots in Windows 2k? — piir@... (Todd Gardner)

Hello everyone,

11 messages 2004/06/17

[#104182] rubys web performance — Florian Weber <csshsh@...>

hi!

31 messages 2004/06/20

[#104222] About top-level method — "Sam Sungshik Kong" <ssk@...>

Hello!

15 messages 2004/06/21

[#104272] A question about Class and Object — "Sam Sungshik Kong" <ssk@...>

Hello!

18 messages 2004/06/21

[#104364] Newbie question - how to replace multiple whitespace within a string? — Brian Tully <btully@...>

Sorry if this is too basic a question but I just inherited a handful of Ruby

10 messages 2004/06/22

[#104455] rubygems thoughts — Hans Fugal <fugalh@...>

My participation here is sporadic at best, so forgive me if these

34 messages 2004/06/24
[#104459] Re: rubygems thoughts — "Jim Weirich" <jim@...> 2004/06/24

[#104465] Re: rubygems thoughts — Hans Fugal <hfugal@...> 2004/06/24

Jim Weirich wrote:

[#104466] Re: rubygems thoughts — "Sean O'Dell" <sean@...> 2004/06/24

On Thursday 24 June 2004 10:18, Hans Fugal wrote:

[#104494] Is it considered Harmful? — "rolo" <rohitlodha@...>

Hi

133 messages 2004/06/24
[#104495] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/24

On Thursday 24 June 2004 16:15, rolo wrote:

[#104498] Re: Is it considered Harmful? — Eric Hodel <drbrain@...7.net> 2004/06/24

Sean O'Dell (sean@celsoft.com) wrote:

[#104499] Re: Is it considered Harmful? — "rolo" <rohitlodha@...> 2004/06/25

> Sean O'Dell (sean@celsoft.com) wrote:

[#104500] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/25

On Thursday 24 June 2004 17:23, rolo wrote:

[#104526] Re: Is it considered Harmful? — ts <decoux@...> 2004/06/25

>>>>> "S" == Sean O'Dell <sean@celsoft.com> writes:

[#104539] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/25

On Friday 25 June 2004 02:19, ts wrote:

[#104542] Re: Is it considered Harmful? — Dave Thomas <dave@...> 2004/06/25

[#104587] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/25

On Friday 25 June 2004 08:57, Dave Thomas wrote:

[#104636] Re: Is it considered Harmful? — ts <decoux@...> 2004/06/26

>>>>> "S" == Sean O'Dell <sean@celsoft.com> writes:

[#104646] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/26

On Saturday 26 June 2004 04:19, ts wrote:

[#104663] Re: Is it considered Harmful? — ts <decoux@...> 2004/06/27

>>>>> "S" == Sean O'Dell <sean@celsoft.com> writes:

[#104694] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/27

On Sunday 27 June 2004 01:41, ts wrote:

[#104699] Re: Is it considered Harmful? — Patrick May <patrick@...> 2004/06/27

I think that #become and #class= are _theoretically_ wrong. Such a

[#104700] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/27

On Sunday 27 June 2004 13:44, Patrick May wrote:

[#104701] Re: Is it considered Harmful? — Patrick May <patrick@...> 2004/06/27

On Sunday, June 27, 2004, at 05:20 PM, Sean O'Dell wrote:

[#104706] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/27

On Sunday 27 June 2004 14:48, Patrick May wrote:

[#104710] Re: Is it considered Harmful? — Patrick May <patrick@...> 2004/06/27

Sean,

[#104712] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/27

On Sunday 27 June 2004 15:43, Patrick May wrote:

[#104714] Re: Is it considered Harmful? — Patrick May <patrick@...> 2004/06/27

[#104715] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/28

On Sunday 27 June 2004 16:53, Patrick May wrote:

[#104716] Re: Is it considered Harmful? — Patrick May <patrick@...> 2004/06/28

[#104724] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/28

On Sunday 27 June 2004 17:30, Patrick May wrote:

[#104754] Re: Is it considered Harmful? — Patrick May <patrick@...> 2004/06/28

Sean,

[#104763] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/28

On Monday 28 June 2004 05:45, Patrick May wrote:

[#104764] Re: Is it considered Harmful? — Mikael Brockman <phubuh@...> 2004/06/28

"Sean O'Dell" <sean@celsoft.com> writes:

[#104766] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/28

On Monday 28 June 2004 08:33, Mikael Brockman wrote:

[#104767] Re: Is it considered Harmful? — Austin Ziegler <halostatue@...> 2004/06/28

On Tue, 29 Jun 2004 00:58:22 +0900, Sean O'Dell <sean@celsoft.com> wrote:

[#104769] Re: Is it considered Harmful? — "Sean O'Dell" <sean@...> 2004/06/28

On Monday 28 June 2004 09:27, Austin Ziegler wrote:

[#104787] Re: [OT] Re: Is it considered Harmful? — "Bill Kelly" <billk@...> 2004/06/28

Hi,

[#104533] Re: Is it considered Harmful? — Scott Rubin <srubin@...> 2004/06/25

I can't possibly imagine it being useful to do this except when the

[#104535] Re: Is it considered Harmful? — "Jim Weirich" <jim@...> 2004/06/25

[#104501] Building Ruby on AIX -- again — Matt Lawrence <matt@...>

I finally have a stable system to use to try to build Ruby. Here's the

18 messages 2004/06/25
[#104510] Re: Building Ruby on AIX -- again — nobu.nokada@... 2004/06/25

Hi,

[#104511] Re: Building Ruby on AIX -- again — Matt Lawrence <matt@...> 2004/06/25

On Fri, 25 Jun 2004 nobu.nokada@softhome.net wrote:

[#104512] Re: Building Ruby on AIX -- again — nobu.nokada@... 2004/06/25

Hi,

[#104513] Re: Building Ruby on AIX -- again — Matt Lawrence <matt@...> 2004/06/25

On Fri, 25 Jun 2004 nobu.nokada@softhome.net wrote:

[#104601] OSCON Ruby tutorials cancelled? — ptkwt@... (Phil Tomson)

14 messages 2004/06/25

[#104637] SQLite-Ruby and "other chrs" — Meino Christian Cramer <Meino.Cramer@...>

Hi,

13 messages 2004/06/26

[#104649] Writing UNIX 'wc' program — "@*(&SPAM&)*optonline.net" <" kboruff\""@*.*optonline.net>

Hey all,

13 messages 2004/06/27

[#104737] (oddity) applying objects with #call() implicitly — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com>

Hi gurus and nubys,

16 messages 2004/06/28

[#104864] arrayfields-3.0.0 — "Ara.T.Howard" <Ara.T.Howard@...>

URLS:

16 messages 2004/06/29

Re: rubygems thoughts

From: "Sean O'Dell" <sean@...>
Date: 2004-06-24 23:14:53 UTC
List: ruby-talk #104493
On Thursday 24 June 2004 15:29, Gavin Sinclair wrote:
> On Friday, June 25, 2004, 8:07:45 AM, Sean wrote:
> > On Thursday 24 June 2004 14:01, Jim Weirich wrote:
> >> Sean O'Dell said:
> >> > Use YAML as the control file instead of native Ruby.  I think it would
> >> > make automating builds easier.  Ruby is okay when you're
> >> > hand-crafting, but it makes automated build creation a little dicey. 
> >> > Not terribly, but a little.
> >>
> >> Actually, the .gemspec file is optional, and I never build one for my
> >> projects.  I just use Rake to control the building of the
> >> Gem::Specification object directly and then generate the gem from the
> >> spec object.  Details can be found here:
> >> http://rubygems.rubyforge.org/wiki/wiki.pl?CreateAGemUsingRake
> >>
> >> If you want to build the spec automatically, but don't want to use Rake
> >> (shame on you), just create the Gem::Specification object in your code
> >> (as you would in a gemspec file).  To create the gem from the
> >> Gem::Spcification, just use:
> >>
> >>    builder = Gem::Builder.new(spec).build
> >>
> >> If you want a yaml file out of the process, build the spec and write out
> >> the results of spec.to_yaml.
> >
> > That sounds like what I need.  Can I re-constitute the YAML into a native
> > Ruby data structure and pass it to Gem::Builder.new?
>
> I'm sure you can, but I reckon this sounds like the more difficult way
> to do things.  I don't see why building a gem requires run-time
> generation of its specification, beyond the package version.  It
> should all be known upfront.

I agree, but I don't mind having to call a little code to load my own YAML and 
create the final .gem.  If Gems had the ability to build directly from a YAML 
config file, that would be nice, but it's good enough for me being able to 
call Gem::Builder.new(spec) where spec is a data structure I just loaded from 
YAML.  It's only 2 calls, and I'd make them from my build-generating script 
anyway, so I don't mind.

> What actual difficulty or restriction does a normal .gemspec (or
> better yet, a Rakefile gme package task) cause you?

It's native Ruby code, and since I generate the .gemspec file with code, I'd 
prefer I was generating something with more "rules" like YAML, and that I 
could use the result elsewhere (like merging spec data into a web page or 
whatever).

> BTW you asked somewhere about seeing detailed information about a gem.
> If you have a gem X installed, then try this:
>
>   gem --info X
>
> It will print out the spec in YAML.

That works pretty much, if I can call that on any .gem file.  I was thinking 
not so much of using the YAML data for human-reading as much as automatically 
pumping into other things, like web pages, or a database or whatever.

> > I'd prefer that .gemspec was just static meta data and contained no
> > code.  But as I understand it, the .gemspec file is used to create a
> > static data structure that Gem::Builder uses, so maybe that point is
> > moot.  I think I can load a static YAML file that I generate myself
> > and pass it to Gem::Builder.new.
>
> I'll be interested to see how this goes.  I'd be even more interested
> to see if there's a reason that YAML generation is better for you.
> Whether there is or there isn't, either way there's an opportunity to
> document some best practices out of this.

Well, two places it would be useful.  One, if the YAML file could be extracted 
from the .gem file (which I think gem --info X does) then you can merge the 
information into web pages and such (think of a richer gem download web page 
at Rubyforge).  Third-party version systems would be possible, etc.  The 
other is, pre-build-time.  As a developer, say I take my .gemspec file which 
is normally used only by Gems and I ssh it up to a web site somewhere, which 
dynamically merges the information in the .gemspec with a web page to show 
everyone visiting the current version, the dependencies and so on.  You could 
even generate a script that loads the YAML and contacts RAA and updates your 
RAA entry with all the latest information.

Also, and this is a little mystic perhaps, I find that simply using YAML 
whenever I can opens doors to doing other things I don't initially imagine.

	Sean O'Dell

In This Thread