lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'contexts/version' Gem::Specification.new do |spec| spec.name = 'contexts' spec.version = Contexts::VERSION spec.authors = ['Kolesnikov Danil'] spec.email = ['kolesnikovde@gmail.com'] spec.summary = 'Simple way to reuse routes logic in rails apps' spec.description = 'Simple way to reuse routes logic in rails apps' spec.homepage = 'https://github.com/kolesnikovde/contexts' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^spec/}) spec.require_paths = ['lib'] spec.add_dependency 'rails', '>= 4.0.0' spec.add_development_dependency 'bundler', '~> 1' spec.add_development_dependency 'rake', '~> 10' spec.add_development_dependency 'rspec', '~> 3' spec.add_development_dependency 'rspec-rails' spec.add_development_dependency 'codeclimate-test-reporter' end