Sha256: a09c592e140b599b65334c89864f7dca9a2e2191cbf96e29210e817a6602fe6f

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

def template(version)
<<TEMPLATE
source "https://rubygems.org"

gemspec path: '..'

gem 'sequel', '~>#{version}'
TEMPLATE
end

versions = [
  '4.27',
  '4.26',
  '4.25',
  '4.24',
  '4.23',
  '4.22',
  '4.21',
  '4.20',
  '4.19',
  '4.18',
  '4.17',
  '4.16',
  '4.15',
  '4.14',
  '4.13',
  '4.12',
  '4.11',
  '4.10',
  '4.9',
  '4.8',
  '4.7',
  '4.6',
  '4.5',
  '4.4',
  '4.3',
  '4.2',
  '4.1',
  '4.1',
  '4.0',
  '3.48',
  '3.47',
  '3.46',
  '3.45',
  '3.44',
  '3.43',
  '3.42',
  '3.41',
  '3.40',
  '3.39',
  '3.38',
  '3.37',
  '3.36',
  '3.36',
  '3.35',
  '3.34',
  '3.34',
  '3.33',
  '3.32',
  '3.31',
  '3.30',
  '3.29',
  '3.28',
  '3.27',
  '3.26',
  '3.25',
  '3.24',
  '3.24',
  '3.23',
  '3.22',
  '3.21',
  '3.20',
  '3.19',
  '3.18',
  '3.17',
  '3.16',
  '3.15',
  '3.14',
  '3.13',
  '3.12',
  '3.12',
  '3.11',
  '3.10',
  '3.9',
  '3.8',
  '3.7',
  '3.6',
  '3.5',
  '3.4',
  '3.3',
  '3.2',
  '3.1',
  '3.0',
  '2.12',
  '2.11',
  '2.10',
  '2.9',
  '2.8',
  '2.7',
  '2.7',
  '2.6',
  '2.5',
  '2.4',
  '2.3',
  '2.2',
  '2.1',
  '2.0',
  '2.0',
  '1.5',
  '1.5',
  '1.4',
  '1.3',
  '1.2',
  '1.1',
  '1.0',
].each do |version|
  path = File.expand_path("/gemfiles/Gemfile.sequel-#{version}.x", __FILE__).gsub('/gemfiles', 'gemfiles')

  File.open(path, 'w') do |f|
    f.puts(template(version))
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
koine-repository-1.1.1 generate_gem_files.rb
koine-repository-1.1 generate_gem_files.rb
koine-repository-1.0 generate_gem_files.rb