{"action":"created","issue":{"url":"https://api.github.com/repos/PierreRambaud/gemirro/issues/8","labels_url":"https://api.github.com/repos/PierreRambaud/gemirro/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/PierreRambaud/gemirro/issues/8/comments","events_url":"https://api.github.com/repos/PierreRambaud/gemirro/issues/8/events","html_url":"https://github.com/PierreRambaud/gemirro/issues/8","id":95539442,"number":8,"title":"Gemirro index throws ArgumentError","user":{"login":"hemmrich","id":3621988,"avatar_url":"https://avatars.githubusercontent.com/u/3621988?v=3","gravatar_id":"","url":"https://api.github.com/users/hemmrich","html_url":"https://github.com/hemmrich","followers_url":"https://api.github.com/users/hemmrich/followers","following_url":"https://api.github.com/users/hemmrich/following{/other_user}","gists_url":"https://api.github.com/users/hemmrich/gists{/gist_id}","starred_url":"https://api.github.com/users/hemmrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemmrich/subscriptions","organizations_url":"https://api.github.com/users/hemmrich/orgs","repos_url":"https://api.github.com/users/hemmrich/repos","events_url":"https://api.github.com/users/hemmrich/events{/privacy}","received_events_url":"https://api.github.com/users/hemmrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PierreRambaud/gemirro/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"PierreRambaud","id":1462701,"avatar_url":"https://avatars.githubusercontent.com/u/1462701?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreRambaud","html_url":"https://github.com/PierreRambaud","followers_url":"https://api.github.com/users/PierreRambaud/followers","following_url":"https://api.github.com/users/PierreRambaud/following{/other_user}","gists_url":"https://api.github.com/users/PierreRambaud/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreRambaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreRambaud/subscriptions","organizations_url":"https://api.github.com/users/PierreRambaud/orgs","repos_url":"https://api.github.com/users/PierreRambaud/repos","events_url":"https://api.github.com/users/PierreRambaud/events{/privacy}","received_events_url":"https://api.github.com/users/PierreRambaud/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-07-16T21:55:26Z","updated_at":"2015-07-21T18:47:32Z","closed_at":null,"body":"The gem [1234567890_](https://rubygems.org/gems/1234567890_) causes ```gemirro index``` to crash.\r\n\r\n```\r\n/usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:1020:in `sort_by': comparison of String with 1234567890 failed (ArgumentError)\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:1020:in `latest_specs'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/indexer.rb:198:in `build_modern_indicies'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/gemirro-0.10.4/lib/gemirro/indexer.rb:148:in `build_indicies'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/indexer.rb:310:in `generate_index'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/gemirro-0.10.4/lib/gemirro/cli/index.rb:22:in `block (2 levels) in <top (required)>'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:260:in `call'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:260:in `parse!'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:235:in `parse!'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:211:in `parse'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/gemirro-0.10.4/bin/gemirro:7:in `<top (required)>'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/bin/gemirro:23:in `load'\r\n\tfrom /usr/local/rvm/rubies/ruby-2.2.2/bin/gemirro:23:in `<main>'\r\n\tfrom /usr/local/rvm/gems/ruby-2.2.2@global/bin/ruby_executable_hooks:15:in `eval'\r\n\tfrom /usr/local/rvm/gems/ruby-2.2.2@global/bin/ruby_executable_hooks:15:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/PierreRambaud/gemirro/issues/comments/123437234","html_url":"https://github.com/PierreRambaud/gemirro/issues/8#issuecomment-123437234","issue_url":"https://api.github.com/repos/PierreRambaud/gemirro/issues/8","id":123437234,"user":{"login":"hemmrich","id":3621988,"avatar_url":"https://avatars.githubusercontent.com/u/3621988?v=3","gravatar_id":"","url":"https://api.github.com/users/hemmrich","html_url":"https://github.com/hemmrich","followers_url":"https://api.github.com/users/hemmrich/followers","following_url":"https://api.github.com/users/hemmrich/following{/other_user}","gists_url":"https://api.github.com/users/hemmrich/gists{/gist_id}","starred_url":"https://api.github.com/users/hemmrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemmrich/subscriptions","organizations_url":"https://api.github.com/users/hemmrich/orgs","repos_url":"https://api.github.com/users/hemmrich/repos","events_url":"https://api.github.com/users/hemmrich/events{/privacy}","received_events_url":"https://api.github.com/users/hemmrich/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T18:47:32Z","updated_at":"2015-07-21T18:47:32Z","body":"It seems to be a lot better now (at least for the 120,000 gems I've been testing it with), but there are some gems being skipped now that never caused any issues before:\r\n\r\n```\r\nW, [2015-07-21T11:07:31.202000 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/1234567890_-1.0.gem should be named 1234567890-1.0\r\nW, [2015-07-21T11:08:06.171685 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/actionpool-0.2.2.gem should be named ActionPool-0.2.2\r\nW, [2015-07-21T11:08:06.173717 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/actionpool-0.2.3.gem should be named ActionPool-0.2.3\r\nW, [2015-07-21T11:08:06.269937 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/actiontimer-0.1.1.gem should be named ActionTimer-0.1.1\r\nW, [2015-07-21T11:08:06.271813 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/actiontimer-0.2.1.gem should be named ActionTimer-0.2.1\r\nW, [2015-07-21T11:08:47.007410 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/activesambaldap-0.0.7.gem should be named ActiveSambaLdap-0.0.7\r\nW, [2015-07-21T11:13:39.879228 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/AutoNZB-0.5.4.gem should be named autonzb-0.5.4\r\nW, [2015-07-21T11:14:13.180164 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/babelfish-0.0.1.gem should be named Babelfish-0.0.1\r\nW, [2015-07-21T11:14:36.772043 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/banana-0.0.1.gem should be named Banana-0.0.1\r\nW, [2015-07-21T11:15:51.428207 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/bigcat-1.0.2.gem should be named BigCat-1.0.2\r\nW, [2015-07-21T11:26:44.209798 #5490]  WARN -- : Skipping misnamed gem: /Users/hemmrich/gemirro/public/gems/collegiatelink-0.0.3.gem should be named CollegiateLink-0.0.3\r\n```\r\n\r\nIs it possible to ignore the case when comparing the names?\r\n\r\nAlso, the newer versions give me this warning:\r\n```\r\nWARN: Unresolved specs during Gem::Specification.reset:\r\n      rack (~> 1.0, ~> 1.4)\r\nWARN: Clearing out unresolved specs.\r\nPlease report a bug if this causes problems.\r\n```\r\nIt doesn't seem to be causing problems but I thought I'd let you know anyways :)"}}