Sha256: cec9a6f1c72ce3af5fb062e8ea54a591c9bc2655d8d0e0b0dd1c196a73c54ae5

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'shapeable'
  spec.version       = Shapeable::VERSION
  spec.authors       = ['Shawn O\'Mara', 'Dean Nasseri']
  spec.email         = ['shaw3257@gmail.com']

  spec.summary       = 'API versioning that promotes convention over configuration'

  spec.description   = 'The premise of this gem is that consumers of your API need versioning
                        and different shapes of your resources. Without proper thought into versioning
                        and shaping, your codebase can quickly resolve into a redundant and confusing state.
                        This gem tries to solve that problem by allowing the API owner to use simple
                        conventions -- Accept headers and ActiveModelSerializer namespacing -- to achieve
                        controller reuse by controllers delegating resource versioning and shaping
                        to the serializer level.'

  spec.homepage      = 'https://github.com/viewthespace/shapeable'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.require_paths = ['lib']

  spec.add_development_dependency 'actionpack'
  spec.add_development_dependency 'activesupport'
  spec.add_development_dependency 'active_model_serializers'
  spec.add_development_dependency 'rspec-rails'
  spec.add_development_dependency 'pry'
  spec.add_development_dependency 'pry-byebug'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shapeable-0.7.1 shapeable.gemspec
shapeable-0.7.0 shapeable.gemspec