Sha256: e95e85929566843a4d33d72a87f421af334745cc2c54687fdff373886f87f5dc

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

# frozen_string_literal: true

$LOAD_PATH.push File.expand_path('lib', __dir__)

require 'capistrano/ops/version'

Gem::Specification.new do |s|
  s.name          = 'capistrano-ops'
  s.version       = Capistrano::Ops::VERSION
  s.platform      = Gem::Platform::RUBY
  s.authors       = ['Florian Crusius']
  s.email         = ['florian@zauberware.com']
  s.license       = 'MIT'
  s.homepage      = 'https://github.com/zauberware/capistrano-ops'
  s.summary       = 'devops tasks for rails applications'
  s.description   = 'A collection of devops tasks for rails applications'
  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- test/{functional,unit}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  s.require_paths = ['lib']
  # add rails depending on ruby version
  if RUBY_VERSION <= '2.6.6' && RUBY_VERSION >= '2.5.0'
    s.add_dependency 'rails', '>= 4.2.0', '< 6.0.0'
  else
    s.add_dependency 'rails', '>= 4.2.0', '< 7.0.0'
  end
  # adjust nokogiiri version depending on ruby version
  if RUBY_VERSION < '2.5.0'
    s.add_dependency 'nokogiri', '>= 1.8.0', '< 1.11.0'
  elsif RUBY_VERSION < '2.6.0' 
    s.add_dependency 'nokogiri', '>= 1.8.0', '< 1.13.0'
  elsif RUBY_VERSION < '2.7.0' 
    s.add_dependency 'nokogiri', '>= 1.8.0', '< 1.14.0'
  else
    s.add_dependency 'nokogiri', '>= 1.11.0'
  end

  s.add_development_dependency 'bundler', '~> 2.3.9'
  s.add_development_dependency 'rake', '~> 10.0'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-ops-0.1.6 capistrano-ops.gemspec