quebert 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +4 -0
 - data/README.md +3 -3
 - data/lib/quebert/job.rb +1 -1
 - data/lib/quebert/version.rb +1 -1
 - data/quebert.gemspec +3 -2
 - data/spec/job_spec.rb +3 -3
 - metadata +7 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: b4e96fc6fb9bf3251e14d949b0fff1c41773627f
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: df6e6597d8cd3f13a40a271a2f64d2c29c307b53
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 5e96e7f2092bfca4006c11fd07e20976ced92eaf998fa2e251c33e880d41da06adefcb1e0f6151a5e2f165388fdf03bc288ad30a45cc1cbbf709fd04333a5d41
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: d6c793aad2d0b20f51bf38eb32bd40ba67f6536eb19956caa5ef6bcae8f53dc123941c35f885bffbfe2d3fe82edf6ba48fbe3b2081a1adc6ae897c6b28cd4a8c
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | 
         @@ -6,15 +6,15 @@ Quebert is a ruby background worker library that works with the very fast and si 
     | 
|
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            ## Why Quebert?
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
            Because it has really low latency. Other Ruby queuing frameworks, like [DJ](https://github.com/collectiveidea/delayed_job) or [Resque](https://github.com/resque/resque), have to poll their queue servers periodicly. You could think of it as a "pull" queue. Quebert is a "push" queue. It maintains a persistent connection with beanstalkd and when is  
     | 
| 
      
 9 
     | 
    
         
            +
            Because it has really low latency. Other Ruby queuing frameworks, like [DJ](https://github.com/collectiveidea/delayed_job) or [Resque](https://github.com/resque/resque), have to poll their queue servers periodicly. You could think of it as a "pull" queue. Quebert is a "push" queue. It maintains a persistent connection with beanstalkd and when is enqueued, it's instantly pushed to the workers and executed.
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            [Sidekiq](http://sidekiq.org) uses Redis's "push" primitives so it has low latency, but it doesn't support class reloading in a development environment. Sidekiq is also threaded, which means there are no guarantees of reliability when running non-threadsafe code.
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            [Backburner](https://github.com/nesquena/backburner) is very similar to Quebert. It offers more options for concurrency (threading, forking, etc.) than  
     | 
| 
      
 13 
     | 
    
         
            +
            [Backburner](https://github.com/nesquena/backburner) is very similar to Quebert. It offers more options for concurrency (threading, forking, etc.) than Quebert but lacks pluggable back-ends, which means you'll be stubbing and mocking async calls.
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
            ## Who uses it?
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            Quebert is a serious project.  
     | 
| 
      
 17 
     | 
    
         
            +
            Quebert is a serious project. It's used in a production environment at [Poll Everywhere](https://www.polleverywhere.com/) to handle everything from SMS message processing to account downgrades.
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
            ## Features
         
     | 
| 
       20 
20 
     | 
    
         | 
    
        data/lib/quebert/job.rb
    CHANGED
    
    
    
        data/lib/quebert/version.rb
    CHANGED
    
    
    
        data/quebert.gemspec
    CHANGED
    
    | 
         @@ -8,8 +8,9 @@ Gem::Specification.new do |s| 
     | 
|
| 
       8 
8 
     | 
    
         
             
              s.authors     = ["Brad Gessler", "Steel Fu", "Jeff Vyduna"]
         
     | 
| 
       9 
9 
     | 
    
         
             
              s.email       = ["brad@bradgessler.com"]
         
     | 
| 
       10 
10 
     | 
    
         
             
              s.homepage    = "http://github.com/polleverywhere/quebert"
         
     | 
| 
       11 
     | 
    
         
            -
              s.summary     = %q{A worker queue framework built around beanstalkd}
         
     | 
| 
       12 
     | 
    
         
            -
              s.description = %q{ 
     | 
| 
      
 11 
     | 
    
         
            +
              s.summary     = %q{A worker queue framework built around beanstalkd.}
         
     | 
| 
      
 12 
     | 
    
         
            +
              s.description = %q{Quebert is a worker queue framework built around beanstalkd. Use it in your Rails apps for job processing.}
         
     | 
| 
      
 13 
     | 
    
         
            +
              s.license     = "MIT"
         
     | 
| 
       13 
14 
     | 
    
         | 
| 
       14 
15 
     | 
    
         
             
              s.rubyforge_project = "quebert"
         
     | 
| 
       15 
16 
     | 
    
         | 
    
        data/spec/job_spec.rb
    CHANGED
    
    | 
         @@ -42,11 +42,11 @@ describe Quebert::Job do 
     | 
|
| 
       42 
42 
     | 
    
         
             
              end
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
              describe "Quebert::Job::Priority" do
         
     | 
| 
       45 
     | 
    
         
            -
                it "should have LOW priority of  
     | 
| 
       46 
     | 
    
         
            -
                  expect(Quebert::Job::Priority::LOW).to eql( 
     | 
| 
      
 45 
     | 
    
         
            +
                it "should have LOW priority of 4294967295" do
         
     | 
| 
      
 46 
     | 
    
         
            +
                  expect(Quebert::Job::Priority::LOW).to eql(4294967295)
         
     | 
| 
       47 
47 
     | 
    
         
             
                end
         
     | 
| 
       48 
48 
     | 
    
         
             
                it "should have MEDIUM priority of 2147483648" do
         
     | 
| 
       49 
     | 
    
         
            -
                  expect(Quebert::Job::Priority::MEDIUM).to eql( 
     | 
| 
      
 49 
     | 
    
         
            +
                  expect(Quebert::Job::Priority::MEDIUM).to eql(2147483647)
         
     | 
| 
       50 
50 
     | 
    
         
             
                end
         
     | 
| 
       51 
51 
     | 
    
         
             
                it "should have HIGH priority of 0" do
         
     | 
| 
       52 
52 
     | 
    
         
             
                  expect(Quebert::Job::Priority::HIGH).to eql(0)
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: quebert
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.2.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Brad Gessler
         
     | 
| 
         @@ -10,7 +10,7 @@ authors: 
     | 
|
| 
       10 
10 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       11 
11 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
12 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date:  
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2019-04-09 00:00:00.000000000 Z
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
16 
     | 
    
         
             
              name: json
         
     | 
| 
         @@ -54,7 +54,8 @@ dependencies: 
     | 
|
| 
       54 
54 
     | 
    
         
             
                - - '='
         
     | 
| 
       55 
55 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       56 
56 
     | 
    
         
             
                    version: 2.7.0
         
     | 
| 
       57 
     | 
    
         
            -
            description:  
     | 
| 
      
 57 
     | 
    
         
            +
            description: Quebert is a worker queue framework built around beanstalkd. Use it in
         
     | 
| 
      
 58 
     | 
    
         
            +
              your Rails apps for job processing.
         
     | 
| 
       58 
59 
     | 
    
         
             
            email:
         
     | 
| 
       59 
60 
     | 
    
         
             
            - brad@bradgessler.com
         
     | 
| 
       60 
61 
     | 
    
         
             
            executables:
         
     | 
| 
         @@ -114,7 +115,8 @@ files: 
     | 
|
| 
       114 
115 
     | 
    
         
             
            - spec/support_spec.rb
         
     | 
| 
       115 
116 
     | 
    
         
             
            - spec/worker_spec.rb
         
     | 
| 
       116 
117 
     | 
    
         
             
            homepage: http://github.com/polleverywhere/quebert
         
     | 
| 
       117 
     | 
    
         
            -
            licenses: 
     | 
| 
      
 118 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 119 
     | 
    
         
            +
            - MIT
         
     | 
| 
       118 
120 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       119 
121 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       120 
122 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
         @@ -135,7 +137,7 @@ rubyforge_project: quebert 
     | 
|
| 
       135 
137 
     | 
    
         
             
            rubygems_version: 2.6.11
         
     | 
| 
       136 
138 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       137 
139 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       138 
     | 
    
         
            -
            summary: A worker queue framework built around beanstalkd
         
     | 
| 
      
 140 
     | 
    
         
            +
            summary: A worker queue framework built around beanstalkd.
         
     | 
| 
       139 
141 
     | 
    
         
             
            test_files:
         
     | 
| 
       140 
142 
     | 
    
         
             
            - spec/async_sender_spec.rb
         
     | 
| 
       141 
143 
     | 
    
         
             
            - spec/backend_spec.rb
         
     |