tompave
tompave

Reputation: 12412

Ruby MRI 2.0.0 - Standard Library gems versions

I'm looking for information on the versions of the packages that compose the Ruby Standard Library (MRI 2.0.0). I'm specifically interested in the json gem.

It's part of the Ruby Standard Library, but it's also available as a gem: rubygems, home, github.
In addition, the readme on github mentions two versions (pure ruby and C extension).

Is there some resource where I can find detailed information on the Standard Library? Authors, versions, homepages, etc?

Thank you

Upvotes: 0

Views: 224

Answers (1)

the Tin Man
the Tin Man

Reputation: 160559

You can look at Ruby's source-code to determine versions.

Look in the "ext" folder to find the Std-Lib stuff.

Drill down into a particular class or module to find its version.rb file. For instance, JSON's version.rb says it's currently at version 1.7.7.

If you're worried about having the most recent version of JSON, from my experience it's not necessary. Ruby gems picked up the 1.8.1 version from the Ruby-gems repo and upgraded to it on my machine, even though 1.7.7 came with Ruby v2.0p353:

gem list json

*** LOCAL GEMS ***

json (1.8.1, 1.7.7)

Upvotes: 1

Related Questions