Sha256: bf52baff20074dfd18755a446cad8170ff9ce9a54f6c5a2930c86c88ee60775f

Contents?: true

Size: 1.77 KB

Versions: 7

Compression:

Stored size: 1.77 KB

Contents

require_relative 'lib/ruby-clock/version'

Gem::Specification.new do |spec|
  spec.name          = "ruby-clock"
  spec.version       = RubyClock::VERSION
  spec.authors       = ["John Bachir"]
  spec.email         = ["j@jjb.cc"]

  spec.summary       = 'A job scheduler which runs jobs each in their own thread in a persistent process.'
  # spec.description   = %q{TODO: Write a longer description or delete this line.}
  spec.post_install_message = <<~MESSAGE

    If you are updating ruby-clock from 1→2, there are a few things you need to change in your Clockfile.

    It's quick, easy, and fun! See instructions here:
    https://github.com/jjb/ruby-clock/blob/main/CHANGELOG.md#migrating-from-ruby-clock-version-1-to-version-2

  MESSAGE

  spec.homepage      = "https://github.com/jjb/ruby-clock"
  spec.license       = "MIT"
  spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")

  # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"

  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/jjb/ruby-clock"
  # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."

  # 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.

  # todo: make this not depend on git? which wasted a lot of debugging time
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency "rufus-scheduler", '~> 3.8'
  spec.add_dependency "method_source"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-clock-2.0.1 ruby-clock.gemspec
ruby-clock-2.0.0 ruby-clock.gemspec
ruby-clock-2.0.0.beta10 ruby-clock.gemspec
ruby-clock-2.0.0.beta9 ruby-clock.gemspec
ruby-clock-2.0.0.beta8 ruby-clock.gemspec
ruby-clock-2.0.0.beta7 ruby-clock.gemspec
ruby-clock-2.0.0.beta6 ruby-clock.gemspec