1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# -*- encoding: utf-8 -*-
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'rack/google-analytics/version'
Gem::Specification.new do |s|
s.name = "rack-google-analytics"
s.license = "MIT"
s.version = Rack::GoogleAnalytics::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Lee Hambley", "Lars Brillert"]
s.email = ["lee.hambley@gmail.com", "lars@railslove.com"]
s.homepage = "https://github.com/kangguru/rack-google-analytics"
s.summary = "Rack middleware to inject the Google Analytics tracking code into outgoing responses."
s.description = "Simple Rack middleware for implementing google analytics tracking in your Ruby-Rack based project. Supports synchronous and asynchronous insertion and configurable load options."
s.files = Dir.glob("lib/**/*") + %w(README.md LICENSE)
s.require_path = 'lib'
s.add_dependency 'actionpack'
s.add_dependency 'activesupport'
s.add_development_dependency 'bundler'
s.add_development_dependency 'test-unit', '~> 2.5'
s.add_development_dependency 'shoulda', '~> 2.11'
s.add_development_dependency 'rack', '~> 1.2'
s.add_development_dependency 'rack-test', '~> 0.5'
end
|