Permalink
Browse files

Disable stats pages for now

  • Loading branch information...
1 parent 536bb9b commit 56029316b98fd319b30063d5111f173b20a9c2d9 @qrush qrush committed Sep 17, 2012
Showing with 6 additions and 1 deletion.
  1. +1 −1 config/routes.rb
  2. +3 −0 test/functional/stats_controller_test.rb
  3. +2 −0 test/unit/helpers/rubygems_helper_test.rb
View
@@ -96,7 +96,7 @@
constraints :rubygem_id => Patterns::ROUTE_PATTERN do
resource :subscription, :only => [:create, :destroy]
resources :versions, :only => :index
- resource :stats, :only => :show, :constraints => RecoveryMode
+ #resource :stats, :only => :show, :constraints => RecoveryMode
end
end
@@ -1,3 +1,6 @@
+__END__
+Disabled temporarily :(
+
require 'test_helper'
class StatsControllerTest < ActionController::TestCase
@@ -76,11 +76,13 @@ class RubygemsHelperTest < ActionView::TestCase
end
should "show the overview link first" do
+ pending
overview = stats_options(@rubygem).first
assert_equal ["Overview", rubygem_stats_path(@rubygem)], overview
end
should "have all the links for the rubygem" do
+ pending
_, *links = stats_options(@rubygem)
@versions.sort.reverse.each_with_index do |version, index|

6 comments on commit 5602931

What's the reason behind this?

Performance apparently: #464 (comment)

Owner

qrush replied Sep 28, 2012

Is it mostly due to infrastructure or code you want to refactor too?

Owner

qrush replied Sep 28, 2012

Awesome, thanks for the feedback @qrush!

🍺

Please sign in to comment.