browser_detect.gemspec in browser_detect-0.0.1 vs browser_detect.gemspec in browser_detect-0.0.4

- old
+ new

@@ -1,22 +1,23 @@ # -*- encoding: utf-8 -*- -require File.expand_path("../lib/browser_detect/version", __FILE__) - +files = `git ls-files`.split("\n") Gem::Specification.new do |s| s.name = "browser_detect" - s.version = "0.0.1" + s.version = File.read(File.expand_path(File.dirname(__FILE__)+ "/VERSION")).strip s.platform = Gem::Platform::RUBY - s.authors = ["faunzy"] + s.authors = ["rlivsey", "faunzy", "tmlee", "ggilder"] s.email = [] - s.homepage = "http://rubygems.org/gems/browser_detect" - s.summary = "Detects the client's browser" - s.description = "Client browser detector" + 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 = `git ls-files`.split("\n") - s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact + + s.files = files.reject{|f| f =~ /\.gem$/} + s.executables = files.map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact s.require_path = 'lib' end