forked from rlivsey/browser_detect
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathbrowser_detect.gemspec
More file actions
23 lines (21 loc) · 890 Bytes
/
browser_detect.gemspec
File metadata and controls
23 lines (21 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- encoding: utf-8 -*-
files = `git ls-files`.split("\n")
Gem::Specification.new do |s|
s.name = "browser_detect"
s.version = File.read(File.expand_path(File.dirname(__FILE__)+ "/VERSION")).strip
s.platform = Gem::Platform::RUBY
s.authors = ["rlivsey", "faunzy", "tmlee", "ggilder"]
s.email = []
s.has_rdoc = 'yard'
s.homepage = "http://github.com/traction/browser_detect"
s.summary = "A simple rails browser detection plugin"
s.description = <<-END
Simple rails browser detection based on original plugin by Richard Livsey"
END
s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "browser_detect"
s.add_development_dependency "bundler", ">= 1.0.0.rc.6"
s.files = files.reject{|f| f =~ /\.gem$/}
s.executables = files.map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
s.require_path = 'lib'
end