{"issue":{"state":"open","created_at":"2011-10-03T20:42:50Z","updated_at":"2011-11-28T22:58:25Z","user":{"gravatar_id":"08fcb322b1d60afcb15df6cb1252aa28","id":8959,"url":"https://api.github.com/users/jcoffin","avatar_url":"https://secure.gravatar.com/avatar/08fcb322b1d60afcb15df6cb1252aa28?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jcoffin"},"comments":3,"body":"Using Sinatra 1.3.0.\r\n\r\nThis simple sinatra app:\r\n\r\n```ruby\r\nrequire \"sinatra/base\"\r\nrequire \"sinatra/assetpack\"\r\n\r\nclass App < Sinatra::Base\r\n  register Sinatra::AssetPack\r\n  assets {\r\n    css :application, '/css/application.css', [ '/css/screen.css' ]\r\n  }\r\n  get \"/hi\" do\r\n    \"Hello World!\"\r\n  end\r\nend\r\n```\r\n\r\nThrows this exception:\r\n\r\n    /home/jcoffin/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/sinatra-assetpack-0.0.10/lib/sinatra/assetpack/options.rb:47:in `initialize': private method `public' called for App:Class (NoMethodError)\r\n        from /home/jcoffin/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/sinatra-assetpack-0.0.10/lib/sinatra/assetpack/class_methods.rb:7:in `new'\r\n        from /home/jcoffin/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/sinatra-assetpack-0.0.10/lib/sinatra/assetpack/class_methods.rb:7:in `assets'\r\n        from app.rb:7:in `<class:App>'\r\n        from app.rb:4:in `<main>'","assignee":null,"id":1806840,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":25,"title":"Sinatra 1.3.0 error: private method `public' called for <klass>:Class","closed_at":null,"html_url":"https://github.com/rstacruz/sinatra-assetpack/issues/25","url":"https://api.github.com/repos/rstacruz/sinatra-assetpack/issues/25","milestone":null},"action":"created","comment":{"created_at":"2011-11-28T22:58:25Z","updated_at":"2011-11-28T22:58:25Z","user":{"gravatar_id":"ca3dc3f93730afb41d6753d8bf010a38","id":14123,"url":"https://api.github.com/users/Aupajo","avatar_url":"https://secure.gravatar.com/avatar/ca3dc3f93730afb41d6753d8bf010a38?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Aupajo"},"body":"Same here, sinatra-assetpack 0.0.10 with sinatra 1.3.1.","id":2908957,"url":"https://api.github.com/repos/rstacruz/sinatra-assetpack/issues/comments/2908957"}}