Sha256: 23a1a71ace62552236daf66841f999d6bb47e0efe3437b0d054aa6171c3d479e

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

# frozen_string_literal: true

require_relative "lib/db_background_job/version"

Gem::Specification.new do |spec|
  spec.name = "db_background_job"
  spec.version = DbBackgroundJob::VERSION
  spec.authors = ["Henry Maestu"]
  spec.email = ["dragonwebeu@gmail.com"]

  spec.summary = "A simple DB side background process library"
  spec.description = "Provides methods to spawn a background process for ActiveRecord. It is recommended to use it with Threads if you have long-taking functions on the database side."
  spec.homepage = "https://github.com/dragonwebeu"
  spec.license = "MIT"
  spec.required_ruby_version = ">= 2.3.0"

  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/dragonwebeu/db_background_job"

  # 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.
  spec.files = Dir.chdir(__dir__) do
    `git ls-files -z`.split("\x0").reject do |f|
      (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
    end
  end
  spec.require_paths = ["lib"]

  spec.add_dependency "activerecord", ">= 4.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
db_background_job-0.1.0 db_background_job.gemspec