Sha256: 068e89ed0a406860eef94904fbb5a56e3b5761280136bbbf43675bc74e9e875c

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 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'
  elsif RUBY_VERSION <= '2.7.0'
    s.add_dependency 'rails', '>= 4.2.0', '< 7.0.0'
  else
    s.add_dependency 'rails', '>= 4.2.0'
  end
  # adjust nokogiri 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.7' 
    s.add_dependency 'nokogiri', '>= 1.8.0', '<= 1.13.10'
  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

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-ops-0.2.0 capistrano-ops.gemspec
capistrano-ops-0.1.9 capistrano-ops.gemspec