Sha256: 106b5cce724e22d285bc57d791c9dd117b28f88db15226936df5d5eeaf2b0da6

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/inline"
gemfile do
  source "https://rubygems.org"
  gem "multi_repo", require: "multi_repo/cli", path: File.expand_path("..", __dir__)
end

opts = Optimist.options do
  synopsis "Create a stub for a new Ruby gem on rubygems.org."

  opt :owners, "Owners to add to the gem stub", :type => :strings, :default => []

  MultiRepo::CLI.common_options(self, :except => :repo_set)
end

MultiRepo::CLI.each_repo(**opts) do |repo|
  MultiRepo::Service::RubygemsStub.new(repo.name, **opts).run
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
multi_repo-0.5.0 scripts/new_rubygems_stub
multi_repo-0.4.0 scripts/new_rubygems_stub
multi_repo-0.3.1 scripts/new_rubygems_stub
multi_repo-0.3.0 scripts/new_rubygems_stub
multi_repo-0.2.3 scripts/new_rubygems_stub
multi_repo-0.2.2 scripts/new_rubygems_stub