rails-auth.gemspec in rails-auth-0.0.0 vs rails-auth.gemspec in rails-auth-0.0.1

- old
+ new

@@ -1,23 +1,34 @@ # coding: utf-8 -lib = File.expand_path('../lib', __FILE__) +lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'rails/auth/version' +require "rails/auth/version" Gem::Specification.new do |spec| spec.name = "rails-auth" spec.version = Rails::Auth::VERSION spec.authors = ["Tony Arcieri"] - spec.email = ["bascule@gmail.com"] + spec.email = ["tonyarcieri@squareup.com"] + spec.homepage = "https://github.com/square/rails-auth/" + spec.licenses = ["Apache-2.0"] - spec.summary = "Placeholder for an upcoming gem. Stay tuned!" - spec.description = "An exciting gem awaits this name really soon now!" + spec.summary = "Modular resource-oriented authentication and authorization for Rails/Rack" + spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ") + A plugin-based framework for supporting multiple authentication and + authorization systems in Rails/Rack apps. Supports resource-oriented + route-by-route access control lists with TLS authentication. + DESCRIPTION - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + # Only allow gem to be pushed to https://rubygems.org + spec.metadata["allowed_push_host"] = "https://rubygems.org" + + spec.files = `git ls-files`.split("\n") spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.11" + spec.required_ruby_version = ">= 2.0.0" + + spec.add_runtime_dependency "rack" + + spec.add_development_dependency "bundler", "~> 1.10" spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3.0" end