madvertise-logging.gemspec in madvertise-logging-1.0.2 vs madvertise-logging.gemspec in madvertise-logging-1.0.3
- old
+ new
@@ -1,17 +1,16 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/madvertise/logging/version', __FILE__)
+# encoding: utf-8
-Gem::Specification.new do |gem|
- gem.name = "madvertise-logging"
- gem.version = Madvertise::Logging::VERSION
- gem.authors = ["Benedikt Böhm"]
- gem.email = ["benedikt.boehm@madvertise.com"]
- gem.description = %q{Advanced logging classes with buffer backend, transactions, multi logger, etc}
- gem.summary = %q{Advanced logging classes with buffer backend, transactions, multi logger, etc}
- gem.homepage = "https://github.com/madvertise/logging"
+Gem::Specification.new do |spec|
+ spec.name = "madvertise-logging"
+ spec.version = "1.0.3"
+ spec.authors = ["madvertise Mobile Advertising GmbH"]
+ spec.email = ["tech@madvertise.com"]
+ spec.description = %q{Advanced logging classes with buffer backend, transactions, multi logger, etc}
+ spec.summary = %q{Advanced logging classes with buffer backend, transactions, multi logger, etc}
+ spec.homepage = "https://github.com/madvertise/logging"
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.require_paths = ["lib"]
+ spec.files = `git ls-files`.split($/)
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = ["lib"]
end