# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yardstick/version'

Gem::Specification.new do |gem|
  gem.name        = 'yardstick'
  gem.version     = Yardstick::VERSION
  gem.authors     = ['Dan Kubb']
  gem.email       = %w[dan.kubb@gmail.com]
  gem.description = 'Measure YARD documentation coverage'
  gem.summary     = 'A tool for verifying YARD documentation coverage'
  gem.homepage    = 'https://github.com/dkubb/yardstick'

  gem.require_paths    = %w[lib]
  gem.files            = `git ls-files`.split($/)
  gem.test_files       = `git ls-files -- spec/{public,semipublic}`.split($/)
  gem.extra_rdoc_files = %w[LICENSE README.rdoc]
  gem.executables      = %w[yardstick]

  gem.add_dependency('backports', '~> 3.0.3')
  gem.add_dependency('yard',      '~> 0.8.5')

  gem.add_development_dependency('rake',  '~> 10.0.3')
  gem.add_development_dependency('rspec', '~> 1.3.2')
end

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yardstick/version'

Gem::Specification.new do |gem|
  gem.name        = 'yardstick'
  gem.version     = Yardstick::VERSION
  gem.authors     = ['Dan Kubb']
  gem.email       = %w[dan.kubb@gmail.com]
  gem.description = 'Measure YARD documentation coverage'
  gem.summary     = 'A tool for verifying YARD documentation coverage'
  gem.homepage    = 'https://github.com/dkubb/yardstick'

  gem.require_paths    = %w[lib]
  gem.files            = `git ls-files`.split($/)
  gem.test_files       = `git ls-files -- spec/{public,semipublic}`.split($/)
  gem.extra_rdoc_files = %w[LICENSE README.rdoc]
  gem.executables      = %w[yardstick]

  gem.add_runtime_dependency('backports', '~> 2.8.2')
  gem.add_runtime_dependency('yard',      '~> 0.8.5')

  gem.add_development_dependency('rake',  '~> 10.0.3')
  gem.add_development_dependency('rspec', '~> 1.3.2')
end

--- 
+++ 
@@ -18,8 +18,8 @@
   gem.extra_rdoc_files = %w[LICENSE README.rdoc]
   gem.executables      = %w[yardstick]
 
-  gem.add_runtime_dependency('backports', '~> 2.8.2')
-  gem.add_runtime_dependency('yard',      '~> 0.8.5')
+  gem.add_dependency('backports', '~> 3.0.3')
+  gem.add_dependency('yard',      '~> 0.8.5')
 
   gem.add_development_dependency('rake',  '~> 10.0.3')
   gem.add_development_dependency('rspec', '~> 1.3.2')
Update backports dependency to ~> 3.0.3
