# -*- encoding: utf-8 -*- # stub: redis_dedupe 0.0.2 ruby lib Gem::Specification.new do |s| s.name = "redis_dedupe".freeze s.version = "0.0.2".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Andy Huynh".freeze] s.date = "2015-03-25" s.description = " This is a weak deduper to make things like bulk email run safer. It is not a lock safe for financial/security needs because it uses a weak redis locking pattern that can have race conditions. However, imagine a bulk email job that loops over 100 users, and enqueues a background email for each user. If the job fails at iteration 50, a retry would enqueue all the users again and many will receive dupes. This would continue multiple times as the parent job continued to rerun. By marking that a subjob has been enqueued, we can let that isolated job handle its own failures, and the batch enqueue job can run multiple times without re-enqueueing the same subjobs. ".freeze s.email = ["andy4thehuynh@gmail.com".freeze] s.files = [".gitignore".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "lib/redis_dedupe.rb".freeze, "lib/redis_dedupe/version.rb".freeze, "redis_dedupe.gemspec".freeze, "spec/redis_dedupe_spec.rb".freeze, "spec/spec_helper.rb".freeze, "tasks/rspec.rake".freeze] s.homepage = "".freeze s.licenses = ["MIT".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "A weak deduper to make things like bulk email run safer.".freeze s.specification_version = 4 s.add_development_dependency(%q.freeze, ["~> 1.6".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) end