Sha256: f3eda0b207a54cc33f954da7c2ec4c2e409ddafb09b43c5f5f04eae176cacac6

Contents?: true

Size: 1.99 KB

Versions: 3

Compression:

Stored size: 1.99 KB

Contents

# frozen_string_literal: true

require_relative 'lib/snfoil/controller/version'

Gem::Specification.new do |spec|
  spec.name          = 'snfoil-controller'
  spec.version       = SnFoil::Controller::VERSION
  spec.authors       = ['Matthew Howes', 'Cliff Campbell']
  spec.email         = ['howeszy@gmail.com', 'cliffcampbell@hey.com']

  spec.summary       = 'Seperate Display Logic from Business Logic'
  spec.description   = 'A context-like experience for your controllers'
  spec.homepage      = 'https://github.com/limited-effort/snfoil-controller'
  spec.license       = 'Apache-2.0'
  spec.required_ruby_version = '>= 2.7'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = spec.homepage
  spec.metadata['changelog_uri'] = 'https://github.com/limited-effort/snfoil-controller/blob/main/CHANGELOG.md'
  spec.metadata['rubygems_mfa_required'] = 'true'

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  ignore_list = %r{\A(?:test/|spec/|bin/|features/|Rakefile|\.\w)}
  spec.files = Dir.chdir(File.expand_path(__dir__)) { `git ls-files -z`.split("\x0").reject { |f| f.match(ignore_list) } }

  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'activesupport', '>= 5.2.6'
  spec.add_dependency 'jsonapi-serializer', '~> 2.2'
  spec.add_dependency 'snfoil-context', '~> 1.0'

  spec.add_development_dependency 'bundle-audit', '~> 0.1.0'
  spec.add_development_dependency 'fasterer', '~> 0.10.0'
  spec.add_development_dependency 'oj'
  spec.add_development_dependency 'pry-byebug', '~> 3.9'
  spec.add_development_dependency 'rake', '~> 13.0'
  spec.add_development_dependency 'rspec', '~> 3.10'
  spec.add_development_dependency 'rubocop', '1.29'
  spec.add_development_dependency 'rubocop-performance', '~> 1.11'
  spec.add_development_dependency 'rubocop-rspec', '~> 2.5'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
snfoil-controller-1.1.0 snfoil-controller.gemspec
snfoil-controller-1.0.1 snfoil-controller.gemspec
snfoil-controller-1.0.0 snfoil-controller.gemspec