{"issue":{"state":"closed","pull_request":{"diff_url":"https://github.com/johnewart/ruby-metrics/pull/25.diff","html_url":"https://github.com/johnewart/ruby-metrics/pull/25","patch_url":"https://github.com/johnewart/ruby-metrics/pull/25.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/6ec4980d1d5c39bc44bff4170bfd0313?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6ec4980d1d5c39bc44bff4170bfd0313","url":"https://api.github.com/users/eric","login":"eric","id":470},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-02T22:54:47Z","comments":11,"closed_at":"2011-11-02T22:54:47Z","url":"https://api.github.com/repos/johnewart/ruby-metrics/issues/25","body":"* Make `require` statements assume `lib/` is in the `$LOAD_PATH`\r\n* Remove the methods in the `Metrics::Instruments` module — there isn't a big\r\n  benefit of using the `register` methods over just having the methods create\r\n  instances of the objects that are needed right there. This also makes it\r\n  possible to have more than one instance of `Metrics::Agent` in a process\r\n* Remove base classes for instruments and statistics — these don't really\r\n  provide value in ruby\r\n* Provide an `#as_json` method along with the `#to_json` to fit in with the\r\n  ActiveSupport JSON model (and also makes it easier for in-process consumers\r\n  that don't want JSON to fetch the data)","html_url":"https://github.com/johnewart/ruby-metrics/issues/25","title":"General cleanup to make things more ruby-ish","number":25,"id":1094011,"created_at":"2011-06-21T19:54:41Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/6ec4980d1d5c39bc44bff4170bfd0313?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6ec4980d1d5c39bc44bff4170bfd0313","url":"https://api.github.com/users/eric","login":"eric","id":470},"updated_at":"2011-11-02T22:54:47Z","url":"https://api.github.com/repos/johnewart/ruby-metrics/issues/comments/2611065","body":"I've opened pull request #28 to solve the rest of this. I'm closing this now.","id":2611065,"created_at":"2011-11-02T22:54:47Z"}}