grape-swagger-rails.gemspec in grape-swagger-rails-0.3.1 vs grape-swagger-rails.gemspec in grape-swagger-rails-0.4.0
- old
+ new
@@ -1,7 +1,6 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'grape-swagger-rails/version'
Gem::Specification.new do |spec|
spec.name = 'grape-swagger-rails'
@@ -12,30 +11,9 @@
spec.summary = 'Swagger UI as Rails Engine for grape-swagger gem'
spec.homepage = 'https://github.com/ruby-grape/grape-swagger-rails'
spec.license = 'MIT'
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.test_files = `git ls-files spec`.split($INPUT_RECORD_SEPARATOR)
- spec.require_paths = %w(lib)
+ spec.require_paths = %w[lib]
- spec.add_dependency 'railties', '>= 3.2.12'
-
- spec.add_development_dependency 'bundler', '~> 1.15'
- spec.add_development_dependency 'rake'
- spec.add_development_dependency 'git'
- spec.add_development_dependency 'rspec-rails'
- spec.add_development_dependency 'capybara'
- spec.add_development_dependency 'grape'
- spec.add_development_dependency 'grape-swagger', '>= 0.7.2'
- spec.add_development_dependency 'selenium-webdriver'
- spec.add_development_dependency 'sass-rails'
- spec.add_development_dependency 'uglifier'
- spec.add_development_dependency 'coffee-rails'
- spec.add_development_dependency 'jquery-rails'
- spec.add_development_dependency 'grape-swagger-ui'
- spec.add_development_dependency 'sprockets'
- spec.add_development_dependency 'rack', '~> 1.6'
- spec.add_development_dependency 'rack-cors'
- spec.add_development_dependency 'rubocop', '0.38.0'
- spec.add_development_dependency 'mime-types', '< 3.0'
- spec.add_development_dependency 'rack-no_animations'
- spec.add_development_dependency 'nokogiri', '< 1.7.0'
+ spec.add_dependency 'railties', '>= 6.0.6.1'
end