Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove ga gem

  • Loading branch information...
commit a5d441f9a34befeedc47d11b90d1b01e51b81229 1 parent 5020cf7
@lukebaker lukebaker authored
View
2  Gemfile
@@ -34,12 +34,10 @@ gem "newrelic_rpm", "3.3.0"
gem "mysql2", "0.2.18"
group :production do
- gem "rubaidh-google_analytics", "1.1.4", :require => "rubaidh/google_analytics"
gem "sendgrid", "0.1.4"
end
group :staging do
- gem "rubaidh-google_analytics", "1.1.4", :require => "rubaidh/google_analytics"
gem "sendgrid", "0.1.4"
end
View
4 Gemfile.lock
@@ -95,9 +95,6 @@ GEM
rspec-rails (1.3.4)
rack (>= 1.0.0)
rspec (~> 1.3.1)
- rubaidh-google_analytics (1.1.4)
- actionpack
- activesupport
rubyzip (0.9.5)
sax-machine (0.0.14)
nokogiri (> 0.0.0)
@@ -159,7 +156,6 @@ DEPENDENCIES
responders (= 0.4.8)
rspec (= 1.3.2)
rspec-rails (= 1.3.4)
- rubaidh-google_analytics (= 1.1.4)
sax-machine (= 0.0.14)
sendgrid (= 0.1.4)
sqlite3 (>= 1.3.3)
View
1  app/controllers/questions_controller.rb
@@ -1,6 +1,5 @@
class QuestionsController < ApplicationController
include ActionView::Helpers::TextHelper
- skip_after_filter :add_google_analytics_code, :only => [:about]
require 'crack'
require 'geokit'
before_filter :authenticate, :only => [:admin, :toggle, :toggle_autoactivate, :update, :delete_logo, :export, :add_photos, :update_name]
View
5 config/initializers/google_analytics.rb
@@ -1,5 +0,0 @@
-# Google Analytics is only available in production by default
-# http://github.com/rubaidh/google_analytics
-
-Rubaidh::GoogleAnalytics.environments = ['production', 'staging']
-Rubaidh::GoogleAnalytics.tracker_id = ENV['GOOGLE_ANALYTICS_TRACKER_ID'] || "UA-11703548-1"
View
BIN  vendor/cache/rubaidh-google_analytics-1.1.4.gem
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.